/third_party/googletest/googletest/test/ |
H A D | googletest-death-test-test.cc | 186 EXPECT_DEATH(GlobalFunction(), "death.*GlobalFunction"); in DeathTestSubroutine() 313 EXPECT_DEATH(_exit(1), ""); in TEST_F() 315 // This empty "else" branch is meant to ensure that EXPECT_DEATH in TEST_F() 324 EXPECT_DEATH(_exit(1), "") << 1 << 2 << 3; in TEST_F() 338 // Tests that EXPECT_DEATH and ASSERT_DEATH work when the error 341 EXPECT_DEATH(DieWithEmbeddedNul(), "my null world"); in TEST_F() 360 EXPECT_DEATH(_exit(1), "") << "exit in switch case"; in TEST_F() 377 EXPECT_DEATH(MemberFunction(), "inside.*MemberFunction"); in TEST_F() 433 EXPECT_DEATH(_exit(1), ""); in TEST_F() 442 EXPECT_DEATH(_exi in TEST_F() [all...] |
H A D | googletest-death-test_ex_test.cc | 52 EXPECT_NONFATAL_FAILURE(EXPECT_DEATH(throw 1, ""), "threw an exception"); in TEST() 67 EXPECT_NONFATAL_FAILURE(EXPECT_DEATH(throw TestException(), ""), in TEST() 70 EXPECT_NONFATAL_FAILURE(EXPECT_DEATH(throw TestException(), ""), __FILE__); in TEST() 79 EXPECT_DEATH(RaiseException(42, 0x0, 0, NULL), "") in TEST()
|
/third_party/skia/third_party/externals/tint/fuzzers/ |
H A D | random_generator_test.cc | 55 EXPECT_DEATH(rng_->GetUInt32(10, 5), ".*"); in TEST_F() 59 EXPECT_DEATH(rng_->GetUInt32(5, 5), ".*"); in TEST_F() 63 EXPECT_DEATH(rng_->GetUInt32(0u), ".*"); in TEST_F() 93 EXPECT_DEATH(rng_->GetUInt64(10, 5), ".*"); in TEST_F() 97 EXPECT_DEATH(rng_->GetUInt64(5, 5), ".*"); in TEST_F() 101 EXPECT_DEATH(rng_->GetUInt64(0u), ".*"); in TEST_F() 135 EXPECT_DEATH(rng_->GetNBytes(nullptr, 5), ".*"); in TEST_F() 161 EXPECT_DEATH(rng_->GetWeightedBool(101), ".*"); in TEST_F() 162 EXPECT_DEATH(rng_->GetWeightedBool(500), ".*"); in TEST_F() 183 EXPECT_DEATH(rng in TEST_F() [all...] |
/third_party/skia/third_party/externals/dawn/src/tests/unittests/ |
H A D | TypedIntegerTests.cpp | 160 EXPECT_DEATH(value++, ""); // Overflows. 167 EXPECT_DEATH(value++, ""); // Overflows. 174 EXPECT_DEATH(value--, ""); // Underflows. 181 EXPECT_DEATH(value--, ""); // Underflows. 188 EXPECT_DEATH(value + Unsigned(2), ""); // Overflows. 195 EXPECT_DEATH(value - Unsigned(2), ""); // Underflows. 202 EXPECT_DEATH(value + Signed(2), ""); // Overflows. 209 EXPECT_DEATH(value + Signed(-2), ""); // Underflows. 216 EXPECT_DEATH(value - Signed(-2), ""); // Overflows. 223 EXPECT_DEATH(valu [all...] |
/third_party/musl/libc-test/src/functionalext/supplement/thread/thread_gtest/ |
H A D | thread_pthrd_test.cpp | 100 EXPECT_DEATH(pthread_setname_np(deadThread, "short name"), ".*"); in HWTEST_F() 111 EXPECT_DEATH(pthread_setname_np(nullThread, "short name"), ".*"); in HWTEST_F() 125 EXPECT_DEATH(pthread_getname_np(deadThread, name, sizeof(name)), ".*"); in HWTEST_F() 137 EXPECT_DEATH(pthread_getname_np(nullThread, name, sizeof(name)), ".*"); in HWTEST_F() 286 EXPECT_DEATH(pthread_kill(nullThread, 0), ".*"); in HWTEST_F() 302 EXPECT_DEATH(pthread_setschedparam(deadThread, loadPolicy, &pthreadSchedParam), ".*"); in HWTEST_F() 315 EXPECT_DEATH(pthread_setschedparam(nullThread, loadPolicy, &pthreadSchedParam), ".*"); in HWTEST_F() 342 EXPECT_DEATH(pthread_getschedparam(deadThread, &loadPolicy, &pthreadSchedParam), ".*"); in HWTEST_F() 356 EXPECT_DEATH(pthread_setschedprio(deadThread, 10), ".*"); in HWTEST_F() 367 EXPECT_DEATH(pthread_setschedpri in HWTEST_F() [all...] |
/third_party/googletest/googletest/include/gtest/ |
H A D | gtest-death-test.h | 69 // Here's what happens when an ASSERT_DEATH* or EXPECT_DEATH* is 89 // EXPECT_DEATH(server.ProcessRequest(i), 189 #define EXPECT_DEATH(statement, matcher) \ macro 272 #define EXPECT_DEBUG_DEATH(statement, regex) EXPECT_DEATH(statement, regex) 282 // if and only if EXPECT_DEATH and ASSERT_DEATH compile with the same parameters 291 // statement - A statement that a macro such as EXPECT_DEATH would test 295 // parameter if and only if EXPECT_DEATH compiles with it. 296 // regex - A regex that a macro such as EXPECT_DEATH would use to test 300 // EXPECT_DEATH would accept. 313 // macro, for compilational compatibility with EXPECT_DEATH/ASSERT_DEAT [all...] |
/third_party/mesa3d/src/gtest/include/gtest/ |
H A D | gtest-death-test.h | 67 // Here's what happens when an ASSERT_DEATH* or EXPECT_DEATH* is 87 // EXPECT_DEATH(server.ProcessRequest(i), 184 # define EXPECT_DEATH(statement, regex) \ macro 268 EXPECT_DEATH(statement, regex) 279 // if and only if EXPECT_DEATH and ASSERT_DEATH compile with the same parameters 288 // statement - A statement that a macro such as EXPECT_DEATH would test 292 // parameter if and only if EXPECT_DEATH compiles with it. 293 // regex - A regex that a macro such as EXPECT_DEATH would use to test 297 // EXPECT_DEATH would accept. 310 // macro, for compilational compatibility with EXPECT_DEATH/ASSERT_DEAT [all...] |
/third_party/node/deps/googletest/include/gtest/ |
H A D | gtest-death-test.h | 69 // Here's what happens when an ASSERT_DEATH* or EXPECT_DEATH* is 89 // EXPECT_DEATH(server.ProcessRequest(i), 189 #define EXPECT_DEATH(statement, matcher) \ macro 272 #define EXPECT_DEBUG_DEATH(statement, regex) EXPECT_DEATH(statement, regex) 282 // if and only if EXPECT_DEATH and ASSERT_DEATH compile with the same parameters 291 // statement - A statement that a macro such as EXPECT_DEATH would test 295 // parameter if and only if EXPECT_DEATH compiles with it. 296 // regex - A regex that a macro such as EXPECT_DEATH would use to test 300 // EXPECT_DEATH would accept. 313 // macro, for compilational compatibility with EXPECT_DEATH/ASSERT_DEAT [all...] |
/third_party/protobuf/src/google/protobuf/io/ |
H A D | printer_unittest.cc | 693 EXPECT_DEATH(printer.FormatInternal(args, vars, "$empty $$1$"), "Unused"); in TEST() 700 EXPECT_DEATH(printer.FormatInternal(args, vars, "$2$ $1$"), "order"); in TEST() 707 EXPECT_DEATH(printer.FormatInternal(args, vars, "$0$"), "failed"); in TEST() 714 EXPECT_DEATH(printer.FormatInternal(args, vars, "$1$ $2$ $3$"), "bounds"); in TEST() 721 EXPECT_DEATH(printer.FormatInternal(args, vars, "$huh$ $1$$2$"), "Unknown"); in TEST() 728 EXPECT_DEATH(printer.FormatInternal({}, vars, "$ $"), "Empty"); in TEST()
|
/third_party/skia/third_party/externals/swiftshader/third_party/marl/src/ |
H A D | memory_test.cpp | 86 EXPECT_DEATH(ptr[-1] = 1, ""); in TEST_F() 87 EXPECT_DEATH(ptr[marl::pageSize()] = 1, ""); in TEST_F()
|
H A D | waitgroup_test.cpp | 30 EXPECT_DEATH(wg.done(), "done\\(\\) called too many times"); in TEST_F()
|
H A D | scheduler_test.cpp | 222 EXPECT_DEATH(scheduler->enqueue(marl::Task([] {})), in TEST_F()
|
/third_party/skia/third_party/externals/abseil-cpp/absl/base/internal/ |
H A D | exception_testing.h | 35 EXPECT_DEATH(expr, ".*")
|
/third_party/musl/libc-test/src/functionalext/supplement/fortify/fortify_gtest/ |
H A D | fortify_poll_chk_test.cpp | 44 EXPECT_DEATH(__poll_chk(fds, nfds, TIME_OUT, fdsLen), ""); in HWTEST_F()
|
/third_party/skia/third_party/externals/abseil-cpp/absl/synchronization/ |
H A D | blocking_counter_test.cc | 73 EXPECT_DEATH(BlockingCounter counter(-1), in TEST()
|
/third_party/protobuf/src/google/protobuf/stubs/ |
H A D | int128_unittest.cc | 336 EXPECT_DEATH(a / b, "Division or mod by zero:"); in TEST() 338 EXPECT_DEATH(a / b, "Division or mod by zero:"); in TEST() 344 EXPECT_DEATH(a % b, "Division or mod by zero:"); in TEST() 346 EXPECT_DEATH(a % b, "Division or mod by zero:"); in TEST()
|
H A D | stringpiece_unittest.cc | 789 EXPECT_DEATH(StringPiece("xyz", -1), "len >= 0"); in TEST()
|
/third_party/protobuf/src/google/protobuf/ |
H A D | repeated_field_reflection_unittest.cc | 145 EXPECT_DEATH(refl->GetRepeatedField<int32>(message, fd_optional_int32), in TEST() 147 EXPECT_DEATH(refl->GetRepeatedField<double>(message, fd_repeated_int32), in TEST() 149 EXPECT_DEATH(refl->GetRepeatedPtrField<TestAllTypes>( in TEST() 428 EXPECT_DEATH(refl->GetRepeatedFieldRef<int32>(message, fd_optional_int32), in TEST() 430 EXPECT_DEATH(refl->GetRepeatedFieldRef<double>(message, fd_repeated_int32), in TEST() 432 EXPECT_DEATH(refl->GetRepeatedFieldRef<TestAllTypes>( in TEST()
|
H A D | generated_message_reflection_unittest.cc | 1009 EXPECT_DEATH( in TEST() 1019 EXPECT_DEATH(reflection->GetInt32( in TEST() 1027 EXPECT_DEATH( in TEST() 1036 EXPECT_DEATH( in TEST()
|
H A D | reflection_ops_unittest.cc | 198 EXPECT_DEATH(ReflectionOps::Merge(message, &message), "&from"); in TEST()
|
H A D | map_test.cc | 220 EXPECT_DEATH(map_.at(0), ""); in TEST_F() 224 EXPECT_DEATH(const_map_.at(0), ""); in TEST_F() 230 EXPECT_DEATH(key.GetUInt64Value(), in TEST_F() 237 EXPECT_DEATH(value.SetFloatValue(0.1), in TEST_F() 1039 EXPECT_DEATH(m.at(miss_key), ""); in TestTransparent() 1040 EXPECT_DEATH(cm.at(miss_key), ""); in TestTransparent()
|
/third_party/skia/third_party/externals/abseil-cpp/absl/strings/internal/ |
H A D | cord_rep_btree_test.cc | 298 EXPECT_DEATH(rep->btree(), ".*"); in TEST() 299 EXPECT_DEATH(static_cast<const CordRep*>(rep)->btree(), ".*"); in TEST() 335 EXPECT_DEATH(CordRepBtree::EdgeData(concat), ".*"); in TEST() 336 EXPECT_DEATH(CordRepBtree::EdgeDataPtr(concat), ".*"); in TEST() 337 EXPECT_DEATH(CordRepBtree::EdgeData(bad_substr), ".*"); in TEST() 338 EXPECT_DEATH(CordRepBtree::EdgeDataPtr(bad_substr), ".*"); in TEST() 1001 EXPECT_DEATH(tree = CordRepBtree::Append(tree, MakeFlat("Boom")), ".*"); in TEST_P() 1080 EXPECT_DEATH(tree->GetAppendBuffer(1), ".*"); in TEST_P()
|
H A D | cord_rep_btree_navigator_test.cc | 105 EXPECT_DEATH(nav.Current(), ".*"); in TEST() 177 EXPECT_DEATH(nav.Current(), ".*"); in TEST()
|
/third_party/skia/third_party/externals/swiftshader/third_party/subzero/unittest/ |
H A D | IceParseInstsTest.cpp | 68 EXPECT_DEATH(Munger.runTest(ParseError), ".*ERROR: Unable to continue.*"); in TEST()
|
/third_party/skia/third_party/externals/abseil-cpp/absl/strings/ |
H A D | cord_ring_test.cc | 551 EXPECT_DEATH(CordRepRing::Create(flat, CordRepRing::kMaxCapacity), ".*"); in TEST_F()
|