Minor fixes to a couple of test names

This commit is contained in:
Phil Nash 2014-05-20 18:11:43 +01:00
parent b43d7703e5
commit baf181f15d
6 changed files with 11 additions and 11 deletions

View File

@ -26,7 +26,7 @@ with expansion:
1 == 2 1 == 2
------------------------------------------------------------------------------- -------------------------------------------------------------------------------
Equality checks that should fail] Equality checks that should fail
------------------------------------------------------------------------------- -------------------------------------------------------------------------------
ConditionTests.cpp:<line number> ConditionTests.cpp:<line number>
............................................................................... ...............................................................................
@ -97,7 +97,7 @@ with expansion:
1.3 == Approx( 1.301 ) 1.3 == Approx( 1.301 )
------------------------------------------------------------------------------- -------------------------------------------------------------------------------
Inequality checks that should fails Inequality checks that should fail
------------------------------------------------------------------------------- -------------------------------------------------------------------------------
ConditionTests.cpp:<line number> ConditionTests.cpp:<line number>
............................................................................... ...............................................................................

View File

@ -302,7 +302,7 @@ with expansion:
1.3 == Approx( 1.3 ) 1.3 == Approx( 1.3 )
------------------------------------------------------------------------------- -------------------------------------------------------------------------------
Equality checks that should fail] Equality checks that should fail
------------------------------------------------------------------------------- -------------------------------------------------------------------------------
ConditionTests.cpp:<line number> ConditionTests.cpp:<line number>
............................................................................... ...............................................................................
@ -445,7 +445,7 @@ with expansion:
5 != 6 5 != 6
------------------------------------------------------------------------------- -------------------------------------------------------------------------------
Inequality checks that should fails Inequality checks that should fail
------------------------------------------------------------------------------- -------------------------------------------------------------------------------
ConditionTests.cpp:<line number> ConditionTests.cpp:<line number>
............................................................................... ...............................................................................

View File

@ -302,7 +302,7 @@ with expansion:
1.3 == Approx( 1.3 ) 1.3 == Approx( 1.3 )
------------------------------------------------------------------------------- -------------------------------------------------------------------------------
Equality checks that should fail] Equality checks that should fail
------------------------------------------------------------------------------- -------------------------------------------------------------------------------
ConditionTests.cpp:<line number> ConditionTests.cpp:<line number>
............................................................................... ...............................................................................

View File

@ -20,7 +20,7 @@ ClassTests.cpp:<line number>
</failure> </failure>
</testcase> </testcase>
<testcase classname="global" name="Equality checks that should succeed" time="{duration}"/> <testcase classname="global" name="Equality checks that should succeed" time="{duration}"/>
<testcase classname="global" name="Equality checks that should fail]" time="{duration}"> <testcase classname="global" name="Equality checks that should fail" time="{duration}">
<failure message="7 == 6" type="CHECK"> <failure message="7 == 6" type="CHECK">
ConditionTests.cpp:<line number> ConditionTests.cpp:<line number>
</failure> </failure>
@ -62,7 +62,7 @@ ConditionTests.cpp:<line number>
</failure> </failure>
</testcase> </testcase>
<testcase classname="global" name="Inequality checks that should succeed" time="{duration}"/> <testcase classname="global" name="Inequality checks that should succeed" time="{duration}"/>
<testcase classname="global" name="Inequality checks that should fails" time="{duration}"> <testcase classname="global" name="Inequality checks that should fail" time="{duration}">
<failure message="7 != 7" type="CHECK"> <failure message="7 != 7" type="CHECK">
ConditionTests.cpp:<line number> ConditionTests.cpp:<line number>
</failure> </failure>

View File

@ -340,7 +340,7 @@
</Expression> </Expression>
<OverallResult success="true"/> <OverallResult success="true"/>
</TestCase> </TestCase>
<TestCase name="Equality checks that should fail]"> <TestCase name="Equality checks that should fail">
<Expression success="false" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/ConditionTests.cpp" > <Expression success="false" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/ConditionTests.cpp" >
<Original> <Original>
data.int_seven == 6 data.int_seven == 6
@ -538,7 +538,7 @@
</Expression> </Expression>
<OverallResult success="true"/> <OverallResult success="true"/>
</TestCase> </TestCase>
<TestCase name="Inequality checks that should fails"> <TestCase name="Inequality checks that should fail">
<Expression success="false" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/ConditionTests.cpp" > <Expression success="false" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/ConditionTests.cpp" >
<Original> <Original>
data.int_seven != 7 data.int_seven != 7

View File

@ -62,7 +62,7 @@ TEST_CASE( "Equality checks that should succeed", "" )
REQUIRE( x == Approx( 1.3 ) ); REQUIRE( x == Approx( 1.3 ) );
} }
TEST_CASE( "Equality checks that should fail]", "[.][failing]" ) TEST_CASE( "Equality checks that should fail", "[.][failing]" )
{ {
TestData data; TestData data;
@ -100,7 +100,7 @@ TEST_CASE( "Inequality checks that should succeed", "" )
REQUIRE( data.str_hello.size() != 6 ); REQUIRE( data.str_hello.size() != 6 );
} }
TEST_CASE( "Inequality checks that should fails", "[.][failing]" ) TEST_CASE( "Inequality checks that should fail", "[.][failing]" )
{ {
TestData data; TestData data;