mirror of
https://github.com/catchorg/Catch2.git
synced 2025-05-31 00:47:56 +00:00
Added copy actor and operator = back to TestCaseInfo
This commit is contained in:
parent
d5fbe2ec5d
commit
c2675b5d49
2 changed files with 14 additions and 0 deletions
|
@ -27,6 +27,7 @@ namespace Catch {
|
|||
|
||||
|
||||
TestCaseInfo( const TestCaseInfo& other, const std::string& name );
|
||||
TestCaseInfo( const TestCaseInfo& other );
|
||||
|
||||
void invoke() const;
|
||||
const std::string& getName() const;
|
||||
|
@ -37,6 +38,7 @@ namespace Catch {
|
|||
void swap( TestCaseInfo& other );
|
||||
bool operator == ( const TestCaseInfo& other ) const;
|
||||
bool operator < ( const TestCaseInfo& other ) const;
|
||||
TestCaseInfo& operator = ( const TestCaseInfo& other );
|
||||
|
||||
private:
|
||||
Ptr<ITestCase> m_test;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue