console reporter: got rid of spurious blank lines

This commit is contained in:
Phil Nash 2013-01-16 09:30:41 +00:00
parent f8ba2277d3
commit 5a60ce2117
2 changed files with 90 additions and 232 deletions

View File

@ -213,18 +213,14 @@ namespace Catch {
void lazyPrint() { void lazyPrint() {
bool needsNewline = unusedTestCaseInfo || currentSectionInfo;
if( testRunInfo ) if( testRunInfo )
lazyPrintRunInfo(); lazyPrintRunInfo();
if( unusedGroupInfo ) if( unusedGroupInfo )
lazyPrintGroupInfo(); lazyPrintGroupInfo();
if( unusedTestCaseInfo ) if( unusedTestCaseInfo )
lazyPrintTestCaseInfo(); lazyPrintTestCaseInfo();
if( currentSectionInfo) if( unusedSectionInfo)
lazyPrintSectionInfo(); lazyPrintSectionInfo();
if( needsNewline )
stream << "\n";
m_atLeastOneTestCasePrinted = true; m_atLeastOneTestCasePrinted = true;
} }
@ -250,7 +246,7 @@ namespace Catch {
if( !currentSectionInfo ) { if( !currentSectionInfo ) {
stream << getDashes() << "\n" stream << getDashes() << "\n"
<< "Test case" << ": '" << unusedTestCaseInfo->name << "'\n"; << "Test case" << ": '" << unusedTestCaseInfo->name << "'\n";
stream << getDashes() << std::endl; stream << getDashes() << "\n" << std::endl;
unusedTestCaseInfo.reset(); unusedTestCaseInfo.reset();
} }
} }
@ -286,7 +282,7 @@ namespace Catch {
stream << inset; stream << inset;
stream << (*it)->name << "\n"; stream << (*it)->name << "\n";
} }
stream << getDashes() << std::endl; stream << getDashes() << "\n" << std::endl;
unusedSectionInfo.reset(); unusedSectionInfo.reset();
} }
} }

View File

