Searched refs:EXPECT_DEATH (Results 1 – 4 of 4) sorted by relevance
/ndk/sources/third_party/googletest/googletest/test/ |
D | gtest-death-test_ex_test.cc | 53 EXPECT_NONFATAL_FAILURE(EXPECT_DEATH(throw 1, ""), "threw an exception"); in TEST() 68 EXPECT_NONFATAL_FAILURE(EXPECT_DEATH(throw TestException(), ""), in TEST() 71 EXPECT_NONFATAL_FAILURE(EXPECT_DEATH(throw TestException(), ""), in TEST() 81 EXPECT_DEATH(RaiseException(42, 0x0, 0, NULL), "") in TEST()
|
D | gtest-death-test_test.cc | 195 EXPECT_DEATH(GlobalFunction(), "death.*GlobalFunction"); in DeathTestSubroutine() 295 EXPECT_DEATH(_exit(1), ""); in TEST_F() 307 EXPECT_DEATH(_exit(1), "") << 1 << 2 << 3; in TEST_F() 322 EXPECT_DEATH(DieWithEmbeddedNul(), "my null world"); in TEST_F() 343 EXPECT_DEATH(_exit(1), "") << "exit in switch case"; in TEST_F() 362 EXPECT_DEATH(MemberFunction(), "inside.*MemberFunction"); in TEST_F() 415 EXPECT_DEATH(_exit(1), ""); in TEST_F() 424 EXPECT_DEATH(_exit(1), ""); in TEST_F() 441 EXPECT_DEATH(MemberFunction(), "inside.*MemberFunction"); in TEST_F() 463 EXPECT_DEATH(_exit(1), ""); in TEST_F() [all …]
|
/ndk/tests/device/asan-smoke/jni/ |
D | asan_oob_test.cc | 72 EXPECT_DEATH(oob_test<T>(size, i), expected_str); in OOBTest() 85 EXPECT_DEATH(oob_test<T>(size, i), expected_str); in OOBTest() 89 EXPECT_DEATH(oob_test<T>(kLargeMalloc, -1), in OOBTest() 91 EXPECT_DEATH(oob_test<T>(kLargeMalloc, kLargeMalloc), in OOBTest()
|
/ndk/sources/third_party/googletest/googletest/include/gtest/ |
D | gtest-death-test.h | 184 # define EXPECT_DEATH(statement, regex) \ macro 267 EXPECT_DEATH(statement, regex) 282 EXPECT_DEATH(statement, regex)
|