| 7278 | }; |
| 7279 | |
| 7280 | inline std::string extractClassName( std::string const& classOrQualifiedMethodName ) { |
| 7281 | std::string className = classOrQualifiedMethodName; |
| 7282 | if( startsWith( className, '&' ) ) |
| 7283 | { |
| 7284 | std::size_t lastColons = className.rfind( "::" ); |
| 7285 | std::size_t penultimateColons = className.rfind( "::", lastColons-1 ); |
| 7286 | if( penultimateColons == std::string::npos ) |
| 7287 | penultimateColons = 1; |
| 7288 | className = className.substr( penultimateColons, lastColons-penultimateColons ); |
| 7289 | } |
| 7290 | return className; |
| 7291 | } |
| 7292 | |
| 7293 | void registerTestCase |
| 7294 | ( ITestCase* testCase, |
no test coverage detected