Lines Matching refs:ASSERT_DEATH
187 ASSERT_DEATH(GlobalFunction(), "death.*GlobalFunction"); in DeathTestSubroutine()
279 ASSERT_DEATH(return, ""); in TEST_F()
289 ASSERT_DEATH(return, "") << "did not die"; in TEST_F()
310 ASSERT_DEATH(DieWithEmbeddedNul(), "my null world"); in TEST_F()
326 ASSERT_DEATH(_exit(1), "") << "exit in default switch handler"; in TEST_F()
341 ASSERT_DEATH(StaticMemberFunction(), "death.*StaticMember"); in TEST_F()
363 ASSERT_DEATH(_exit(1), ""); in TEST_F()
370 ASSERT_DEATH(StaticMemberFunction(), "death.*StaticMember"); in TEST_F()
393 ASSERT_DEATH(_exit(1), ""); in TEST_F()
420 ASSERT_DEATH(_exit(1), ""); in TEST_F()
430 ASSERT_DEATH(x.MemberFunction(), "MayDie\\:\\:MemberFunction"); in TEST_F()
458 ASSERT_DEATH(NonVoidFunction(), "NonVoidFunction"); in TEST_F()
519 TEST_F(TestForDeathTest, ASSERT_DEATH) { in TEST_F() argument
523 ASSERT_DEATH(DieIf(false), "DieIf"); // This assertion should fail. in TEST_F()
545 EXPECT_FATAL_FAILURE(ASSERT_DEATH(return, "Bar"), in TEST_F()
854 ASSERT_DEATH({ // NOLINT in RunReturningDeathTest()
959 ASSERT_DEATH(_exit(1), "") << "unexpected failure"; in TEST()
964 ASSERT_DEATH(_exit(0), "") << "expected failure"; in TEST()