Updated baselines

This commit is contained in:
Martin Hořeňovský 2017-02-27 16:27:43 +01:00
parent e4f4335b07
commit bbeb192ec9
4 changed files with 87 additions and 7 deletions

View File

@ -890,6 +890,6 @@ with expansion:
"first" == "second"
===============================================================================
test cases: 162 | 117 passed | 43 failed | 2 failed as expected
assertions: 948 | 844 passed | 86 failed | 18 failed as expected
test cases: 163 | 118 passed | 43 failed | 2 failed as expected
assertions: 953 | 849 passed | 86 failed | 18 failed as expected

View File

@ -304,6 +304,42 @@ TrickyTests.cpp:<line number>: FAILED:
with expansion:
{?} == {?}
-------------------------------------------------------------------------------
Absolute margin
-------------------------------------------------------------------------------
ApproxTests.cpp:<line number>
...............................................................................
ApproxTests.cpp:<line number>:
PASSED:
REQUIRE( 104.0 != Approx(100.0) )
with expansion:
104.0 != Approx( 100.0 )
ApproxTests.cpp:<line number>:
PASSED:
REQUIRE( 104.0 == Approx(100.0).margin(5) )
with expansion:
104.0 == Approx( 100.0 )
ApproxTests.cpp:<line number>:
PASSED:
REQUIRE( 104.0 != Approx(100.0).margin(3) )
with expansion:
104.0 != Approx( 100.0 )
ApproxTests.cpp:<line number>:
PASSED:
REQUIRE( 100.3 != Approx(100.0) )
with expansion:
100.3 != Approx( 100.0 )
ApproxTests.cpp:<line number>:
PASSED:
REQUIRE( 100.3 == Approx(100.0).margin(0.5) )
with expansion:
100.3 == Approx( 100.0 )
-------------------------------------------------------------------------------
AllOf matcher
-------------------------------------------------------------------------------
@ -9288,6 +9324,6 @@ MiscTests.cpp:<line number>:
PASSED:
===============================================================================
test cases: 162 | 116 passed | 44 failed | 2 failed as expected
assertions: 950 | 844 passed | 88 failed | 18 failed as expected
test cases: 163 | 117 passed | 44 failed | 2 failed as expected
assertions: 955 | 849 passed | 88 failed | 18 failed as expected

View File

@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<testsuitesspanner>
<testsuite name="<exe-name>" errors="13" failures="76" tests="951" hostname="tbd" time="{duration}" timestamp="{iso8601-timestamp}">
<testsuite name="<exe-name>" errors="13" failures="76" tests="956" hostname="tbd" time="{duration}" timestamp="{iso8601-timestamp}">
<testcase classname="global" name="# A test name that starts with a #" time="{duration}"/>
<testcase classname="global" name="#542" time="{duration}"/>
<testcase classname="global" name="#809" time="{duration}"/>
@ -63,6 +63,7 @@ TrickyTests.cpp:<line number>
TrickyTests.cpp:<line number>
</failure>
</testcase>
<testcase classname="global" name="Absolute margin" time="{duration}"/>
<testcase classname="global" name="AllOf matcher" time="{duration}"/>
<testcase classname="global" name="An expression with side-effects should only be evaluated once" time="{duration}"/>
<testcase classname="global" name="An unchecked exception reports the line of the last assertion" time="{duration}">

View File

@ -341,6 +341,49 @@
</Expression>
<OverallResult success="false"/>
</TestCase>
<TestCase name="Absolute margin" tags="[Approx]" filename="projects/<exe-name>/ApproxTests.cpp" >
<Expression success="true" type="REQUIRE" filename="projects/<exe-name>/ApproxTests.cpp" >
<Original>
104.0 != Approx(100.0)
</Original>
<Expanded>
104.0 != Approx( 100.0 )
</Expanded>
</Expression>
<Expression success="true" type="REQUIRE" filename="projects/<exe-name>/ApproxTests.cpp" >
<Original>
104.0 == Approx(100.0).margin(5)
</Original>
<Expanded>
104.0 == Approx( 100.0 )
</Expanded>
</Expression>
<Expression success="true" type="REQUIRE" filename="projects/<exe-name>/ApproxTests.cpp" >
<Original>
104.0 != Approx(100.0).margin(3)
</Original>
<Expanded>
104.0 != Approx( 100.0 )
</Expanded>
</Expression>
<Expression success="true" type="REQUIRE" filename="projects/<exe-name>/ApproxTests.cpp" >
<Original>
100.3 != Approx(100.0)
</Original>
<Expanded>
100.3 != Approx( 100.0 )
</Expanded>
</Expression>
<Expression success="true" type="REQUIRE" filename="projects/<exe-name>/ApproxTests.cpp" >
<Original>
100.3 == Approx(100.0).margin(0.5)
</Original>
<Expanded>
100.3 == Approx( 100.0 )
</Expanded>
</Expression>
<OverallResult success="true"/>
</TestCase>
<TestCase name="AllOf matcher" tags="[matchers]" filename="projects/<exe-name>/MatchersTests.cpp" >
<Expression success="true" type="CHECK_THAT" filename="projects/<exe-name>/MatchersTests.cpp" >
<Original>
@ -9842,7 +9885,7 @@ spanner <OverallResult success="true"/>
</Section>
<OverallResult success="true"/>
</TestCase>
<OverallResults successes="844" failures="89" expectedFailures="18"/>
<OverallResults successes="849" failures="89" expectedFailures="18"/>
</Group>
<OverallResults successes="844" failures="88" expectedFailures="18"/>
<OverallResults successes="849" failures="88" expectedFailures="18"/>
</Catch>