Lines Matching refs:testing

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);
224 const testing::TestInfo* pinfo_;
228 void TestResultPrinter::OnTestPartResult(const testing::TestPartResult& result) { in OnTestPartResult()
230 if (result.type() == testing::TestPartResult::kSuccess) in OnTestPartResult()
329 if (testing::GTEST_FLAG(print_time)) { in OnTestEndPrint()
349 if (testing::GTEST_FLAG(print_time)) { in OnTestEndPrint()
397 if (testing::GTEST_FLAG(print_time)) { in OnTestIterationEndPrint()
610 testing::InitGoogleTest(&new_argc, new_argv); in ChildProcessFn()
831 testing::UnitTest::GetInstance()->listeners().Release( in RunTestInSeparateProc()
832 testing::UnitTest::GetInstance()->listeners().default_result_printer()); in RunTestInSeparateProc()
833 testing::UnitTest::GetInstance()->listeners().Append(new TestResultPrinter); in RunTestInSeparateProc()
1023 options.gtest_color = testing::GTEST_FLAG(color); in PickOptions()
1024 options.gtest_print_time = testing::GTEST_FLAG(print_time); in PickOptions()
1025 options.gtest_repeat = testing::GTEST_FLAG(repeat); in PickOptions()
1026 options.gtest_output = testing::GTEST_FLAG(output); in PickOptions()
1141 testing::GTEST_FLAG(color) = options.gtest_color.c_str(); in main()
1142 testing::GTEST_FLAG(print_time) = options.gtest_print_time; in main()
1156 testing::InitGoogleTest(&argc, arg_list.data()); in main()
1185 class bionic_selftest_DeathTest : public ::testing::Test {
1188 ::testing::FLAGS_gtest_death_test_style = "threadsafe"; in SetUp()
1198 ASSERT_EXIT(deathtest_helper_success(), ::testing::ExitedWithCode(0), ""); in TEST_F()
1206 ASSERT_EXIT(deathtest_helper_fail(), ::testing::ExitedWithCode(0), ""); in TEST_F()