Lines Matching refs:unit_test

665     UnitTestImpl* unit_test) : unit_test_(unit_test) {}  in DefaultGlobalTestPartResultReporter()  argument
674 UnitTestImpl* unit_test) : unit_test_(unit_test) {} in DefaultPerThreadTestPartResultReporter() argument
2701 virtual void OnTestIterationStart(const UnitTest& unit_test, int iteration);
2702 virtual void OnEnvironmentsSetUpStart(const UnitTest& unit_test);
2709 virtual void OnEnvironmentsTearDownStart(const UnitTest& unit_test);
2711 virtual void OnTestIterationEnd(const UnitTest& unit_test, int iteration);
2715 static void PrintFailedTests(const UnitTest& unit_test);
2720 const UnitTest& unit_test, int iteration) { in OnTestIterationStart() argument
2744 unit_test.random_seed()); in OnTestIterationStart()
2749 FormatTestCount(unit_test.test_to_run_count()).c_str(), in OnTestIterationStart()
2750 FormatTestCaseCount(unit_test.test_case_to_run_count()).c_str()); in OnTestIterationStart()
2832 void PrettyUnitTestResultPrinter::PrintFailedTests(const UnitTest& unit_test) { in PrintFailedTests() argument
2833 const int failed_test_count = unit_test.failed_test_count(); in PrintFailedTests()
2838 for (int i = 0; i < unit_test.total_test_case_count(); ++i) { in PrintFailedTests()
2839 const TestCase& test_case = *unit_test.GetTestCase(i); in PrintFailedTests()
2856 void PrettyUnitTestResultPrinter::OnTestIterationEnd(const UnitTest& unit_test, in OnTestIterationEnd() argument
2860 FormatTestCount(unit_test.test_to_run_count()).c_str(), in OnTestIterationEnd()
2861 FormatTestCaseCount(unit_test.test_case_to_run_count()).c_str()); in OnTestIterationEnd()
2864 internal::StreamableToString(unit_test.elapsed_time()).c_str()); in OnTestIterationEnd()
2868 printf("%s.\n", FormatTestCount(unit_test.successful_test_count()).c_str()); in OnTestIterationEnd()
2870 int num_failures = unit_test.failed_test_count(); in OnTestIterationEnd()
2871 if (!unit_test.Passed()) { in OnTestIterationEnd()
2872 const int failed_test_count = unit_test.failed_test_count(); in OnTestIterationEnd()
2875 PrintFailedTests(unit_test); in OnTestIterationEnd()
2880 int num_disabled = unit_test.reportable_disabled_test_count(); in OnTestIterationEnd()
2911 virtual void OnTestProgramStart(const UnitTest& unit_test);
2912 virtual void OnTestIterationStart(const UnitTest& unit_test, int iteration);
2913 virtual void OnEnvironmentsSetUpStart(const UnitTest& unit_test);
2914 virtual void OnEnvironmentsSetUpEnd(const UnitTest& unit_test);
2920 virtual void OnEnvironmentsTearDownStart(const UnitTest& unit_test);
2921 virtual void OnEnvironmentsTearDownEnd(const UnitTest& unit_test);
2922 virtual void OnTestIterationEnd(const UnitTest& unit_test, int iteration);
2923 virtual void OnTestProgramEnd(const UnitTest& unit_test);
2991 void TestEventRepeater::OnTestIterationStart(const UnitTest& unit_test, in GTEST_REPEATER_METHOD_()
2995 listeners_[i]->OnTestIterationStart(unit_test, iteration); in GTEST_REPEATER_METHOD_()
3000 void TestEventRepeater::OnTestIterationEnd(const UnitTest& unit_test, in OnTestIterationEnd() argument
3004 listeners_[i]->OnTestIterationEnd(unit_test, iteration); in OnTestIterationEnd()
3016 virtual void OnTestIterationEnd(const UnitTest& unit_test, int iteration);
3070 const UnitTest& unit_test);
3095 void XmlUnitTestResultPrinter::OnTestIterationEnd(const UnitTest& unit_test, in OnTestIterationEnd() argument
3122 PrintXmlUnitTest(&stream, unit_test); in OnTestIterationEnd()
3360 const UnitTest& unit_test) { in PrintXmlUnitTest() argument
3367 StreamableToString(unit_test.reportable_test_count())); in PrintXmlUnitTest()
3369 StreamableToString(unit_test.failed_test_count())); in PrintXmlUnitTest()
3372 StreamableToString(unit_test.reportable_disabled_test_count())); in PrintXmlUnitTest()
3376 FormatEpochTimeInMillisAsIso8601(unit_test.start_timestamp())); in PrintXmlUnitTest()
3378 FormatTimeInMillisAsSeconds(unit_test.elapsed_time())); in PrintXmlUnitTest()
3382 StreamableToString(unit_test.random_seed())); in PrintXmlUnitTest()
3385 *stream << TestPropertiesAsXmlAttributes(unit_test.ad_hoc_test_result()); in PrintXmlUnitTest()
3390 for (int i = 0; i < unit_test.total_test_case_count(); ++i) { in PrintXmlUnitTest()
3391 if (unit_test.GetTestCase(i)->reportable_test_count() > 0) in PrintXmlUnitTest()
3392 PrintXmlTestCase(stream, *unit_test.GetTestCase(i)); in PrintXmlUnitTest()