/freebsd/contrib/googletest/googletest/test/ |
H A D | googletest-failfast-unittest_.cc | 83 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 D | googletest-filter-unittest_.cc | 75 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 D | gtest-typed-test_test.cc | 228 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 D | gtest_repeat_test.cc | 92 EXPECT_DEATH_IF_SUPPORTED(::testing::internal::posix::Abort(), ""); in TEST() 95 EXPECT_DEATH_IF_SUPPORTED(::testing::internal::posix::Abort(), ""); in TEST()
|
H A D | googletest-death-test-test.cc | 1320 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 D | googletest-test-part-test.cc | 216 EXPECT_DEATH_IF_SUPPORTED(results.GetTestPartResult(-1), ""); in TEST_F() 217 EXPECT_DEATH_IF_SUPPORTED(results.GetTestPartResult(1), ""); in TEST_F()
|
H A D | gtest_premature_exit_test.cc | 84 EXPECT_DEATH_IF_SUPPORTED( in TEST_F()
|
H A D | gtest_unittest.cc | 792 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 D | googletest-port-test.cc | 371 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 D | googletest-param-test-test.cc | 1107 EXPECT_DEATH_IF_SUPPORTED(GetParam(), ".* value-parameterized test .*"); in TEST_F()
|
/freebsd/contrib/googletest/googletest/include/gtest/ |
H A D | gtest-death-test.h | 332 #define EXPECT_DEATH_IF_SUPPORTED(statement, regex) \ macro 337 #define EXPECT_DEATH_IF_SUPPORTED(statement, regex) \ macro
|
/freebsd/contrib/googletest/googlemock/test/ |
H A D | gmock-actions_test.cc | 392 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 D | gmock-internal-utils_test.cc | 339 EXPECT_DEATH_IF_SUPPORTED( in TEST() 342 EXPECT_DEATH_IF_SUPPORTED({ Assert(false, __FILE__, __LINE__); }, ""); in TEST()
|
H A D | gmock-nice-strict_test.cc | 261 EXPECT_DEATH_IF_SUPPORTED({ nice_foo.ReturnNonDefaultConstructible(); }, ""); in TEST()
|
H A D | gmock-spec-builders_test.cc | 234 EXPECT_DEATH_IF_SUPPORTED( in TEST() 1124 EXPECT_DEATH_IF_SUPPORTED(a.ReturnNonDefaultConstructible(), ""); in TEST()
|
H A D | gmock-matchers-containers_test.cc | 1048 EXPECT_DEATH_IF_SUPPORTED( in TEST()
|
/freebsd/contrib/googletest/docs/reference/ |
H A D | assertions.md | 582 ### EXPECT_DEATH_IF_SUPPORTED {#EXPECT_DEATH_IF_SUPPORTED} 584 `EXPECT_DEATH_IF_SUPPORTED(`*`statement`*`,`*`matcher`*`)` \
|