Renamed TestCaseInfo -> TestCase

This commit is contained in:
Phil Nash
2012-11-22 19:17:20 +00:00
parent 37f3820747
commit 06a671a349
21 changed files with 146 additions and 95 deletions

View File

@@ -16,20 +16,20 @@
namespace Catch {
struct ITestCase;
class TestCaseInfo {
class TestCase {
public:
TestCaseInfo();
TestCase();
TestCaseInfo( ITestCase* testCase,
TestCase( ITestCase* testCase,
const std::string& className,
const std::string& name,
const std::string& description,
const SourceLineInfo& lineInfo );
TestCaseInfo( const TestCaseInfo& other, const std::string& name );
TestCaseInfo( const TestCaseInfo& other );
TestCase( const TestCase& other, const std::string& name );
TestCase( const TestCase& other );
void invoke() const;
@@ -42,10 +42,10 @@ namespace Catch {
bool matchesTags( const std::string& tagPattern ) const;
const std::set<std::string>& getTags() const;
void swap( TestCaseInfo& other );
bool operator == ( const TestCaseInfo& other ) const;
bool operator < ( const TestCaseInfo& other ) const;
TestCaseInfo& operator = ( const TestCaseInfo& other );
void swap( TestCase& other );
bool operator == ( const TestCase& other ) const;
bool operator < ( const TestCase& other ) const;
TestCase& operator = ( const TestCase& other );
private:
Ptr<ITestCase> m_test;