Home
last modified time | relevance | path

Searched refs:REQUIRE_THROWS (Results 1 – 18 of 18) sorted by relevance

/external/catch2/examples/
D207-Rpt-TeamCityReporter.cpp61 REQUIRE_THROWS( true );
124 REQUIRE_THROWS( throw std::runtime_error("unsurprisingly") );
D110-Fix-ClassFixture.cpp47REQUIRE_THROWS( conn.executeSQL( "INSERT INTO employee (id, name) VALUES (?, ?)", getID(), "") );
/external/catch2/projects/SelfTest/UsageTests/
DException.tests.cpp80 REQUIRE_THROWS( thisThrows() );
206 REQUIRE_THROWS( thisThrows() );
DCompilation.tests.cpp84 REQUIRE_THROWS(throws_int(true)); in templated_tests()
DTricky.tests.cpp378 REQUIRE_THROWS( std::vector<constructor_throws>{constructor_throws{}, constructor_throws{}} );
/external/bcc/tests/cc/
Dtest_array_table.cc46 REQUIRE_THROWS(f1());
119 REQUIRE_THROWS(f1());
Dtest_hash_table.cc41 REQUIRE_THROWS(f1());
116 REQUIRE_THROWS(f1());
Dcatch.hpp10375 #define REQUIRE_THROWS( expr ) INTERNAL_CATCH_THROWS( expr, Catch::ResultDisposition::Normal, "", "… macro
/external/catch2/projects/SelfTest/Baselines/
Dconsole.swa4.approved.txt186 inside REQUIRE_THROWS
192 REQUIRE_THROWS( thisThrows() )
224 REQUIRE_THROWS( throws_int(true) )
Dconsole.sw.approved.txt186 inside REQUIRE_THROWS
192 REQUIRE_THROWS( thisThrows() )
224 REQUIRE_THROWS( throws_int(true) )
1895 REQUIRE_THROWS( std::vector<constructor_throws>{constructor_throws{}, constructor_throws{}} )
8661 REQUIRE_THROWS( thisThrows() )
/external/catch2/docs/
Dlist-of-examples.md26 - Assertion: [REQUIRE_THROWS](../examples/050-Asn-RequireThrows.cpp)
Dtest-fixtures.md24 REQUIRE_THROWS(conn.executeSQL("INSERT INTO employee (id, name) VALUES (?, ?)", getID(), ""));
Dassertions.md115 * **REQUIRE_THROWS(** _expression_ **)** and
Dcommand-line.md180 Skips all assertions that test that an exception is thrown, e.g. ```REQUIRE_THROWS```.
Drelease-notes.md64 * `CATCH_REQUIRE_THROWS`'s internals were unified with `REQUIRE_THROWS` (#1536)
/external/catch2/projects/ExtraTests/
DCMakeLists.txt30 …" REQUIRE; REQUIRE_FALSE; REQUIRE_THROWS; REQUIRE_THROWS_AS; REQUIRE_THROWS_WITH; REQUIRE_THROWS_M…
/external/catch2/include/
Dcatch.hpp188 #define REQUIRE_THROWS( ... ) INTERNAL_CATCH_THROWS( "REQUIRE_THROWS", Catch::ResultDisposition::No… macro
355 #define REQUIRE_THROWS( ... ) (void)(0) macro
/external/catch2/single_include/catch2/
Dcatch.hpp14674 #define REQUIRE_THROWS( ... ) INTERNAL_CATCH_THROWS( "REQUIRE_THROWS", Catch::ResultDisposition::No… macro
14839 #define REQUIRE_THROWS( ... ) (void)(0) macro