Console reporter is now the default

This commit is contained in:
Phil Nash committed 2012-12-10 08:54:57 +00:00
1 parent f4c0a1848d
commit bcad093af7
8 files changed
+613 -477

No files matched your search

File diff suppressed because it is too large. Load diff
+2 -2
View File
@@ -165,10 +165,10 @@ TEST_CASE( "selftest/parser/2", "ConfigData" ) {
SECTION( "reporter", "" ) {
SECTION( "-r/basic", "" ) {
const char* argv[] = { "test", "-r", "basic" };
const char* argv[] = { "test", "-r", "console" };
CHECK_NOTHROW( parseIntoConfig( argv, config ) );
REQUIRE( config.reporter == "basic" );
REQUIRE( config.reporter == "console" );
}
SECTION( "-r/xml", "" ) {
const char* argv[] = { "test", "-r", "xml" };
+1 -1
View File
@@ -53,7 +53,7 @@ namespace Catch {
EmbeddedRunner() : m_reporter( new NullStreamingReporter() ) {}
Totals runMatching( const std::string& rawTestSpec,
const std::string& reporter = "basic" );
const std::string& reporter = "console" );
private:
Ptr<IStreamingReporter> m_reporter;