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

Method withName

extlibs/catch/include/catch/catch.hpp:13584–13588  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

13582 TestCase::TestCase( ITestInvoker* testCase, TestCaseInfo&& info ) : TestCaseInfo( std::move(info) ), test( testCase ) {}
13583
13584 TestCase TestCase::withName( std::string const& _newName ) const {
13585 TestCase other( *this );
13586 other.name = _newName;
13587 return other;
13588 }
13589
13590 void TestCase::invoke() const {
13591 test->invoke();

Callers 1

registerTestMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected