| 16 | |
| 17 | |
| 18 | Test * |
| 19 | Test::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 | |
| 31 | bool |
no test coverage detected