Searched refs:EXPECT_DEATH (Results 1 – 10 of 10) sorted by relevance
/freebsd/contrib/googletest/googletest/test/ |
H A D | googletest-death-test-test.cc | 316 EXPECT_DEATH(_exit(1), ""); in TEST_F() 419 EXPECT_DEATH(_exit(1), ""); in TEST_F() 428 EXPECT_DEATH(_exit(1), ""); in TEST_F() 467 EXPECT_DEATH(_exit(1), ""); in TEST_F() 469 EXPECT_DEATH(_exit(1), ""); in TEST_F() 541 EXPECT_DEATH( in TEST_F() 706 EXPECT_DEATH( in TEST() 1155 EXPECT_DEATH(_exit(1), ""); in TEST() 1329 EXPECT_DEATH( in TEST() 1341 EXPECT_DEATH( in TEST() [all …]
|
H A D | googletest-death-test_ex_test.cc | 52 EXPECT_NONFATAL_FAILURE(EXPECT_DEATH(throw 1, ""), "threw an exception"); in TEST() 67 EXPECT_NONFATAL_FAILURE(EXPECT_DEATH(throw TestException(), ""), in TEST() 70 EXPECT_NONFATAL_FAILURE(EXPECT_DEATH(throw TestException(), ""), __FILE__); in TEST() 79 EXPECT_DEATH(RaiseException(42, 0x0, 0, NULL), "") in TEST()
|
/freebsd/contrib/llvm-project/compiler-rt/lib/orc/tests/unit/ |
H A D | error_test.cpp | 70 EXPECT_DEATH({ Error E = Error::success(); }, in TEST() 81 EXPECT_DEATH(DropUnhandledError(), in TEST() 138 EXPECT_DEATH( in TEST() 195 EXPECT_DEATH({ Expected<int> A = 7; }, in TEST() 204 EXPECT_DEATH( in TEST() 217 EXPECT_DEATH( in TEST() 240 EXPECT_DEATH(*A, "Expected<T> must be checked before access or destruction.") in TEST() 249 EXPECT_DEATH({ Expected<int> A = make_error<CustomError>(42); }, in TEST() 288 EXPECT_DEATH(cantFail(make_error<StringError>("foo")), in TEST() 292 EXPECT_DEATH(cantFail(Expected<int>(make_error<StringError>("foo"))), in TEST()
|
H A D | c_api_test.cpp | 187 EXPECT_DEATH({ orc_rt_CWrapperFunctionResultData(&R); }, in TEST() 189 EXPECT_DEATH({ orc_rt_CWrapperFunctionResultSize(&R); }, in TEST()
|
/freebsd/contrib/googletest/googletest/include/gtest/ |
H A D | gtest-death-test.h | 189 #define EXPECT_DEATH(statement, matcher) \ macro 272 #define EXPECT_DEBUG_DEATH(statement, regex) EXPECT_DEATH(statement, regex) 333 EXPECT_DEATH(statement, regex)
|
/freebsd/contrib/googletest/docs/reference/ |
H A D | assertions.md | 554 EXPECT_DEATH({ 560 ### EXPECT_DEATH {#EXPECT_DEATH} 562 `EXPECT_DEATH(`*`statement`*`,`*`matcher`*`)` \ 579 EXPECT_DEATH(DoSomething(42), "My error"); 588 [`EXPECT_DEATH`](#EXPECT_DEATH). Otherwise, verifies nothing. 595 In debug mode, behaves the same as [`EXPECT_DEATH`](#EXPECT_DEATH). When not in
|
/freebsd/contrib/atf/atf-c/ |
H A D | tc.c | 59 EXPECT_DEATH, enumerator 295 if (ctx->expect == EXPECT_DEATH) { in validate_expect() 1012 ctx->expect = EXPECT_DEATH; in _atf_tc_expect_death()
|
/freebsd/contrib/googletest/docs/ |
H A D | faq.md | 154 Death tests (`EXPECT_DEATH`, etc) are executed in a sub-process s.t. the 162 you may want to move your `EXPECT_CALL` statements inside the `EXPECT_DEATH` 288 of `EXPECT_DEATH()`. For example, you may want to use mocks or fake objects 294 `EXPECT_DEATH()` (in the extreme case, you want to move everything inside), or 587 TEST_F(FooDeathTest, Uvw) { ... EXPECT_DEATH(...) ... } 593 Printing the LOG messages generated by the statement inside `EXPECT_DEATH()`
|
H A D | advanced.md | 472 satisfy `predicate`? Or (in the case of `ASSERT_DEATH` and `EXPECT_DEATH`)
|
/freebsd/contrib/capsicum-test/ |
H A D | linux.cc | 1448 EXPECT_DEATH(*p_ro = 42, ""); in TEST()
|