diff options
| author | Phil Nash | 2015-12-04 10:19:08 +0000 |
|---|---|---|
| committer | Phil Nash | 2015-12-04 10:19:08 +0000 |
| commit | fdc42d0af47f58fa13a42b685bbeaf55a8347673 (patch) | |
| tree | 779ff3d692eeffd33353d89ad7697a592ab5201e /projects/SelfTest/Baselines | |
| parent | d758428fe297655e558a86cc6a013fcb1bcc8c7d (diff) | |
| parent | d274fc571c3980b5ac04cbe1416cf2205e6c99f7 (diff) | |
| download | catch3-1.3.0.tar.gz | |
Merged from develop branchv1.3.0
- now v1.3.0
Diffstat (limited to 'projects/SelfTest/Baselines')
| -rw-r--r-- | projects/SelfTest/Baselines/console.std.approved.txt | 50 | ||||
| -rw-r--r-- | projects/SelfTest/Baselines/console.sw.approved.txt | 1667 | ||||
| -rw-r--r-- | projects/SelfTest/Baselines/junit.sw.approved.txt | 72 | ||||
| -rw-r--r-- | projects/SelfTest/Baselines/xml.sw.approved.txt | 2527 |
4 files changed, 3402 insertions, 914 deletions
diff --git a/projects/SelfTest/Baselines/console.std.approved.txt b/projects/SelfTest/Baselines/console.std.approved.txt index 3fc76122..976a7105 100644 --- a/projects/SelfTest/Baselines/console.std.approved.txt +++ b/projects/SelfTest/Baselines/console.std.approved.txt @@ -356,7 +356,7 @@ due to unexpected exception with message: expected exception ------------------------------------------------------------------------------- -Unexpected custom exceptions can be translated +Non-std exceptions can be translated ------------------------------------------------------------------------------- ExceptionTests.cpp:<line number> ............................................................................... @@ -366,6 +366,16 @@ 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 ------------------------------------------------------------------------------- ExceptionTests.cpp:<line number> @@ -398,6 +408,17 @@ 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 + +------------------------------------------------------------------------------- INFO and WARN do not abort tests ------------------------------------------------------------------------------- MessageTests.cpp:<line number> @@ -697,6 +718,29 @@ 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> @@ -786,6 +830,6 @@ with expansion: "first" == "second" =============================================================================== -test cases: 155 | 116 passed | 38 failed | 1 failed as expected -assertions: 765 | 673 passed | 79 failed | 13 failed as expected +test cases: 167 | 124 passed | 42 failed | 1 failed as expected +assertions: 914 | 818 passed | 83 failed | 13 failed as expected diff --git a/projects/SelfTest/Baselines/console.sw.approved.txt b/projects/SelfTest/Baselines/console.sw.approved.txt index 744fab67..4f3800b9 100644 --- a/projects/SelfTest/Baselines/console.sw.approved.txt +++ b/projects/SelfTest/Baselines/console.sw.approved.txt @@ -973,51 +973,51 @@ ConditionTests.cpp:<line number> ConditionTests.cpp:<line number>: PASSED: - REQUIRE( p == __null ) + REQUIRE( p == nullptr ) with expansion: - __null == 0 + NULL == nullptr ConditionTests.cpp:<line number>: PASSED: REQUIRE( p == pNULL ) with expansion: - __null == __null + NULL == NULL ConditionTests.cpp:<line number>: PASSED: - REQUIRE( p != __null ) + REQUIRE( p != nullptr ) with expansion: - 0x<hex digits> != 0 + 0x<hex digits> != nullptr ConditionTests.cpp:<line number>: PASSED: - REQUIRE( cp != __null ) + REQUIRE( cp != nullptr ) with expansion: - 0x<hex digits> != 0 + 0x<hex digits> != nullptr ConditionTests.cpp:<line number>: PASSED: - REQUIRE( cpc != __null ) + REQUIRE( cpc != nullptr ) with expansion: - 0x<hex digits> != 0 + 0x<hex digits> != nullptr ConditionTests.cpp:<line number>: PASSED: - REQUIRE( returnsNull() == __null ) + REQUIRE( returnsNull() == nullptr ) with expansion: - {null string} == 0 + {null string} == nullptr ConditionTests.cpp:<line number>: PASSED: - REQUIRE( returnsConstNull() == __null ) + REQUIRE( returnsConstNull() == nullptr ) with expansion: - {null string} == 0 + {null string} == nullptr ConditionTests.cpp:<line number>: PASSED: - REQUIRE( __null != p ) + REQUIRE( nullptr != p ) with expansion: - 0 != 0x<hex digits> + nullptr != 0x<hex digits> ------------------------------------------------------------------------------- 'Not' checks that should succeed @@ -1217,23 +1217,24 @@ due to unexpected exception with message: expected exception ------------------------------------------------------------------------------- -When unchecked exceptions are thrown, but caught, they do not affect the test +Non-std exceptions can be translated ------------------------------------------------------------------------------- ExceptionTests.cpp:<line number> ............................................................................... - -No assertions in test case 'When unchecked exceptions are thrown, but caught, they do not affect the test' +ExceptionTests.cpp:<line number>: FAILED: +due to unexpected exception with message: + custom exception ------------------------------------------------------------------------------- -Unexpected custom exceptions can be translated +Custom std-exceptions can be custom translated ------------------------------------------------------------------------------- ExceptionTests.cpp:<line number> ............................................................................... ExceptionTests.cpp:<line number>: FAILED: due to unexpected exception with message: - custom exception + custom std exception ------------------------------------------------------------------------------- Custom exceptions can be translated when testing for nothrow @@ -1278,6 +1279,66 @@ PASSED: REQUIRE_THROWS( thisFunctionNotImplemented( 7 ) ) ------------------------------------------------------------------------------- +Exception messages can be tested for + exact match +------------------------------------------------------------------------------- +ExceptionTests.cpp:<line number> +............................................................................... + +ExceptionTests.cpp:<line number>: +PASSED: + REQUIRE_THROWS_WITH( thisThrows(), "expected exception" ) + +------------------------------------------------------------------------------- +Exception messages can be tested for + different case +------------------------------------------------------------------------------- +ExceptionTests.cpp:<line number> +............................................................................... + +ExceptionTests.cpp:<line number>: +PASSED: + REQUIRE_THROWS_WITH( thisThrows(), Equals( "expecteD Exception", Catch::CaseSensitive::No ) ) + +------------------------------------------------------------------------------- +Exception messages can be tested for + wildcarded +------------------------------------------------------------------------------- +ExceptionTests.cpp:<line number> +............................................................................... + +ExceptionTests.cpp:<line number>: +PASSED: + REQUIRE_THROWS_WITH( thisThrows(), StartsWith( "expected" ) ) + +ExceptionTests.cpp:<line number>: +PASSED: + REQUIRE_THROWS_WITH( thisThrows(), EndsWith( "exception" ) ) + +ExceptionTests.cpp:<line number>: +PASSED: + REQUIRE_THROWS_WITH( thisThrows(), Contains( "except" ) ) + +ExceptionTests.cpp:<line number>: +PASSED: + REQUIRE_THROWS_WITH( thisThrows(), Contains( "exCept", Catch::CaseSensitive::No ) ) + +------------------------------------------------------------------------------- +Mismatching exception messages failing the test +------------------------------------------------------------------------------- +ExceptionTests.cpp:<line number> +............................................................................... + +ExceptionTests.cpp:<line number>: +PASSED: + REQUIRE_THROWS_WITH( thisThrows(), "expected exception" ) + +ExceptionTests.cpp:<line number>: FAILED: + REQUIRE_THROWS_WITH( thisThrows(), "should fail" ) +with expansion: + expected exception + +------------------------------------------------------------------------------- Generators over two ranges ------------------------------------------------------------------------------- GeneratorTests.cpp:<line number> @@ -2608,9 +2669,6 @@ warning: this is a message this is a warning - -No assertions in test case 'INFO and WARN do not abort tests' - ------------------------------------------------------------------------------- SUCCEED counts as a test pass ------------------------------------------------------------------------------- @@ -2857,18 +2915,6 @@ MessageTests.cpp:<line number>: FAILED - but was ok: CHECK_NOFAIL( 1 == 2 ) - -No assertions in test case 'The NO_FAIL macro reports a failure but does not fail the test' - -------------------------------------------------------------------------------- -just info -------------------------------------------------------------------------------- -MessageTests.cpp:<line number> -............................................................................... - - -No assertions in test case 'just info' - ------------------------------------------------------------------------------- just failure ------------------------------------------------------------------------------- @@ -2905,9 +2951,6 @@ MessageTests.cpp:<line number>: warning: toString(p): 0x<hex digits> - -No assertions in test case 'Pointers can be converted to strings' - ------------------------------------------------------------------------------- random SECTION tests s1 @@ -2987,6 +3030,34 @@ with expansion: 1 == 2 ------------------------------------------------------------------------------- +more nested SECTION tests + s1 + s3 +------------------------------------------------------------------------------- +MiscTests.cpp:<line number> +............................................................................... + +MiscTests.cpp:<line number>: +PASSED: + REQUIRE( a != b ) +with expansion: + 1 != 2 + +------------------------------------------------------------------------------- +more nested SECTION tests + s1 + s4 +------------------------------------------------------------------------------- +MiscTests.cpp:<line number> +............................................................................... + +MiscTests.cpp:<line number>: +PASSED: + REQUIRE( a < b ) +with expansion: + 1 < 2 + +------------------------------------------------------------------------------- even more nested SECTION tests c d (leaf) @@ -2994,8 +3065,8 @@ even more nested SECTION tests MiscTests.cpp:<line number> ............................................................................... - -No assertions in section 'd (leaf)' +MiscTests.cpp:<line number>: +PASSED: ------------------------------------------------------------------------------- even more nested SECTION tests @@ -3005,8 +3076,8 @@ even more nested SECTION tests MiscTests.cpp:<line number> ............................................................................... - -No assertions in section 'e (leaf)' +MiscTests.cpp:<line number>: +PASSED: ------------------------------------------------------------------------------- even more nested SECTION tests @@ -3015,8 +3086,8 @@ even more nested SECTION tests MiscTests.cpp:<line number> ............................................................................... - -No assertions in section 'f (leaf)' +MiscTests.cpp:<line number>: +PASSED: ------------------------------------------------------------------------------- looped SECTION tests @@ -3097,15 +3168,6 @@ with message: A string sent directly to stdout A string sent directly to stderr ------------------------------------------------------------------------------- -Sends stuff to stdout and stderr -------------------------------------------------------------------------------- -MiscTests.cpp:<line number> -............................................................................... - - -No assertions in test case 'Sends stuff to stdout and stderr' - -------------------------------------------------------------------------------- null strings ------------------------------------------------------------------------------- MiscTests.cpp:<line number> @@ -3113,13 +3175,13 @@ MiscTests.cpp:<line number> MiscTests.cpp:<line number>: PASSED: - REQUIRE( makeString( false ) != static_cast<char*>(__null) ) + REQUIRE( makeString( false ) != static_cast<char*>(nullptr) ) with expansion: "valid string" != {null string} MiscTests.cpp:<line number>: PASSED: - REQUIRE( makeString( true ) == static_cast<char*>(__null) ) + REQUIRE( makeString( true ) == static_cast<char*>(nullptr) ) with expansion: {null string} == {null string} @@ -3198,8 +3260,8 @@ xmlentitycheck MiscTests.cpp:<line number> ............................................................................... - -No assertions in section 'embedded xml' +MiscTests.cpp:<line number>: +PASSED: ------------------------------------------------------------------------------- xmlentitycheck @@ -3208,8 +3270,8 @@ xmlentitycheck MiscTests.cpp:<line number> ............................................................................... - -No assertions in section 'encoded chars' +MiscTests.cpp:<line number>: +PASSED: ------------------------------------------------------------------------------- send a single char to INFO @@ -3316,7 +3378,7 @@ MiscTests.cpp:<line number> MiscTests.cpp:<line number>: PASSED: - REQUIRE_THAT( "" Equals(__null) ) + REQUIRE_THAT( "" Equals(nullptr) ) with expansion: "" equals: "" @@ -3367,80 +3429,131 @@ with expansion: 'abc' as a substring" ------------------------------------------------------------------------------- -Factorials are computed +Matchers can be (AllOf) composed with the && operator ------------------------------------------------------------------------------- MiscTests.cpp:<line number> ............................................................................... MiscTests.cpp:<line number>: PASSED: - REQUIRE( Factorial(0) == 1 ) + CHECK_THAT( testStringForMatching() Contains( "string" ) && Contains( "abc" ) && Contains( "substring" ) && Contains( "contains" ) ) with expansion: - 1 == 1 + "this string contains 'abc' as a substring" ( contains: "string" and + contains: "abc" and contains: "substring" and contains: "contains" ) -MiscTests.cpp:<line number>: -PASSED: - REQUIRE( Factorial(1) == 1 ) -with expansion: - 1 == 1 +------------------------------------------------------------------------------- +Matchers can be (AnyOf) composed with the || operator +------------------------------------------------------------------------------- +MiscTests.cpp:<line number> +............................................................................... MiscTests.cpp:<line number>: PASSED: - REQUIRE( Factorial(2) == 2 ) + CHECK_THAT( testStringForMatching() Contains( "string" ) || Contains( "different" ) || Contains( "random" ) ) with expansion: - 2 == 2 + "this string contains 'abc' as a substring" ( contains: "string" or contains: + "different" or contains: "random" ) MiscTests.cpp:<line number>: PASSED: - REQUIRE( Factorial(3) == 6 ) + CHECK_THAT( testStringForMatching2() Contains( "string" ) || Contains( "different" ) || Contains( "random" ) ) with expansion: - 6 == 6 + "some completely different text that contains one common word" ( contains: + "string" or contains: "different" or contains: "random" ) + +------------------------------------------------------------------------------- +Matchers can be composed with both && and || +------------------------------------------------------------------------------- +MiscTests.cpp:<line number> +............................................................................... MiscTests.cpp:<line number>: PASSED: - REQUIRE( Factorial(10) == 3628800 ) + CHECK_THAT( testStringForMatching() ( Contains( "string" ) || Contains( "different" ) ) && Contains( "substring" ) ) with expansion: - 3628800 (0x<hex digits>) == 3628800 (0x<hex digits>) + "this string contains 'abc' as a substring" ( ( contains: "string" or + contains: "different" ) and contains: "substring" ) ------------------------------------------------------------------------------- -An empty test with no assertions +Matchers can be composed with both && and || - failing ------------------------------------------------------------------------------- MiscTests.cpp:<line number> ............................................................................... - -No assertions in test case 'An empty test with no assertions' +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" ) ------------------------------------------------------------------------------- -Nice descriptive name +Matchers can be negated (Not) with the ! operator ------------------------------------------------------------------------------- MiscTests.cpp:<line number> ............................................................................... MiscTests.cpp:<line number>: -warning: - This one ran +PASSED: + CHECK_THAT( testStringForMatching() !Contains( "different" ) ) +with expansion: + "this string contains 'abc' as a substring" not contains: "different" +------------------------------------------------------------------------------- +Matchers can be negated (Not) with the ! operator - failing +------------------------------------------------------------------------------- +MiscTests.cpp:<line number> +............................................................................... -No assertions in test case 'Nice descriptive name' +MiscTests.cpp:<line number>: FAILED: + CHECK_THAT( testStringForMatching() !Contains( "substring" ) ) +with expansion: + "this string contains 'abc' as a substring" not contains: "substring" ------------------------------------------------------------------------------- -first tag +Factorials are computed ------------------------------------------------------------------------------- MiscTests.cpp:<line number> ............................................................................... +MiscTests.cpp:<line number>: +PASSED: + REQUIRE( Factorial(0) == 1 ) +with expansion: + 1 == 1 + +MiscTests.cpp:<line number>: +PASSED: + REQUIRE( Factorial(1) == 1 ) +with expansion: + 1 == 1 -No assertions in test case 'first tag' +MiscTests.cpp:<line number>: +PASSED: + REQUIRE( Factorial(2) == 2 ) +with expansion: + 2 == 2 + +MiscTests.cpp:<line number>: +PASSED: + REQUIRE( Factorial(3) == 6 ) +with expansion: + 6 == 6 + +MiscTests.cpp:<line number>: +PASSED: + REQUIRE( Factorial(10) == 3628800 ) +with expansion: + 3628800 (0x<hex digits>) == 3628800 (0x<hex digits>) ------------------------------------------------------------------------------- -second tag +Nice descriptive name ------------------------------------------------------------------------------- MiscTests.cpp:<line number> ............................................................................... - -No assertions in test case 'second tag' +MiscTests.cpp:<line number>: +warning: + This one ran ------------------------------------------------------------------------------- vectors can be sized and resized @@ -3703,6 +3816,142 @@ with expansion: ""wide load"" == ""wide load"" ------------------------------------------------------------------------------- +XmlEncode + normal string +------------------------------------------------------------------------------- +MiscTests.cpp:<line number> +............................................................................... + +MiscTests.cpp:<line number>: +PASSED: + REQUIRE( encode( "normal string" ) == "normal string" ) +with expansion: + "normal string" == "normal string" + +------------------------------------------------------------------------------- +XmlEncode + empty string +------------------------------------------------------------------------------- +MiscTests.cpp:<line number> +............................................................................... + +MiscTests.cpp:<line number>: +PASSED: + REQUIRE( encode( "" ) == "" ) +with expansion: + "" == "" + +------------------------------------------------------------------------------- +XmlEncode + string with ampersand +------------------------------------------------------------------------------- +MiscTests.cpp:<line number> +............................................................................... + +MiscTests.cpp:<line number>: +PASSED: + REQUIRE( encode( "smith & jones" ) == "smith & jones" ) +with expansion: + "smith & jones" == "smith & jones" + +------------------------------------------------------------------------------- +XmlEncode + string with less-than +------------------------------------------------------------------------------- +MiscTests.cpp:<line number> +............................................................................... + +MiscTests.cpp:<line number>: +PASSED: + REQUIRE( encode( "smith < jones" ) == "smith < jones" ) +with expansion: + "smith < jones" == "smith < jones" + +------------------------------------------------------------------------------- +XmlEncode + string with greater-than +------------------------------------------------------------------------------- +MiscTests.cpp:<line number> +............................................................................... + +MiscTests.cpp:<line number>: +PASSED: + REQUIRE( encode( "smith > jones" ) == "smith > jones" ) +with expansion: + "smith > jones" == "smith > jones" + +MiscTests.cpp:<line number>: +PASSED: + REQUIRE( encode( "smith ]]> jones" ) == "smith ]]> jones" ) +with expansion: + "smith ]]> jones" + == + "smith ]]> jones" + +------------------------------------------------------------------------------- +XmlEncode + string with quotes +------------------------------------------------------------------------------- +MiscTests.cpp:<line number> +............................................................................... + +MiscTests.cpp:<line number>: +PASSED: + REQUIRE( encode( stringWithQuotes ) == stringWithQuotes ) +with expansion: + "don't "quote" me on that" + == + "don't "quote" me on that" + +MiscTests.cpp:<line number>: +PASSED: + REQUIRE( encode( stringWithQuotes, Catch::XmlEncode::ForAttributes ) == "don't "quote" me on that" ) +with expansion: + "don't "quote" me on that" + == + "don't "quote" me on that" + +------------------------------------------------------------------------------- +XmlEncode + string with control char (1) +------------------------------------------------------------------------------- +MiscTests.cpp:<line number> +............................................................................... + +MiscTests.cpp:<line number>: +PASSED: + REQUIRE( encode( "[\x01]" ) == "[]" ) +with expansion: + "[]" == "[]" + +------------------------------------------------------------------------------- +XmlEncode + string with control char (x7F) +------------------------------------------------------------------------------- +MiscTests.cpp:<line number> +............................................................................... + +MiscTests.cpp:<line number>: +PASSED: + REQUIRE( encode( "[\x7F]" ) == "[]" ) +with expansion: + "[]" == "[]" + +------------------------------------------------------------------------------- +long long +------------------------------------------------------------------------------- +MiscTests.cpp:<line number> +............................................................................... + +MiscTests.cpp:<line number>: +PASSED: + REQUIRE( l == std::numeric_limits<long long>::max() ) +with expansion: + 9223372036854775807 (0x<hex digits>) + == + 9223372036854775807 (0x<hex digits>) + +------------------------------------------------------------------------------- Process can be configured on command line default - no arguments ------------------------------------------------------------------------------- @@ -3733,7 +3982,7 @@ with expansion: TestMain.cpp:<line number>: PASSED: - CHECK( config.reporterName.empty() ) + CHECK( config.reporterNames.empty() ) with expansion: true @@ -3823,7 +4072,7 @@ PASSED: TestMain.cpp:<line number>: PASSED: - REQUIRE( config.reporterName == "console" ) + REQUIRE( config.reporterNames[0] == "console" ) with expansion: "console" == "console" @@ -3841,10 +4090,40 @@ PASSED: TestMain.cpp:<line number>: PASSED: - REQUIRE( config.reporterName == "xml" ) + REQUIRE( config.reporterNames[0] == "xml" ) +with expansion: + "xml" == "xml" + +------------------------------------------------------------------------------- +Process can be configured on command line + reporter + -r xml and junit +------------------------------------------------------------------------------- +TestMain.cpp:<line number> +............................................................................... + +TestMain.cpp:<line number>: +PASSED: + CHECK_NOTHROW( parseIntoConfig( argv, config ) ) + +TestMain.cpp:<line number>: +PASSED: + REQUIRE( config.reporterNames.size() == 2 ) +with expansion: + 2 == 2 + +TestMain.cpp:<line number>: +PASSED: + REQUIRE( config.reporterNames[0] == "xml" ) with expansion: "xml" == "xml" +TestMain.cpp:<line number>: +PASSED: + REQUIRE( config.reporterNames[1] == "junit" ) +with expansion: + "junit" == "junit" + ------------------------------------------------------------------------------- Process can be configured on command line reporter @@ -3859,7 +4138,7 @@ PASSED: TestMain.cpp:<line number>: PASSED: - REQUIRE( config.reporterName == "junit" ) + REQUIRE( config.reporterNames[0] == "junit" ) with expansion: "junit" == "junit" @@ -4692,15 +4971,6 @@ with expansion: hello hello ------------------------------------------------------------------------------- -Strings can be rendered with colour -------------------------------------------------------------------------------- -TestMain.cpp:<line number> -............................................................................... - - -No assertions in test case 'Strings can be rendered with colour' - -------------------------------------------------------------------------------- Text can be formatted using the Text class ------------------------------------------------------------------------------- TestMain.cpp:<line number> @@ -5735,6 +6005,17 @@ with expansion: ... message truncated due to excessive size ------------------------------------------------------------------------------- +ManuallyRegistered +------------------------------------------------------------------------------- +TestMain.cpp:<line number> +............................................................................... + +TestMain.cpp:<line number>: +PASSED: +with message: + was called + +------------------------------------------------------------------------------- Parsing a std::pair ------------------------------------------------------------------------------- TrickyTests.cpp:<line number> @@ -5757,9 +6038,6 @@ warning: Uncomment the code in this test to check that it gives a sensible compiler error - -No assertions in test case 'Where there is more to the expression after the RHS' - ------------------------------------------------------------------------------- Where the LHS is not a simple value ------------------------------------------------------------------------------- @@ -5771,9 +6049,6 @@ warning: Uncomment the code in this test to check that it gives a sensible compiler error - -No assertions in test case 'Where the LHS is not a simple value' - ------------------------------------------------------------------------------- A failing expression with a non streamable type is still captured ------------------------------------------------------------------------------- @@ -5863,9 +6138,9 @@ TrickyTests.cpp:<line number> TrickyTests.cpp:<line number>: PASSED: - REQUIRE( obj.prop != __null ) + REQUIRE( obj.prop != nullptr ) with expansion: - 0x<hex digits> != 0 + 0x<hex digits> != nullptr ------------------------------------------------------------------------------- (unimplemented) static bools can be evaluated @@ -6106,7 +6381,7 @@ TrickyTests.cpp:<line number>: PASSED: REQUIRE( p == 0 ) with expansion: - __null == 0 + NULL == 0 ------------------------------------------------------------------------------- null_ptr @@ -6118,7 +6393,7 @@ TrickyTests.cpp:<line number>: PASSED: REQUIRE( ptr.get() == nullptr ) with expansion: - __null == nullptr + NULL == nullptr ------------------------------------------------------------------------------- X/level/0/a @@ -6239,6 +6514,1004 @@ with expansion: "{ StringMaker<has_maker_and_toString> }" ------------------------------------------------------------------------------- +Tracker +------------------------------------------------------------------------------- +PartTrackerTests.cpp:<line number> +............................................................................... + +PartTrackerTests.cpp:<line number>: +PASSED: + REQUIRE( testCase.isOpen() ) +with expansion: + true + +PartTrackerTests.cpp:<line number>: +PASSED: + REQUIRE( s1.isOpen() ) +with expansion: + true + +------------------------------------------------------------------------------- +Tracker + successfully close one section +------------------------------------------------------------------------------- +PartTrackerTests.cpp:<line number> +............................................................................... + +PartTrackerTests.cpp:<line number>: +PASSED: + REQUIRE( s1.isSuccessfullyCompleted() ) +with expansion: + true + +PartTrackerTests.cpp:<line number>: +PASSED: + REQUIRE( testCase.isComplete() == false ) +with expansion: + false == false + +PartTrackerTests.cpp:<line number>: +PASSED: + REQUIRE( ctx.completedCycle() ) +with expansion: + true + +PartTrackerTests.cpp:<line number>: +PASSED: + REQUIRE( testCase.isSuccessfullyCompleted() ) +with expansion: + true + +------------------------------------------------------------------------------- +Tracker +------------------------------------------------------------------------------- +PartTrackerTests.cpp:<line number> +........... |