Searched refs:testing (Results 1 – 20 of 20) sorted by relevance
/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 | 55 namespace testing { namespace 71 using testing::internal::GTestColor; 72 using testing::internal::COLOR_DEFAULT; 73 using testing::internal::COLOR_RED; 74 using testing::internal::COLOR_GREEN; 75 using testing::internal::COLOR_YELLOW; 76 using testing::internal::ColoredPrintf; 215 class TestResultPrinter : public testing::EmptyTestEventListener { 218 virtual void OnTestStart(const testing::TestInfo& test_info) { in OnTestStart() 221 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 | sys_resource_test.cpp | 31 class SysResourceTest : public ::testing::Test {
|
D | __cxa_thread_atexit_test.cpp | 89 ASSERT_EXIT(thread_atexit_main(), testing::ExitedWithCode(0), "d-tor for main thread called."); in TEST()
|
D | math_data_test.h | 129 ::testing::AssertionResult operator()(const char* /* expected_expression */, 134 return ::testing::AssertionSuccess(); 143 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), "") 684 ASSERT_EXIT(write(fd, buf, ct), testing::KilledBySignal(SIGABRT), ""); in TEST_F()
|
D | stdlib_test.cpp | 245 ASSERT_EXIT(TestBug57421_main(), ::testing::ExitedWithCode(0), ""); in TEST_F()
|
D | pthread_test.cpp | 349 ASSERT_EXIT(TestBug37410::main(), ::testing::ExitedWithCode(0), ""); in TEST_F() 1116 class pthread_CondWakeupTest : public ::testing::Test { 1771 ASSERT_EXIT(pthread_mutex_lock(null_value), testing::KilledBySignal(SIGSEGV), ""); in TEST_F() 1780 ASSERT_EXIT(pthread_mutex_unlock(null_value), testing::KilledBySignal(SIGSEGV), ""); in TEST_F()
|
D | dlext_test.cpp | 49 ASSERT_PRED_FORMAT2(::testing::IsSubstring, needle, haystack) 68 class DlExtTest : public ::testing::Test {
|
D | unistd_test.cpp | 486 ASSERT_EXIT(abort(), testing::KilledBySignal(SIGABRT), ""); in TEST_F()
|
D | dlfcn_test.cpp | 32 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 | 133 testing::FLAGS_gtest_death_test_style = "threadsafe"; in TEST() 134 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 | 30 class MallocDebugConfigTest : public ::testing::Test {
|
D | malloc_debug_unit_tests.cpp | 82 class MallocDebugTest : public ::testing::Test {
|
/bionic/libm/ |
D | NOTICE | 82 The argument reduction and testing for exceptional cases was
|