/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 | 39 namespace testing { namespace 55 using testing::internal::GTestColor; 56 using testing::internal::COLOR_DEFAULT; 57 using testing::internal::COLOR_RED; 58 using testing::internal::COLOR_GREEN; 59 using testing::internal::COLOR_YELLOW; 60 using testing::internal::ColoredPrintf; 199 class TestResultPrinter : public testing::EmptyTestEventListener { 202 virtual void OnTestStart(const testing::TestInfo& test_info) { in OnTestStart() 205 virtual void OnTestPartResult(const testing::TestPartResult& result); [all …]
|
D | atexit_test.cpp | 107 ASSERT_EXIT(atexit_main(), testing::ExitedWithCode(0), "123456"); in TEST()
|
D | stack_protector_test.cpp | 130 ASSERT_EXIT(do_modify_stack_chk_guard(), testing::KilledBySignal(SIGABRT), ""); in TEST_F()
|
D | sys_resource_test.cpp | 31 class SysResourceTest : public ::testing::Test {
|
D | math_data_test.h | 117 ::testing::AssertionResult operator()(const char* /* expected_expression */, 122 return ::testing::AssertionSuccess(); 131 return ::testing::AssertionFailure()
|
D | __cxa_thread_atexit_test.cpp | 73 ASSERT_EXIT(thread_atexit_main(), testing::ExitedWithCode(0), "d-tor for main thread called."); in TEST()
|
D | dlext_test.cpp | 46 ASSERT_PRED_FORMAT2(::testing::IsSubstring, needle, haystack) 65 class DlExtTest : public ::testing::Test {
|
D | pthread_test.cpp | 355 ASSERT_EXIT(TestBug37410::main(), ::testing::ExitedWithCode(0), ""); in TEST_F() 1049 class pthread_CondWakeupTest : public ::testing::Test { 1560 ASSERT_EXIT(pthread_mutex_lock(null_value), testing::KilledBySignal(SIGSEGV), ""); in TEST_F() 1569 ASSERT_EXIT(pthread_mutex_unlock(null_value), testing::KilledBySignal(SIGSEGV), ""); in TEST_F()
|
D | fortify_test.cpp | 32 #define ASSERT_FORTIFY(expr) ASSERT_EXIT(expr, testing::KilledBySignal(SIGABRT), "FORTIFY") 34 #define ASSERT_FORTIFY(expr) ASSERT_EXIT(expr, testing::KilledBySignal(SIGABRT), "")
|
D | stdlib_test.cpp | 243 ASSERT_EXIT(TestBug57421_main(), ::testing::ExitedWithCode(0), ""); in TEST_F()
|
D | unistd_test.cpp | 473 ASSERT_EXIT(abort(), testing::KilledBySignal(SIGABRT), ""); in TEST_F()
|
D | dlfcn_test.cpp | 32 ASSERT_PRED_FORMAT2(::testing::IsSubstring, needle, haystack)
|
/bionic/benchmarks/ |
D | main.cpp | 27 if (::testing::Benchmark::List().empty()) { in main() 51 if (::testing::Benchmark::RunAll(regs) == 0) { in main() 54 for (const auto& benchmark : ::testing::Benchmark::List()) { in main()
|
D | pthread_benchmark.cpp | 174 ::testing::Benchmark* benchmark = reinterpret_cast<::testing::Benchmark*>(arg); in RunThread() 192 ::testing::Benchmark* benchmark = reinterpret_cast<::testing::Benchmark*>(arg); in ExitThread()
|
D | stdio_benchmark.cpp | 30 void ReadWriteTest(::testing::Benchmark* benchmark, int iters, int chunk_size, Fn f, bool buffered)… in ReadWriteTest()
|
D | Benchmark.cpp | 33 namespace testing { namespace
|
/bionic/benchmarks/benchmark/ |
D | Benchmark.h | 26 namespace testing { 158 BENCHMARK_START(f, ::testing::BenchmarkWithoutArg) \ 161 static ::testing::Benchmark* __benchmark_##f = new f() 164 BENCHMARK_START(f, ::testing::BenchmarkWithArg<arg_type>) \ 167 static ::testing::BenchmarkWithArg<arg_type>* __benchmark_##f = (new f())
|
/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 | 127 testing::FLAGS_gtest_death_test_style = "threadsafe"; in TEST() 128 ASSERT_EXIT(protect_all(), testing::KilledBySignal(SIGSEGV), "trying to access protected page"); in TEST()
|
/bionic/libm/ |
D | NOTICE | 82 The argument reduction and testing for exceptional cases was
|