/bionic/tests/ |
D | error_test.cpp | 59 ASSERT_EXIT(error(22, 0, "x%c", 'y'), ::testing::ExitedWithCode(22), "xy"); in TEST() 63 …ASSERT_EXIT(error(22, EBADF, "x%c", 'y'), ::testing::ExitedWithCode(22), ": xy: Bad file descripto… in TEST() 67 …ASSERT_EXIT(error_at_line(22, 0, "a.c", 123, "x%c", 'y'), ::testing::ExitedWithCode(22), ":a.c:123… in TEST() 71 …ASSERT_EXIT(error_at_line(22, EBADF, "a.c", 123, "x%c", 'y'), ::testing::ExitedWithCode(22), ":a.c… in TEST()
|
D | BionicDeathTest.h | 24 class BionicDeathTest : public testing::Test { 30 ::testing::FLAGS_gtest_death_test_style = "threadsafe"; in SetUp()
|
D | gtest_main.cpp | 71 namespace testing { namespace 87 using testing::internal::GTestColor; 88 using testing::internal::COLOR_DEFAULT; 89 using testing::internal::COLOR_RED; 90 using testing::internal::COLOR_GREEN; 91 using testing::internal::COLOR_YELLOW; 92 using testing::internal::ColoredPrintf; 243 class TestResultPrinter : public testing::EmptyTestEventListener { 246 virtual void OnTestStart(const testing::TestInfo& test_info) { in OnTestStart() 249 virtual void OnTestPartResult(const testing::TestPartResult& result); [all …]
|
D | stack_protector_test.cpp | 108 testing::KilledBySignal(SIGABRT), "stack corruption detected"); in TEST_F()
|
D | atexit_test.cpp | 117 ASSERT_EXIT(atexit_main(), testing::ExitedWithCode(0), "123456"); in TEST()
|
D | __cxa_thread_atexit_test.cpp | 73 ASSERT_EXIT(thread_atexit_main(), testing::ExitedWithCode(0), "d-tor for main thread called."); in TEST()
|
D | sys_resource_test.cpp | 31 class SysResourceTest : public ::testing::Test {
|
D | math_data_test.h | 151 ::testing::AssertionResult operator()(const char* /* expected_expression */, 156 return ::testing::AssertionSuccess(); 159 return ::testing::AssertionFailure()
|
D | semaphore_test.cpp | 139 ASSERT_EXIT(sem_timedwait(&s, nullptr), testing::KilledBySignal(SIGSEGV), ""); in TEST()
|
D | fortify_test.cpp | 40 #define ASSERT_FORTIFY(expr) ASSERT_EXIT(expr, testing::KilledBySignal(SIGABRT), "FORTIFY") 42 #define ASSERT_FORTIFY(expr) ASSERT_EXIT(expr, testing::KilledBySignal(SIGABRT), "") 696 ASSERT_EXIT(write(fd, buf, ct), testing::KilledBySignal(SIGABRT), ""); in TEST_F()
|
D | sys_ptrace_test.cpp | 368 class PtraceResumptionTest : public ::testing::Test {
|
D | pthread_test.cpp | 350 ASSERT_EXIT(TestBug37410::main(), ::testing::ExitedWithCode(0), ""); in TEST_F() 1197 class pthread_CondWakeupTest : public ::testing::Test { 1870 ASSERT_EXIT(pthread_mutex_lock(null_value), testing::KilledBySignal(SIGSEGV), ""); in TEST_F() 1879 ASSERT_EXIT(pthread_mutex_unlock(null_value), testing::KilledBySignal(SIGSEGV), ""); in TEST_F()
|
D | stdlib_test.cpp | 247 ASSERT_EXIT(TestBug57421_main(), ::testing::ExitedWithCode(0), ""); in TEST_F()
|
D | unistd_test.cpp | 626 ASSERT_EXIT(abort(), testing::KilledBySignal(SIGABRT), ""); in TEST_F() 1372 ASSERT_EXIT(execve("/system/bin/run-as", args, envs), testing::ExitedWithCode(1), in TEST()
|
D | stdio_test.cpp | 1447 testing::KilledBySignal(SIGABRT), in TEST() 1459 testing::KilledBySignal(SIGABRT), in TEST()
|
D | dlext_test.cpp | 56 ASSERT_PRED_FORMAT2(::testing::IsSubstring, needle, haystack) 65 class DlExtTest : public ::testing::Test {
|
D | dlfcn_test.cpp | 47 ASSERT_PRED_FORMAT2(::testing::IsSubstring, needle, haystack)
|
/bionic/tools/relocation_packer/src/ |
D | debug_unittest.cc | 102 ::testing::FLAGS_gtest_death_test_style = "threadsafe"; in TEST() 110 ::testing::FLAGS_gtest_death_test_style = "threadsafe"; in TEST() 117 ::testing::FLAGS_gtest_death_test_style = "threadsafe"; in TEST()
|
/bionic/linker/tests/ |
D | linker_block_allocator_test.cpp | 145 testing::FLAGS_gtest_death_test_style = "threadsafe"; in TEST() 146 ASSERT_EXIT(protect_all(), testing::KilledBySignal(SIGSEGV), "trying to access protected page"); in TEST()
|
/bionic/libc/malloc_debug/tests/ |
D | malloc_debug_config_tests.cpp | 28 class MallocDebugConfigTest : public ::testing::Test {
|
D | malloc_debug_unit_tests.cpp | 85 class MallocDebugTest : public ::testing::Test {
|
/bionic/libc/ |
D | NOTICE | 215 The argument reduction and testing for exceptional cases was
|