diff options
| author | Martin Hořeňovský | 2019-11-04 15:37:30 +0100 |
|---|---|---|
| committer | Martin Hořeňovský | 2019-11-05 10:45:59 +0100 |
| commit | 09b66ccfdebf6ed951cb18b222037a04d7584540 (patch) | |
| tree | d435c9cac1c68fbf84828749759c1a768ce94e93 /include/internal | |
| parent | d1cb727e85b5ff311aacd1c38567ae9b20548491 (diff) | |
| download | catch3-09b66ccfdebf6ed951cb18b222037a04d7584540.tar.gz | |
Remove unused method on TestCase
Diffstat (limited to 'include/internal')
| -rw-r--r-- | include/internal/catch_test_case_info.cpp | 6 | ||||
| -rw-r--r-- | include/internal/catch_test_case_info.h | 2 |
2 files changed, 0 insertions, 8 deletions
diff --git a/include/internal/catch_test_case_info.cpp b/include/internal/catch_test_case_info.cpp index a2069051..b610d7a4 100644 --- a/include/internal/catch_test_case_info.cpp +++ b/include/internal/catch_test_case_info.cpp @@ -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(); } diff --git a/include/internal/catch_test_case_info.h b/include/internal/catch_test_case_info.h index 1ade26fc..b78cde22 100644 --- a/include/internal/catch_test_case_info.h +++ b/include/internal/catch_test_case_info.h @@ -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; |