Home
last modified time | relevance | path

Searched refs:testing (Results 1 – 20 of 20) sorted by relevance

/bionic/tests/
Derror_test.cpp59 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()
DBionicDeathTest.h24 class BionicDeathTest : public testing::Test {
30 ::testing::FLAGS_gtest_death_test_style = "threadsafe"; in SetUp()
Dgtest_main.cpp55 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 …]
Dstack_protector_test.cpp108 testing::KilledBySignal(SIGABRT), "stack corruption detected"); in TEST_F()
Datexit_test.cpp117 ASSERT_EXIT(atexit_main(), testing::ExitedWithCode(0), "123456"); in TEST()
Dsys_resource_test.cpp31 class SysResourceTest : public ::testing::Test {
D__cxa_thread_atexit_test.cpp89 ASSERT_EXIT(thread_atexit_main(), testing::ExitedWithCode(0), "d-tor for main thread called."); in TEST()
Dmath_data_test.h129 ::testing::AssertionResult operator()(const char* /* expected_expression */,
134 return ::testing::AssertionSuccess();
143 return ::testing::AssertionFailure()
Dsemaphore_test.cpp139 ASSERT_EXIT(sem_timedwait(&s, nullptr), testing::KilledBySignal(SIGSEGV), ""); in TEST()
Dfortify_test.cpp40 #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()
Dstdlib_test.cpp245 ASSERT_EXIT(TestBug57421_main(), ::testing::ExitedWithCode(0), ""); in TEST_F()
Dpthread_test.cpp349 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()
Ddlext_test.cpp49 ASSERT_PRED_FORMAT2(::testing::IsSubstring, needle, haystack)
68 class DlExtTest : public ::testing::Test {
Dunistd_test.cpp486 ASSERT_EXIT(abort(), testing::KilledBySignal(SIGABRT), ""); in TEST_F()
Ddlfcn_test.cpp32 ASSERT_PRED_FORMAT2(::testing::IsSubstring, needle, haystack)
/bionic/tools/relocation_packer/src/
Ddebug_unittest.cc102 ::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/
Dlinker_block_allocator_test.cpp133 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/
Dmalloc_debug_config_tests.cpp30 class MallocDebugConfigTest : public ::testing::Test {
Dmalloc_debug_unit_tests.cpp82 class MallocDebugTest : public ::testing::Test {
/bionic/libm/
DNOTICE82 The argument reduction and testing for exceptional cases was