Home
last modified time | relevance | path

Searched refs:EXPECT_DEATH (Results 1 – 7 of 7) sorted by relevance

/freebsd-13.1/contrib/googletest/googletest/test/
H A Dgoogletest-death-test-test.cc285 EXPECT_DEATH(_exit(1), ""); in TEST_F()
400 EXPECT_DEATH(_exit(1), ""); in TEST_F()
409 EXPECT_DEATH(_exit(1), ""); in TEST_F()
448 EXPECT_DEATH(_exit(1), ""); in TEST_F()
450 EXPECT_DEATH(_exit(1), ""); in TEST_F()
537 EXPECT_DEATH({ // NOLINT in TEST_F()
679 EXPECT_DEATH({ in TEST()
836 EXPECT_DEATH({ in TEST_F()
1132 EXPECT_DEATH(_exit(1), ""); in TEST()
1305 EXPECT_DEATH({ in TEST()
[all …]
H A Dgoogletest-death-test_ex_test.cc52 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(), ""), in TEST()
80 EXPECT_DEATH(RaiseException(42, 0x0, 0, NULL), "") in TEST()
/freebsd-13.1/contrib/googletest/googletest/include/gtest/
H A Dgtest-death-test.h185 # define EXPECT_DEATH(statement, regex) \ macro
269 EXPECT_DEATH(statement, regex)
332 EXPECT_DEATH(statement, regex)
/freebsd-13.1/contrib/atf/atf-c/
H A Dtc.c59 EXPECT_DEATH, enumerator
295 if (ctx->expect == EXPECT_DEATH) { in validate_expect()
1018 ctx->expect = EXPECT_DEATH; in _atf_tc_expect_death()
/freebsd-13.1/contrib/googletest/googletest/docs/
H A Dfaq.md159 Death tests (`EXPECT_DEATH`, etc) are executed in a sub-process s.t. the
168 the `EXPECT_DEATH` macro.
292 of `EXPECT_DEATH()`. For example, you may want to use [mocks](../../googlemock)
298 `EXPECT_DEATH()` (in the extreme case, you want to move everything inside), or
663 TEST_F(FooDeathTest, Uvw) { ... EXPECT_DEATH(...) ... }
669 Printing the LOG messages generated by the statement inside `EXPECT_DEATH()`
H A Dadvanced.md663 `ASSERT_DEATH(statement, regex);` | `EXPECT_DEATH(statement, regex);` | `…
684 > is *not* considered a crash by `EXPECT_DEATH`. Use `EXPECT_EXIT` instead if
711 satisfy `predicate`? Or (in the case of `ASSERT_DEATH` and `EXPECT_DEATH`)
/freebsd-13.1/contrib/capsicum-test/
H A Dlinux.cc1448 EXPECT_DEATH(*p_ro = 42, ""); in TEST()