/ndk/sources/third_party/googletest/googletest/include/gtest/ |
D | gtest-spi.h | 40 namespace testing { 144 ::testing::TestPartResultArray gtest_failures;\ 145 ::testing::internal::SingleFailureChecker gtest_checker(\ 146 >est_failures, ::testing::TestPartResult::kFatalFailure, (substr));\ 148 ::testing::ScopedFakeTestPartResultReporter gtest_reporter(\ 149 ::testing::ScopedFakeTestPartResultReporter:: \ 153 } while (::testing::internal::AlwaysFalse()) 161 ::testing::TestPartResultArray gtest_failures;\ 162 ::testing::internal::SingleFailureChecker gtest_checker(\ 163 >est_failures, ::testing::TestPartResult::kFatalFailure, (substr));\ [all …]
|
D | gtest-typed-test.h | 46 class FooTest : public testing::Test { 57 typedef testing::Types<char, int, unsigned int> MyTypes; 106 class FooTest : public testing::Test { 140 typedef testing::Types<char, int, unsigned int> MyTypes; 166 typedef ::testing::internal::TypeList< Types >::type \ 179 ::testing::internal::TypeParameterizedTest< \ 181 ::testing::internal::TemplateSel< \ 220 static ::testing::internal::TypedTestCasePState \ 241 typedef ::testing::internal::Templates<__VA_ARGS__>::type gtest_AllTests_; \ 252 ::testing::internal::TypeParameterizedTestCase<CaseName, \ [all …]
|
D | gtest.h | 83 namespace testing { 1327 return ::testing::PrintToString(value); in Format() 1348 return ::testing::PrintToString(static_cast<const void*>(value)); \ 1367 return ::testing::PrintToString(value); \ 1838 ::testing::TestPartResult::kNonFatalFailure) 1947 EXPECT_PRED_FORMAT2(::testing::internal:: \ 1951 EXPECT_PRED_FORMAT2(::testing::internal::CmpHelperNE, expected, actual) 1953 EXPECT_PRED_FORMAT2(::testing::internal::CmpHelperLE, val1, val2) 1955 EXPECT_PRED_FORMAT2(::testing::internal::CmpHelperLT, val1, val2) 1957 EXPECT_PRED_FORMAT2(::testing::internal::CmpHelperGE, val1, val2) [all …]
|
/ndk/sources/third_party/googletest/googletest/include/gtest/internal/ |
D | gtest-death-test-internal.h | 44 namespace testing { 169 ::testing::internal::FormatFileLocation(__FILE__, __LINE__).c_str(), \ 172 death_test->Abort(::testing::internal::DeathTest::TEST_THREW_EXCEPTION); \ 174 death_test->Abort(::testing::internal::DeathTest::TEST_THREW_EXCEPTION); \ 187 if (::testing::internal::AlwaysTrue()) { \ 188 const ::testing::internal::RE& gtest_regex = (regex); \ 189 ::testing::internal::DeathTest* gtest_dt; \ 190 if (!::testing::internal::DeathTest::Create(#statement, >est_regex, \ 195 ::testing::internal::scoped_ptr< ::testing::internal::DeathTest> \ 198 case ::testing::internal::DeathTest::OVERSEE_TEST: \ [all …]
|
D | gtest-internal.h | 78 namespace testing { 132 (sizeof(::testing::internal::IsNullLiteralHelper(x)) == 1) 702 typename ::testing::internal::RemoveReference<T>::type 733 typename ::testing::internal::RemoveConst<T>::type 750 typename ::testing::internal::AddReference<T>::type 1014 ::testing::internal::AssertHelper(result_type, file, line, message) \ 1015 = ::testing::Message() 1021 return GTEST_MESSAGE_(message, ::testing::TestPartResult::kFatalFailure) 1024 GTEST_MESSAGE_(message, ::testing::TestPartResult::kNonFatalFailure) 1027 GTEST_MESSAGE_(message, ::testing::TestPartResult::kSuccess) [all …]
|
/ndk/sources/third_party/googletest/googletest/test/ |
D | gtest_output_test_.cc | 53 using testing::ScopedFakeTestPartResultReporter; 54 using testing::TestPartResultArray; 56 using testing::internal::Notification; 57 using testing::internal::ThreadWithParam; 60 namespace posix = ::testing::internal::posix; 61 using testing::internal::scoped_ptr; 80 if (testing::Test::HasFatalFailure()) return; in TryTestSubroutine() 94 class FailingParamTest : public testing::TestWithParam<int> {}; 104 testing::Values(2)); 170 SCOPED_TRACE(testing::Message() << "n = " << n); in SubWithTrace() [all …]
|
D | gtest-death-test_test.cc | 38 using testing::internal::AlwaysFalse; 39 using testing::internal::AlwaysTrue; 70 namespace posix = ::testing::internal::posix; 72 using testing::Message; 73 using testing::internal::DeathTest; 74 using testing::internal::DeathTestFactory; 75 using testing::internal::FilePath; 76 using testing::internal::GetLastErrnoDescription; 77 using testing::internal::GetUnitTestImpl; 78 using testing::internal::InDeathTestChild; [all …]
|
D | gtest_repeat_test.cc | 47 namespace testing { namespace 55 using testing::GTEST_FLAG(death_test_style); 56 using testing::GTEST_FLAG(filter); 57 using testing::GTEST_FLAG(repeat); 67 if (::testing::internal::IsTrue(expected_val != actual_val)) {\ 72 ::testing::internal::posix::Abort();\ 74 } while (::testing::internal::AlwaysFalse()) 83 class MyEnvironment : public testing::Environment { 116 EXPECT_DEATH_IF_SUPPORTED(::testing::internal::posix::Abort(), ""); in TEST() 119 EXPECT_DEATH_IF_SUPPORTED(::testing::internal::posix::Abort(), ""); in TEST() [all …]
|
D | gtest_xml_output_unittest_.cc | 43 using ::testing::InitGoogleTest; 44 using ::testing::TestEventListeners; 45 using ::testing::TestWithParam; 46 using ::testing::UnitTest; 47 using ::testing::Test; 48 using ::testing::Values; 127 testing::Test::RecordProperty(key, value); in ExternalUtilityThatCallsRecordProperty() 132 testing::Test::RecordProperty(key, value); in ExternalUtilityThatCallsRecordProperty() 154 typedef testing::Types<int, long> TypedTestTypes; 166 typedef testing::Types<int, long> TypeParameterizedTestCaseTypes; [all …]
|
D | gtest-listener_test.cc | 39 using ::testing::AddGlobalTestEnvironment; 40 using ::testing::Environment; 41 using ::testing::InitGoogleTest; 42 using ::testing::Test; 43 using ::testing::TestCase; 44 using ::testing::TestEventListener; 45 using ::testing::TestInfo; 46 using ::testing::TestPartResult; 47 using ::testing::UnitTest; 52 namespace testing { namespace [all …]
|
D | gtest_shuffle_test_.cc | 38 using ::testing::EmptyTestEventListener; 39 using ::testing::InitGoogleTest; 40 using ::testing::Message; 41 using ::testing::Test; 42 using ::testing::TestEventListeners; 43 using ::testing::TestInfo; 44 using ::testing::UnitTest; 45 using ::testing::internal::scoped_ptr;
|
D | gtest_list_tests_unittest_.cc | 62 class FooTest : public testing::Test { 94 class ValueParamTest : public testing::TestWithParam<MyType> { 105 testing::Values(MyType("one line"), 117 class TypedTest : public testing::Test { 124 typedef testing::Types<VeryLooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooo… 138 class TypeParamTest : public testing::Test { 154 ::testing::InitGoogleTest(&argc, argv); in main()
|
D | gtest_environment_test.cc | 42 namespace testing { namespace 53 class MyEnvironment : public testing::Environment { 119 testing::internal::posix::Abort(); in Check() 131 testing::internal::GetUnitTestImpl()->ClearAdHocTestResult(); in RunAllTests() 138 testing::InitGoogleTest(&argc, argv); in main() 143 Check(testing::AddGlobalTestEnvironment(env) == env, in main() 181 testing::GTEST_FLAG(filter) = "-*"; in main()
|
D | gtest-death-test_ex_test.cc | 57 << (testing::GTEST_FLAG(catch_exceptions) ? "enabled" : "disabled"); in TEST() 83 << (testing::GTEST_FLAG(catch_exceptions) ? "enabled" : "disabled"); in TEST() 90 testing::InitGoogleTest(&argc, argv); in main() 91 testing::GTEST_FLAG(catch_exceptions) = GTEST_ENABLE_CATCH_EXCEPTIONS_ != 0; in main()
|
D | gtest_filter_unittest_.cc | 47 class FooTest : public testing::Test { 121 class ParamTest : public testing::TestWithParam<int> { 130 INSTANTIATE_TEST_CASE_P(SeqP, ParamTest, testing::Values(1, 2)); 131 INSTANTIATE_TEST_CASE_P(SeqQ, ParamTest, testing::Values(5, 6)); 137 ::testing::InitGoogleTest(&argc, argv); in main()
|
D | gtest-message_test.cc | 40 using ::testing::Message; 67 EXPECT_PRED_FORMAT2(testing::IsSubstring, "1.234560", s.c_str()); in TEST() 68 EXPECT_PRED_FORMAT2(testing::IsSubstring, " 2.345669", s.c_str()); in TEST() 76 EXPECT_PRED_FORMAT2(testing::IsSubstring, "1260570880.45", s.c_str()); in TEST() 77 EXPECT_PRED_FORMAT2(testing::IsSubstring, " 1260572265.19", s.c_str()); in TEST() 151 EXPECT_EQ("Hello", testing::internal::StringStreamToString(&ss)); in TEST()
|
D | gtest-param-test_test.cc | 57 using ::testing::AddGlobalTestEnvironment; 58 using ::testing::Bool; 59 using ::testing::Message; 60 using ::testing::Range; 61 using ::testing::TestWithParam; 62 using ::testing::Values; 63 using ::testing::ValuesIn; 66 using ::testing::Combine; 72 using ::testing::internal::ParamGenerator; 73 using ::testing::internal::UnitTestOptions; [all …]
|
D | gtest_unittest.cc | 41 bool dummy = testing::GTEST_FLAG(also_run_disabled_tests) in TEST() 42 || testing::GTEST_FLAG(break_on_failure) in TEST() 43 || testing::GTEST_FLAG(catch_exceptions) in TEST() 44 || testing::GTEST_FLAG(color) != "unknown" in TEST() 45 || testing::GTEST_FLAG(filter) != "unknown" in TEST() 46 || testing::GTEST_FLAG(list_tests) in TEST() 47 || testing::GTEST_FLAG(output) != "unknown" in TEST() 48 || testing::GTEST_FLAG(print_time) in TEST() 49 || testing::GTEST_FLAG(random_seed) in TEST() 50 || testing::GTEST_FLAG(repeat) > 0 in TEST() [all …]
|
D | gtest-param-test_test.h | 46 class ExternalInstantiationTest : public ::testing::TestWithParam<int> { 52 : public ::testing::TestWithParam<int> {
|
D | gtest_env_var_test_.cc | 45 namespace testing { namespace 117 testing::InitGoogleTest(&argc, argv); in main() 124 testing::PrintFlag(argv[1]); in main()
|
D | gtest-param-test2_test.cc | 41 using ::testing::Values; 42 using ::testing::internal::ParamGenerator;
|
/ndk/sources/third_party/googletest/googletest/samples/ |
D | sample10_unittest.cc | 39 using ::testing::EmptyTestEventListener; 40 using ::testing::InitGoogleTest; 41 using ::testing::Test; 42 using ::testing::TestCase; 43 using ::testing::TestEventListeners; 44 using ::testing::TestInfo; 45 using ::testing::TestPartResult; 46 using ::testing::UnitTest;
|
D | sample9_unittest.cc | 39 using ::testing::EmptyTestEventListener; 40 using ::testing::InitGoogleTest; 41 using ::testing::Test; 42 using ::testing::TestCase; 43 using ::testing::TestEventListeners; 44 using ::testing::TestInfo; 45 using ::testing::TestPartResult; 46 using ::testing::UnitTest;
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/diagnostics/syserr/syserr.errcode/syserr.errcode.constructors/ |
D | ErrorCodeEnum.pass.cpp | 19 enum testing enum 27 template <> struct is_error_code_enum<testing> : public std::true_type {}; 32 make_error_code(testing x) in make_error_code()
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/diagnostics/syserr/syserr.errcode/syserr.errcode.modifiers/ |
D | ErrorCodeEnum.pass.cpp | 19 enum testing enum 27 template <> struct is_error_code_enum<testing> : public std::true_type {}; 32 make_error_code(testing x) in make_error_code()
|