Remove unused method on TestCase

This commit is contained in:
Martin Hořeňovský 2019-11-04 15:37:30 +01:00
parent d1cb727e85
commit 09b66ccfde
No known key found for this signature in database
GPG Key ID: DE48307B8B0D381A
2 changed files with 0 additions and 8 deletions

View File

@ -158,12 +158,6 @@ namespace Catch {
TestCase::TestCase( ITestInvoker* testCase, TestCaseInfo&& info ) : TestCaseInfo( std::move(info) ), test( testCase ) {}
TestCase TestCase::withName( std::string const& _newName ) const {
TestCase other( *this );
other.name = _newName;
return other;
}
void TestCase::invoke() const {
test->invoke();
}

View File

@ -62,8 +62,6 @@ namespace Catch {
TestCase( ITestInvoker* testCase, TestCaseInfo&& info );
TestCase withName( std::string const& _newName ) const;
void invoke() const;
TestCaseInfo const& getTestCaseInfo() const;