Moved "no test cases matched" message to reporter

This commit is contained in:
Phil Nash 2013-03-12 19:06:40 +00:00
parent 6d56d71318
commit 7542685a2f
4 changed files with 11 additions and 1 deletions

View file

@ -70,7 +70,7 @@ namespace Catch {
}
}
if( testsRunForGroup == 0 && !filterGroup.getName().empty() )
std::cerr << "\n[No test cases matched with: " << filterGroup.getName() << "]" << std::endl;
m_reporter->noMatchingTestCases( filterGroup.getName() );
return totals;
}