mirror of
https://github.com/catchorg/Catch2.git
synced 2024-11-04 05:09:53 +01:00
Update baselines
This commit is contained in:
parent
47eb9b3d68
commit
07ef028483
@ -274,6 +274,55 @@ MatchersTests.cpp:<line number>: FAILED:
|
|||||||
with expansion:
|
with expansion:
|
||||||
"this string contains 'abc' as a substring" equals: "something else"
|
"this string contains 'abc' as a substring" equals: "something else"
|
||||||
|
|
||||||
|
-------------------------------------------------------------------------------
|
||||||
|
Exception matchers that fail
|
||||||
|
No exception
|
||||||
|
-------------------------------------------------------------------------------
|
||||||
|
MatchersTests.cpp:<line number>
|
||||||
|
...............................................................................
|
||||||
|
|
||||||
|
MatchersTests.cpp:<line number>: FAILED:
|
||||||
|
CHECK_THROWS_MATCHES( doesNotThrow(), SpecialException const&, ExceptionMatcher{ 1 } )
|
||||||
|
because no exception was thrown where one was expected:
|
||||||
|
|
||||||
|
MatchersTests.cpp:<line number>: FAILED:
|
||||||
|
REQUIRE_THROWS_MATCHES( doesNotThrow(), SpecialException const&, ExceptionMatcher{ 1 } )
|
||||||
|
because no exception was thrown where one was expected:
|
||||||
|
|
||||||
|
-------------------------------------------------------------------------------
|
||||||
|
Exception matchers that fail
|
||||||
|
Type mismatch
|
||||||
|
-------------------------------------------------------------------------------
|
||||||
|
MatchersTests.cpp:<line number>
|
||||||
|
...............................................................................
|
||||||
|
|
||||||
|
MatchersTests.cpp:<line number>: FAILED:
|
||||||
|
CHECK_THROWS_MATCHES( throwsAsInt(1), SpecialException const&, ExceptionMatcher{ 1 } )
|
||||||
|
due to unexpected exception with message:
|
||||||
|
Unknown exception
|
||||||
|
|
||||||
|
MatchersTests.cpp:<line number>: FAILED:
|
||||||
|
REQUIRE_THROWS_MATCHES( throwsAsInt(1), SpecialException const&, ExceptionMatcher{ 1 } )
|
||||||
|
due to unexpected exception with message:
|
||||||
|
Unknown exception
|
||||||
|
|
||||||
|
-------------------------------------------------------------------------------
|
||||||
|
Exception matchers that fail
|
||||||
|
Contents are wrong
|
||||||
|
-------------------------------------------------------------------------------
|
||||||
|
MatchersTests.cpp:<line number>
|
||||||
|
...............................................................................
|
||||||
|
|
||||||
|
MatchersTests.cpp:<line number>: FAILED:
|
||||||
|
CHECK_THROWS_MATCHES( throws(3), SpecialException const&, ExceptionMatcher{ 1 } )
|
||||||
|
with expansion:
|
||||||
|
{?} special exception has value of 1
|
||||||
|
|
||||||
|
MatchersTests.cpp:<line number>: FAILED:
|
||||||
|
REQUIRE_THROWS_MATCHES( throws(4), SpecialException const&, ExceptionMatcher{ 1 } )
|
||||||
|
with expansion:
|
||||||
|
{?} special exception has value of 1
|
||||||
|
|
||||||
-------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
||||||
Expected exceptions that don't throw or unexpected exceptions fail the test
|
Expected exceptions that don't throw or unexpected exceptions fail the test
|
||||||
-------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
||||||
@ -368,7 +417,9 @@ MessageTests.cpp:<line number>: FAILED:
|
|||||||
CHECK( a == 0 )
|
CHECK( a == 0 )
|
||||||
with expansion:
|
with expansion:
|
||||||
2 == 0
|
2 == 0
|
||||||
with message:
|
with messages:
|
||||||
|
this message may be logged later
|
||||||
|
this message should be logged
|
||||||
and this, but later
|
and this, but later
|
||||||
|
|
||||||
-------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
||||||
@ -593,6 +644,17 @@ MessageTests.cpp:<line number>:
|
|||||||
warning:
|
warning:
|
||||||
toString(p): 0x<hex digits>
|
toString(p): 0x<hex digits>
|
||||||
|
|
||||||
|
-------------------------------------------------------------------------------
|
||||||
|
Reconstruction should be based on stringification: #914
|
||||||
|
-------------------------------------------------------------------------------
|
||||||
|
DecompositionTests.cpp:<line number>
|
||||||
|
...............................................................................
|
||||||
|
|
||||||
|
DecompositionTests.cpp:<line number>: FAILED:
|
||||||
|
CHECK( truthy(false) )
|
||||||
|
with expansion:
|
||||||
|
Hey, its truthy!
|
||||||
|
|
||||||
-------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
||||||
SCOPED_INFO is reset for each loop
|
SCOPED_INFO is reset for each loop
|
||||||
-------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
||||||
@ -940,6 +1002,6 @@ with expansion:
|
|||||||
"first" == "second"
|
"first" == "second"
|
||||||
|
|
||||||
===============================================================================
|
===============================================================================
|
||||||
test cases: 170 | 122 passed | 44 failed | 4 failed as expected
|
test cases: 171 | 121 passed | 46 failed | 4 failed as expected
|
||||||
assertions: 980 | 872 passed | 87 failed | 21 failed as expected
|
assertions: 843 | 728 passed | 94 failed | 21 failed as expected
|
||||||
|
|
||||||
|
File diff suppressed because it is too large
Load Diff
@ -119,7 +119,7 @@ with expansion:
|
|||||||
|
|
||||||
MiscTests.cpp:<line number>:
|
MiscTests.cpp:<line number>:
|
||||||
PASSED:
|
PASSED:
|
||||||
REQUIRE( (*__error()) == 1 )
|
REQUIRE( errno == 1 )
|
||||||
with expansion:
|
with expansion:
|
||||||
1 == 1
|
1 == 1
|
||||||
|
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
<testsuitesspanner>
|
<testsuitesspanner>
|
||||||
<testsuite name="<exe-name>" errors="13" failures="77" tests="983" hostname="tbd" time="{duration}" timestamp="{iso8601-timestamp}">
|
<testsuite name="<exe-name>" errors="15" failures="82" tests="846" hostname="tbd" time="{duration}" timestamp="{iso8601-timestamp}">
|
||||||
<testcase classname="global" name="# A test name that starts with a #" time="{duration}"/>
|
<testcase classname="global" name="# A test name that starts with a #" time="{duration}"/>
|
||||||
<testcase classname="#748 - captures with unexpected exceptions" name="outside assertions" time="{duration}">
|
<testcase classname="#748 - captures with unexpected exceptions" name="outside assertions" time="{duration}">
|
||||||
<error type="TEST_CASE">
|
<error type="TEST_CASE">
|
||||||
@ -192,6 +192,33 @@ ConditionTests.cpp:<line number>
|
|||||||
MatchersTests.cpp:<line number>
|
MatchersTests.cpp:<line number>
|
||||||
</failure>
|
</failure>
|
||||||
</testcase>
|
</testcase>
|
||||||
|
<testcase classname="Exception matchers that fail" name="No exception" time="{duration}">
|
||||||
|
<failure message="doesNotThrow(), SpecialException const&, ExceptionMatcher{ 1 }" type="CHECK_THROWS_MATCHES">
|
||||||
|
MatchersTests.cpp:<line number>
|
||||||
|
</failure>
|
||||||
|
<failure message="doesNotThrow(), SpecialException const&, ExceptionMatcher{ 1 }" type="REQUIRE_THROWS_MATCHES">
|
||||||
|
MatchersTests.cpp:<line number>
|
||||||
|
</failure>
|
||||||
|
</testcase>
|
||||||
|
<testcase classname="Exception matchers that fail" name="Type mismatch" time="{duration}">
|
||||||
|
<error message="throwsAsInt(1), SpecialException const&, ExceptionMatcher{ 1 }" type="CHECK_THROWS_MATCHES">
|
||||||
|
Unknown exception
|
||||||
|
MatchersTests.cpp:<line number>
|
||||||
|
</error>
|
||||||
|
<error message="throwsAsInt(1), SpecialException const&, ExceptionMatcher{ 1 }" type="REQUIRE_THROWS_MATCHES">
|
||||||
|
Unknown exception
|
||||||
|
MatchersTests.cpp:<line number>
|
||||||
|
</error>
|
||||||
|
</testcase>
|
||||||
|
<testcase classname="Exception matchers that fail" name="Contents are wrong" time="{duration}">
|
||||||
|
<failure message="{?} special exception has value of 1" type="CHECK_THROWS_MATCHES">
|
||||||
|
MatchersTests.cpp:<line number>
|
||||||
|
</failure>
|
||||||
|
<failure message="{?} special exception has value of 1" type="REQUIRE_THROWS_MATCHES">
|
||||||
|
MatchersTests.cpp:<line number>
|
||||||
|
</failure>
|
||||||
|
</testcase>
|
||||||
|
<testcase classname="global" name="Exception matchers that succeed" time="{duration}"/>
|
||||||
<testcase classname="Exception messages can be tested for" name="exact match" time="{duration}"/>
|
<testcase classname="Exception messages can be tested for" name="exact match" time="{duration}"/>
|
||||||
<testcase classname="Exception messages can be tested for" name="different case" time="{duration}"/>
|
<testcase classname="Exception messages can be tested for" name="different case" time="{duration}"/>
|
||||||
<testcase classname="Exception messages can be tested for" name="wildcarded" time="{duration}"/>
|
<testcase classname="Exception messages can be tested for" name="wildcarded" time="{duration}"/>
|
||||||
@ -226,8 +253,6 @@ MessageTests.cpp:<line number>
|
|||||||
</failure>
|
</failure>
|
||||||
</testcase>
|
</testcase>
|
||||||
<testcase classname="global" name="Factorials are computed" time="{duration}"/>
|
<testcase classname="global" name="Factorials are computed" time="{duration}"/>
|
||||||
<testcase classname="global" name="Generator over a range of pairs" time="{duration}"/>
|
|
||||||
<testcase classname="global" name="Generators over two ranges" time="{duration}"/>
|
|
||||||
<testcase classname="global" name="Greater-than inequalities with different epsilons" time="{duration}"/>
|
<testcase classname="global" name="Greater-than inequalities with different epsilons" time="{duration}"/>
|
||||||
<testcase classname="global" name="INFO and WARN do not abort tests" time="{duration}"/>
|
<testcase classname="global" name="INFO and WARN do not abort tests" time="{duration}"/>
|
||||||
<testcase classname="global" name="INFO gets logged on failure" time="{duration}">
|
<testcase classname="global" name="INFO gets logged on failure" time="{duration}">
|
||||||
@ -239,10 +264,13 @@ MessageTests.cpp:<line number>
|
|||||||
</testcase>
|
</testcase>
|
||||||
<testcase classname="global" name="INFO gets logged on failure, even if captured before successful assertions" time="{duration}">
|
<testcase classname="global" name="INFO gets logged on failure, even if captured before successful assertions" time="{duration}">
|
||||||
<failure message="2 == 1" type="CHECK">
|
<failure message="2 == 1" type="CHECK">
|
||||||
|
this message may be logged later
|
||||||
this message should be logged
|
this message should be logged
|
||||||
MessageTests.cpp:<line number>
|
MessageTests.cpp:<line number>
|
||||||
</failure>
|
</failure>
|
||||||
<failure message="2 == 0" type="CHECK">
|
<failure message="2 == 0" type="CHECK">
|
||||||
|
this message may be logged later
|
||||||
|
this message should be logged
|
||||||
and this, but later
|
and this, but later
|
||||||
MessageTests.cpp:<line number>
|
MessageTests.cpp:<line number>
|
||||||
</failure>
|
</failure>
|
||||||
@ -442,6 +470,11 @@ MessageTests.cpp:<line number>
|
|||||||
<testcase classname="Process can be configured on command line" name="use-colour/yes" time="{duration}"/>
|
<testcase classname="Process can be configured on command line" name="use-colour/yes" time="{duration}"/>
|
||||||
<testcase classname="Process can be configured on command line" name="use-colour/no" time="{duration}"/>
|
<testcase classname="Process can be configured on command line" name="use-colour/no" time="{duration}"/>
|
||||||
<testcase classname="Process can be configured on command line" name="use-colour/error" time="{duration}"/>
|
<testcase classname="Process can be configured on command line" name="use-colour/error" time="{duration}"/>
|
||||||
|
<testcase classname="global" name="Reconstruction should be based on stringification: #914" time="{duration}">
|
||||||
|
<failure message="Hey, its truthy!" type="CHECK">
|
||||||
|
DecompositionTests.cpp:<line number>
|
||||||
|
</failure>
|
||||||
|
</testcase>
|
||||||
<testcase classname="global" name="SCOPED_INFO is reset for each loop" time="{duration}">
|
<testcase classname="global" name="SCOPED_INFO is reset for each loop" time="{duration}">
|
||||||
<failure message="10 < 10" type="REQUIRE">
|
<failure message="10 < 10" type="REQUIRE">
|
||||||
current counter 10
|
current counter 10
|
||||||
|
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user