MCPcopy Create free account
hub / github.com/ChaiScript/ChaiScript / withName

Method withName

unittests/catch.hpp:9961–9965  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

9959 TestCase::TestCase( ITestInvoker* testCase, TestCaseInfo&& info ) : TestCaseInfo( std::move(info) ), test( testCase ) {}
9960
9961 TestCase TestCase::withName( std::string const& _newName ) const {
9962 TestCase other( *this );
9963 other.name = _newName;
9964 return other;
9965 }
9966
9967 void TestCase::invoke() const {
9968 test->invoke();

Callers 1

registerTestMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected