First commit of (in progress) TeamCity reporter

Should run but is not complete
This commit is contained in:
Phil Nash
2014-12-19 17:52:33 +00:00
parent acf638f2bc
commit db0421e840
6 changed files with 133 additions and 5 deletions

View File

@@ -238,6 +238,7 @@ namespace Catch
virtual void assertionStarting( AssertionInfo const& assertionInfo ) = 0;
// The return value indicates if the messages buffer should be cleared:
virtual bool assertionEnded( AssertionStats const& assertionStats ) = 0;
virtual void sectionEnded( SectionStats const& sectionStats ) = 0;
virtual void testCaseEnded( TestCaseStats const& testCaseStats ) = 0;

View File

@@ -139,7 +139,7 @@ namespace Catch {
}
inline std::size_t listReporters( Config const& /*config*/ ) {
Catch::cout() << "Available reports:\n";
Catch::cout() << "Available reporters:\n";
IReporterRegistry::FactoryMap const& factories = getRegistryHub().getReporterRegistry().getFactories();
IReporterRegistry::FactoryMap::const_iterator itBegin = factories.begin(), itEnd = factories.end(), it;
std::size_t maxNameLen = 0;