Home
last modified time | relevance | path

Searched refs:REQUIRE_THROWS_WITH (Results 1 – 9 of 9) sorted by relevance

/external/catch2/projects/SelfTest/UsageTests/
DException.tests.cpp176 REQUIRE_THROWS_WITH( thisThrows(), "expected exception" );
178 REQUIRE_THROWS_WITH( thisThrows(), Equals( "expecteD Exception", Catch::CaseSensitive::No ) );
180 REQUIRE_THROWS_WITH( thisThrows(), StartsWith( "expected" ) );
181 REQUIRE_THROWS_WITH( thisThrows(), EndsWith( "exception" ) );
182 REQUIRE_THROWS_WITH( thisThrows(), Contains( "except" ) );
183 REQUIRE_THROWS_WITH( thisThrows(), Contains( "exCept", Catch::CaseSensitive::No ) );
190 REQUIRE_THROWS_WITH( thisThrows(), "expected exception" );
191 REQUIRE_THROWS_WITH( thisThrows(), "should fail" );
192 REQUIRE_THROWS_WITH( thisThrows(), "expected exception" );
/external/catch2/docs/
Dassertions.md125 * **REQUIRE_THROWS_WITH(** _expression_, _string or string matcher_ **)** and
132 REQUIRE_THROWS_WITH( openThePodBayDoors(), Contains( "afraid" ) && Contains( "can't do that" ) );
133 REQUIRE_THROWS_WITH( dismantleHal(), "My mind is going" );
Dlist-of-examples.md28 - Assertion: [REQUIRE_THROWS_WITH](../examples/080-Asn-RequireThrowsWith.cpp)
/external/catch2/projects/ExtraTests/
DCMakeLists.txt30 …" REQUIRE; REQUIRE_FALSE; REQUIRE_THROWS; REQUIRE_THROWS_AS; REQUIRE_THROWS_WITH; REQUIRE_THROWS_M…
/external/catch2/include/
Dcatch.hpp190 #define REQUIRE_THROWS_WITH( expr, matcher ) INTERNAL_CATCH_THROWS_STR_MATCHES( "REQUIRE_THROWS_WIT… macro
357 #define REQUIRE_THROWS_WITH( expr, matcher ) (void)(0) macro
/external/catch2/projects/SelfTest/Baselines/
Dconsole.sw.approved.txt2484 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 ) )
4615 REQUIRE_THROWS_WITH( thisThrows(), "expected exception" )
4620 REQUIRE_THROWS_WITH( thisThrows(), "should fail" )
Dconsole.std.approved.txt612 REQUIRE_THROWS_WITH( thisThrows(), "should fail" )
/external/catch2/single_include/catch2/
Dcatch.hpp14676 #define REQUIRE_THROWS_WITH( expr, matcher ) INTERNAL_CATCH_THROWS_STR_MATCHES( "REQUIRE_THROWS_WIT… macro
14841 #define REQUIRE_THROWS_WITH( expr, matcher ) (void)(0) macro
/external/bcc/tests/cc/
Dcatch.hpp10377 #define REQUIRE_THROWS_WITH( expr, matcher ) INTERNAL_CATCH_THROWS( expr, Catch::ResultDisposition:… macro