Lines Matching refs:testing
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);
208 const testing::TestInfo* pinfo_;
212 void TestResultPrinter::OnTestPartResult(const testing::TestPartResult& result) { in OnTestPartResult()
214 if (result.type() == testing::TestPartResult::kSuccess) in OnTestPartResult()
315 if (testing::GTEST_FLAG(print_time)) { in OnTestEndPrint()
335 if (testing::GTEST_FLAG(print_time)) { in OnTestEndPrint()
383 if (testing::GTEST_FLAG(print_time)) { in OnTestIterationEndPrint()
528 testing::InitGoogleTest(&new_argc, new_argv); in ChildProcessFn()
749 testing::UnitTest::GetInstance()->listeners().Release( in RunTestInSeparateProc()
750 testing::UnitTest::GetInstance()->listeners().default_result_printer()); in RunTestInSeparateProc()
751 testing::UnitTest::GetInstance()->listeners().Append(new TestResultPrinter); in RunTestInSeparateProc()
960 options.gtest_color = testing::GTEST_FLAG(color); in PickOptions()
961 options.gtest_print_time = testing::GTEST_FLAG(print_time); in PickOptions()
962 options.gtest_repeat = testing::GTEST_FLAG(repeat); in PickOptions()
963 options.gtest_output = testing::GTEST_FLAG(output); in PickOptions()
1066 testing::GTEST_FLAG(color) = options.gtest_color.c_str(); in main()
1067 testing::GTEST_FLAG(print_time) = options.gtest_print_time; in main()
1081 testing::InitGoogleTest(&argc, arg_list.data()); in main()
1118 ASSERT_EXIT(deathtest_helper_success(), ::testing::ExitedWithCode(0), ""); in TEST_F()
1126 ASSERT_EXIT(deathtest_helper_fail(), ::testing::ExitedWithCode(0), ""); in TEST_F()