Lines Matching refs:unit_test

639     UnitTestImpl* unit_test) : unit_test_(unit_test) {}  in DefaultGlobalTestPartResultReporter()  argument
648 UnitTestImpl* unit_test) : unit_test_(unit_test) {} in DefaultPerThreadTestPartResultReporter() argument
2672 virtual void OnTestIterationStart(const UnitTest& unit_test, int iteration);
2673 virtual void OnEnvironmentsSetUpStart(const UnitTest& unit_test);
2680 virtual void OnEnvironmentsTearDownStart(const UnitTest& unit_test);
2682 virtual void OnTestIterationEnd(const UnitTest& unit_test, int iteration);
2686 static void PrintFailedTests(const UnitTest& unit_test);
2693 const UnitTest& unit_test, int iteration) { in OnTestIterationStart() argument
2716 unit_test.random_seed()); in OnTestIterationStart()
2721 FormatTestCount(unit_test.test_to_run_count()).c_str(), in OnTestIterationStart()
2722 FormatTestCaseCount(unit_test.test_case_to_run_count()).c_str()); in OnTestIterationStart()
2807 void PrettyUnitTestResultPrinter::PrintFailedTests(const UnitTest& unit_test) { in PrintFailedTests() argument
2808 const int failed_test_count = unit_test.failed_test_count(); in PrintFailedTests()
2813 for (int i = 0; i < unit_test.total_test_case_count(); ++i) { in PrintFailedTests()
2814 const TestCase& test_case = *unit_test.GetTestCase(i); in PrintFailedTests()
2838 void PrettyUnitTestResultPrinter::OnTestIterationEnd(const UnitTest& unit_test, in OnTestIterationEnd() argument
2842 FormatTestCount(unit_test.test_to_run_count()).c_str(), in OnTestIterationEnd()
2843 FormatTestCaseCount(unit_test.test_case_to_run_count()).c_str()); in OnTestIterationEnd()
2846 internal::StreamableToString(unit_test.elapsed_time()).c_str()); in OnTestIterationEnd()
2850 printf("%s.\n", FormatTestCount(unit_test.successful_test_count()).c_str()); in OnTestIterationEnd()
2852 int num_failures = unit_test.failed_test_count(); in OnTestIterationEnd()
2853 if (!unit_test.Passed()) { in OnTestIterationEnd()
2854 const int failed_test_count = unit_test.failed_test_count(); in OnTestIterationEnd()
2857 PrintFailedTests(unit_test); in OnTestIterationEnd()
2862 int num_disabled = unit_test.disabled_test_count(); in OnTestIterationEnd()
2893 virtual void OnTestProgramStart(const UnitTest& unit_test);
2894 virtual void OnTestIterationStart(const UnitTest& unit_test, int iteration);
2895 virtual void OnEnvironmentsSetUpStart(const UnitTest& unit_test);
2896 virtual void OnEnvironmentsSetUpEnd(const UnitTest& unit_test);
2902 virtual void OnEnvironmentsTearDownStart(const UnitTest& unit_test);
2903 virtual void OnEnvironmentsTearDownEnd(const UnitTest& unit_test);
2904 virtual void OnTestIterationEnd(const UnitTest& unit_test, int iteration);
2905 virtual void OnTestProgramEnd(const UnitTest& unit_test);
2973 void TestEventRepeater::OnTestIterationStart(const UnitTest& unit_test, in GTEST_REPEATER_METHOD_()
2977 listeners_[i]->OnTestIterationStart(unit_test, iteration); in GTEST_REPEATER_METHOD_()
2982 void TestEventRepeater::OnTestIterationEnd(const UnitTest& unit_test, in OnTestIterationEnd() argument
2986 listeners_[i]->OnTestIterationEnd(unit_test, iteration); in OnTestIterationEnd()
2998 virtual void OnTestIterationEnd(const UnitTest& unit_test, int iteration);
3041 static void PrintXmlUnitTest(FILE* out, const UnitTest& unit_test);
3066 void XmlUnitTestResultPrinter::OnTestIterationEnd(const UnitTest& unit_test, in OnTestIterationEnd() argument
3092 PrintXmlUnitTest(xmlout, unit_test); in OnTestIterationEnd()
3271 const UnitTest& unit_test) { in PrintXmlUnitTest() argument
3276 unit_test.total_test_count(), in PrintXmlUnitTest()
3277 unit_test.failed_test_count(), in PrintXmlUnitTest()
3278 unit_test.disabled_test_count(), in PrintXmlUnitTest()
3279 FormatTimeInMillisAsSeconds(unit_test.elapsed_time()).c_str()); in PrintXmlUnitTest()
3281 fprintf(out, "random_seed=\"%d\" ", unit_test.random_seed()); in PrintXmlUnitTest()
3284 for (int i = 0; i < unit_test.total_test_case_count(); ++i) in PrintXmlUnitTest()
3285 PrintXmlTestCase(out, *unit_test.GetTestCase(i)); in PrintXmlUnitTest()