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.txt179 REQUIRE_NOTHROW( thisThrows() )
192 REQUIRE_THROWS( thisThrows() )
Dconsole.std.approved.txt40 REQUIRE_NOTHROW( thisThrows() )
447 CHECK_THROWS_AS( thisThrows(), std::string )
456 CHECK_NOTHROW( thisThrows() )
612 REQUIRE_THROWS_WITH( thisThrows(), "should fail" )
958 CHECK( thisThrows() == 0 )
970 REQUIRE( thisThrows() == 0 )
981 CHECK( thisThrows() == 0 )
Dcompact.sw.approved.txt22 …ed: unexpected exception with message: 'answer := 42'; expression was: thisThrows() with 1 message…
23 Exception.tests.cpp:<line number>: passed: thisThrows() with 1 message: 'answer := 42'
341 Exception.tests.cpp:<line number>: passed: thisThrows(), "expected exception" for: "expected except…
342 Exception.tests.cpp:<line number>: passed: thisThrows(), Equals( "expecteD Exception", Catch::CaseS…
343 Exception.tests.cpp:<line number>: passed: thisThrows(), StartsWith( "expected" ) for: "expected ex…
344 Exception.tests.cpp:<line number>: passed: thisThrows(), EndsWith( "exception" ) for: "expected exc…
345 Exception.tests.cpp:<line number>: passed: thisThrows(), Contains( "except" ) for: "expected except…
346 Exception.tests.cpp:<line number>: passed: thisThrows(), Contains( "exCept", Catch::CaseSensitive::…
347 … unexpected exception with message: 'expected exception'; expression was: thisThrows(), std::string
349 …ber>: failed: unexpected exception with message: 'expected exception'; expression was: thisThrows()
[all …]
Dconsole.sw.approved.txt179 REQUIRE_NOTHROW( thisThrows() )
192 REQUIRE_THROWS( thisThrows() )
2484 REQUIRE_THROWS_WITH( thisThrows(), "expected exception" )
2496 REQUIRE_THROWS_WITH( thisThrows(), Equals( "expecteD Exception", Catch::CaseSensitive::No ) )
2508 REQUIRE_THROWS_WITH( thisThrows(), StartsWith( "expected" ) )
2513 REQUIRE_THROWS_WITH( thisThrows(), EndsWith( "exception" ) )
2518 REQUIRE_THROWS_WITH( thisThrows(), Contains( "except" ) )
2523 REQUIRE_THROWS_WITH( thisThrows(), Contains( "exCept", Catch::CaseSensitive::No ) )
2534 CHECK_THROWS_AS( thisThrows(), std::string )
2543 CHECK_NOTHROW( thisThrows() )
[all …]