/external/llvm/unittests/Support/ |
LeakDetectorTest.cpp | 23 EXPECT_DEATH(LeakDetector::addGarbageObject((void*) 1), 25 EXPECT_DEATH(LeakDetector::addGarbageObject((void*) 2),
|
/external/chromium/testing/gtest/test/ |
gtest-death-test_ex_test.cc | 53 EXPECT_NONFATAL_FAILURE(EXPECT_DEATH(throw 1, ""), "threw an exception"); 68 EXPECT_NONFATAL_FAILURE(EXPECT_DEATH(throw TestException(), ""), 71 EXPECT_NONFATAL_FAILURE(EXPECT_DEATH(throw TestException(), ""), 81 EXPECT_DEATH(RaiseException(42, 0x0, 0, NULL), "")
|
gtest-death-test_test.cc | 191 EXPECT_DEATH(GlobalFunction(), "death.*GlobalFunction"); 291 EXPECT_DEATH(_exit(1), ""); 293 // This empty "else" branch is meant to ensure that EXPECT_DEATH 303 EXPECT_DEATH(_exit(1), "") << 1 << 2 << 3; 313 // Tests that EXPECT_DEATH and ASSERT_DEATH work when the error 318 EXPECT_DEATH(DieWithEmbeddedNul(), "my null world"); 339 EXPECT_DEATH(_exit(1), "") << "exit in switch case"; 358 EXPECT_DEATH(MemberFunction(), "inside.*MemberFunction"); 385 EXPECT_DEATH(MemberFunction(), "inside.*MemberFunction"); 407 EXPECT_DEATH(_exit(1), "") [all...] |
/external/chromium_org/testing/gtest/test/ |
gtest-death-test_ex_test.cc | 53 EXPECT_NONFATAL_FAILURE(EXPECT_DEATH(throw 1, ""), "threw an exception"); 68 EXPECT_NONFATAL_FAILURE(EXPECT_DEATH(throw TestException(), ""), 71 EXPECT_NONFATAL_FAILURE(EXPECT_DEATH(throw TestException(), ""), 81 EXPECT_DEATH(RaiseException(42, 0x0, 0, NULL), "")
|
gtest-death-test_test.cc | 195 EXPECT_DEATH(GlobalFunction(), "death.*GlobalFunction"); 295 EXPECT_DEATH(_exit(1), ""); 297 // This empty "else" branch is meant to ensure that EXPECT_DEATH 307 EXPECT_DEATH(_exit(1), "") << 1 << 2 << 3; 317 // Tests that EXPECT_DEATH and ASSERT_DEATH work when the error 322 EXPECT_DEATH(DieWithEmbeddedNul(), "my null world"); 343 EXPECT_DEATH(_exit(1), "") << "exit in switch case"; 362 EXPECT_DEATH(MemberFunction(), "inside.*MemberFunction"); 415 EXPECT_DEATH(_exit(1), ""); 424 EXPECT_DEATH(_exit(1), "") [all...] |
/external/gtest/test/ |
gtest-death-test_ex_test.cc | 53 EXPECT_NONFATAL_FAILURE(EXPECT_DEATH(throw 1, ""), "threw an exception"); 68 EXPECT_NONFATAL_FAILURE(EXPECT_DEATH(throw TestException(), ""), 71 EXPECT_NONFATAL_FAILURE(EXPECT_DEATH(throw TestException(), ""), 81 EXPECT_DEATH(RaiseException(42, 0x0, 0, NULL), "")
|
gtest-death-test_test.cc | 191 EXPECT_DEATH(GlobalFunction(), "death.*GlobalFunction"); 291 EXPECT_DEATH(_exit(1), ""); 293 // This empty "else" branch is meant to ensure that EXPECT_DEATH 303 EXPECT_DEATH(_exit(1), "") << 1 << 2 << 3; 313 // Tests that EXPECT_DEATH and ASSERT_DEATH work when the error 318 EXPECT_DEATH(DieWithEmbeddedNul(), "my null world"); 339 EXPECT_DEATH(_exit(1), "") << "exit in switch case"; 358 EXPECT_DEATH(MemberFunction(), "inside.*MemberFunction"); 385 EXPECT_DEATH(MemberFunction(), "inside.*MemberFunction"); 407 EXPECT_DEATH(_exit(1), "") [all...] |
/ndk/sources/third_party/googletest/googletest/test/ |
gtest-death-test_ex_test.cc | 53 EXPECT_NONFATAL_FAILURE(EXPECT_DEATH(throw 1, ""), "threw an exception"); 68 EXPECT_NONFATAL_FAILURE(EXPECT_DEATH(throw TestException(), ""), 71 EXPECT_NONFATAL_FAILURE(EXPECT_DEATH(throw TestException(), ""), 81 EXPECT_DEATH(RaiseException(42, 0x0, 0, NULL), "")
|
gtest-death-test_test.cc | 195 EXPECT_DEATH(GlobalFunction(), "death.*GlobalFunction"); 295 EXPECT_DEATH(_exit(1), ""); 297 // This empty "else" branch is meant to ensure that EXPECT_DEATH 307 EXPECT_DEATH(_exit(1), "") << 1 << 2 << 3; 317 // Tests that EXPECT_DEATH and ASSERT_DEATH work when the error 322 EXPECT_DEATH(DieWithEmbeddedNul(), "my null world"); 343 EXPECT_DEATH(_exit(1), "") << "exit in switch case"; 362 EXPECT_DEATH(MemberFunction(), "inside.*MemberFunction"); 415 EXPECT_DEATH(_exit(1), ""); 424 EXPECT_DEATH(_exit(1), "") [all...] |
/external/compiler-rt/lib/asan/tests/ |
asan_str_test.cc | 32 EXPECT_DEATH(Ident(strlen(str - 1)), LeftOOBReadMessage(1)); 33 EXPECT_DEATH(Ident(strlen(str - 5)), LeftOOBReadMessage(5)); 35 EXPECT_DEATH(Ident(strlen(str + length + 1)), RightOOBReadMessage(0)); 39 EXPECT_DEATH(Ident(strlen(str)), RightOOBReadMessage(0)); 40 EXPECT_DEATH(Ident(strlen(str + length)), RightOOBReadMessage(0)); 75 EXPECT_DEATH(Ident(strnlen(str - 1, 1)), LeftOOBReadMessage(1)); 76 EXPECT_DEATH(Ident(strnlen(str + size, 1)), RightOOBReadMessage(0)); 79 EXPECT_DEATH(Ident(strnlen(str, size + 1)), RightOOBReadMessage(0)); 95 EXPECT_DEATH(Ident(strdup(str - 1)), LeftOOBReadMessage(1)); 96 EXPECT_DEATH(Ident(strdup(str + size)), RightOOBReadMessage(0)) [all...] |
asan_mem_test.cc | 37 EXPECT_DEATH(MEMSET(array, 0, size + 1), 39 EXPECT_DEATH(MEMSET((char*)(array + length) - 1, element, 6), 41 EXPECT_DEATH(MEMSET(array + 1, element, size + sizeof(T)), 44 EXPECT_DEATH(MEMSET(array + length + 1, 0, 10), 48 EXPECT_DEATH(MEMSET((char*)array - 1, element, size), 50 EXPECT_DEATH(MEMSET((char*)array - 5, 0, 6), 54 EXPECT_DEATH(memset(array - 5, element, size + 5 * sizeof(T)), 58 EXPECT_DEATH(MEMSET(array - 2, 0, sizeof(T)), 62 EXPECT_DEATH(MEMSET((char*)array - 2, element, size + 4), 111 EXPECT_DEATH(Ident(memset)(x1, 0, size * 2) [all...] |
asan_mac_test.cc | 23 EXPECT_DEATH( 35 EXPECT_DEATH(CFAllocator_DoubleFreeOnPthread(), "attempting double-free"); 63 EXPECT_DEATH(CFAllocator_PassMemoryToAnotherThread(), 72 EXPECT_DEATH( 79 EXPECT_DEATH(CFAllocatorMallocDoubleFree(), "attempting double-free"); 83 EXPECT_DEATH(CFAllocatorMallocZoneDoubleFree(), "attempting double-free"); 92 EXPECT_DEATH(TestGCDDispatchAsync(), "Shadow byte legend"); 98 EXPECT_DEATH(TestGCDDispatchSync(), "Shadow byte legend"); 105 EXPECT_DEATH(TestGCDReuseWqthreadsAsync(), "Shadow byte legend"); 111 EXPECT_DEATH(TestGCDReuseWqthreadsSync(), "Shadow byte legend") [all...] |
asan_test.cc | 72 EXPECT_DEATH(exit(1), ""); 166 EXPECT_DEATH(uaf_test<U1>(1, 0), uaf_string); 167 EXPECT_DEATH(uaf_test<U1>(10, 0), uaf_string); 168 EXPECT_DEATH(uaf_test<U1>(10, 10), uaf_string); 169 EXPECT_DEATH(uaf_test<U1>(kLargeMalloc, 0), uaf_string); 170 EXPECT_DEATH(uaf_test<U1>(kLargeMalloc, kLargeMalloc / 2), uaf_string); 176 EXPECT_DEATH(Ident(p)[12] = 0, "WRITE of size 1[06]"); 177 EXPECT_DEATH(Ident(p)[0] = Ident(p)[12], "READ of size 1[06]"); 189 EXPECT_DEATH(p[0] = p[3], "READ of size 5"); 190 EXPECT_DEATH(p[3] = p[0], "WRITE of size 5") [all...] |
asan_oob_test.cc | 40 EXPECT_DEATH(oob_test<T>(size, i), expected_str); 53 EXPECT_DEATH(oob_test<T>(size, i), expected_str); 57 EXPECT_DEATH(oob_test<T>(kLargeMalloc, -1), 59 EXPECT_DEATH(oob_test<T>(kLargeMalloc, kLargeMalloc), 93 EXPECT_DEATH(asan_write_sized_aligned(addr, access_size), 107 EXPECT_DEATH(p[size] = 0, "is located 0 bytes to the right");
|
/external/chromium_org/base/metrics/ |
sample_vector_unittest.cc | 106 EXPECT_DEATH(samples.Accumulate(INT_MIN, 100), ""); 107 EXPECT_DEATH(samples.Accumulate(-1, 100), ""); 108 EXPECT_DEATH(samples.Accumulate(INT_MAX, 100), ""); 128 EXPECT_DEATH(samples2.Accumulate(0, 100), ""); 129 EXPECT_DEATH(samples2.Accumulate(10, 100), ""); 155 EXPECT_DEATH(samples1.Add(samples2), ""); 156 EXPECT_DEATH(samples1.Subtract(samples2), ""); 161 EXPECT_DEATH(samples1.Add(samples2), ""); 162 EXPECT_DEATH(samples1.Subtract(samples2), ""); 167 EXPECT_DEATH(samples1.Add(samples2), "") [all...] |
/external/chromium/testing/gtest/include/gtest/ |
gtest-death-test.h | 56 // Here's what happens when an ASSERT_DEATH* or EXPECT_DEATH* is 76 // EXPECT_DEATH(server.ProcessRequest(i), 173 # define EXPECT_DEATH(statement, regex) \ 256 EXPECT_DEATH(statement, regex) 271 EXPECT_DEATH(statement, regex)
|
/external/chromium_org/testing/gtest/include/gtest/ |
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) \ 267 EXPECT_DEATH(statement, regex) 282 EXPECT_DEATH(statement, regex)
|
/external/chromium_org/third_party/mesa/src/src/gtest/include/gtest/ |
gtest-death-test.h | 56 // Here's what happens when an ASSERT_DEATH* or EXPECT_DEATH* is 76 // EXPECT_DEATH(server.ProcessRequest(i), 173 # define EXPECT_DEATH(statement, regex) \ 256 EXPECT_DEATH(statement, regex) 271 EXPECT_DEATH(statement, regex)
|
/external/gtest/include/gtest/ |
gtest-death-test.h | 56 // Here's what happens when an ASSERT_DEATH* or EXPECT_DEATH* is 76 // EXPECT_DEATH(server.ProcessRequest(i), 173 # define EXPECT_DEATH(statement, regex) \ 256 EXPECT_DEATH(statement, regex) 271 EXPECT_DEATH(statement, regex)
|
/external/llvm/utils/unittest/googletest/include/gtest/ |
gtest-death-test.h | 56 // Here's what happens when an ASSERT_DEATH* or EXPECT_DEATH* is 76 // EXPECT_DEATH(server.ProcessRequest(i), 173 # define EXPECT_DEATH(statement, regex) \ 256 EXPECT_DEATH(statement, regex) 271 EXPECT_DEATH(statement, regex)
|
/external/mesa3d/src/gtest/include/gtest/ |
gtest-death-test.h | 56 // Here's what happens when an ASSERT_DEATH* or EXPECT_DEATH* is 76 // EXPECT_DEATH(server.ProcessRequest(i), 173 # define EXPECT_DEATH(statement, regex) \ 256 EXPECT_DEATH(statement, regex) 271 EXPECT_DEATH(statement, regex)
|
/external/open-vcdiff/gtest/include/gtest/ |
gtest-death-test.h | 56 // Here's what happens when an ASSERT_DEATH* or EXPECT_DEATH* is 76 // EXPECT_DEATH(server.ProcessRequest(i), 173 #define EXPECT_DEATH(statement, regex) \ 256 EXPECT_DEATH(statement, regex) 271 EXPECT_DEATH(statement, regex)
|
/external/protobuf/gtest/include/gtest/ |
gtest-death-test.h | 56 // Here's what happens when an ASSERT_DEATH* or EXPECT_DEATH* is 76 // EXPECT_DEATH(server.ProcessRequest(i), 173 #define EXPECT_DEATH(statement, regex) \ 256 EXPECT_DEATH(statement, regex) 271 EXPECT_DEATH(statement, regex)
|
/ndk/sources/third_party/googletest/googletest/include/gtest/ |
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) \ 267 EXPECT_DEATH(statement, regex) 282 EXPECT_DEATH(statement, regex)
|
/external/protobuf/gtest/test/ |
gtest-death-test_test.cc | 186 EXPECT_DEATH(GlobalFunction(), "death.*GlobalFunction"); 282 EXPECT_DEATH(_exit(1), ""); 284 // This empty "else" branch is meant to ensure that EXPECT_DEATH 294 EXPECT_DEATH(_exit(1), "") << 1 << 2 << 3; 304 // Tests that EXPECT_DEATH and ASSERT_DEATH work when the error 309 EXPECT_DEATH(DieWithEmbeddedNul(), "my null world"); 330 EXPECT_DEATH(_exit(1), "") << "exit in switch case"; 349 EXPECT_DEATH(MemberFunction(), "inside.*MemberFunction"); 376 EXPECT_DEATH(MemberFunction(), "inside.*MemberFunction"); 398 EXPECT_DEATH(_exit(1), "") [all...] |