Read-only mirrors. Development, issues and pull requests are on GitHub.

summaryrefslogtreecommitdiffhomepage
path: root/include/internal
diff options
context:
space:
mode:
authorMartin Hořeňovský2019-11-04 15:37:30 +0100
committerMartin Hořeňovský2019-11-05 10:45:59 +0100
commit09b66ccfdebf6ed951cb18b222037a04d7584540 (patch)
treed435c9cac1c68fbf84828749759c1a768ce94e93 /include/internal
parentd1cb727e85b5ff311aacd1c38567ae9b20548491 (diff)
downloadcatch3-09b66ccfdebf6ed951cb18b222037a04d7584540.tar.gz
Remove unused method on TestCase
Diffstat (limited to 'include/internal')
-rw-r--r--include/internal/catch_test_case_info.cpp6
-rw-r--r--include/internal/catch_test_case_info.h2
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;