MCPcopy Create free account
hub / github.com/FlightGear/flightgear / findTest

Method findTest

3rdparty/cppunit/src/cppunit/Test.cpp:18–28  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

16
17
18Test *
19Test::findTest( const std::string &testName ) const
20{
21 TestPath path;
22 Test *mutableThis = CPPUNIT_CONST_CAST( Test *, this );
23 mutableThis->findTestPath( testName, path );
24 if ( !path.isValid() )
25 throw std::invalid_argument( "No test named <" + testName + "> found in test <"
26 + getName() + ">." );
27 return path.getChildTest();
28}
29
30
31bool

Callers 1

findActualRootMethod · 0.80

Calls 3

findTestPathMethod · 0.80
getChildTestMethod · 0.80
isValidMethod · 0.45

Tested by

no test coverage detected