mirror of
https://github.com/catchorg/Catch2.git
synced 2025-09-17 02:25:38 +02:00
Trim paths in approval tests down to filenames
This commit is contained in:
@@ -6,40 +6,40 @@ Run with -? for options
|
||||
-------------------------------------------------------------------------------
|
||||
./succeeding/Approx/simple
|
||||
-------------------------------------------------------------------------------
|
||||
ApproxTests.cpp
|
||||
Users/philnash/Dev/OSS/Catch/projects/SelfTest/ApproxTests.cpp
|
||||
...............................................................................
|
||||
|
||||
ApproxTests.cpp:
|
||||
Users/philnash/Dev/OSS/Catch/projects/SelfTest/ApproxTests.cpp:
|
||||
PASSED:
|
||||
REQUIRE( d == Approx( 1.23 ) )
|
||||
with expansion:
|
||||
1.23 == Approx( 1.23 )
|
||||
|
||||
ApproxTests.cpp:
|
||||
Users/philnash/Dev/OSS/Catch/projects/SelfTest/ApproxTests.cpp:
|
||||
PASSED:
|
||||
REQUIRE( d != Approx( 1.22 ) )
|
||||
with expansion:
|
||||
1.23 != Approx( 1.22 )
|
||||
|
||||
ApproxTests.cpp:
|
||||
Users/philnash/Dev/OSS/Catch/projects/SelfTest/ApproxTests.cpp:
|
||||
PASSED:
|
||||
REQUIRE( d != Approx( 1.24 ) )
|
||||
with expansion:
|
||||
1.23 != Approx( 1.24 )
|
||||
|
||||
ApproxTests.cpp:
|
||||
Users/philnash/Dev/OSS/Catch/projects/SelfTest/ApproxTests.cpp:
|
||||
PASSED:
|
||||
REQUIRE( Approx( d ) == 1.23 )
|
||||
with expansion:
|
||||
Approx( 1.23 ) == 1.23
|
||||
|
||||
ApproxTests.cpp:
|
||||
Users/philnash/Dev/OSS/Catch/projects/SelfTest/ApproxTests.cpp:
|
||||
PASSED:
|
||||
REQUIRE( Approx( d ) != 1.22 )
|
||||
with expansion:
|
||||
Approx( 1.23 ) != 1.22
|
||||
|
||||
ApproxTests.cpp:
|
||||
Users/philnash/Dev/OSS/Catch/projects/SelfTest/ApproxTests.cpp:
|
||||
PASSED:
|
||||
REQUIRE( Approx( d ) != 1.24 )
|
||||
with expansion:
|
||||
@@ -48,16 +48,16 @@ with expansion:
|
||||
-------------------------------------------------------------------------------
|
||||
./succeeding/Approx/epsilon
|
||||
-------------------------------------------------------------------------------
|
||||
ApproxTests.cpp
|
||||
Users/philnash/Dev/OSS/Catch/projects/SelfTest/ApproxTests.cpp
|
||||
...............................................................................
|
||||
|
||||
ApproxTests.cpp:
|
||||
Users/philnash/Dev/OSS/Catch/projects/SelfTest/ApproxTests.cpp:
|
||||
PASSED:
|
||||
REQUIRE( d != Approx( 1.231 ) )
|
||||
with expansion:
|
||||
1.23 != Approx( 1.231 )
|
||||
|
||||
ApproxTests.cpp:
|
||||
Users/philnash/Dev/OSS/Catch/projects/SelfTest/ApproxTests.cpp:
|
||||
PASSED:
|
||||
REQUIRE( d == Approx( 1.231 ).epsilon( 0.1 ) )
|
||||
with expansion:
|
||||
@@ -66,16 +66,16 @@ with expansion:
|
||||
-------------------------------------------------------------------------------
|
||||
./succeeding/Approx/float
|
||||
-------------------------------------------------------------------------------
|
||||
ApproxTests.cpp
|
||||
Users/philnash/Dev/OSS/Catch/projects/SelfTest/ApproxTests.cpp
|
||||
...............................................................................
|
||||
|
||||
ApproxTests.cpp:
|
||||
Users/philnash/Dev/OSS/Catch/projects/SelfTest/ApproxTests.cpp:
|
||||
PASSED:
|
||||
REQUIRE( 1.23f == Approx( 1.23f ) )
|
||||
with expansion:
|
||||
1.23 == Approx( 1.23 )
|
||||
|
||||
ApproxTests.cpp:
|
||||
Users/philnash/Dev/OSS/Catch/projects/SelfTest/ApproxTests.cpp:
|
||||
PASSED:
|
||||
REQUIRE( 0.0f == Approx( 0.0f ) )
|
||||
with expansion:
|
||||
@@ -84,48 +84,48 @@ with expansion:
|
||||
-------------------------------------------------------------------------------
|
||||
./succeeding/Approx/int
|
||||
-------------------------------------------------------------------------------
|
||||
ApproxTests.cpp
|
||||
Users/philnash/Dev/OSS/Catch/projects/SelfTest/ApproxTests.cpp
|
||||
...............................................................................
|
||||
|
||||
ApproxTests.cpp:
|
||||
Users/philnash/Dev/OSS/Catch/projects/SelfTest/ApproxTests.cpp:
|
||||
PASSED:
|
||||
REQUIRE( 1 == Approx( 1 ) )
|
||||
|
||||
ApproxTests.cpp:
|
||||
Users/philnash/Dev/OSS/Catch/projects/SelfTest/ApproxTests.cpp:
|
||||
PASSED:
|
||||
REQUIRE( 0 == Approx( 0 ) )
|
||||
|
||||
-------------------------------------------------------------------------------
|
||||
./succeeding/Approx/mixed
|
||||
-------------------------------------------------------------------------------
|
||||
ApproxTests.cpp
|
||||
Users/philnash/Dev/OSS/Catch/projects/SelfTest/ApproxTests.cpp
|
||||
...............................................................................
|
||||
|
||||
ApproxTests.cpp:
|
||||
Users/philnash/Dev/OSS/Catch/projects/SelfTest/ApproxTests.cpp:
|
||||
PASSED:
|
||||
REQUIRE( 1.0f == Approx( 1 ) )
|
||||
with expansion:
|
||||
1 == Approx( 1 )
|
||||
|
||||
ApproxTests.cpp:
|
||||
Users/philnash/Dev/OSS/Catch/projects/SelfTest/ApproxTests.cpp:
|
||||
PASSED:
|
||||
REQUIRE( 0 == Approx( dZero) )
|
||||
with expansion:
|
||||
0 == Approx( 0 )
|
||||
|
||||
ApproxTests.cpp:
|
||||
Users/philnash/Dev/OSS/Catch/projects/SelfTest/ApproxTests.cpp:
|
||||
PASSED:
|
||||
REQUIRE( 0 == Approx( dSmall ).epsilon( 0.001 ) )
|
||||
with expansion:
|
||||
0 == Approx( 1e-05 )
|
||||
|
||||
ApproxTests.cpp:
|
||||
Users/philnash/Dev/OSS/Catch/projects/SelfTest/ApproxTests.cpp:
|
||||
PASSED:
|
||||
REQUIRE( 1.234f == Approx( dMedium ) )
|
||||
with expansion:
|
||||
1.234 == Approx( 1.234 )
|
||||
|
||||
ApproxTests.cpp:
|
||||
Users/philnash/Dev/OSS/Catch/projects/SelfTest/ApproxTests.cpp:
|
||||
PASSED:
|
||||
REQUIRE( dMedium == Approx( 1.234f ) )
|
||||
with expansion:
|
||||
@@ -134,52 +134,52 @@ with expansion:
|
||||
-------------------------------------------------------------------------------
|
||||
./succeeding/Approx/custom
|
||||
-------------------------------------------------------------------------------
|
||||
ApproxTests.cpp
|
||||
Users/philnash/Dev/OSS/Catch/projects/SelfTest/ApproxTests.cpp
|
||||
...............................................................................
|
||||
|
||||
ApproxTests.cpp:
|
||||
Users/philnash/Dev/OSS/Catch/projects/SelfTest/ApproxTests.cpp:
|
||||
PASSED:
|
||||
REQUIRE( d == approx( 1.23 ) )
|
||||
with expansion:
|
||||
1.23 == Approx( 1.23 )
|
||||
|
||||
ApproxTests.cpp:
|
||||
Users/philnash/Dev/OSS/Catch/projects/SelfTest/ApproxTests.cpp:
|
||||
PASSED:
|
||||
REQUIRE( d == approx( 1.22 ) )
|
||||
with expansion:
|
||||
1.23 == Approx( 1.22 )
|
||||
|
||||
ApproxTests.cpp:
|
||||
Users/philnash/Dev/OSS/Catch/projects/SelfTest/ApproxTests.cpp:
|
||||
PASSED:
|
||||
REQUIRE( d == approx( 1.24 ) )
|
||||
with expansion:
|
||||
1.23 == Approx( 1.24 )
|
||||
|
||||
ApproxTests.cpp:
|
||||
Users/philnash/Dev/OSS/Catch/projects/SelfTest/ApproxTests.cpp:
|
||||
PASSED:
|
||||
REQUIRE( d != approx( 1.25 ) )
|
||||
with expansion:
|
||||
1.23 != Approx( 1.25 )
|
||||
|
||||
ApproxTests.cpp:
|
||||
Users/philnash/Dev/OSS/Catch/projects/SelfTest/ApproxTests.cpp:
|
||||
PASSED:
|
||||
REQUIRE( approx( d ) == 1.23 )
|
||||
with expansion:
|
||||
Approx( 1.23 ) == 1.23
|
||||
|
||||
ApproxTests.cpp:
|
||||
Users/philnash/Dev/OSS/Catch/projects/SelfTest/ApproxTests.cpp:
|
||||
PASSED:
|
||||
REQUIRE( approx( d ) == 1.22 )
|
||||
with expansion:
|
||||
Approx( 1.23 ) == 1.22
|
||||
|
||||
ApproxTests.cpp:
|
||||
Users/philnash/Dev/OSS/Catch/projects/SelfTest/ApproxTests.cpp:
|
||||
PASSED:
|
||||
REQUIRE( approx( d ) == 1.24 )
|
||||
with expansion:
|
||||
Approx( 1.23 ) == 1.24
|
||||
|
||||
ApproxTests.cpp:
|
||||
Users/philnash/Dev/OSS/Catch/projects/SelfTest/ApproxTests.cpp:
|
||||
PASSED:
|
||||
REQUIRE( approx( d ) != 1.25 )
|
||||
with expansion:
|
||||
@@ -188,16 +188,16 @@ with expansion:
|
||||
-------------------------------------------------------------------------------
|
||||
Approximate PI
|
||||
-------------------------------------------------------------------------------
|
||||
ApproxTests.cpp
|
||||
Users/philnash/Dev/OSS/Catch/projects/SelfTest/ApproxTests.cpp
|
||||
...............................................................................
|
||||
|
||||
ApproxTests.cpp:
|
||||
Users/philnash/Dev/OSS/Catch/projects/SelfTest/ApproxTests.cpp:
|
||||
PASSED:
|
||||
REQUIRE( divide( 22, 7 ) == Approx( 3.141 ).epsilon( 0.001 ) )
|
||||
with expansion:
|
||||
3.1428571429 == Approx( 3.141 )
|
||||
|
||||
ApproxTests.cpp:
|
||||
Users/philnash/Dev/OSS/Catch/projects/SelfTest/ApproxTests.cpp:
|
||||
PASSED:
|
||||
REQUIRE( divide( 22, 7 ) != Approx( 3.141 ).epsilon( 0.0001 ) )
|
||||
with expansion:
|
||||
@@ -206,10 +206,10 @@ with expansion:
|
||||
-------------------------------------------------------------------------------
|
||||
./succeeding/TestClass/succeedingCase
|
||||
-------------------------------------------------------------------------------
|
||||
ClassTests.cpp
|
||||
Users/philnash/Dev/OSS/Catch/projects/SelfTest/ClassTests.cpp
|
||||
...............................................................................
|
||||
|
||||
ClassTests.cpp:
|
||||
Users/philnash/Dev/OSS/Catch/projects/SelfTest/ClassTests.cpp:
|
||||
PASSED:
|
||||
REQUIRE( s == "hello" )
|
||||
with expansion:
|
||||
@@ -218,10 +218,10 @@ with expansion:
|
||||
-------------------------------------------------------------------------------
|
||||
./failing/TestClass/failingCase
|
||||
-------------------------------------------------------------------------------
|
||||
ClassTests.cpp
|
||||
Users/philnash/Dev/OSS/Catch/projects/SelfTest/ClassTests.cpp
|
||||
...............................................................................
|
||||
|
||||
ClassTests.cpp: FAILED:
|
||||
Users/philnash/Dev/OSS/Catch/projects/SelfTest/ClassTests.cpp: FAILED:
|
||||
REQUIRE( s == "world" )
|
||||
with expansion:
|
||||
"hello" == "world"
|
||||
@@ -229,10 +229,10 @@ with expansion:
|
||||
-------------------------------------------------------------------------------
|
||||
./succeeding/Fixture/succeedingCase
|
||||
-------------------------------------------------------------------------------
|
||||
ClassTests.cpp
|
||||
Users/philnash/Dev/OSS/Catch/projects/SelfTest/ClassTests.cpp
|
||||
...............................................................................
|
||||
|
||||
ClassTests.cpp:
|
||||
Users/philnash/Dev/OSS/Catch/projects/SelfTest/ClassTests.cpp:
|
||||
PASSED:
|
||||
REQUIRE( m_a == 1 )
|
||||
with expansion:
|
||||
@@ -241,10 +241,10 @@ with expansion:
|
||||
-------------------------------------------------------------------------------
|
||||
./failing/Fixture/failingCase
|
||||
-------------------------------------------------------------------------------
|
||||
ClassTests.cpp
|
||||
Users/philnash/Dev/OSS/Catch/projects/SelfTest/ClassTests.cpp
|
||||
...............................................................................
|
||||
|
||||
ClassTests.cpp: FAILED:
|
||||
Users/philnash/Dev/OSS/Catch/projects/SelfTest/ClassTests.cpp: FAILED:
|
||||
REQUIRE( m_a == 2 )
|
||||
with expansion:
|
||||
1 == 2
|
||||
@@ -252,46 +252,46 @@ with expansion:
|
||||
-------------------------------------------------------------------------------
|
||||
./succeeding/conditions/equality
|
||||
-------------------------------------------------------------------------------
|
||||
ConditionTests.cpp
|
||||
Users/philnash/Dev/OSS/Catch/projects/SelfTest/ConditionTests.cpp
|
||||
...............................................................................
|
||||
|
||||
ConditionTests.cpp:
|
||||
Users/philnash/Dev/OSS/Catch/projects/SelfTest/ConditionTests.cpp:
|
||||
PASSED:
|
||||
REQUIRE( data.int_seven == 7 )
|
||||
with expansion:
|
||||
7 == 7
|
||||
|
||||
ConditionTests.cpp:
|
||||
Users/philnash/Dev/OSS/Catch/projects/SelfTest/ConditionTests.cpp:
|
||||
PASSED:
|
||||
REQUIRE( data.float_nine_point_one == Approx( 9.1f ) )
|
||||
with expansion:
|
||||
9.1 == Approx( 9.1 )
|
||||
|
||||
ConditionTests.cpp:
|
||||
Users/philnash/Dev/OSS/Catch/projects/SelfTest/ConditionTests.cpp:
|
||||
PASSED:
|
||||
REQUIRE( data.double_pi == Approx( 3.1415926535 ) )
|
||||
with expansion:
|
||||
3.1415926535 == Approx( 3.14159 )
|
||||
|
||||
ConditionTests.cpp:
|
||||
Users/philnash/Dev/OSS/Catch/projects/SelfTest/ConditionTests.cpp:
|
||||
PASSED:
|
||||
REQUIRE( data.str_hello == "hello" )
|
||||
with expansion:
|
||||
"hello" == "hello"
|
||||
|
||||
ConditionTests.cpp:
|
||||
Users/philnash/Dev/OSS/Catch/projects/SelfTest/ConditionTests.cpp:
|
||||
PASSED:
|
||||
REQUIRE( "hello" == data.str_hello )
|
||||
with expansion:
|
||||
"hello" == "hello"
|
||||
|
||||
ConditionTests.cpp:
|
||||
Users/philnash/Dev/OSS/Catch/projects/SelfTest/ConditionTests.cpp:
|
||||
PASSED:
|
||||
REQUIRE( data.str_hello.size() == 5 )
|
||||
with expansion:
|
||||
5 == 5
|
||||
|
||||
ConditionTests.cpp:
|
||||
Users/philnash/Dev/OSS/Catch/projects/SelfTest/ConditionTests.cpp:
|
||||
PASSED:
|
||||
REQUIRE( x == Approx( 1.3 ) )
|
||||
with expansion:
|
||||
@@ -300,15 +300,15 @@ with expansion:
|
||||
-------------------------------------------------------------------------------
|
||||
./failing/conditions/equality
|
||||
-------------------------------------------------------------------------------
|
||||
ConditionTests.cpp
|
||||
Users/philnash/Dev/OSS/Catch/projects/SelfTest/ConditionTests.cpp
|
||||
...............................................................................
|
||||
|
||||
ConditionTests.cpp: FAILED:
|
||||
Users/philnash/Dev/OSS/Catch/projects/SelfTest/ConditionTests.cpp: FAILED:
|
||||
CHECK( data.int_seven == 6 )
|
||||
with expansion:
|
||||
7 == 6
|
||||
|
||||
ConditionTests.cpp: FAILED:
|
||||
Users/philnash/Dev/OSS/Catch/projects/SelfTest/ConditionTests.cpp: FAILED:
|
||||
CHECK( data.int_seven == 8 )
|
||||
with expansion:
|
||||
7 == 8
|
||||
|
Reference in New Issue
Block a user