diff options
| author | Phil Nash | 2016-11-29 11:32:16 +0000 |
|---|---|---|
| committer | Phil Nash | 2016-11-29 11:32:16 +0000 |
| commit | 79acc0504bf62020eefbb305c948718328aebade (patch) | |
| tree | 3986910666a5e47a2423ae91236e4593c33904ca /projects | |
| parent | f9afa2a68d533bae6f9ffcc06cefec7a96c644df (diff) | |
| download | catch3-79acc0504bf62020eefbb305c948718328aebade.tar.gz | |
Sort test ordering during Approval testing
Diffstat (limited to 'projects')
| -rw-r--r-- | projects/SelfTest/Baselines/console.std.approved.txt | 780 | ||||
| -rw-r--r-- | projects/SelfTest/Baselines/console.sw.approved.txt | 7476 | ||||
| -rw-r--r-- | projects/SelfTest/Baselines/console.swa4.approved.txt | 601 | ||||
| -rw-r--r-- | projects/SelfTest/Baselines/junit.sw.approved.txt | 886 | ||||
| -rw-r--r-- | projects/SelfTest/Baselines/xml.sw.approved.txt | 8736 |
5 files changed, 8952 insertions, 9527 deletions
diff --git a/projects/SelfTest/Baselines/console.std.approved.txt b/projects/SelfTest/Baselines/console.std.approved.txt index ee8d8072..7c5da08c 100644 --- a/projects/SelfTest/Baselines/console.std.approved.txt +++ b/projects/SelfTest/Baselines/console.std.approved.txt @@ -4,6 +4,46 @@ CatchSelfTest is a <version> host application. Run with -? for options ------------------------------------------------------------------------------- +'Not' checks that should fail +------------------------------------------------------------------------------- +ConditionTests.cpp:<line number> +............................................................................... + +ConditionTests.cpp:<line number>: FAILED: + CHECK( false != false ) + +ConditionTests.cpp:<line number>: FAILED: + CHECK( true != true ) + +ConditionTests.cpp:<line number>: FAILED: + CHECK( !true ) +with expansion: + false + +ConditionTests.cpp:<line number>: FAILED: + CHECK_FALSE( true ) + +ConditionTests.cpp:<line number>: FAILED: + CHECK( !trueValue ) +with expansion: + false + +ConditionTests.cpp:<line number>: FAILED: + CHECK_FALSE( trueValue ) +with expansion: + !true + +ConditionTests.cpp:<line number>: FAILED: + CHECK( !(1 == 1) ) +with expansion: + false + +ConditionTests.cpp:<line number>: FAILED: + CHECK_FALSE( 1 == 1 ) +with expansion: + !(1 == 1) + +------------------------------------------------------------------------------- A METHOD_AS_TEST_CASE based test run that fails ------------------------------------------------------------------------------- ClassTests.cpp:<line number> @@ -26,6 +66,97 @@ with expansion: 1 == 2 ------------------------------------------------------------------------------- +A couple of nested sections followed by a failure +------------------------------------------------------------------------------- +MiscTests.cpp:<line number> +............................................................................... + +MiscTests.cpp:<line number>: FAILED: +explicitly with message: + to infinity and beyond + +------------------------------------------------------------------------------- +A failing expression with a non streamable type is still captured +------------------------------------------------------------------------------- +TrickyTests.cpp:<line number> +............................................................................... + +TrickyTests.cpp:<line number>: FAILED: + CHECK( &o1 == &o2 ) +with expansion: + 0x<hex digits> == 0x<hex digits> + +TrickyTests.cpp:<line number>: FAILED: + CHECK( o1 == o2 ) +with expansion: + {?} == {?} + +------------------------------------------------------------------------------- +An unchecked exception reports the line of the last assertion +------------------------------------------------------------------------------- +ExceptionTests.cpp:<line number> +............................................................................... + +ExceptionTests.cpp:<line number>: FAILED: + {Unknown expression after the reported line} +due to unexpected exception with message: + unexpected exception + +------------------------------------------------------------------------------- +Contains string matcher +------------------------------------------------------------------------------- +MiscTests.cpp:<line number> +............................................................................... + +MiscTests.cpp:<line number>: FAILED: + CHECK_THAT( testStringForMatching(), Contains( "not there" ) ) +with expansion: + "this string contains 'abc' as a substring" contains: "not there" + +------------------------------------------------------------------------------- +Custom exceptions can be translated when testing for nothrow +------------------------------------------------------------------------------- +ExceptionTests.cpp:<line number> +............................................................................... + +ExceptionTests.cpp:<line number>: FAILED: + REQUIRE_NOTHROW( throwCustom() ) +due to unexpected exception with message: + custom exception - not std + +------------------------------------------------------------------------------- +Custom exceptions can be translated when testing for throwing as something else +------------------------------------------------------------------------------- +ExceptionTests.cpp:<line number> +............................................................................... + +ExceptionTests.cpp:<line number>: FAILED: + REQUIRE_THROWS_AS( throwCustom() ) +due to unexpected exception with message: + custom exception - not std + +------------------------------------------------------------------------------- +Custom std-exceptions can be custom translated +------------------------------------------------------------------------------- +ExceptionTests.cpp:<line number> +............................................................................... + +ExceptionTests.cpp:<line number>: FAILED: +due to unexpected exception with message: + custom std exception + +------------------------------------------------------------------------------- +EndsWith string matcher +------------------------------------------------------------------------------- +MiscTests.cpp:<line number> +............................................................................... + +MiscTests.cpp:<line number>: FAILED: + CHECK_THAT( testStringForMatching(), EndsWith( "this" ) ) +with expansion: + "this string contains 'abc' as a substring" ends with: "this" + +------------------------------------------------------------------------------- Equality checks that should fail ------------------------------------------------------------------------------- ConditionTests.cpp:<line number> @@ -97,6 +228,100 @@ with expansion: 1.3 == Approx( 1.301 ) ------------------------------------------------------------------------------- +Equals string matcher +------------------------------------------------------------------------------- +MiscTests.cpp:<line number> +............................................................................... + +MiscTests.cpp:<line number>: FAILED: + CHECK_THAT( testStringForMatching(), Equals( "something else" ) ) +with expansion: + "this string contains 'abc' as a substring" equals: "something else" + +------------------------------------------------------------------------------- +Expected exceptions that don't throw or unexpected exceptions fail the test +------------------------------------------------------------------------------- +ExceptionTests.cpp:<line number> +............................................................................... + +ExceptionTests.cpp:<line number>: FAILED: + CHECK_THROWS_AS( thisThrows() ) +due to unexpected exception with message: + expected exception + +ExceptionTests.cpp:<line number>: FAILED: + CHECK_THROWS_AS( thisDoesntThrow() ) +because no exception was thrown where one was expected: + +ExceptionTests.cpp:<line number>: FAILED: + CHECK_NOTHROW( thisThrows() ) +due to unexpected exception with message: + expected exception + +------------------------------------------------------------------------------- +FAIL aborts the test +------------------------------------------------------------------------------- +MessageTests.cpp:<line number> +............................................................................... + +MessageTests.cpp:<line number>: FAILED: +explicitly with message: + This is a failure + +------------------------------------------------------------------------------- +FAIL does not require an argument +------------------------------------------------------------------------------- +MessageTests.cpp:<line number> +............................................................................... + +MessageTests.cpp:<line number>: FAILED: + +------------------------------------------------------------------------------- +INFO and WARN do not abort tests +------------------------------------------------------------------------------- +MessageTests.cpp:<line number> +............................................................................... + +MessageTests.cpp:<line number>: +warning: + this is a warning + +------------------------------------------------------------------------------- +INFO gets logged on failure +------------------------------------------------------------------------------- +MessageTests.cpp:<line number> +............................................................................... + +MessageTests.cpp:<line number>: FAILED: + REQUIRE( a == 1 ) +with expansion: + 2 == 1 +with messages: + this message should be logged + so should this + +------------------------------------------------------------------------------- +INFO gets logged on failure, even if captured before successful assertions +------------------------------------------------------------------------------- +MessageTests.cpp:<line number> +............................................................................... + +MessageTests.cpp:<line number>: FAILED: + CHECK( a == 1 ) +with expansion: + 2 == 1 +with messages: + this message may be logged later + this message should be logged + +MessageTests.cpp:<line number>: FAILED: + CHECK( a == 0 ) +with expansion: + 2 == 0 +with message: + and this, but later + +------------------------------------------------------------------------------- Inequality checks that should fail ------------------------------------------------------------------------------- ConditionTests.cpp:<line number> @@ -128,6 +353,60 @@ with expansion: 5 != 5 ------------------------------------------------------------------------------- +Matchers can be composed with both && and || - failing +------------------------------------------------------------------------------- +MiscTests.cpp:<line number> +............................................................................... + +MiscTests.cpp:<line number>: FAILED: + CHECK_THAT( testStringForMatching(), ( Contains( "string" ) || Contains( "different" ) ) && Contains( "random" ) ) +with expansion: + "this string contains 'abc' as a substring" ( ( contains: "string" or + contains: "different" ) and contains: "random" ) + +------------------------------------------------------------------------------- +Matchers can be negated (Not) with the ! operator - failing +------------------------------------------------------------------------------- +MiscTests.cpp:<line number> +............................................................................... + +MiscTests.cpp:<line number>: FAILED: + CHECK_THAT( testStringForMatching(), !Contains( "substring" ) ) +with expansion: + "this string contains 'abc' as a substring" not contains: "substring" + +------------------------------------------------------------------------------- +Mismatching exception messages failing the test +------------------------------------------------------------------------------- +ExceptionTests.cpp:<line number> +............................................................................... + +ExceptionTests.cpp:<line number>: FAILED: + REQUIRE_THROWS_WITH( thisThrows(), "should fail" ) +with expansion: + expected exception + +------------------------------------------------------------------------------- +Nice descriptive name +------------------------------------------------------------------------------- +MiscTests.cpp:<line number> +............................................................................... + +MiscTests.cpp:<line number>: +warning: + This one ran + +------------------------------------------------------------------------------- +Non-std exceptions can be translated +------------------------------------------------------------------------------- +ExceptionTests.cpp:<line number> +............................................................................... + +ExceptionTests.cpp:<line number>: FAILED: +due to unexpected exception with message: + custom exception + +------------------------------------------------------------------------------- Ordering comparison checks that should fail ------------------------------------------------------------------------------- ConditionTests.cpp:<line number> @@ -229,119 +508,109 @@ with expansion: "hello" <= "a" ------------------------------------------------------------------------------- -'Not' checks that should fail +Output from all sections is reported + one ------------------------------------------------------------------------------- -ConditionTests.cpp:<line number> +MessageTests.cpp:<line number> ............................................................................... -ConditionTests.cpp:<line number>: FAILED: - CHECK( false != false ) - -ConditionTests.cpp:<line number>: FAILED: - CHECK( true != true ) - -ConditionTests.cpp:<line number>: FAILED: - CHECK( !true ) -with expansion: - false - -ConditionTests.cpp:<line number>: FAILED: - CHECK_FALSE( true ) - -ConditionTests.cpp:<line number>: FAILED: - CHECK( !trueValue ) -with expansion: - false - -ConditionTests.cpp:<line number>: FAILED: - CHECK_FALSE( trueValue ) -with expansion: - !true +MessageTests.cpp:<line number>: FAILED: +explicitly with message: + Message from section one -ConditionTests.cpp:<line number>: FAILED: - CHECK( !(1 == 1) ) -with expansion: - false +------------------------------------------------------------------------------- +Output from all sections is reported + two +------------------------------------------------------------------------------- +MessageTests.cpp:<line number> +............................................................................... -ConditionTests.cpp:<line number>: FAILED: - CHECK_FALSE( 1 == 1 ) -with expansion: - !(1 == 1) +MessageTests.cpp:<line number>: FAILED: +explicitly with message: + Message from section two ------------------------------------------------------------------------------- -Expected exceptions that don't throw or unexpected exceptions fail the test +Pointers can be converted to strings ------------------------------------------------------------------------------- -ExceptionTests.cpp:<line number> +MessageTests.cpp:<line number> ............................................................................... -ExceptionTests.cpp:<line number>: FAILED: - CHECK_THROWS_AS( thisThrows() ) -due to unexpected exception with message: - expected exception - -ExceptionTests.cpp:<line number>: FAILED: - CHECK_THROWS_AS( thisDoesntThrow() ) -because no exception was thrown where one was expected: +MessageTests.cpp:<line number>: +warning: + actual address of p: 0x<hex digits> -ExceptionTests.cpp:<line number>: FAILED: - CHECK_NOTHROW( thisThrows() ) -due to unexpected exception with message: - expected exception +MessageTests.cpp:<line number>: +warning: + toString(p): 0x<hex digits> ------------------------------------------------------------------------------- -When unchecked exceptions are thrown directly they are always failures +SCOPED_INFO is reset for each loop ------------------------------------------------------------------------------- -ExceptionTests.cpp:<line number> +MessageTests.cpp:<line number> ............................................................................... -ExceptionTests.cpp:<line number>: FAILED: -due to unexpected exception with message: - unexpected exception +MessageTests.cpp:<line number>: FAILED: + REQUIRE( i < 10 ) +with expansion: + 10 < 10 +with messages: + current counter 10 + i := 10 +A string sent directly to stdout +A string sent directly to stderr +Message from section one +Message from section two ------------------------------------------------------------------------------- -An unchecked exception reports the line of the last assertion +StartsWith string matcher ------------------------------------------------------------------------------- -ExceptionTests.cpp:<line number> +MiscTests.cpp:<line number> ............................................................................... -ExceptionTests.cpp:<line number>: FAILED: - {Unknown expression after the reported line} -due to unexpected exception with message: - unexpected exception +MiscTests.cpp:<line number>: FAILED: + CHECK_THAT( testStringForMatching(), StartsWith( "string" ) ) +with expansion: + "this string contains 'abc' as a substring" starts with: "string" +hello +hello ------------------------------------------------------------------------------- -When unchecked exceptions are thrown from sections they are always failures - section name +Tabs and newlines show in output ------------------------------------------------------------------------------- -ExceptionTests.cpp:<line number> +MiscTests.cpp:<line number> ............................................................................... -ExceptionTests.cpp:<line number>: FAILED: -due to unexpected exception with message: - unexpected exception +MiscTests.cpp:<line number>: FAILED: + CHECK( s1 == s2 ) +with expansion: + "if ($b == 10) { + $a= 20; + }" + == + "if ($b == 10) { + $a = 20; + } + " ------------------------------------------------------------------------------- -When unchecked exceptions are thrown from functions they are always failures +Unexpected exceptions can be translated ------------------------------------------------------------------------------- ExceptionTests.cpp:<line number> ............................................................................... ExceptionTests.cpp:<line number>: FAILED: - CHECK( thisThrows() == 0 ) due to unexpected exception with message: - expected exception + 3.14 ------------------------------------------------------------------------------- -When unchecked exceptions are thrown during a REQUIRE the test should abort -fail +When unchecked exceptions are thrown directly they are always failures ------------------------------------------------------------------------------- ExceptionTests.cpp:<line number> ............................................................................... ExceptionTests.cpp:<line number>: FAILED: - REQUIRE( thisThrows() == 0 ) due to unexpected exception with message: - expected exception + unexpected exception ------------------------------------------------------------------------------- When unchecked exceptions are thrown during a CHECK the test should abort and @@ -356,168 +625,92 @@ due to unexpected exception with message: expected exception ------------------------------------------------------------------------------- -Non-std exceptions can be translated -------------------------------------------------------------------------------- -ExceptionTests.cpp:<line number> -............................................................................... - -ExceptionTests.cpp:<line number>: FAILED: -due to unexpected exception with message: - custom exception - -------------------------------------------------------------------------------- -Custom std-exceptions can be custom translated -------------------------------------------------------------------------------- -ExceptionTests.cpp:<line number> -............................................................................... - -ExceptionTests.cpp:<line number>: FAILED: -due to unexpected exception with message: - custom std exception - -------------------------------------------------------------------------------- -Custom exceptions can be translated when testing for nothrow +When unchecked exceptions are thrown during a REQUIRE the test should abort +fail ------------------------------------------------------------------------------- ExceptionTests.cpp:<line number> ............................................................................... ExceptionTests.cpp:<line number>: FAILED: - REQUIRE_NOTHROW( throwCustom() ) + REQUIRE( thisThrows() == 0 ) due to unexpected exception with message: - custom exception - not std + expected exception ------------------------------------------------------------------------------- -Custom exceptions can be translated when testing for throwing as something else +When unchecked exceptions are thrown from functions they are always failures ------------------------------------------------------------------------------- ExceptionTests.cpp:<line number> ............................................................................... ExceptionTests.cpp:<line number>: FAILED: - REQUIRE_THROWS_AS( throwCustom() ) + CHECK( thisThrows() == 0 ) due to unexpected exception with message: - custom exception - not std + expected exception ------------------------------------------------------------------------------- -Unexpected exceptions can be translated +When unchecked exceptions are thrown from sections they are always failures + section name ------------------------------------------------------------------------------- ExceptionTests.cpp:<line number> ............................................................................... ExceptionTests.cpp:<line number>: FAILED: due to unexpected exception with message: - 3.14 - -------------------------------------------------------------------------------- -Mismatching exception messages failing the test -------------------------------------------------------------------------------- -ExceptionTests.cpp:<line number> -............................................................................... - -ExceptionTests.cpp:<line number>: FAILED: - REQUIRE_THROWS_WITH( thisThrows(), "should fail" ) -with expansion: - expected exception + unexpected exception ------------------------------------------------------------------------------- -INFO and WARN do not abort tests +Where the LHS is not a simple value ------------------------------------------------------------------------------- -MessageTests.cpp:<line number> +TrickyTests.cpp:<line number> ............................................................................... -MessageTests.cpp:<line number>: +TrickyTests.cpp:<line number>: warning: - this is a warning + Uncomment the code in this test to check that it gives a sensible compiler + error ------------------------------------------------------------------------------- -INFO gets logged on failure +Where there is more to the expression after the RHS ------------------------------------------------------------------------------- -MessageTests.cpp:<line number> +TrickyTests.cpp:<line number> ............................................................................... -MessageTests.cpp:<line number>: FAILED: - REQUIRE( a == 1 ) -with expansion: - 2 == 1 -with messages: - this message should be logged - so should this +TrickyTests.cpp:<line number>: +warning: + Uncomment the code in this test to check that it gives a sensible compiler + error ------------------------------------------------------------------------------- -INFO gets logged on failure, even if captured before successful assertions +checkedElse, failing ------------------------------------------------------------------------------- -MessageTests.cpp:<line number> +MiscTests.cpp:<line number> ............................................................................... -MessageTests.cpp:<line number>: FAILED: - CHECK( a == 1 ) +MiscTests.cpp:<line number>: FAILED: + CHECKED_ELSE( flag ) with expansion: - 2 == 1 -with messages: - this message may be logged later - this message should be logged + false -MessageTests.cpp:<line number>: FAILED: - CHECK( a == 0 ) +MiscTests.cpp:<line number>: FAILED: + REQUIRE( testCheckedElse( false ) ) with expansion: - 2 == 0 -with message: - and this, but later - -------------------------------------------------------------------------------- -FAIL aborts the test -------------------------------------------------------------------------------- -MessageTests.cpp:<line number> -............................................................................... - -MessageTests.cpp:<line number>: FAILED: -explicitly with message: - This is a failure - -------------------------------------------------------------------------------- -FAIL does not require an argument -------------------------------------------------------------------------------- -MessageTests.cpp:<line number> -............................................................................... - -MessageTests.cpp:<line number>: FAILED: - -------------------------------------------------------------------------------- -Output from all sections is reported - one -------------------------------------------------------------------------------- -MessageTests.cpp:<line number> -............................................................................... - -MessageTests.cpp:<line number>: FAILED: -explicitly with message: - Message from section one + false ------------------------------------------------------------------------------- -Output from all sections is reported - two +checkedIf, failing ------------------------------------------------------------------------------- -MessageTests.cpp:<line number> +MiscTests.cpp:<line number> ............................................................................... -MessageTests.cpp:<line number>: FAILED: -explicitly with message: - Message from section two - -Message from section one -Message from section two -------------------------------------------------------------------------------- -SCOPED_INFO is reset for each loop -------------------------------------------------------------------------------- -MessageTests.cpp:<line number> -............................................................................... +MiscTests.cpp:<line number>: FAILED: + CHECKED_IF( flag ) +with expansion: + false -MessageTests.cpp:<line number>: FAILED: - REQUIRE( i < 10 ) +MiscTests.cpp:<line number>: FAILED: + REQUIRE( testCheckedIf( false ) ) with expansion: - 10 < 10 -with messages: - current counter 10 - i := 10 + false ------------------------------------------------------------------------------- just failure @@ -530,45 +723,6 @@ explicitly with message: Previous info should not be seen ------------------------------------------------------------------------------- -sends information to INFO -------------------------------------------------------------------------------- -MessageTests.cpp:<line number> -............................................................................... - -MessageTests.cpp:<line number>: FAILED: - REQUIRE( false ) -with messages: - hi - i := 7 - -------------------------------------------------------------------------------- -Pointers can be converted to strings -------------------------------------------------------------------------------- -MessageTests.cpp:<line number> -............................................................................... - -MessageTests.cpp:<line number>: -warning: - actual address of p: 0x<hex digits> - -MessageTests.cpp:<line number>: -warning: - toString(p): 0x<hex digits> - -------------------------------------------------------------------------------- -more nested SECTION tests - s1 - s2 -------------------------------------------------------------------------------- -MiscTests.cpp:<line number> -............................................................................... - -MiscTests.cpp:<line number>: FAILED: - REQUIRE( a == b ) -with expansion: - 1 == 2 - -------------------------------------------------------------------------------- looped SECTION tests s1 ------------------------------------------------------------------------------- @@ -628,39 +782,18 @@ with expansion: with message: Testing if fib[7] (21) is even -A string sent directly to stdout -A string sent directly to stderr ------------------------------------------------------------------------------- -checkedIf, failing -------------------------------------------------------------------------------- -MiscTests.cpp:<line number> -............................................................................... - -MiscTests.cpp:<line number>: FAILED: - CHECKED_IF( flag ) -with expansion: - false - -MiscTests.cpp:<line number>: FAILED: - REQUIRE( testCheckedIf( false ) ) -with expansion: - false - -------------------------------------------------------------------------------- -checkedElse, failing +more nested SECTION tests + s1 + s2 ------------------------------------------------------------------------------- MiscTests.cpp:<line number> ............................................................................... MiscTests.cpp:<line number>: FAILED: - CHECKED_ELSE( flag ) -with expansion: - false - -MiscTests.cpp:<line number>: FAILED: - REQUIRE( testCheckedElse( false ) ) + REQUIRE( a == b ) with expansion: - false + 1 == 2 ------------------------------------------------------------------------------- send a single char to INFO @@ -674,149 +807,16 @@ with message: 3 ------------------------------------------------------------------------------- -Contains string matcher -------------------------------------------------------------------------------- -MiscTests.cpp:<line number> -............................................................................... - -MiscTests.cpp:<line number>: FAILED: - CHECK_THAT( testStringForMatching(), Contains( "not there" ) ) -with expansion: - "this string contains 'abc' as a substring" contains: "not there" - -------------------------------------------------------------------------------- -StartsWith string matcher -------------------------------------------------------------------------------- -MiscTests.cpp:<line number> -............................................................................... - -MiscTests.cpp:<line number>: FAILED: - CHECK_THAT( testStringForMatching(), StartsWith( "string" ) ) -with expansion: - "this string contains 'abc' as a substring" starts with: "string" - -------------------------------------------------------------------------------- -EndsWith string matcher -------------------------------------------------------------------------------- -MiscTests.cpp:<line number> -............................................................................... - -MiscTests.cpp:<line number>: FAILED: - CHECK_THAT( testStringForMatching(), EndsWith( "this" ) ) -with expansion: - "this string contains 'abc' as a substring" ends with: "this" - -------------------------------------------------------------------------------- -Equals string matcher -------------------------------------------------------------------------------- -MiscTests.cpp:<line number> -............................................................................... - -MiscTests.cpp:<line number>: FAILED: - CHECK_THAT( testStringForMatching(), Equals( "something else" ) ) -with expansion: - "this string contains 'abc' as a substring" equals: "something else" - -------------------------------------------------------------------------------- -Matchers can be composed with both && and || - failing -------------------------------------------------------------------------------- -MiscTests.cpp:<line number> -............................................................................... - -MiscTests.cpp:<line number>: FAILED: - CHECK_THAT( testStringForMatching(), ( Contains( "string" ) || Contains( "different" ) ) && Contains( "random" ) ) -with expansion: - "this string contains 'abc' as a substring" ( ( contains: "string" or - contains: "different" ) and contains: "random" ) - -------------------------------------------------------------------------------- -Matchers can be negated (Not) with the ! operator - failing -------------------------------------------------------------------------------- -MiscTests.cpp:<line number> -............................................................................... - -MiscTests.cpp:<line number>: FAILED: - CHECK_THAT( testStringForMatching(), !Contains( "substring" ) ) -with expansion: - "this string contains 'abc' as a substring" not contains: "substring" - -------------------------------------------------------------------------------- -Nice descriptive name -------------------------------------------------------------------------------- -MiscTests.cpp:<line number> -............................................................................... - -MiscTests.cpp:<line number>: -warning: - This one ran - -------------------------------------------------------------------------------- -A couple of nested sections followed by a failure -------------------------------------------------------------------------------- |