~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ is a host application. Run with -? for options ------------------------------------------------------------------------------- # A test name that starts with a # ------------------------------------------------------------------------------- MiscTests.cpp: ............................................................................... MiscTests.cpp:: PASSED: with message: yay ------------------------------------------------------------------------------- #1005: Comparing pointer to int and long (NULL can be either on various systems) ------------------------------------------------------------------------------- DecompositionTests.cpp: ............................................................................... DecompositionTests.cpp:: PASSED: REQUIRE( fptr == 0 ) with expansion: 0 == 0 DecompositionTests.cpp:: PASSED: REQUIRE( fptr == 0l ) with expansion: 0 == 0 ------------------------------------------------------------------------------- #748 - captures with unexpected exceptions outside assertions ------------------------------------------------------------------------------- ExceptionTests.cpp: ............................................................................... ExceptionTests.cpp:: FAILED: due to unexpected exception with messages: answer := 42 expected exception ------------------------------------------------------------------------------- #748 - captures with unexpected exceptions inside REQUIRE_NOTHROW ------------------------------------------------------------------------------- ExceptionTests.cpp: ............................................................................... ExceptionTests.cpp:: FAILED: REQUIRE_NOTHROW( thisThrows() ) due to unexpected exception with messages: answer := 42 expected exception ------------------------------------------------------------------------------- #748 - captures with unexpected exceptions inside REQUIRE_THROWS ------------------------------------------------------------------------------- ExceptionTests.cpp: ............................................................................... ExceptionTests.cpp:: PASSED: REQUIRE_THROWS( thisThrows() ) with message: answer := 42 ------------------------------------------------------------------------------- #809 ------------------------------------------------------------------------------- CompilationTests.cpp: ............................................................................... CompilationTests.cpp:: PASSED: REQUIRE( 42 == f ) with expansion: 42 == {?} ------------------------------------------------------------------------------- #833 ------------------------------------------------------------------------------- CompilationTests.cpp: ............................................................................... CompilationTests.cpp:: PASSED: REQUIRE( a == t ) with expansion: 3 == 3 CompilationTests.cpp:: PASSED: CHECK( a == t ) with expansion: 3 == 3 CompilationTests.cpp:: PASSED: REQUIRE_THROWS( throws_int(true) ) CompilationTests.cpp:: PASSED: CHECK_THROWS_AS( throws_int(true), int ) CompilationTests.cpp:: PASSED: REQUIRE_NOTHROW( throws_int(false) ) CompilationTests.cpp:: PASSED: REQUIRE_THAT( "aaa", Catch::EndsWith("aaa") ) with expansion: "aaa" ends with: "aaa" CompilationTests.cpp:: PASSED: REQUIRE( templated_tests(3) ) with expansion: true ------------------------------------------------------------------------------- #835 -- errno should not be touched by Catch ------------------------------------------------------------------------------- MiscTests.cpp: ............................................................................... MiscTests.cpp:: FAILED: CHECK( f() == 0 ) with expansion: 1 == 0 MiscTests.cpp:: PASSED: REQUIRE( errno == 1 ) with expansion: 1 == 1 ------------------------------------------------------------------------------- #872 ------------------------------------------------------------------------------- CompilationTests.cpp: ............................................................................... CompilationTests.cpp:: PASSED: REQUIRE( x == 4 ) with expansion: {?} == 4 with message: dummy := 0 ------------------------------------------------------------------------------- #925: comparing function pointer to function address failed to compile ------------------------------------------------------------------------------- TrickyTests.cpp: ............................................................................... TrickyTests.cpp:: PASSED: REQUIRE( utility::synchronizing_callback != test.testMethod_uponComplete_arg ) with expansion: 1 != 0 ------------------------------------------------------------------------------- #961 -- Dynamically created sections should all be reported Looped section 0 ------------------------------------------------------------------------------- MiscTests.cpp: ............................................................................... MiscTests.cpp:: PASSED: with message: Everything is OK ------------------------------------------------------------------------------- #961 -- Dynamically created sections should all be reported Looped section 1 ------------------------------------------------------------------------------- MiscTests.cpp: ............................................................................... MiscTests.cpp:: PASSED: with message: Everything is OK ------------------------------------------------------------------------------- #961 -- Dynamically created sections should all be reported Looped section 2 ------------------------------------------------------------------------------- MiscTests.cpp: ............................................................................... MiscTests.cpp:: PASSED: with message: Everything is OK ------------------------------------------------------------------------------- #961 -- Dynamically created sections should all be reported Looped section 3 ------------------------------------------------------------------------------- MiscTests.cpp: ............................................................................... MiscTests.cpp:: PASSED: with message: Everything is OK ------------------------------------------------------------------------------- #961 -- Dynamically created sections should all be reported Looped section 4 ------------------------------------------------------------------------------- MiscTests.cpp: ............................................................................... MiscTests.cpp:: PASSED: with message: Everything is OK ------------------------------------------------------------------------------- 'Not' checks that should fail ------------------------------------------------------------------------------- ConditionTests.cpp: ............................................................................... ConditionTests.cpp:: FAILED: CHECK( false != false ) ConditionTests.cpp:: FAILED: CHECK( true != true ) ConditionTests.cpp:: FAILED: CHECK( !true ) with expansion: false ConditionTests.cpp:: FAILED: CHECK_FALSE( true ) =============================================================================== test cases: 10 | 7 passed | 1 failed | 2 failed as expected assertions: 27 | 20 passed | 4 failed | 3 failed as expected