Searched refs:ASSERT_DEATH (Results 1 - 2 of 2) sorted by relevance

/gem5/ext/googletest/googletest/include/gtest/
H A Dgtest-death-test.h67 // Here's what happens when an ASSERT_DEATH* or EXPECT_DEATH* is
85 // ASSERT_DEATH(server.SendMessage(56, "Hello"), "Invalid port number");
179 # define ASSERT_DEATH(statement, regex) \ macro
182 // Like ASSERT_DEATH, but continues on to successive tests in the
270 ASSERT_DEATH(statement, regex)
284 ASSERT_DEATH(statement, regex)
/gem5/ext/googletest/googletest/test/
H A Dgtest-death-test_test.cc192 // Tests that ASSERT_DEATH can be used outside a TEST, TEST_F, or test fixture.
195 ASSERT_DEATH(GlobalFunction(), "death.*GlobalFunction");
291 ASSERT_DEATH(return, "");
301 ASSERT_DEATH(return, "") << "did not die";
316 // Tests that EXPECT_DEATH and ASSERT_DEATH work when the error
322 ASSERT_DEATH(DieWithEmbeddedNul(), "my null world");
335 ASSERT_DEATH(_exit(1), "") << "exit in default switch handler";
348 ASSERT_DEATH(StaticMemberFunction(), "death.*StaticMember");
370 ASSERT_DEATH(_exit(1), "");
429 ASSERT_DEATH(StaticMemberFunctio
[all...]

Completed in 7 milliseconds