| 11289 | } |
| 11290 | |
| 11291 | std::size_t listTestsNamesOnly( Config const& config ) { |
| 11292 | TestSpec const& testSpec = config.testSpec(); |
| 11293 | std::size_t matchedTests = 0; |
| 11294 | std::vector<TestCase> matchedTestCases = filterTests( getAllTestCasesSorted( config ), testSpec, config ); |
| 11295 | for( auto const& testCaseInfo : matchedTestCases ) { |
| 11296 | matchedTests++; |
| 11297 | if( startsWith( testCaseInfo.name, '#' ) ) |
| 11298 | Catch::cout() << '"' << testCaseInfo.name << '"'; |
| 11299 | else |
| 11300 | Catch::cout() << testCaseInfo.name; |
| 11301 | if ( config.verbosity() >= Verbosity::High ) |
| 11302 | Catch::cout() << "\t@" << testCaseInfo.lineInfo; |
| 11303 | Catch::cout() << std::endl; |
| 11304 | } |
| 11305 | return matchedTests; |
| 11306 | } |
| 11307 | |
| 11308 | void TagInfo::add( std::string const& spelling ) { |
| 11309 | ++count; |
no test coverage detected