mirror of
https://github.com/catchorg/Catch2.git
synced 2025-08-01 12:55:40 +02:00
Sections are, once again, eagerly entered.
When the section tracking code was rewritten a while back to simplify and iron out some bugs the order of evaluation was changed so that each new section was skipped on the first run through. This had unwelcome consequences for some people. This commit restores the original semantics (while maintaining the simpler, less buggy, new code).
This commit is contained in:
@@ -698,26 +698,6 @@ 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 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 couple of nested sections followed by a failure
|
||||
-------------------------------------------------------------------------------
|
||||
MiscTests.cpp:<line number>
|
||||
...............................................................................
|
||||
|
||||
MiscTests.cpp:<line number>: FAILED:
|
||||
explicitly with message:
|
||||
to infinity and beyond
|
||||
@@ -774,5 +754,5 @@ with expansion:
|
||||
"first" == "second"
|
||||
|
||||
===============================================================================
|
||||
125 test cases - 38 failed (661 assertions - 93 failed)
|
||||
125 test cases - 38 failed (627 assertions - 91 failed)
|
||||
|
||||
|
@@ -2848,25 +2848,6 @@ nested SECTION tests
|
||||
MiscTests.cpp:<line number>
|
||||
...............................................................................
|
||||
|
||||
MiscTests.cpp:<line number>:
|
||||
PASSED:
|
||||
REQUIRE( a != b )
|
||||
with expansion:
|
||||
1 != 2
|
||||
|
||||
MiscTests.cpp:<line number>:
|
||||
PASSED:
|
||||
REQUIRE( b != a )
|
||||
with expansion:
|
||||
2 != 1
|
||||
|
||||
-------------------------------------------------------------------------------
|
||||
nested SECTION tests
|
||||
s1
|
||||
-------------------------------------------------------------------------------
|
||||
MiscTests.cpp:<line number>
|
||||
...............................................................................
|
||||
|
||||
MiscTests.cpp:<line number>:
|
||||
PASSED:
|
||||
REQUIRE( a != b )
|
||||
@@ -2906,34 +2887,6 @@ MiscTests.cpp:<line number>: FAILED:
|
||||
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
|
||||
@@ -3396,24 +3349,6 @@ vectors can be sized and resized
|
||||
MiscTests.cpp:<line number>
|
||||
...............................................................................
|
||||
|
||||
MiscTests.cpp:<line number>:
|
||||
PASSED:
|
||||
REQUIRE( v.size() == 5 )
|
||||
with expansion:
|
||||
5 == 5
|
||||
|
||||
MiscTests.cpp:<line number>:
|
||||
PASSED:
|
||||
REQUIRE( v.capacity() >= 5 )
|
||||
with expansion:
|
||||
5 >= 5
|
||||
|
||||
-------------------------------------------------------------------------------
|
||||
vectors can be sized and resized
|
||||
-------------------------------------------------------------------------------
|
||||
MiscTests.cpp:<line number>
|
||||
...............................................................................
|
||||
|
||||
MiscTests.cpp:<line number>:
|
||||
PASSED:
|
||||
REQUIRE( v.size() == 5 )
|
||||
@@ -3470,43 +3405,6 @@ vectors can be sized and resized
|
||||
MiscTests.cpp:<line number>
|
||||
...............................................................................
|
||||
|
||||
MiscTests.cpp:<line number>:
|
||||
PASSED:
|
||||
REQUIRE( v.size() == 0 )
|
||||
with expansion:
|
||||
0 == 0
|
||||
|
||||
MiscTests.cpp:<line number>:
|
||||
PASSED:
|
||||
REQUIRE( v.capacity() >= 5 )
|
||||
with expansion:
|
||||
5 >= 5
|
||||
|
||||
-------------------------------------------------------------------------------
|
||||
vectors can be sized and resized
|
||||
-------------------------------------------------------------------------------
|
||||
MiscTests.cpp:<line number>
|
||||
...............................................................................
|
||||
|
||||
MiscTests.cpp:<line number>:
|
||||
PASSED:
|
||||
REQUIRE( v.size() == 5 )
|
||||
with expansion:
|
||||
5 == 5
|
||||
|
||||
MiscTests.cpp:<line number>:
|
||||
PASSED:
|
||||
REQUIRE( v.capacity() >= 5 )
|
||||
with expansion:
|
||||
5 >= 5
|
||||
|
||||
-------------------------------------------------------------------------------
|
||||
vectors can be sized and resized
|
||||
resizing smaller changes size but not capacity
|
||||
-------------------------------------------------------------------------------
|
||||
MiscTests.cpp:<line number>
|
||||
...............................................................................
|
||||
|
||||
MiscTests.cpp:<line number>:
|
||||
PASSED:
|
||||
REQUIRE( v.size() == 0 )
|
||||
@@ -3607,26 +3505,6 @@ PASSED:
|
||||
with expansion:
|
||||
5 >= 5
|
||||
|
||||
-------------------------------------------------------------------------------
|
||||
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 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 couple of nested sections followed by a failure
|
||||
Outer
|
||||
@@ -6261,43 +6139,6 @@ Assertions then sections
|
||||
TrickyTests.cpp:<line number>
|
||||
...............................................................................
|
||||
|
||||
TrickyTests.cpp:<line number>:
|
||||
PASSED:
|
||||
REQUIRE( Catch::isTrue( true ) )
|
||||
with expansion:
|
||||
true
|
||||
|
||||
-------------------------------------------------------------------------------
|
||||
Assertions then sections
|
||||
-------------------------------------------------------------------------------
|
||||
TrickyTests.cpp:<line number>
|
||||
...............................................................................
|
||||
|
||||
TrickyTests.cpp:<line number>:
|
||||
PASSED:
|
||||
REQUIRE( Catch::isTrue( true ) )
|
||||
with expansion:
|
||||
true
|
||||
|
||||
-------------------------------------------------------------------------------
|
||||
Assertions then sections
|
||||
A section
|
||||
-------------------------------------------------------------------------------
|
||||
TrickyTests.cpp:<line number>
|
||||
...............................................................................
|
||||
|
||||
TrickyTests.cpp:<line number>:
|
||||
PASSED:
|
||||
REQUIRE( Catch::isTrue( true ) )
|
||||
with expansion:
|
||||
true
|
||||
|
||||
-------------------------------------------------------------------------------
|
||||
Assertions then sections
|
||||
-------------------------------------------------------------------------------
|
||||
TrickyTests.cpp:<line number>
|
||||
...............................................................................
|
||||
|
||||
TrickyTests.cpp:<line number>:
|
||||
PASSED:
|
||||
REQUIRE( Catch::isTrue( true ) )
|
||||
@@ -6505,21 +6346,6 @@ Scenario: Do that thing with the thing
|
||||
BDDTests.cpp:<line number>
|
||||
...............................................................................
|
||||
|
||||
BDDTests.cpp:<line number>:
|
||||
PASSED:
|
||||
REQUIRE( itDoesThis() )
|
||||
with expansion:
|
||||
true
|
||||
|
||||
-------------------------------------------------------------------------------
|
||||
Scenario: Do that thing with the thing
|
||||
Given: This stuff exists
|
||||
When: I do this
|
||||
Then: it should do this
|
||||
-------------------------------------------------------------------------------
|
||||
BDDTests.cpp:<line number>
|
||||
...............................................................................
|
||||
|
||||
BDDTests.cpp:<line number>:
|
||||
PASSED:
|
||||
REQUIRE( itDoesThis() )
|
||||
@@ -6549,100 +6375,6 @@ Scenario: Vector resizing affects size and capacity
|
||||
BDDTests.cpp:<line number>
|
||||
...............................................................................
|
||||
|
||||
BDDTests.cpp:<line number>:
|
||||
PASSED:
|
||||
REQUIRE( v.size() == 0 )
|
||||
with expansion:
|
||||
0 == 0
|
||||
|
||||
-------------------------------------------------------------------------------
|
||||
Scenario: Vector resizing affects size and capacity
|
||||
Given: an empty vector
|
||||
-------------------------------------------------------------------------------
|
||||
BDDTests.cpp:<line number>
|
||||
...............................................................................
|
||||
|
||||
BDDTests.cpp:<line number>:
|
||||
PASSED:
|
||||
REQUIRE( v.size() == 0 )
|
||||
with expansion:
|
||||
0 == 0
|
||||
|
||||
-------------------------------------------------------------------------------
|
||||
Scenario: Vector resizing affects size and capacity
|
||||
Given: an empty vector
|
||||
-------------------------------------------------------------------------------
|
||||
BDDTests.cpp:<line number>
|
||||
...............................................................................
|
||||
|
||||
BDDTests.cpp:<line number>:
|
||||
PASSED:
|
||||
REQUIRE( v.size() == 0 )
|
||||
with expansion:
|
||||
0 == 0
|
||||
|
||||
-------------------------------------------------------------------------------
|
||||
Scenario: Vector resizing affects size and capacity
|
||||
Given: an empty vector
|
||||
When: it is made larger
|
||||
Then: the size and capacity go up
|
||||
-------------------------------------------------------------------------------
|
||||
BDDTests.cpp:<line number>
|
||||
...............................................................................
|
||||
|
||||
BDDTests.cpp:<line number>:
|
||||
PASSED:
|
||||
REQUIRE( v.size() == 10 )
|
||||
with expansion:
|
||||
10 == 10
|
||||
|
||||
BDDTests.cpp:<line number>:
|
||||
PASSED:
|
||||
REQUIRE( v.capacity() >= 10 )
|
||||
with expansion:
|
||||
10 >= 10
|
||||
|
||||
-------------------------------------------------------------------------------
|
||||
Scenario: Vector resizing affects size and capacity
|
||||
Given: an empty vector
|
||||
-------------------------------------------------------------------------------
|
||||
BDDTests.cpp:<line number>
|
||||
...............................................................................
|
||||
|
||||
BDDTests.cpp:<line number>:
|
||||
PASSED:
|
||||
REQUIRE( v.size() == 0 )
|
||||
with expansion:
|
||||
0 == 0
|
||||
|
||||
-------------------------------------------------------------------------------
|
||||
Scenario: Vector resizing affects size and capacity
|
||||
Given: an empty vector
|
||||
When: it is made larger
|
||||
Then: the size and capacity go up
|
||||
-------------------------------------------------------------------------------
|
||||
BDDTests.cpp:<line number>
|
||||
...............................................................................
|
||||
|
||||
BDDTests.cpp:<line number>:
|
||||
PASSED:
|
||||
REQUIRE( v.size() == 10 )
|
||||
with expansion:
|
||||
10 == 10
|
||||
|
||||
BDDTests.cpp:<line number>:
|
||||
PASSED:
|
||||
REQUIRE( v.capacity() >= 10 )
|
||||
with expansion:
|
||||
10 >= 10
|
||||
|
||||
-------------------------------------------------------------------------------
|
||||
Scenario: Vector resizing affects size and capacity
|
||||
Given: an empty vector
|
||||
-------------------------------------------------------------------------------
|
||||
BDDTests.cpp:<line number>
|
||||
...............................................................................
|
||||
|
||||
BDDTests.cpp:<line number>:
|
||||
PASSED:
|
||||
REQUIRE( v.size() == 0 )
|
||||
@@ -6700,19 +6432,6 @@ Scenario: Vector resizing affects size and capacity
|
||||
BDDTests.cpp:<line number>
|
||||
...............................................................................
|
||||
|
||||
BDDTests.cpp:<line number>:
|
||||
PASSED:
|
||||
REQUIRE( v.size() == 0 )
|
||||
with expansion:
|
||||
0 == 0
|
||||
|
||||
-------------------------------------------------------------------------------
|
||||
Scenario: Vector resizing affects size and capacity
|
||||
Given: an empty vector
|
||||
-------------------------------------------------------------------------------
|
||||
BDDTests.cpp:<line number>
|
||||
...............................................................................
|
||||
|
||||
BDDTests.cpp:<line number>:
|
||||
PASSED:
|
||||
REQUIRE( v.size() == 0 )
|
||||
@@ -6764,18 +6483,6 @@ section tracking
|
||||
SectionTrackerTests.cpp:<line number>
|
||||
...............................................................................
|
||||
|
||||
SectionTrackerTests.cpp:<line number>:
|
||||
PASSED:
|
||||
CHECK_FALSE( testCaseTracker.isCompleted() )
|
||||
with expansion:
|
||||
!false
|
||||
|
||||
-------------------------------------------------------------------------------
|
||||
section tracking
|
||||
-------------------------------------------------------------------------------
|
||||
SectionTrackerTests.cpp:<line number>
|
||||
...............................................................................
|
||||
|
||||
SectionTrackerTests.cpp:<line number>:
|
||||
PASSED:
|
||||
CHECK_FALSE( testCaseTracker.isCompleted() )
|
||||
@@ -6820,36 +6527,30 @@ section tracking
|
||||
SectionTrackerTests.cpp:<line number>
|
||||
...............................................................................
|
||||
|
||||
SectionTrackerTests.cpp:<line number>:
|
||||
PASSED:
|
||||
CHECK_FALSE( testCaseTracker.enterSection( section1Name ) )
|
||||
with expansion:
|
||||
!false
|
||||
|
||||
SectionTrackerTests.cpp:<line number>:
|
||||
PASSED:
|
||||
CHECK_FALSE( testCaseTracker.isCompleted() )
|
||||
with expansion:
|
||||
!false
|
||||
|
||||
SectionTrackerTests.cpp:<line number>:
|
||||
PASSED:
|
||||
CHECK_FALSE( testCaseTracker.isCompleted() )
|
||||
with expansion:
|
||||
!false
|
||||
|
||||
SectionTrackerTests.cpp:<line number>:
|
||||
PASSED:
|
||||
CHECK( testCaseTracker.enterSection( section1Name ) )
|
||||
with expansion:
|
||||
true
|
||||
|
||||
SectionTrackerTests.cpp:<line number>:
|
||||
PASSED:
|
||||
CHECK_FALSE( testCaseTracker.isCompleted() )
|
||||
with expansion:
|
||||
!false
|
||||
|
||||
SectionTrackerTests.cpp:<line number>:
|
||||
PASSED:
|
||||
CHECK( testCaseTracker.isCompleted() )
|
||||
with expansion:
|
||||
true
|
||||
|
||||
SectionTrackerTests.cpp:<line number>:
|
||||
PASSED:
|
||||
CHECK_FALSE( testCaseTracker.enterSection( section1Name ) )
|
||||
with expansion:
|
||||
!false
|
||||
|
||||
-------------------------------------------------------------------------------
|
||||
section tracking
|
||||
-------------------------------------------------------------------------------
|
||||
@@ -6869,24 +6570,6 @@ section tracking
|
||||
SectionTrackerTests.cpp:<line number>
|
||||
...............................................................................
|
||||
|
||||
SectionTrackerTests.cpp:<line number>:
|
||||
PASSED:
|
||||
CHECK_FALSE( testCaseTracker.enterSection( section1Name ) )
|
||||
with expansion:
|
||||
!false
|
||||
|
||||
SectionTrackerTests.cpp:<line number>:
|
||||
PASSED:
|
||||
CHECK_FALSE( testCaseTracker.enterSection( section2Name ) )
|
||||
with expansion:
|
||||
!false
|
||||
|
||||
SectionTrackerTests.cpp:<line number>:
|
||||
PASSED:
|
||||
CHECK_FALSE( testCaseTracker.isCompleted() )
|
||||
with expansion:
|
||||
!false
|
||||
|
||||
SectionTrackerTests.cpp:<line number>:
|
||||
PASSED:
|
||||
CHECK( testCaseTracker.enterSection( section1Name ) )
|
||||
@@ -6942,36 +6625,6 @@ section tracking
|
||||
SectionTrackerTests.cpp:<line number>
|
||||
...............................................................................
|
||||
|
||||
SectionTrackerTests.cpp:<line number>:
|
||||
PASSED:
|
||||
CHECK_FALSE( testCaseTracker.enterSection( section1Name ) )
|
||||
with expansion:
|
||||
!false
|
||||
|
||||
SectionTrackerTests.cpp:<line number>:
|
||||
PASSED:
|
||||
CHECK_FALSE( testCaseTracker.isCompleted() )
|
||||
with expansion:
|
||||
!false
|
||||
|
||||
SectionTrackerTests.cpp:<line number>:
|
||||
PASSED:
|
||||
CHECK( testCaseTracker.enterSection( section1Name ) )
|
||||
with expansion:
|
||||
true
|
||||
|
||||
SectionTrackerTests.cpp:<line number>:
|
||||
PASSED:
|
||||
CHECK_FALSE( testCaseTracker.enterSection( section2Name ) )
|
||||
with expansion:
|
||||
!false
|
||||
|
||||
SectionTrackerTests.cpp:<line number>:
|
||||
PASSED:
|
||||
CHECK_FALSE( testCaseTracker.isCompleted() )
|
||||
with expansion:
|
||||
!false
|
||||
|
||||
SectionTrackerTests.cpp:<line number>:
|
||||
PASSED:
|
||||
CHECK( testCaseTracker.enterSection( section1Name ) )
|
||||
@@ -6984,6 +6637,12 @@ PASSED:
|
||||
with expansion:
|
||||
true
|
||||
|
||||
SectionTrackerTests.cpp:<line number>:
|
||||
PASSED:
|
||||
CHECK_FALSE( testCaseTracker.isCompleted() )
|
||||
with expansion:
|
||||
!false
|
||||
|
||||
SectionTrackerTests.cpp:<line number>:
|
||||
PASSED:
|
||||
CHECK( testCaseTracker.isCompleted() )
|
||||
@@ -6991,5 +6650,5 @@ with expansion:
|
||||
true
|
||||
|
||||
===============================================================================
|
||||
125 test cases - 53 failed (680 assertions - 112 failed)
|
||||
125 test cases - 53 failed (646 assertions - 110 failed)
|
||||
|
||||
|
@@ -1,5 +1,5 @@
|
||||
<testsuites>
|
||||
<testsuite name="~_" errors="12" failures="100" tests="680" hostname="tbd" time="{duration}" timestamp="tbd">
|
||||
<testsuite name="~_" errors="12" failures="98" tests="646" hostname="tbd" time="{duration}" timestamp="tbd">
|
||||
<testcase classname="global" name="Some simple comparisons between doubles" time="{duration}"/>
|
||||
<testcase classname="global" name="Approximate comparisons with different epsilons" time="{duration}"/>
|
||||
<testcase classname="global" name="Approximate comparisons with floats" time="{duration}"/>
|
||||
@@ -323,13 +323,11 @@ MessageTests.cpp:<line number>
|
||||
<testcase classname="random SECTION tests" name="s2" time="{duration}"/>
|
||||
<testcase classname="nested SECTION tests" name="s1" time="{duration}"/>
|
||||
<testcase classname="nested SECTION tests" name="s1/s2" time="{duration}"/>
|
||||
<testcase classname="more nested SECTION tests" name="s1/s2" time="{duration}">
|
||||
<testcase classname="more nested SECTION tests" name="s2/s1" time="{duration}">
|
||||
<failure message="1 == 2" type="REQUIRE">
|
||||
MiscTests.cpp:<line number>
|
||||
</failure>
|
||||
</testcase>
|
||||
<testcase classname="more nested SECTION tests" name="s1/s3" time="{duration}"/>
|
||||
<testcase classname="more nested SECTION tests" name="s1/s4" time="{duration}"/>
|
||||
<testcase classname="looped SECTION tests" name="s1" time="{duration}">
|
||||
<failure message="0 > 1" type="CHECK">
|
||||
MiscTests.cpp:<line number>
|
||||
@@ -431,14 +429,6 @@ MiscTests.cpp:<line number>
|
||||
<testcase classname="A couple of nested sections followed by a failure" name="root" time="{duration}">
|
||||
<failure type="FAIL">
|
||||
to infinity and beyond
|
||||
MiscTests.cpp:<line number>
|
||||
</failure>
|
||||
<failure type="FAIL">
|
||||
to infinity and beyond
|
||||
MiscTests.cpp:<line number>
|
||||
</failure>
|
||||
<failure type="FAIL">
|
||||
to infinity and beyond
|
||||
MiscTests.cpp:<line number>
|
||||
</failure>
|
||||
</testcase>
|
||||
|
@@ -2957,25 +2957,6 @@
|
||||
<OverallResult success="true"/>
|
||||
</TestCase>
|
||||
<TestCase name="nested SECTION tests">
|
||||
<Section name="s1" description="doesn't equal">
|
||||
<Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/MiscTests.cpp" >
|
||||
<Original>
|
||||
a != b
|
||||
</Original>
|
||||
<Expanded>
|
||||
1 != 2
|
||||
</Expanded>
|
||||
</Expression>
|
||||
<Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/MiscTests.cpp" >
|
||||
<Original>
|
||||
b != a
|
||||
</Original>
|
||||
<Expanded>
|
||||
2 != 1
|
||||
</Expanded>
|
||||
</Expression>
|
||||
<OverallResults successes="2" failures="0"/>
|
||||
</Section>
|
||||
<Section name="s1" description="doesn't equal">
|
||||
<Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/MiscTests.cpp" >
|
||||
<Original>
|
||||
@@ -3009,9 +2990,6 @@
|
||||
<OverallResult success="true"/>
|
||||
</TestCase>
|
||||
<TestCase name="more nested SECTION tests">
|
||||
<Section name="s1" description="doesn't equal">
|
||||
<OverallResults successes="0" failures="0"/>
|
||||
</Section>
|
||||
<Section name="s1" description="doesn't equal">
|
||||
<Section name="s2" description="equal">
|
||||
<Expression success="false" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/MiscTests.cpp" >
|
||||
@@ -3026,40 +3004,9 @@
|
||||
</Section>
|
||||
<OverallResults successes="0" failures="1"/>
|
||||
</Section>
|
||||
<Section name="s1" description="doesn't equal">
|
||||
<Section name="s3" description="not equal">
|
||||
<Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/MiscTests.cpp" >
|
||||
<Original>
|
||||
a != b
|
||||
</Original>
|
||||
<Expanded>
|
||||
1 != 2
|
||||
</Expanded>
|
||||
</Expression>
|
||||
<OverallResults successes="1" failures="0"/>
|
||||
</Section>
|
||||
<OverallResults successes="1" failures="0"/>
|
||||
</Section>
|
||||
<Section name="s1" description="doesn't equal">
|
||||
<Section name="s4" description="less than">
|
||||
<Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/MiscTests.cpp" >
|
||||
<Original>
|
||||
a < b
|
||||
</Original>
|
||||
<Expanded>
|
||||
1 < 2
|
||||
</Expanded>
|
||||
</Expression>
|
||||
<OverallResults successes="1" failures="0"/>
|
||||
</Section>
|
||||
<OverallResults successes="1" failures="0"/>
|
||||
</Section>
|
||||
<OverallResult success="false"/>
|
||||
</TestCase>
|
||||
<TestCase name="even more nested SECTION tests">
|
||||
<Section name="c">
|
||||
<OverallResults successes="0" failures="0"/>
|
||||
</Section>
|
||||
<Section name="c">
|
||||
<Section name="d (leaf)">
|
||||
<OverallResults successes="0" failures="1"/>
|
||||
@@ -3498,22 +3445,6 @@
|
||||
<OverallResult success="true"/>
|
||||
</TestCase>
|
||||
<TestCase name="vectors can be sized and resized">
|
||||
<Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/MiscTests.cpp" >
|
||||
<Original>
|
||||
v.size() == 5
|
||||
</Original>
|
||||
<Expanded>
|
||||
5 == 5
|
||||
</Expanded>
|
||||
</Expression>
|
||||
<Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/MiscTests.cpp" >
|
||||
<Original>
|
||||
v.capacity() >= 5
|
||||
</Original>
|
||||
<Expanded>
|
||||
5 >= 5
|
||||
</Expanded>
|
||||
</Expression>
|
||||
<Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/MiscTests.cpp" >
|
||||
<Original>
|
||||
v.size() == 5
|
||||
@@ -3565,41 +3496,6 @@
|
||||
5 >= 5
|
||||
</Expanded>
|
||||
</Expression>
|
||||
<Section name="resizing smaller changes size but not capacity">
|
||||
<Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/MiscTests.cpp" >
|
||||
<Original>
|
||||
v.size() == 0
|
||||
</Original>
|
||||
<Expanded>
|
||||
0 == 0
|
||||
</Expanded>
|
||||
</Expression>
|
||||
<Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/MiscTests.cpp" >
|
||||
<Original>
|
||||
v.capacity() >= 5
|
||||
</Original>
|
||||
<Expanded>
|
||||
5 >= 5
|
||||
</Expanded>
|
||||
</Expression>
|
||||
<OverallResults successes="2" failures="0"/>
|
||||
</Section>
|
||||
<Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/MiscTests.cpp" >
|
||||
<Original>
|
||||
v.size() == 5
|
||||
</Original>
|
||||
<Expanded>
|
||||
5 == 5
|
||||
</Expanded>
|
||||
</Expression>
|
||||
<Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/MiscTests.cpp" >
|
||||
<Original>
|
||||
v.capacity() >= 5
|
||||
</Original>
|
||||
<Expanded>
|
||||
5 >= 5
|
||||
</Expanded>
|
||||
</Expression>
|
||||
<Section name="resizing smaller changes size but not capacity">
|
||||
<Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/MiscTests.cpp" >
|
||||
<Original>
|
||||
@@ -3703,15 +3599,6 @@
|
||||
<OverallResult success="true"/>
|
||||
</TestCase>
|
||||
<TestCase name="A couple of nested sections followed by a failure">
|
||||
<Failure>
|
||||
to infinity and beyond
|
||||
</Failure>
|
||||
<Section name="Outer">
|
||||
<OverallResults successes="0" failures="0"/>
|
||||
</Section>
|
||||
<Failure>
|
||||
to infinity and beyond
|
||||
</Failure>
|
||||
<Section name="Outer">
|
||||
<Section name="Inner">
|
||||
<OverallResults successes="1" failures="0"/>
|
||||
@@ -3770,9 +3657,6 @@
|
||||
</Expression>
|
||||
<OverallResults successes="5" failures="0"/>
|
||||
</Section>
|
||||
<Section name="test lists">
|
||||
<OverallResults successes="0" failures="0"/>
|
||||
</Section>
|
||||
<Section name="test lists">
|
||||
<Section name="1 test" description="Specify one test case using">
|
||||
<Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/TestMain.cpp" >
|
||||
@@ -3933,9 +3817,6 @@
|
||||
</Section>
|
||||
<OverallResults successes="5" failures="0"/>
|
||||
</Section>
|
||||
<Section name="reporter">
|
||||
<OverallResults successes="0" failures="0"/>
|
||||
</Section>
|
||||
<Section name="reporter">
|
||||
<Section name="-r/console">
|
||||
<Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/TestMain.cpp" >
|
||||
@@ -4002,9 +3883,6 @@
|
||||
</Section>
|
||||
<OverallResults successes="2" failures="0"/>
|
||||
</Section>
|
||||
<Section name="debugger">
|
||||
<OverallResults successes="0" failures="0"/>
|
||||
</Section>
|
||||
<Section name="debugger">
|
||||
<Section name="-b">
|
||||
<Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/TestMain.cpp" >
|
||||
@@ -4049,9 +3927,6 @@
|
||||
</Section>
|
||||
<OverallResults successes="2" failures="0"/>
|
||||
</Section>
|
||||
<Section name="abort">
|
||||
<OverallResults successes="0" failures="0"/>
|
||||
</Section>
|
||||
<Section name="abort">
|
||||
<Section name="-a aborts after first failure">
|
||||
<Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/TestMain.cpp" >
|
||||
@@ -4126,9 +4001,6 @@
|
||||
</Section>
|
||||
<OverallResults successes="1" failures="0"/>
|
||||
</Section>
|
||||
<Section name="nothrow">
|
||||
<OverallResults successes="0" failures="0"/>
|
||||
</Section>
|
||||
<Section name="nothrow">
|
||||
<Section name="-e">
|
||||
<Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/TestMain.cpp" >
|
||||
@@ -4173,9 +4045,6 @@
|
||||
</Section>
|
||||
<OverallResults successes="2" failures="0"/>
|
||||
</Section>
|
||||
<Section name="output filename">
|
||||
<OverallResults successes="0" failures="0"/>
|
||||
</Section>
|
||||
<Section name="output filename">
|
||||
<Section name="-o filename">
|
||||
<Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/TestMain.cpp" >
|
||||
@@ -4220,9 +4089,6 @@
|
||||
</Section>
|
||||
<OverallResults successes="2" failures="0"/>
|
||||
</Section>
|
||||
<Section name="combinations">
|
||||
<OverallResults successes="0" failures="0"/>
|
||||
</Section>
|
||||
<Section name="combinations">
|
||||
<Section name="Single character flags can be combined">
|
||||
<Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/TestMain.cpp" >
|
||||
@@ -4788,9 +4654,6 @@
|
||||
<OverallResult success="true"/>
|
||||
</TestCase>
|
||||
<TestCase name="Long strings can be wrapped">
|
||||
<Section name="plain string">
|
||||
<OverallResults successes="0" failures="0"/>
|
||||
</Section>
|
||||
<Section name="plain string">
|
||||
<Section name="No wrapping">
|
||||
<Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/TestMain.cpp" >
|
||||
@@ -5117,9 +4980,6 @@ ur"
|
||||
</Section>
|
||||
<OverallResults successes="1" failures="0"/>
|
||||
</Section>
|
||||
<Section name="With newlines">
|
||||
<OverallResults successes="0" failures="0"/>
|
||||
</Section>
|
||||
<Section name="With newlines">
|
||||
<Section name="No wrapping">
|
||||
<Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/TestMain.cpp" >
|
||||
@@ -6554,33 +6414,6 @@ there"
|
||||
<OverallResult success="true"/>
|
||||
</TestCase>
|
||||
<TestCase name="Assertions then sections">
|
||||
<Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/TrickyTests.cpp" >
|
||||
<Original>
|
||||
Catch::isTrue( true )
|
||||
</Original>
|
||||
<Expanded>
|
||||
true
|
||||
</Expanded>
|
||||
</Expression>
|
||||
<Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/TrickyTests.cpp" >
|
||||
<Original>
|
||||
Catch::isTrue( true )
|
||||
</Original>
|
||||
<Expanded>
|
||||
true
|
||||
</Expanded>
|
||||
</Expression>
|
||||
<Section name="A section">
|
||||
<Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/TrickyTests.cpp" >
|
||||
<Original>
|
||||
Catch::isTrue( true )
|
||||
</Original>
|
||||
<Expanded>
|
||||
true
|
||||
</Expanded>
|
||||
</Expression>
|
||||
<OverallResults successes="1" failures="0"/>
|
||||
</Section>
|
||||
<Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/TrickyTests.cpp" >
|
||||
<Original>
|
||||
Catch::isTrue( true )
|
||||
@@ -6722,32 +6555,6 @@ there"
|
||||
<OverallResult success="true"/>
|
||||
</TestCase>
|
||||
<TestCase name="Scenario: Do that thing with the thing">
|
||||
<Section name="Given: This stuff exists">
|
||||
<OverallResults successes="0" failures="0"/>
|
||||
</Section>
|
||||
<Section name="Given: This stuff exists">
|
||||
<Section name="When: I do this">
|
||||
<OverallResults successes="0" failures="0"/>
|
||||
</Section>
|
||||
<OverallResults successes="0" failures="0"/>
|
||||
</Section>
|
||||
<Section name="Given: This stuff exists">
|
||||
<Section name="When: I do this">
|
||||
<Section name="Then: it should do this">
|
||||
<Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/BDDTests.cpp" >
|
||||
<Original>
|
||||
itDoesThis()
|
||||
</Original>
|
||||
<Expanded>
|
||||
true
|
||||
</Expanded>
|
||||
</Expression>
|
||||
<OverallResults successes="1" failures="0"/>
|
||||
</Section>
|
||||
<OverallResults successes="1" failures="0"/>
|
||||
</Section>
|
||||
<OverallResults successes="1" failures="0"/>
|
||||
</Section>
|
||||
<Section name="Given: This stuff exists">
|
||||
<Section name="When: I do this">
|
||||
<Section name="Then: it should do this">
|
||||
@@ -6779,100 +6586,6 @@ there"
|
||||
<OverallResult success="true"/>
|
||||
</TestCase>
|
||||
<TestCase name="Scenario: Vector resizing affects size and capacity">
|
||||
<Section name="Given: an empty vector">
|
||||
<Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/BDDTests.cpp" >
|
||||
<Original>
|
||||
v.size() == 0
|
||||
</Original>
|
||||
<Expanded>
|
||||
0 == 0
|
||||
</Expanded>
|
||||
</Expression>
|
||||
<OverallResults successes="1" failures="0"/>
|
||||
</Section>
|
||||
<Section name="Given: an empty vector">
|
||||
<Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/BDDTests.cpp" >
|
||||
<Original>
|
||||
v.size() == 0
|
||||
</Original>
|
||||
<Expanded>
|
||||
0 == 0
|
||||
</Expanded>
|
||||
</Expression>
|
||||
<Section name="When: it is made larger">
|
||||
<OverallResults successes="0" failures="0"/>
|
||||
</Section>
|
||||
<OverallResults successes="1" failures="0"/>
|
||||
</Section>
|
||||
<Section name="Given: an empty vector">
|
||||
<Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/BDDTests.cpp" >
|
||||
<Original>
|
||||
v.size() == 0
|
||||
</Original>
|
||||
<Expanded>
|
||||
0 == 0
|
||||
</Expanded>
|
||||
</Expression>
|
||||
<Section name="When: it is made larger">
|
||||
<Section name="Then: the size and capacity go up">
|
||||
<Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/BDDTests.cpp" >
|
||||
<Original>
|
||||
v.size() == 10
|
||||
</Original>
|
||||
<Expanded>
|
||||
10 == 10
|
||||
</Expanded>
|
||||
</Expression>
|
||||
<Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/BDDTests.cpp" >
|
||||
<Original>
|
||||
v.capacity() >= 10
|
||||
</Original>
|
||||
<Expanded>
|
||||
10 >= 10
|
||||
</Expanded>
|
||||
</Expression>
|
||||
<OverallResults successes="2" failures="0"/>
|
||||
</Section>
|
||||
<OverallResults successes="2" failures="0"/>
|
||||
</Section>
|
||||
<OverallResults successes="3" failures="0"/>
|
||||
</Section>
|
||||
<Section name="Given: an empty vector">
|
||||
<Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/BDDTests.cpp" >
|
||||
<Original>
|
||||
v.size() == 0
|
||||
</Original>
|
||||
<Expanded>
|
||||
0 == 0
|
||||
</Expanded>
|
||||
</Expression>
|
||||
<Section name="When: it is made larger">
|
||||
<Section name="Then: the size and capacity go up">
|
||||
<Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/BDDTests.cpp" >
|
||||
<Original>
|
||||
v.size() == 10
|
||||
</Original>
|
||||
<Expanded>
|
||||
10 == 10
|
||||
</Expanded>
|
||||
</Expression>
|
||||
<Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/BDDTests.cpp" >
|
||||
<Original>
|
||||
v.capacity() >= 10
|
||||
</Original>
|
||||
<Expanded>
|
||||
10 >= 10
|
||||
</Expanded>
|
||||
</Expression>
|
||||
<Section name="And when: it is made smaller again">
|
||||
<OverallResults successes="0" failures="0"/>
|
||||
</Section>
|
||||
<OverallResults successes="2" failures="0"/>
|
||||
</Section>
|
||||
<OverallResults successes="2" failures="0"/>
|
||||
</Section>
|
||||
<OverallResults successes="3" failures="0"/>
|
||||
</Section>
|
||||
<Section name="Given: an empty vector">
|
||||
<Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/BDDTests.cpp" >
|
||||
<Original>
|
||||
@@ -6928,20 +6641,6 @@ there"
|
||||
</Section>
|
||||
<OverallResults successes="5" failures="0"/>
|
||||
</Section>
|
||||
<Section name="Given: an empty vector">
|
||||
<Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/BDDTests.cpp" >
|
||||
<Original>
|
||||
v.size() == 0
|
||||
</Original>
|
||||
<Expanded>
|
||||
0 == 0
|
||||
</Expanded>
|
||||
</Expression>
|
||||
<Section name="When: we reserve more space">
|
||||
<OverallResults successes="0" failures="0"/>
|
||||
</Section>
|
||||
<OverallResults successes="1" failures="0"/>
|
||||
</Section>
|
||||
<Section name="Given: an empty vector">
|
||||
<Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/BDDTests.cpp" >
|
||||
<Original>
|
||||
@@ -6978,15 +6677,6 @@ there"
|
||||
<OverallResult success="true"/>
|
||||
</TestCase>
|
||||
<TestCase name="Scenario: This is a really long scenario name to see how the list command deals with wrapping">
|
||||
<Section name="Given: A section name that is so long that it cannot fit in a single console width">
|
||||
<OverallResults successes="0" failures="0"/>
|
||||
</Section>
|
||||
<Section name="Given: A section name that is so long that it cannot fit in a single console width">
|
||||
<Section name="When: The test headers are printed as part of the normal running of the scenario">
|
||||
<OverallResults successes="0" failures="0"/>
|
||||
</Section>
|
||||
<OverallResults successes="0" failures="0"/>
|
||||
</Section>
|
||||
<Section name="Given: A section name that is so long that it cannot fit in a single console width">
|
||||
<Section name="When: The test headers are printed as part of the normal running of the scenario">
|
||||
<Section name="Then: The, deliberately very long and overly verbose (you see what I did there?) section names must wrap, along with an indent">
|
||||
@@ -6999,14 +6689,6 @@ there"
|
||||
<OverallResult success="true"/>
|
||||
</TestCase>
|
||||
<TestCase name="section tracking">
|
||||
<Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/SectionTrackerTests.cpp" >
|
||||
<Original>
|
||||
!testCaseTracker.isCompleted()
|
||||
</Original>
|
||||
<Expanded>
|
||||
!false
|
||||
</Expanded>
|
||||
</Expression>
|
||||
<Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/SectionTrackerTests.cpp" >
|
||||
<Original>
|
||||
!testCaseTracker.isCompleted()
|
||||
@@ -7043,30 +6725,6 @@ there"
|
||||
</Expanded>
|
||||
</Expression>
|
||||
<Section name="test case with one section">
|
||||
<Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/SectionTrackerTests.cpp" >
|
||||
<Original>
|
||||
!testCaseTracker.enterSection( section1Name )
|
||||
</Original>
|
||||
<Expanded>
|
||||
!false
|
||||
</Expanded>
|
||||
</Expression>
|
||||
<Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/SectionTrackerTests.cpp" >
|
||||
<Original>
|
||||
!testCaseTracker.isCompleted()
|
||||
</Original>
|
||||
<Expanded>
|
||||
!false
|
||||
</Expanded>
|
||||
</Expression>
|
||||
<Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/SectionTrackerTests.cpp" >
|
||||
<Original>
|
||||
!testCaseTracker.isCompleted()
|
||||
</Original>
|
||||
<Expanded>
|
||||
!false
|
||||
</Expanded>
|
||||
</Expression>
|
||||
<Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/SectionTrackerTests.cpp" >
|
||||
<Original>
|
||||
testCaseTracker.enterSection( section1Name )
|
||||
@@ -7075,6 +6733,14 @@ there"
|
||||
true
|
||||
</Expanded>
|
||||
</Expression>
|
||||
<Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/SectionTrackerTests.cpp" >
|
||||
<Original>
|
||||
!testCaseTracker.isCompleted()
|
||||
</Original>
|
||||
<Expanded>
|
||||
!false
|
||||
</Expanded>
|
||||
</Expression>
|
||||
<Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/SectionTrackerTests.cpp" >
|
||||
<Original>
|
||||
testCaseTracker.isCompleted()
|
||||
@@ -7083,7 +6749,15 @@ there"
|
||||
true
|
||||
</Expanded>
|
||||
</Expression>
|
||||
<OverallResults successes="5" failures="0"/>
|
||||
<Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/SectionTrackerTests.cpp" >
|
||||
<Original>
|
||||
!testCaseTracker.enterSection( section1Name )
|
||||
</Original>
|
||||
<Expanded>
|
||||
!false
|
||||
</Expanded>
|
||||
</Expression>
|
||||
<OverallResults successes="4" failures="0"/>
|
||||
</Section>
|
||||
<Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/SectionTrackerTests.cpp" >
|
||||
<Original>
|
||||
@@ -7094,30 +6768,6 @@ there"
|
||||
</Expanded>
|
||||
</Expression>
|
||||
<Section name="test case with two consecutive sections">
|
||||
<Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/SectionTrackerTests.cpp" >
|
||||
<Original>
|
||||
!testCaseTracker.enterSection( section1Name )
|
||||
</Original>
|
||||
<Expanded>
|
||||
!false
|
||||
</Expanded>
|
||||
</Expression>
|
||||
<Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/SectionTrackerTests.cpp" >
|
||||
<Original>
|
||||
!testCaseTracker.enterSection( section2Name )
|
||||
</Original>
|
||||
<Expanded>
|
||||
!false
|
||||
</Expanded>
|
||||
</Expression>
|
||||
<Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/SectionTrackerTests.cpp" >
|
||||
<Original>
|
||||
!testCaseTracker.isCompleted()
|
||||
</Original>
|
||||
<Expanded>
|
||||
!false
|
||||
</Expanded>
|
||||
</Expression>
|
||||
<Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/SectionTrackerTests.cpp" >
|
||||
<Original>
|
||||
testCaseTracker.enterSection( section1Name )
|
||||
@@ -7166,7 +6816,7 @@ there"
|
||||
true
|
||||
</Expanded>
|
||||
</Expression>
|
||||
<OverallResults successes="9" failures="0"/>
|
||||
<OverallResults successes="6" failures="0"/>
|
||||
</Section>
|
||||
<Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/SectionTrackerTests.cpp" >
|
||||
<Original>
|
||||
@@ -7177,46 +6827,6 @@ there"
|
||||
</Expanded>
|
||||
</Expression>
|
||||
<Section name="test case with one section within another">
|
||||
<Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/SectionTrackerTests.cpp" >
|
||||
<Original>
|
||||
!testCaseTracker.enterSection( section1Name )
|
||||
</Original>
|
||||
<Expanded>
|
||||
!false
|
||||
</Expanded>
|
||||
</Expression>
|
||||
<Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/SectionTrackerTests.cpp" >
|
||||
<Original>
|
||||
!testCaseTracker.isCompleted()
|
||||
</Original>
|
||||
<Expanded>
|
||||
!false
|
||||
</Expanded>
|
||||
</Expression>
|
||||
<Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/SectionTrackerTests.cpp" >
|
||||
<Original>
|
||||
testCaseTracker.enterSection( section1Name )
|
||||
</Original>
|
||||
<Expanded>
|
||||
true
|
||||
</Expanded>
|
||||
</Expression>
|
||||
<Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/SectionTrackerTests.cpp" >
|
||||
<Original>
|
||||
!testCaseTracker.enterSection( section2Name )
|
||||
</Original>
|
||||
<Expanded>
|
||||
!false
|
||||
</Expanded>
|
||||
</Expression>
|
||||
<Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/SectionTrackerTests.cpp" >
|
||||
<Original>
|
||||
!testCaseTracker.isCompleted()
|
||||
</Original>
|
||||
<Expanded>
|
||||
!false
|
||||
</Expanded>
|
||||
</Expression>
|
||||
<Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/SectionTrackerTests.cpp" >
|
||||
<Original>
|
||||
testCaseTracker.enterSection( section1Name )
|
||||
@@ -7233,6 +6843,14 @@ there"
|
||||
true
|
||||
</Expanded>
|
||||
</Expression>
|
||||
<Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/SectionTrackerTests.cpp" >
|
||||
<Original>
|
||||
!testCaseTracker.isCompleted()
|
||||
</Original>
|
||||
<Expanded>
|
||||
!false
|
||||
</Expanded>
|
||||
</Expression>
|
||||
<Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/SectionTrackerTests.cpp" >
|
||||
<Original>
|
||||
testCaseTracker.isCompleted()
|
||||
@@ -7241,11 +6859,11 @@ there"
|
||||
true
|
||||
</Expanded>
|
||||
</Expression>
|
||||
<OverallResults successes="8" failures="0"/>
|
||||
<OverallResults successes="4" failures="0"/>
|
||||
</Section>
|
||||
<OverallResult success="true"/>
|
||||
</TestCase>
|
||||
<OverallResults successes="568" failures="112"/>
|
||||
<OverallResults successes="536" failures="110"/>
|
||||
</Group>
|
||||
<OverallResults successes="568" failures="112"/>
|
||||
<OverallResults successes="536" failures="110"/>
|
||||
</Catch>
|
||||
|
Reference in New Issue
Block a user