Home
last modified time | relevance | path

Searched refs:thisThrows (Results 1 – 5 of 5) sorted by relevance

/external/catch2/projects/SelfTest/UsageTests/
DException.tests.cpp33 int thisThrows() { in thisThrows() function
78 REQUIRE_THROWS_AS( thisThrows(), std::domain_error );
80 REQUIRE_THROWS( thisThrows() );
84 CHECK_THROWS_AS( thisThrows(), std::string );
86 CHECK_NOTHROW( thisThrows() );
105 CHECK( thisThrows() == 0 );
109 REQUIRE( thisThrows() == 0 );
115 CHECK(thisThrows() == 0);
176 REQUIRE_THROWS_WITH( thisThrows(), "expected exception" );
178 REQUIRE_THROWS_WITH( thisThrows(), Equals( "expecteD Exception", Catch::CaseSensitive::No ) );
[all …]
/external/catch2/projects/SelfTest/Baselines/
Dconsole.swa4.approved.txt211 REQUIRE_NOTHROW( thisThrows() )
224 REQUIRE_THROWS( thisThrows() )
Dconsole.std.approved.txt51 REQUIRE_NOTHROW( thisThrows() )
539 CHECK_THROWS_AS( thisThrows(), std::string )
548 CHECK_NOTHROW( thisThrows() )
704 REQUIRE_THROWS_WITH( thisThrows(), "should fail" )
1074 CHECK( thisThrows() == 0 )
1086 REQUIRE( thisThrows() == 0 )
1097 CHECK( thisThrows() == 0 )
Dcompact.sw.approved.txt27 …ed: unexpected exception with message: 'answer := 42'; expression was: thisThrows() with 1 message…
28 Exception.tests.cpp:<line number>: passed: thisThrows() with 1 message: 'answer := 42'
394 Exception.tests.cpp:<line number>: passed: thisThrows(), "expected exception" for: "expected except…
395 Exception.tests.cpp:<line number>: passed: thisThrows(), Equals( "expecteD Exception", Catch::CaseS…
396 Exception.tests.cpp:<line number>: passed: thisThrows(), StartsWith( "expected" ) for: "expected ex…
397 Exception.tests.cpp:<line number>: passed: thisThrows(), EndsWith( "exception" ) for: "expected exc…
398 Exception.tests.cpp:<line number>: passed: thisThrows(), Contains( "except" ) for: "expected except…
399 Exception.tests.cpp:<line number>: passed: thisThrows(), Contains( "exCept", Catch::CaseSensitive::…
404 … unexpected exception with message: 'expected exception'; expression was: thisThrows(), std::string
406 …ber>: failed: unexpected exception with message: 'expected exception'; expression was: thisThrows()
[all …]
Dconsole.sw.approved.txt211 REQUIRE_NOTHROW( thisThrows() )
224 REQUIRE_THROWS( thisThrows() )
2984 REQUIRE_THROWS_WITH( thisThrows(), "expected exception" )
2996 REQUIRE_THROWS_WITH( thisThrows(), Equals( "expecteD Exception", Catch::CaseSensitive::No ) )
3008 REQUIRE_THROWS_WITH( thisThrows(), StartsWith( "expected" ) )
3013 REQUIRE_THROWS_WITH( thisThrows(), EndsWith( "exception" ) )
3018 REQUIRE_THROWS_WITH( thisThrows(), Contains( "except" ) )
3023 REQUIRE_THROWS_WITH( thisThrows(), Contains( "exCept", Catch::CaseSensitive::No ) )
3060 CHECK_THROWS_AS( thisThrows(), std::string )
3069 CHECK_NOTHROW( thisThrows() )
[all …]