~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ is a host application. Run with -? for options ------------------------------------------------------------------------------- # A test name that starts with a # ------------------------------------------------------------------------------- Misc.tests.cpp: ............................................................................... Misc.tests.cpp:: PASSED: with message: yay ------------------------------------------------------------------------------- #1005: Comparing pointer to int and long (NULL can be either on various systems) ------------------------------------------------------------------------------- Decomposition.tests.cpp: ............................................................................... Decomposition.tests.cpp:: PASSED: REQUIRE( fptr == 0 ) with expansion: 0 == 0 Decomposition.tests.cpp:: PASSED: REQUIRE( fptr == 0l ) with expansion: 0 == 0 ------------------------------------------------------------------------------- #1027 ------------------------------------------------------------------------------- Compilation.tests.cpp: ............................................................................... Compilation.tests.cpp:: PASSED: REQUIRE( y.v == 0 ) with expansion: 0 == 0 Compilation.tests.cpp:: PASSED: REQUIRE( 0 == y.v ) with expansion: 0 == 0 ------------------------------------------------------------------------------- #1147 ------------------------------------------------------------------------------- Compilation.tests.cpp: ............................................................................... Compilation.tests.cpp:: PASSED: REQUIRE( t1 == t2 ) with expansion: {?} == {?} Compilation.tests.cpp:: PASSED: REQUIRE( t1 != t2 ) with expansion: {?} != {?} Compilation.tests.cpp:: PASSED: REQUIRE( t1 < t2 ) with expansion: {?} < {?} Compilation.tests.cpp:: PASSED: REQUIRE( t1 > t2 ) with expansion: {?} > {?} Compilation.tests.cpp:: PASSED: REQUIRE( t1 <= t2 ) with expansion: {?} <= {?} Compilation.tests.cpp:: PASSED: REQUIRE( t1 >= t2 ) with expansion: {?} >= {?} ------------------------------------------------------------------------------- #1175 - Hidden Test ------------------------------------------------------------------------------- Misc.tests.cpp: ............................................................................... Misc.tests.cpp:: PASSED: ------------------------------------------------------------------------------- #1238 ------------------------------------------------------------------------------- Compilation.tests.cpp: ............................................................................... Compilation.tests.cpp:: PASSED: REQUIRE( std::memcmp(uarr, "123", sizeof(uarr)) == 0 ) with expansion: 0 == 0 with messages: uarr := "123" sarr := "456" Compilation.tests.cpp:: PASSED: REQUIRE( std::memcmp(sarr, "456", sizeof(sarr)) == 0 ) with expansion: 0 == 0 with messages: uarr := "123" sarr := "456" ------------------------------------------------------------------------------- #1245 ------------------------------------------------------------------------------- Compilation.tests.cpp: ............................................................................... Compilation.tests.cpp:: PASSED: ------------------------------------------------------------------------------- #748 - captures with unexpected exceptions outside assertions ------------------------------------------------------------------------------- Exception.tests.cpp: ............................................................................... Exception.tests.cpp:: FAILED: due to unexpected exception with messages: answer := 42 expected exception ------------------------------------------------------------------------------- #748 - captures with unexpected exceptions inside REQUIRE_NOTHROW ------------------------------------------------------------------------------- Exception.tests.cpp: ............................................................................... Exception.tests.cpp:: FAILED: REQUIRE_NOTHROW( thisThrows() ) due to unexpected exception with messages: answer := 42 expected exception ------------------------------------------------------------------------------- #748 - captures with unexpected exceptions inside REQUIRE_THROWS ------------------------------------------------------------------------------- Exception.tests.cpp: ............................................................................... Exception.tests.cpp:: PASSED: REQUIRE_THROWS( thisThrows() ) with message: answer := 42 ------------------------------------------------------------------------------- #809 ------------------------------------------------------------------------------- Compilation.tests.cpp: ............................................................................... Compilation.tests.cpp:: PASSED: REQUIRE( 42 == f ) with expansion: 42 == {?} ------------------------------------------------------------------------------- #833 ------------------------------------------------------------------------------- Compilation.tests.cpp: ............................................................................... Compilation.tests.cpp:: PASSED: REQUIRE( a == t ) with expansion: 3 == 3 Compilation.tests.cpp:: PASSED: CHECK( a == t ) with expansion: 3 == 3 Compilation.tests.cpp:: PASSED: REQUIRE_THROWS( throws_int(true) ) Compilation.tests.cpp:: PASSED: CHECK_THROWS_AS( throws_int(true), int ) Compilation.tests.cpp:: PASSED: REQUIRE_NOTHROW( throws_int(false) ) Compilation.tests.cpp:: PASSED: REQUIRE_THAT( "aaa", Catch::EndsWith("aaa") ) with expansion: "aaa" ends with: "aaa" Compilation.tests.cpp:: PASSED: REQUIRE( templated_tests(3) ) with expansion: true ------------------------------------------------------------------------------- #835 -- errno should not be touched by Catch ------------------------------------------------------------------------------- Misc.tests.cpp: ............................................................................... Misc.tests.cpp:: FAILED: CHECK( f() == 0 ) with expansion: 1 == 0 Misc.tests.cpp:: PASSED: REQUIRE( errno == 1 ) with expansion: 1 == 1 ------------------------------------------------------------------------------- #872 ------------------------------------------------------------------------------- Compilation.tests.cpp: ............................................................................... Compilation.tests.cpp:: PASSED: REQUIRE( x == 4 ) with expansion: {?} == 4 with message: dummy := 0 ------------------------------------------------------------------------------- #961 -- Dynamically created sections should all be reported Looped section 0 ------------------------------------------------------------------------------- Misc.tests.cpp: ............................................................................... Misc.tests.cpp:: PASSED: with message: Everything is OK ------------------------------------------------------------------------------- #961 -- Dynamically created sections should all be reported Looped section 1 ------------------------------------------------------------------------------- Misc.tests.cpp: ............................................................................... Misc.tests.cpp:: PASSED: with message: Everything is OK ------------------------------------------------------------------------------- #961 -- Dynamically created sections should all be reported Looped section 2 ------------------------------------------------------------------------------- Misc.tests.cpp: ............................................................................... Misc.tests.cpp:: PASSED: with message: Everything is OK ------------------------------------------------------------------------------- #961 -- Dynamically created sections should all be reported Looped section 3 ------------------------------------------------------------------------------- Misc.tests.cpp: ............................................................................... Misc.tests.cpp:: PASSED: with message: Everything is OK ------------------------------------------------------------------------------- #961 -- Dynamically created sections should all be reported Looped section 4 ------------------------------------------------------------------------------- Misc.tests.cpp: ............................................................................... Misc.tests.cpp:: PASSED: with message: Everything is OK ------------------------------------------------------------------------------- 'Not' checks that should fail ------------------------------------------------------------------------------- Condition.tests.cpp: ............................................................................... Condition.tests.cpp:: FAILED: CHECK( false != false ) Condition.tests.cpp:: FAILED: CHECK( true != true ) Condition.tests.cpp:: FAILED: CHECK( !true ) with expansion: false Condition.tests.cpp:: FAILED: CHECK_FALSE( true ) with expansion: !true =============================================================================== test cases: 14 | 11 passed | 1 failed | 2 failed as expected assertions: 38 | 31 passed | 4 failed | 3 failed as expected