This commit is contained in:
Phil Nash 2013-03-25 09:25:31 +00:00
parent 016b063ae8
commit dd26e889b5
4 changed files with 47 additions and 24 deletions

View file

@ -45,9 +45,9 @@ namespace Catch {
if( matchesFilters( config.filters, *it ) ) {
matchedTests++;
// !TBD: consider listAs()
std::cout << "\t" << it->getTestCaseInfo().name << "\n";
std::cout << " " << it->getTestCaseInfo().name << "\n";
if( ( config.listSpec & List::TestNames ) != List::TestNames )
std::cout << "\t\t '" << it->getTestCaseInfo().description << "'\n";
std::cout << " '" << it->getTestCaseInfo().description << "'\n";
}
}
if( config.filters.empty() )