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/catch_test_case_info.cpp | |
| parent | d1cb727e85b5ff311aacd1c38567ae9b20548491 (diff) | |
| download | catch3-09b66ccfdebf6ed951cb18b222037a04d7584540.tar.gz | |
Remove unused method on TestCase
Diffstat (limited to 'include/internal/catch_test_case_info.cpp')
| -rw-r--r-- | include/internal/catch_test_case_info.cpp | 6 |
1 files changed, 0 insertions, 6 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(); } |