@ -1908,7 +1908,6 @@ MiscTests.cpp:25:
passed with expansion: passed with expansion:
1 != 2 1 != 2
MiscTests.cpp:26: MiscTests.cpp:26:
REQUIRE( b != a ) REQUIRE( b != a )
passed with expansion: passed with expansion:
@ -1936,7 +1935,6 @@ MiscTests.cpp:42:
passed with expansion: passed with expansion:
1 != 2 1 != 2
MiscTests.cpp:43: MiscTests.cpp:43:
REQUIRE( b != a ) REQUIRE( b != a )
passed with expansion: passed with expansion:
@ -2408,122 +2406,98 @@ catch_self_test.hpp:114:
passed with message: passed with message:
Tests failed, as expected Tests failed, as expected
catch_self_test.hpp:114:
passed with message:
Tests failed, as expected
catch_self_test.hpp:114: catch_self_test.hpp:114:
passed with message: passed with message:
Tests failed, as expected Tests failed, as expected
catch_self_test.hpp:114:
passed with message:
Tests failed, as expected
catch_self_test.hpp:114: catch_self_test.hpp:114:
passed with message: passed with message:
Tests failed, as expected Tests failed, as expected
catch_self_test.hpp:114:
passed with message:
Tests failed, as expected
catch_self_test.hpp:114: catch_self_test.hpp:114:
passed with message: passed with message:
Tests failed, as expected Tests failed, as expected
catch_self_test.hpp:114:
passed with message:
Tests failed, as expected
catch_self_test.hpp:114: catch_self_test.hpp:114:
passed with message: passed with message:
Tests failed, as expected Tests failed, as expected
catch_self_test.hpp:114:
passed with message:
Tests failed, as expected
catch_self_test.hpp:114: catch_self_test.hpp:114:
passed with message: passed with message:
Tests failed, as expected Tests failed, as expected
catch_self_test.hpp:114:
passed with message:
Tests failed, as expected
catch_self_test.hpp:114: catch_self_test.hpp:114:
passed with message: passed with message:
Tests failed, as expected Tests failed, as expected
catch_self_test.hpp:114:
passed with message:
Tests failed, as expected
catch_self_test.hpp:114: catch_self_test.hpp:114:
passed with message: passed with message:
Tests failed, as expected Tests failed, as expected
catch_self_test.hpp:114:
passed with message:
Tests failed, as expected
catch_self_test.hpp:114: catch_self_test.hpp:114:
passed with message: passed with message:
Tests failed, as expected Tests failed, as expected
catch_self_test.hpp:114:
passed with message:
Tests failed, as expected
catch_self_test.hpp:114: catch_self_test.hpp:114:
passed with message: passed with message:
Tests failed, as expected Tests failed, as expected
catch_self_test.hpp:114:
passed with message:
Tests failed, as expected
catch_self_test.hpp:114: catch_self_test.hpp:114:
passed with message: passed with message:
Tests failed, as expected Tests failed, as expected
catch_self_test.hpp:114:
passed with message:
Tests failed, as expected
catch_self_test.hpp:114: catch_self_test.hpp:114:
passed with message: passed with message:
Tests failed, as expected Tests failed, as expected
catch_self_test.hpp:114: catch_self_test.hpp:114:
passed with message: passed with message:
Tests failed, as expected Tests failed, as expected
catch_self_test.hpp:114:
passed with message:
Tests failed, as expected
catch_self_test.hpp:114:
passed with message:
Tests failed, as expected
catch_self_test.hpp:114:
passed with message:
Tests failed, as expected
catch_self_test.hpp:114:
passed with message:
Tests failed, as expected
catch_self_test.hpp:114:
passed with message:
Tests failed, as expected
catch_self_test.hpp:114:
passed with message:
Tests failed, as expected
catch_self_test.hpp:114:
passed with message:
Tests failed, as expected
catch_self_test.hpp:114:
passed with message:
Tests failed, as expected
catch_self_test.hpp:114:
passed with message:
Tests failed, as expected
catch_self_test.hpp:114:
passed with message:
Tests failed, as expected
catch_self_test.hpp:114:
passed with message:
Tests failed, as expected
catch_self_test.hpp:114: catch_self_test.hpp:114:
passed with message: passed with message:
Tests failed, as expected Tests failed, as expected
@ -2539,221 +2513,178 @@ catch_self_test.hpp:103:
passed with message: passed with message:
Tests passed, as expected Tests passed, as expected
catch_self_test.hpp:103:
passed with message:
Tests passed, as expected
catch_self_test.hpp:103: catch_self_test.hpp:103:
passed with message: passed with message:
Tests passed, as expected Tests passed, as expected
catch_self_test.hpp:103:
passed with message:
Tests passed, as expected
catch_self_test.hpp:103: catch_self_test.hpp:103:
passed with message: passed with message:
Tests passed, as expected Tests passed, as expected
catch_self_test.hpp:103:
passed with message:
Tests passed, as expected
catch_self_test.hpp:103: catch_self_test.hpp:103:
passed with message: passed with message:
Tests passed, as expected Tests passed, as expected
catch_self_test.hpp:103:
passed with message:
Tests passed, as expected
catch_self_test.hpp:103: catch_self_test.hpp:103:
passed with message: passed with message:
Tests passed, as expected Tests passed, as expected
catch_self_test.hpp:103:
passed with message:
Tests passed, as expected
catch_self_test.hpp:103: catch_self_test.hpp:103:
passed with message: passed with message:
Tests passed, as expected Tests passed, as expected
catch_self_test.hpp:103:
passed with message:
Tests passed, as expected
catch_self_test.hpp:103: catch_self_test.hpp:103:
passed with message: passed with message:
Tests passed, as expected Tests passed, as expected
catch_self_test.hpp:103:
passed with message:
Tests passed, as expected
catch_self_test.hpp:103: catch_self_test.hpp:103:
passed with message: passed with message:
Tests passed, as expected Tests passed, as expected
catch_self_test.hpp:103:
passed with message:
Tests passed, as expected
catch_self_test.hpp:103: catch_self_test.hpp:103:
passed with message: passed with message:
Tests passed, as expected Tests passed, as expected
catch_self_test.hpp:103:
passed with message:
Tests passed, as expected
catch_self_test.hpp:103: catch_self_test.hpp:103:
passed with message: passed with message:
Tests passed, as expected Tests passed, as expected
catch_self_test.hpp:103:
passed with message:
Tests passed, as expected
catch_self_test.hpp:103: catch_self_test.hpp:103:
passed with message: passed with message:
Tests passed, as expected Tests passed, as expected
catch_self_test.hpp:103:
passed with message:
Tests passed, as expected
catch_self_test.hpp:103: catch_self_test.hpp:103:
passed with message: passed with message:
Tests passed, as expected Tests passed, as expected
catch_self_test.hpp:103: catch_self_test.hpp:103:
passed with message: passed with message:
Tests passed, as expected Tests passed, as expected
catch_self_test.hpp:103:
passed with message:
Tests passed, as expected
catch_self_test.hpp:103:
passed with message:
Tests passed, as expected
catch_self_test.hpp:103:
passed with message:
Tests passed, as expected
catch_self_test.hpp:103:
passed with message:
Tests passed, as expected
catch_self_test.hpp:103:
passed with message:
Tests passed, as expected
catch_self_test.hpp:103:
passed with message:
Tests passed, as expected
catch_self_test.hpp:103:
passed with message:
Tests passed, as expected
catch_self_test.hpp:103:
passed with message:
Tests passed, as expected
catch_self_test.hpp:103:
passed with message:
Tests passed, as expected
catch_self_test.hpp:103:
passed with message:
Tests passed, as expected
catch_self_test.hpp:103:
passed with message:
Tests passed, as expected
catch_self_test.hpp:103: catch_self_test.hpp:103:
passed with message: passed with message:
Tests passed, as expected Tests passed, as expected
Message from section one Message from section one
Message from section two Message from section two
catch_self_test.hpp:103:
passed with message:
Tests passed, as expected
catch_self_test.hpp:103: catch_self_test.hpp:103:
passed with message: passed with message:
Tests passed, as expected Tests passed, as expected
catch_self_test.hpp:103: catch_self_test.hpp:103:
passed with message: passed with message:
Tests passed, as expected Tests passed, as expected
catch_self_test.hpp:103:
passed with message:
Tests passed, as expected
catch_self_test.hpp:103: catch_self_test.hpp:103:
passed with message: passed with message:
Tests passed, as expected Tests passed, as expected
Some information Some information
An error An error
catch_self_test.hpp:103:
passed with message:
Tests passed, as expected
catch_self_test.hpp:103: catch_self_test.hpp:103:
passed with message: passed with message:
Tests passed, as expected Tests passed, as expected
catch_self_test.hpp:103:
passed with message:
Tests passed, as expected
catch_self_test.hpp:103: catch_self_test.hpp:103:
passed with message: passed with message:
Tests passed, as expected Tests passed, as expected
catch_self_test.hpp:103:
passed with message:
Tests passed, as expected
catch_self_test.hpp:103: catch_self_test.hpp:103:
passed with message: passed with message:
Tests passed, as expected Tests passed, as expected
catch_self_test.hpp:103:
passed with message:
Tests passed, as expected
catch_self_test.hpp:103: catch_self_test.hpp:103:
passed with message: passed with message:
Tests passed, as expected Tests passed, as expected
catch_self_test.hpp:103:
passed with message:
Tests passed, as expected
catch_self_test.hpp:103: catch_self_test.hpp:103:
passed with message: passed with message:
Tests passed, as expected Tests passed, as expected
catch_self_test.hpp:103:
passed with message:
Tests passed, as expected
catch_self_test.hpp:103: catch_self_test.hpp:103:
passed with message: passed with message:
Tests passed, as expected Tests passed, as expected
catch_self_test.hpp:103: catch_self_test.hpp:103:
passed with message: passed with message:
Tests passed, as expected Tests passed, as expected
catch_self_test.hpp:103: catch_self_test.hpp:103:
passed with message: passed with message:
Tests passed, as expected Tests passed, as expected
catch_self_test.hpp:103:
passed with message:
Tests passed, as expected
catch_self_test.hpp:103:
passed with message:
Tests passed, as expected
catch_self_test.hpp:103:
passed with message:
Tests passed, as expected
catch_self_test.hpp:103:
passed with message:
Tests passed, as expected
catch_self_test.hpp:103:
passed with message:
Tests passed, as expected
catch_self_test.hpp:103:
passed with message:
Tests passed, as expected
catch_self_test.hpp:103: catch_self_test.hpp:103:
passed with message: passed with message:
Tests passed, as expected Tests passed, as expected
@ -2774,7 +2705,6 @@ TestMain.cpp:40:
failed with expansion: failed with expansion:
293 == 291 293 == 291
TestMain.cpp:41: TestMain.cpp:41:
CHECK( totals.assertions.failed == 0 ) CHECK( totals.assertions.failed == 0 )
passed with expansion: passed with expansion:
@ -2792,7 +2722,6 @@ TestMain.cpp:47:
passed with expansion: passed with expansion:
1 == 1 1 == 1
TestMain.cpp:48: TestMain.cpp:48:
CHECK( totals.assertions.failed == 72 ) CHECK( totals.assertions.failed == 72 )
passed with expansion: passed with expansion:
@ -2822,25 +2751,21 @@ TestMain.cpp:97:
CHECK_NOTHROW( parseIntoConfig( argv, config ) ) CHECK_NOTHROW( parseIntoConfig( argv, config ) )
passed passed
TestMain.cpp:99: TestMain.cpp:99:
CHECK( config.shouldDebugBreak == false ) CHECK( config.shouldDebugBreak == false )
passed with expansion: passed with expansion:
false == false false == false
TestMain.cpp:100: TestMain.cpp:100:
CHECK( config.cutoff == -1 ) CHECK( config.cutoff == -1 )
passed with expansion: passed with expansion:
-1 == -1 -1 == -1
TestMain.cpp:101: TestMain.cpp:101:
CHECK( config.allowThrows == true ) CHECK( config.allowThrows == true )
passed with expansion: passed with expansion:
true == true true == true
TestMain.cpp:102: TestMain.cpp:102:
CHECK( config.reporter.empty() ) CHECK( config.reporter.empty() )
passed with expansion: passed with expansion:
@ -2857,19 +2782,16 @@ TestMain.cpp:108:
CHECK_NOTHROW( parseIntoConfig( argv, config ) ) CHECK_NOTHROW( parseIntoConfig( argv, config ) )
passed passed
TestMain.cpp:110: TestMain.cpp:110:
REQUIRE( config.filters.size() == 1 ) REQUIRE( config.filters.size() == 1 )
passed with expansion: passed with expansion:
1 == 1 1 == 1
TestMain.cpp:111: TestMain.cpp:111:
REQUIRE( config.filters[0].shouldInclude( fakeTestCase( "notIncluded" ) ) == false ) REQUIRE( config.filters[0].shouldInclude( fakeTestCase( "notIncluded" ) ) == false )
passed with expansion: passed with expansion:
false == false false == false
TestMain.cpp:112: TestMain.cpp:112:
REQUIRE( config.filters[0].shouldInclude( fakeTestCase( "test1" ) ) ) REQUIRE( config.filters[0].shouldInclude( fakeTestCase( "test1" ) ) )
passed with expansion: passed with expansion:
@ -2886,19 +2808,16 @@ TestMain.cpp:116:
CHECK_NOTHROW( parseIntoConfig( argv, config ) ) CHECK_NOTHROW( parseIntoConfig( argv, config ) )
passed passed
TestMain.cpp:118: TestMain.cpp:118:
REQUIRE( config.filters.size() == 1 ) REQUIRE( config.filters.size() == 1 )
passed with expansion: passed with expansion:
1 == 1 1 == 1
TestMain.cpp:119: TestMain.cpp:119:
REQUIRE( config.filters[0].shouldInclude( fakeTestCase( "test1" ) ) == false ) REQUIRE( config.filters[0].shouldInclude( fakeTestCase( "test1" ) ) == false )
passed with expansion: passed with expansion:
false == false false == false
TestMain.cpp:120: TestMain.cpp:120:
REQUIRE( config.filters[0].shouldInclude( fakeTestCase( "alwaysIncluded" ) ) ) REQUIRE( config.filters[0].shouldInclude( fakeTestCase( "alwaysIncluded" ) ) )
passed with expansion: passed with expansion:
@ -2915,19 +2834,16 @@ TestMain.cpp:125:
CHECK_NOTHROW( parseIntoConfig( argv, config ) ) CHECK_NOTHROW( parseIntoConfig( argv, config ) )
passed passed
TestMain.cpp:127: TestMain.cpp:127:
REQUIRE( config.filters.size() == 1 ) REQUIRE( config.filters.size() == 1 )
passed with expansion: passed with expansion:
1 == 1 1 == 1
TestMain.cpp:128: TestMain.cpp:128:
REQUIRE( config.filters[0].shouldInclude( fakeTestCase( "notIncluded" ) ) == false ) REQUIRE( config.filters[0].shouldInclude( fakeTestCase( "notIncluded" ) ) == false )
passed with expansion: passed with expansion:
false == false false == false
TestMain.cpp:129: TestMain.cpp:129:
REQUIRE( config.filters[0].shouldInclude( fakeTestCase( "test1" ) ) ) REQUIRE( config.filters[0].shouldInclude( fakeTestCase( "test1" ) ) )
passed with expansion: passed with expansion:
@ -2944,19 +2860,16 @@ TestMain.cpp:134:
CHECK_NOTHROW( parseIntoConfig( argv, config ) ) CHECK_NOTHROW( parseIntoConfig( argv, config ) )
passed passed
TestMain.cpp:136: TestMain.cpp:136:
REQUIRE( config.filters.size() == 1 ) REQUIRE( config.filters.size() == 1 )
passed with expansion: passed with expansion:
1 == 1 1 == 1
TestMain.cpp:137: TestMain.cpp:137:
REQUIRE( config.filters[0].shouldInclude( fakeTestCase( "test1" ) ) == false ) REQUIRE( config.filters[0].shouldInclude( fakeTestCase( "test1" ) ) == false )
passed with expansion: passed with expansion:
false == false false == false
TestMain.cpp:138: TestMain.cpp:138:
REQUIRE( config.filters[0].shouldInclude( fakeTestCase( "alwaysIncluded" ) ) ) REQUIRE( config.filters[0].shouldInclude( fakeTestCase( "alwaysIncluded" ) ) )
passed with expansion: passed with expansion:
@ -2973,19 +2886,16 @@ TestMain.cpp:143:
CHECK_NOTHROW( parseIntoConfig( argv, config ) ) CHECK_NOTHROW( parseIntoConfig( argv, config ) )
passed passed
TestMain.cpp:145: TestMain.cpp:145:
REQUIRE( config.filters.size() == 1 ) REQUIRE( config.filters.size() == 1 )
passed with expansion: passed with expansion:
1 == 1 1 == 1
TestMain.cpp:146: TestMain.cpp:146:
REQUIRE( config.filters[0].shouldInclude( fakeTestCase( "test1" ) ) == false ) REQUIRE( config.filters[0].shouldInclude( fakeTestCase( "test1" ) ) == false )
passed with expansion: passed with expansion:
false == false false == false
TestMain.cpp:147: TestMain.cpp:147:
REQUIRE( config.filters[0].shouldInclude( fakeTestCase( "alwaysIncluded" ) ) ) REQUIRE( config.filters[0].shouldInclude( fakeTestCase( "alwaysIncluded" ) ) )
passed with expansion: passed with expansion:
@ -3002,25 +2912,21 @@ TestMain.cpp:152:
CHECK_NOTHROW( parseIntoConfig( argv, config ) ) CHECK_NOTHROW( parseIntoConfig( argv, config ) )
passed passed
TestMain.cpp:154: TestMain.cpp:154:
REQUIRE( config.filters.size() == 1 ) REQUIRE( config.filters.size() == 1 )
passed with expansion: passed with expansion:
1 == 1 1 == 1
TestMain.cpp:155: TestMain.cpp:155:
REQUIRE( config.filters[0].shouldInclude( fakeTestCase( "notIncluded" ) ) == false ) REQUIRE( config.filters[0].shouldInclude( fakeTestCase( "notIncluded" ) ) == false )
passed with expansion: passed with expansion:
false == false false == false
TestMain.cpp:156: TestMain.cpp:156:
REQUIRE( config.filters[0].shouldInclude( fakeTestCase( "test1" ) ) ) REQUIRE( config.filters[0].shouldInclude( fakeTestCase( "test1" ) ) )
passed with expansion: passed with expansion:
true true
TestMain.cpp:157: TestMain.cpp:157:
REQUIRE( config.filters[0].shouldInclude( fakeTestCase( "test2" ) ) ) REQUIRE( config.filters[0].shouldInclude( fakeTestCase( "test2" ) ) )
passed with expansion: passed with expansion:
@ -3050,7 +2956,6 @@ TestMain.cpp:169:
CHECK_NOTHROW( parseIntoConfig( argv, config ) ) CHECK_NOTHROW( parseIntoConfig( argv, config ) )
passed passed
TestMain.cpp:171: TestMain.cpp:171:
REQUIRE( config.reporter == "console" ) REQUIRE( config.reporter == "console" )
passed with expansion: passed with expansion:
@ -3067,7 +2972,6 @@ TestMain.cpp:175:
CHECK_NOTHROW( parseIntoConfig( argv, config ) ) CHECK_NOTHROW( parseIntoConfig( argv, config ) )
passed passed
TestMain.cpp:177: TestMain.cpp:177:
REQUIRE( config.reporter == "xml" ) REQUIRE( config.reporter == "xml" )
passed with expansion: passed with expansion:
@ -3084,7 +2988,6 @@ TestMain.cpp:181:
CHECK_NOTHROW( parseIntoConfig( argv, config ) ) CHECK_NOTHROW( parseIntoConfig( argv, config ) )
passed passed
TestMain.cpp:183: TestMain.cpp:183:
REQUIRE( config.reporter == "junit" ) REQUIRE( config.reporter == "junit" )
passed with expansion: passed with expansion:
@ -3114,7 +3017,6 @@ TestMain.cpp:194:
CHECK_NOTHROW( parseIntoConfig( argv, config ) ) CHECK_NOTHROW( parseIntoConfig( argv, config ) )
passed passed
TestMain.cpp:196: TestMain.cpp:196:
REQUIRE( config.shouldDebugBreak == true ) REQUIRE( config.shouldDebugBreak == true )
passed with expansion: passed with expansion:
@ -3131,7 +3033,6 @@ TestMain.cpp:200:
CHECK_NOTHROW( parseIntoConfig( argv, config ) ) CHECK_NOTHROW( parseIntoConfig( argv, config ) )
passed passed
TestMain.cpp:202: TestMain.cpp:202:
REQUIRE( config.shouldDebugBreak ) REQUIRE( config.shouldDebugBreak )
passed with expansion: passed with expansion:
@ -3161,7 +3062,6 @@ TestMain.cpp:213:
CHECK_NOTHROW( parseIntoConfig( argv, config ) ) CHECK_NOTHROW( parseIntoConfig( argv, config ) )
passed passed
TestMain.cpp:215: TestMain.cpp:215:
REQUIRE( config.cutoff == 1 ) REQUIRE( config.cutoff == 1 )
passed with expansion: passed with expansion:
@ -3178,7 +3078,6 @@ TestMain.cpp:219:
CHECK_NOTHROW( parseIntoConfig( argv, config ) ) CHECK_NOTHROW( parseIntoConfig( argv, config ) )
passed passed
TestMain.cpp:221: TestMain.cpp:221:
REQUIRE( config.cutoff == 2 ) REQUIRE( config.cutoff == 2 )
passed with expansion: passed with expansion:
@ -3234,7 +3133,6 @@ TestMain.cpp:240:
CHECK_NOTHROW( parseIntoConfig( argv, config ) ) CHECK_NOTHROW( parseIntoConfig( argv, config ) )
passed passed
TestMain.cpp:242: TestMain.cpp:242:
REQUIRE( config.allowThrows == false ) REQUIRE( config.allowThrows == false )
passed with expansion: passed with expansion:
@ -3251,7 +3149,6 @@ TestMain.cpp:246:
CHECK_NOTHROW( parseIntoConfig( argv, config ) ) CHECK_NOTHROW( parseIntoConfig( argv, config ) )
passed passed
TestMain.cpp:248: TestMain.cpp:248:
REQUIRE( config.allowThrows == false ) REQUIRE( config.allowThrows == false )
passed with expansion: passed with expansion:
@ -3268,13 +3165,11 @@ TestMain.cpp:255:
CHECK_NOTHROW( parseIntoConfig( argv, config ) ) CHECK_NOTHROW( parseIntoConfig( argv, config ) )
passed passed
TestMain.cpp:257: TestMain.cpp:257:
REQUIRE( config.outputFilename == "filename.ext" ) REQUIRE( config.outputFilename == "filename.ext" )
passed with expansion: passed with expansion:
"filename.ext" == "filename.ext" "filename.ext" == "filename.ext"
TestMain.cpp:258: TestMain.cpp:258:
REQUIRE( config.stream.empty() ) REQUIRE( config.stream.empty() )
passed with expansion: passed with expansion:
@ -3291,13 +3186,11 @@ TestMain.cpp:262:
CHECK_NOTHROW( parseIntoConfig( argv, config ) ) CHECK_NOTHROW( parseIntoConfig( argv, config ) )
passed passed
TestMain.cpp:264: TestMain.cpp:264:
REQUIRE( config.stream == "stdout" ) REQUIRE( config.stream == "stdout" )
passed with expansion: passed with expansion:
"stdout" == "stdout" "stdout" == "stdout"
TestMain.cpp:265: TestMain.cpp:265:
REQUIRE( config.outputFilename.empty() ) REQUIRE( config.outputFilename.empty() )
passed with expansion: passed with expansion:
@ -3314,7 +3207,6 @@ TestMain.cpp:269:
CHECK_NOTHROW( parseIntoConfig( argv, config ) ) CHECK_NOTHROW( parseIntoConfig( argv, config ) )
passed passed
TestMain.cpp:271: TestMain.cpp:271:
REQUIRE( config.outputFilename == "filename.ext" ) REQUIRE( config.outputFilename == "filename.ext" )
passed with expansion: passed with expansion:
@ -3331,19 +3223,16 @@ TestMain.cpp:278:
CHECK_NOTHROW( parseIntoConfig( argv, config ) ) CHECK_NOTHROW( parseIntoConfig( argv, config ) )
passed passed
TestMain.cpp:280: TestMain.cpp:280:
CHECK( config.cutoff == 1 ) CHECK( config.cutoff == 1 )
passed with expansion: passed with expansion:
1 == 1 1 == 1
TestMain.cpp:281: TestMain.cpp:281:
CHECK( config.shouldDebugBreak ) CHECK( config.shouldDebugBreak )
passed with expansion: passed with expansion:
true true
TestMain.cpp:282: TestMain.cpp:282:
CHECK( config.allowThrows == false ) CHECK( config.allowThrows == false )
passed with expansion: passed with expansion:
@ -3479,43 +3368,36 @@ TestMain.cpp:369:
passed with expansion: passed with expansion:
"" == "" "" == ""
TestMain.cpp:370: TestMain.cpp:370:
CHECK( oneTag.hasTag( "one" ) ) CHECK( oneTag.hasTag( "one" ) )
passed with expansion: passed with expansion:
true true
TestMain.cpp:371: TestMain.cpp:371:
CHECK( oneTag.getTags().size() == 1 ) CHECK( oneTag.getTags().size() == 1 )
passed with expansion: passed with expansion:
1 == 1 1 == 1
TestMain.cpp:373: TestMain.cpp:373:
CHECK( oneTag.matchesTags( p1 ) == true ) CHECK( oneTag.matchesTags( p1 ) == true )
passed with expansion: passed with expansion:
true == true true == true
TestMain.cpp:374: TestMain.cpp:374:
CHECK( oneTag.matchesTags( p2 ) == true ) CHECK( oneTag.matchesTags( p2 ) == true )
passed with expansion: passed with expansion:
true == true true == true
TestMain.cpp:375: TestMain.cpp:375:
CHECK( oneTag.matchesTags( p3 ) == false ) CHECK( oneTag.matchesTags( p3 ) == false )
passed with expansion: passed with expansion:
false == false false == false
TestMain.cpp:376: TestMain.cpp:376:
CHECK( oneTag.matchesTags( p4 ) == false ) CHECK( oneTag.matchesTags( p4 ) == false )
passed with expansion: passed with expansion:
false == false false == false
TestMain.cpp:377: TestMain.cpp:377:
CHECK( oneTag.matchesTags( p5 ) == false ) CHECK( oneTag.matchesTags( p5 ) == false )
passed with expansion: passed with expansion:
@ -3532,55 +3414,46 @@ TestMain.cpp:383:
passed with expansion: passed with expansion:
"" == "" "" == ""
TestMain.cpp:384: TestMain.cpp:384:
CHECK( twoTags.hasTag( "one" ) ) CHECK( twoTags.hasTag( "one" ) )
passed with expansion: passed with expansion:
true true
TestMain.cpp:385: TestMain.cpp:385:
CHECK( twoTags.hasTag( "two" ) ) CHECK( twoTags.hasTag( "two" ) )
passed with expansion: passed with expansion:
true true
TestMain.cpp:386: TestMain.cpp:386:
CHECK( twoTags.hasTag( "three" ) == false ) CHECK( twoTags.hasTag( "three" ) == false )
passed with expansion: passed with expansion:
false == false false == false
TestMain.cpp:387: TestMain.cpp:387:
CHECK( twoTags.getTags().size() == 2 ) CHECK( twoTags.getTags().size() == 2 )
passed with expansion: passed with expansion:
2 == 2 2 == 2
TestMain.cpp:389: TestMain.cpp:389:
CHECK( twoTags.matchesTags( p1 ) == true ) CHECK( twoTags.matchesTags( p1 ) == true )
passed with expansion: passed with expansion:
true == true true == true
TestMain.cpp:390: TestMain.cpp:390:
CHECK( twoTags.matchesTags( p2 ) == true ) CHECK( twoTags.matchesTags( p2 ) == true )
passed with expansion: passed with expansion:
true == true true == true
TestMain.cpp:391: TestMain.cpp:391:
CHECK( twoTags.matchesTags( p3 ) == true ) CHECK( twoTags.matchesTags( p3 ) == true )
passed with expansion: passed with expansion:
true == true true == true
TestMain.cpp:392: TestMain.cpp:392:
CHECK( twoTags.matchesTags( p4 ) == true ) CHECK( twoTags.matchesTags( p4 ) == true )
passed with expansion: passed with expansion:
true == true true == true
TestMain.cpp:393: TestMain.cpp:393:
CHECK( twoTags.matchesTags( p5 ) == true ) CHECK( twoTags.matchesTags( p5 ) == true )
passed with expansion: passed with expansion:
@ -3597,19 +3470,16 @@ TestMain.cpp:399:
passed with expansion: passed with expansion:
"1234" == "1234" "1234" == "1234"
TestMain.cpp:400: TestMain.cpp:400:
CHECK( oneTagWithExtras.hasTag( "one" ) ) CHECK( oneTagWithExtras.hasTag( "one" ) )
passed with expansion: passed with expansion:
true true
TestMain.cpp:401: TestMain.cpp:401:
CHECK( oneTagWithExtras.hasTag( "two" ) == false ) CHECK( oneTagWithExtras.hasTag( "two" ) == false )
passed with expansion: passed with expansion:
false == false false == false
TestMain.cpp:402: TestMain.cpp:402:
CHECK( oneTagWithExtras.getTags().size() == 1 ) CHECK( oneTagWithExtras.getTags().size() == 1 )
passed with expansion: passed with expansion:
@ -3626,13 +3496,11 @@ TestMain.cpp:409:
passed with expansion: passed with expansion:
"[one" == "[one" "[one" == "[one"
TestMain.cpp:410: TestMain.cpp:410:
CHECK( oneTagOpen.hasTag( "one" ) == false ) CHECK( oneTagOpen.hasTag( "one" ) == false )
passed with expansion: passed with expansion:
false == false false == false
TestMain.cpp:411: TestMain.cpp:411:
CHECK( oneTagOpen.getTags().size() == 0 ) CHECK( oneTagOpen.getTags().size() == 0 )
passed with expansion: passed with expansion:
@ -3649,19 +3517,16 @@ TestMain.cpp:417:
passed with expansion: passed with expansion:
"" == "" "" == ""
TestMain.cpp:418: TestMain.cpp:418:
CHECK( oneTag.hasTag( "hide" ) ) CHECK( oneTag.hasTag( "hide" ) )
passed with expansion: passed with expansion:
true true
TestMain.cpp:419: TestMain.cpp:419:
CHECK( oneTag.isHidden() ) CHECK( oneTag.isHidden() )
passed with expansion: passed with expansion:
true true
TestMain.cpp:421: TestMain.cpp:421:
CHECK( oneTag.matchesTags( "~[hide]" ) == false ) CHECK( oneTag.matchesTags( "~[hide]" ) == false )
passed with expansion: passed with expansion:
@ -3787,7 +3652,6 @@ TrickyTests.cpp:259:
passed with expansion: passed with expansion:
true == true true == true
TrickyTests.cpp:260: TrickyTests.cpp:260:
REQUIRE( true == is_true<true>::value ) REQUIRE( true == is_true<true>::value )
passed with expansion: passed with expansion:
@ -3804,7 +3668,6 @@ TrickyTests.cpp:264:
passed with expansion: passed with expansion:
false == false false == false
TrickyTests.cpp:265: TrickyTests.cpp:265:
REQUIRE( false == is_true<false>::value ) REQUIRE( false == is_true<false>::value )
passed with expansion: passed with expansion:
@ -3843,7 +3706,6 @@ TrickyTests.cpp:280:
passed with expansion: passed with expansion:
true true
TrickyTests.cpp:281: TrickyTests.cpp:281:
REQUIRE_FALSE( !is_true<false>::value ) REQUIRE_FALSE( !is_true<false>::value )
passed with expansion: passed with expansion: