Home
last modified time | relevance | path

Searched refs:ASSERT_DEATH (Results 1 – 25 of 100) sorted by relevance

1234

/external/tensorflow/tensorflow/core/platform/
Dlogging_test.cc72 ASSERT_DEATH(CHECK(false), "false"); in TEST()
73 ASSERT_DEATH(CHECK(9 < 7), "9 < 7"); in TEST()
74 ASSERT_DEATH(CHECK_EQ(a, b), "a == b"); in TEST()
75 ASSERT_DEATH(CHECK_EQ(3, 4), "3 == 4"); in TEST()
76 ASSERT_DEATH(CHECK_NE(3, 3), "3 != 3"); in TEST()
77 ASSERT_DEATH(CHECK_GT(2, 3), "2 > 3"); in TEST()
78 ASSERT_DEATH(CHECK_GE(2, 3), "2 >= 3"); in TEST()
79 ASSERT_DEATH(CHECK_LT(3, 2), "3 < 2"); in TEST()
80 ASSERT_DEATH(CHECK_LE(3, 2), "3 <= 2"); in TEST()
81 ASSERT_DEATH(CHECK(false), "false"); in TEST()
[all …]
/external/openscreen/platform/impl/
Dlogging_unittest.cc195 ASSERT_DEATH(OSP_CHECK(false), ".*OSP_CHECK\\(false\\) failed: "); in TEST_F()
197 ASSERT_DEATH(OSP_CHECK_EQ(1, 2), in TEST_F()
200 ASSERT_DEATH(OSP_CHECK_NE(1, 1), in TEST_F()
203 ASSERT_DEATH(OSP_CHECK_LT(2, 1), in TEST_F()
206 ASSERT_DEATH(OSP_CHECK_LE(2, 1), in TEST_F()
209 ASSERT_DEATH(OSP_CHECK_GT(1, 2), in TEST_F()
212 ASSERT_DEATH(OSP_CHECK_GE(1, 2), in TEST_F()
215 ASSERT_DEATH((OSP_LOG_FATAL << "Fatal"), ".*Fatal"); in TEST_F()
222 ASSERT_DEATH(OSP_DCHECK(false), ".*OSP_CHECK\\(false\\) failed: "); in TEST_F()
224 ASSERT_DEATH(OSP_DCHECK_EQ(1, 2), in TEST_F()
[all …]
/external/google-breakpad/src/client/windows/unittests/
Dexception_handler_nesting_test.cc172 ASSERT_DEATH(DoCrash(NULL), ""); in TEST()
176 ASSERT_DEATH(DoCrash(kFoo), in TEST()
181 ASSERT_DEATH(DoCrash(kBar), in TEST()
188 ASSERT_DEATH( in TEST()
199 ASSERT_DEATH( in TEST()
211 ASSERT_DEATH( in TEST()
223 ASSERT_DEATH( in TEST()
234 ASSERT_DEATH( in TEST()
244 ASSERT_DEATH( in TEST()
267 ASSERT_DEATH( in TEST()
[all …]
Dexception_handler_death_test.cc139 ASSERT_DEATH((*i)++, kSuccessIndicator); in TEST_F()
211 ASSERT_DEATH(this->DoCrashAccessViolation(OUT_OF_PROC_BEST_EFFORT), ""); in TEST_F()
234 ASSERT_DEATH(this->DoCrashAccessViolation(OUT_OF_PROC_GUARANTEED), ""); in TEST_F()
346 ASSERT_DEATH(memory_function(), ""); in TEST_F()
446 ASSERT_DEATH(memory_function(), ""); in TEST_F()
534 ASSERT_DEATH(memory_function(), ""); in TEST_F()
/external/libchrome/base/process/
Dmemory_unittest.cc73 ASSERT_DEATH(free(buf), ""); in TEST()
77 ASSERT_DEATH(free(buf), "attempting free on address which " in TEST()
297 ASSERT_DEATH({ in TEST_F()
304 ASSERT_DEATH({ in TEST_F()
312 ASSERT_DEATH({ in TEST_F()
319 ASSERT_DEATH({ in TEST_F()
327 ASSERT_DEATH({ in TEST_F()
336 ASSERT_DEATH({ in TEST_F()
349 ASSERT_DEATH({ in TEST_F()
362 ASSERT_DEATH({ in TEST_F()
[all …]
/external/tensorflow/tensorflow/compiler/xla/service/
Dhlo_casting_utils_test.cc45 ASSERT_DEATH( in TEST()
51 ASSERT_DEATH(Cast<DummyInstruction>(null), ""); in TEST()
63 ASSERT_DEATH( in TEST()
89 ASSERT_DEATH(DynCast<DummyInstruction>(null), ""); in TEST()
/external/googletest/googletest/test/
Dgoogletest-death-test-test.cc191 ASSERT_DEATH(GlobalFunction(), "death.*GlobalFunction"); in DeathTestSubroutine()
314 ASSERT_DEATH(return, ""); in TEST_F()
324 ASSERT_DEATH(return, "") << "did not die"; in TEST_F()
347 ASSERT_DEATH(DieWithEmbeddedNul(), "my null world"); in TEST_F()
361 ASSERT_DEATH(_exit(1), "") << "exit in default switch handler"; in TEST_F()
374 ASSERT_DEATH(StaticMemberFunction(), "death.*StaticMember"); in TEST_F()
396 ASSERT_DEATH(_exit(1), ""); in TEST_F()
457 ASSERT_DEATH(StaticMemberFunction(), "death.*StaticMember"); in TEST_F()
480 ASSERT_DEATH(_exit(1), ""); in TEST_F()
503 ASSERT_DEATH(_exit(1), ""); in TEST_F()
[all …]
/external/rust/crates/quiche/deps/boringssl/src/third_party/googletest/test/
Dgoogletest-death-test-test.cc189 ASSERT_DEATH(GlobalFunction(), "death.*GlobalFunction"); in DeathTestSubroutine()
285 ASSERT_DEATH(return, ""); in TEST_F()
295 ASSERT_DEATH(return, "") << "did not die"; in TEST_F()
315 ASSERT_DEATH(DieWithEmbeddedNul(), "my null world"); in TEST_F()
329 ASSERT_DEATH(_exit(1), "") << "exit in default switch handler"; in TEST_F()
342 ASSERT_DEATH(StaticMemberFunction(), "death.*StaticMember"); in TEST_F()
364 ASSERT_DEATH(_exit(1), ""); in TEST_F()
423 ASSERT_DEATH(StaticMemberFunction(), "death.*StaticMember"); in TEST_F()
446 ASSERT_DEATH(_exit(1), ""); in TEST_F()
469 ASSERT_DEATH(_exit(1), ""); in TEST_F()
[all …]
/external/llvm-project/llvm/utils/unittest/googletest/include/gtest/
Dgtest-death-test.h179 # define ASSERT_DEATH(statement, regex) \ macro
270 ASSERT_DEATH(statement, regex)
284 ASSERT_DEATH(statement, regex)
/external/llvm/utils/unittest/googletest/include/gtest/
Dgtest-death-test.h168 # define ASSERT_DEATH(statement, regex) \ macro
259 ASSERT_DEATH(statement, regex)
273 ASSERT_DEATH(statement, regex)
/external/rust/crates/quiche/deps/boringssl/src/third_party/googletest/include/gtest/
Dgtest-death-test.h179 # define ASSERT_DEATH(statement, regex) \ macro
271 ASSERT_DEATH(statement, regex)
333 ASSERT_DEATH(statement, regex)
/external/googletest/googletest/include/gtest/
Dgtest-death-test.h179 # define ASSERT_DEATH(statement, regex) \ macro
270 ASSERT_DEATH(statement, regex)
332 ASSERT_DEATH(statement, regex)
/external/mesa3d/src/gtest/include/gtest/
Dgtest-death-test.h179 # define ASSERT_DEATH(statement, regex) \ macro
271 ASSERT_DEATH(statement, regex)
333 ASSERT_DEATH(statement, regex)
/external/libvpx/libvpx/third_party/googletest/src/include/gtest/
Dgtest-death-test.h180 # define ASSERT_DEATH(statement, regex) \ macro
272 ASSERT_DEATH(statement, regex)
334 ASSERT_DEATH(statement, regex)
/external/libaom/libaom/third_party/googletest/src/googletest/include/gtest/
Dgtest-death-test.h179 #define ASSERT_DEATH(statement, regex) \ macro
271 #define ASSERT_DEBUG_DEATH(statement, regex) ASSERT_DEATH(statement, regex)
332 ASSERT_DEATH(statement, regex)
/external/ruy/ruy/
Dgtest_wrapper.h27 #ifdef ASSERT_DEATH
28 #define RUY_ASSERT_DEATH(CONDITION, MESSAGE) ASSERT_DEATH(CONDITION, MESSAGE)
/external/scudo/standalone/tests/
Dscudo_unit_test.h22 #ifdef ASSERT_DEATH
23 #define EXPECT_DEATH(X, Y) ASSERT_DEATH(([&] { X; }), "")
/external/libchrome/base/trace_event/
Dmemory_allocator_dump_unittest.cc163 ASSERT_DEATH(pmd.CreateAllocatorDump("foo_allocator"), ""); in TEST()
164 ASSERT_DEATH(pmd.CreateAllocatorDump("bar_allocator/heap"), ""); in TEST()
165 ASSERT_DEATH(pmd.CreateAllocatorDump(""), ""); in TEST()
172 ASSERT_DEATH(dump->AddString("foo", "bar", "baz"), ""); in TEST()
/external/angle/third_party/vulkan-deps/spirv-tools/src/test/fuzz/
Dtransformation_replace_id_with_synonym_test.cpp2240 ASSERT_DEATH(TransformationReplaceIdWithSynonym::TypesAreCompatible( in TEST()
2251 ASSERT_DEATH(TransformationReplaceIdWithSynonym::TypesAreCompatible( in TEST()
2264 ASSERT_DEATH(TransformationReplaceIdWithSynonym::TypesAreCompatible( in TEST()
2277 ASSERT_DEATH( in TEST()
2293 ASSERT_DEATH( in TEST()
2305 ASSERT_DEATH(TransformationReplaceIdWithSynonym::TypesAreCompatible( in TEST()
2316 ASSERT_DEATH(TransformationReplaceIdWithSynonym::TypesAreCompatible( in TEST()
2329 ASSERT_DEATH(TransformationReplaceIdWithSynonym::TypesAreCompatible( in TEST()
2342 ASSERT_DEATH(TransformationReplaceIdWithSynonym::TypesAreCompatible( in TEST()
2355 ASSERT_DEATH(TransformationReplaceIdWithSynonym::TypesAreCompatible( in TEST()
[all …]
Dtransformation_adjust_branch_weights_test.cpp123 ASSERT_DEATH( in TEST()
141 ASSERT_DEATH( in TEST()
/external/tensorflow/tensorflow/core/util/proto/
Dproto_utils_test.cc53 ASSERT_DEATH(ParseTextFormatFromString("foo", nullptr).IgnoreError(), in TEST()
103 ASSERT_DEATH(StringErrorCollector(nullptr), "error_text.*non NULL"); in TEST()
/external/llvm-project/compiler-rt/lib/gwp_asan/tests/
Dbacktrace.cpp45 ASSERT_DEATH(DeallocateMemory2(GPA, Ptr), DeathRegex); in TEST_F()
60 ASSERT_DEATH(TouchMemory(Ptr), DeathRegex); in TEST_F()
/external/gwp_asan/gwp_asan/tests/
Dbacktrace.cpp45 ASSERT_DEATH(DeallocateMemory2(GPA, Ptr), DeathRegex); in TEST_F()
60 ASSERT_DEATH(TouchMemory(Ptr), DeathRegex); in TEST_F()
/external/swiftshader/third_party/SPIRV-Tools/test/fuzz/
Dtransformation_adjust_branch_weights_test.cpp123 ASSERT_DEATH( in TEST()
141 ASSERT_DEATH( in TEST()
/external/deqp-deps/SPIRV-Tools/test/fuzz/
Dtransformation_adjust_branch_weights_test.cpp123 ASSERT_DEATH( in TEST()
141 ASSERT_DEATH( in TEST()

1234