Home
last modified time | relevance | path

Searched refs:EXPECT_DEATH_IF_SUPPORTED (Results 1 – 17 of 17) sorted by relevance

/freebsd/contrib/googletest/googletest/test/
H A Dgoogletest-failfast-unittest_.cc83 TEST(HasDeathTest, Test0) { EXPECT_DEATH_IF_SUPPORTED(exit(1), ".*"); } in TEST()
86 EXPECT_DEATH_IF_SUPPORTED(FAIL() << "Expected failure.", ".*"); in TEST()
90 EXPECT_DEATH_IF_SUPPORTED(FAIL() << "Expected failure.", ".*"); in TEST()
94 EXPECT_DEATH_IF_SUPPORTED(FAIL() << "Expected failure.", ".*"); in TEST()
98 EXPECT_DEATH_IF_SUPPORTED(FAIL() << "Expected failure.", ".*"); in TEST()
H A Dgoogletest-filter-unittest_.cc75 TEST(HasDeathTest, Test1) { EXPECT_DEATH_IF_SUPPORTED(exit(1), ".*"); } in TEST()
79 TEST(HasDeathTest, Test2) { EXPECT_DEATH_IF_SUPPORTED(exit(1), ".*"); } in TEST()
H A Dgtest-typed-test_test.cc228 EXPECT_DEATH_IF_SUPPORTED( in TEST_F()
234 EXPECT_DEATH_IF_SUPPORTED( in TEST_F()
240 EXPECT_DEATH_IF_SUPPORTED( in TEST_F()
249 EXPECT_DEATH_IF_SUPPORTED( in TEST_F()
H A Dgtest_repeat_test.cc92 EXPECT_DEATH_IF_SUPPORTED(::testing::internal::posix::Abort(), ""); in TEST()
95 EXPECT_DEATH_IF_SUPPORTED(::testing::internal::posix::Abort(), ""); in TEST()
H A Dgoogletest-death-test-test.cc1320 EXPECT_DEATH_IF_SUPPORTED(DieInside("CondDeathTestExpectMacro"), in TEST()
1326 EXPECT_NONFATAL_FAILURE(EXPECT_DEATH_IF_SUPPORTED(;, ""), ""); in TEST()
1411 EXPECT_DEATH_IF_SUPPORTED(;, ""); in TEST()
1419 EXPECT_DEATH_IF_SUPPORTED(;, "") << "streamed message"; in TEST()
1473 EXPECT_DEATH_IF_SUPPORTED(_Exit(1), ""); in TEST()
1484 EXPECT_DEATH_IF_SUPPORTED(_Exit(1), "") << 1 << 2 << 3; in TEST()
1503 EXPECT_DEATH_IF_SUPPORTED(_Exit(1), "") << "exit in switch case"; in TEST()
H A Dgoogletest-test-part-test.cc216 EXPECT_DEATH_IF_SUPPORTED(results.GetTestPartResult(-1), ""); in TEST_F()
217 EXPECT_DEATH_IF_SUPPORTED(results.GetTestPartResult(1), ""); in TEST_F()
H A Dgtest_premature_exit_test.cc84 EXPECT_DEATH_IF_SUPPORTED( in TEST_F()
H A Dgtest_unittest.cc792 EXPECT_DEATH_IF_SUPPORTED(random.Generate(0), in TEST()
794 EXPECT_DEATH_IF_SUPPORTED( in TEST()
893 EXPECT_DEATH_IF_SUPPORTED( in TEST()
896 EXPECT_DEATH_IF_SUPPORTED( in TEST()
899 EXPECT_DEATH_IF_SUPPORTED( in TEST()
902 EXPECT_DEATH_IF_SUPPORTED( in TEST()
1498 EXPECT_DEATH_IF_SUPPORTED(r2->GetTestPartResult(2), ""); in TEST_F()
1499 EXPECT_DEATH_IF_SUPPORTED(r2->GetTestPartResult(-1), ""); in TEST_F()
1581 EXPECT_DEATH_IF_SUPPORTED(test_result.GetTestProperty(3), ""); in TEST()
1582 EXPECT_DEATH_IF_SUPPORTED(test_result.GetTestProperty(-1), ""); in TEST()
[all …]
H A Dgoogletest-port-test.cc371 EXPECT_DEATH_IF_SUPPORTED(GTEST_CHECK_(a_false_condition) << "Extra info", in TEST()
955 EXPECT_DEATH_IF_SUPPORTED(CaptureStdout(), in TEST()
1028 EXPECT_DEATH_IF_SUPPORTED( in TEST()
H A Dgoogletest-param-test-test.cc1107 EXPECT_DEATH_IF_SUPPORTED(GetParam(), ".* value-parameterized test .*"); in TEST_F()
/freebsd/contrib/googletest/googletest/include/gtest/
H A Dgtest-death-test.h332 #define EXPECT_DEATH_IF_SUPPORTED(statement, regex) \ macro
337 #define EXPECT_DEATH_IF_SUPPORTED(statement, regex) \ macro
/freebsd/contrib/googletest/googlemock/test/
H A Dgmock-actions_test.cc392 EXPECT_DEATH_IF_SUPPORTED({ BuiltInDefaultValue<int&>::Get(); }, ""); in TEST()
393 EXPECT_DEATH_IF_SUPPORTED({ BuiltInDefaultValue<const char&>::Get(); }, ""); in TEST()
397 EXPECT_DEATH_IF_SUPPORTED( in TEST()
444 EXPECT_DEATH_IF_SUPPORTED({ DefaultValue<MyNonDefaultConstructible>::Get(); }, in TEST()
507 EXPECT_DEATH_IF_SUPPORTED({ DefaultValue<int&>::Get(); }, ""); in TEST()
508 EXPECT_DEATH_IF_SUPPORTED({ DefaultValue<MyNonDefaultConstructible>::Get(); }, in TEST()
1022 EXPECT_DEATH_IF_SUPPORTED({ mock.Foo(); }, ""); in TEST()
1040 EXPECT_DEATH_IF_SUPPORTED({ mock.IntFunc(true); }, ""); in TEST()
H A Dgmock-internal-utils_test.cc339 EXPECT_DEATH_IF_SUPPORTED( in TEST()
342 EXPECT_DEATH_IF_SUPPORTED({ Assert(false, __FILE__, __LINE__); }, ""); in TEST()
H A Dgmock-nice-strict_test.cc261 EXPECT_DEATH_IF_SUPPORTED({ nice_foo.ReturnNonDefaultConstructible(); }, ""); in TEST()
H A Dgmock-spec-builders_test.cc234 EXPECT_DEATH_IF_SUPPORTED( in TEST()
1124 EXPECT_DEATH_IF_SUPPORTED(a.ReturnNonDefaultConstructible(), ""); in TEST()
H A Dgmock-matchers-containers_test.cc1048 EXPECT_DEATH_IF_SUPPORTED( in TEST()
/freebsd/contrib/googletest/docs/reference/
H A Dassertions.md582 ### EXPECT_DEATH_IF_SUPPORTED {#EXPECT_DEATH_IF_SUPPORTED}
584 `EXPECT_DEATH_IF_SUPPORTED(`*`statement`*`,`*`matcher`*`)` \