Lines Matching refs:unit_test

687     UnitTestImpl* unit_test) : unit_test_(unit_test) {}  in DefaultGlobalTestPartResultReporter()  argument
696 UnitTestImpl* unit_test) : unit_test_(unit_test) {} in DefaultPerThreadTestPartResultReporter() argument
3036 virtual void OnTestIterationStart(const UnitTest& unit_test, int iteration);
3037 virtual void OnEnvironmentsSetUpStart(const UnitTest& unit_test);
3044 virtual void OnEnvironmentsTearDownStart(const UnitTest& unit_test);
3046 virtual void OnTestIterationEnd(const UnitTest& unit_test, int iteration);
3050 static void PrintFailedTests(const UnitTest& unit_test);
3055 const UnitTest& unit_test, int iteration) { in OnTestIterationStart() argument
3079 unit_test.random_seed()); in OnTestIterationStart()
3084 FormatTestCount(unit_test.test_to_run_count()).c_str(), in OnTestIterationStart()
3085 FormatTestCaseCount(unit_test.test_case_to_run_count()).c_str()); in OnTestIterationStart()
3167 void PrettyUnitTestResultPrinter::PrintFailedTests(const UnitTest& unit_test) { in PrintFailedTests() argument
3168 const int failed_test_count = unit_test.failed_test_count(); in PrintFailedTests()
3173 for (int i = 0; i < unit_test.total_test_case_count(); ++i) { in PrintFailedTests()
3174 const TestCase& test_case = *unit_test.GetTestCase(i); in PrintFailedTests()
3191 void PrettyUnitTestResultPrinter::OnTestIterationEnd(const UnitTest& unit_test, in OnTestIterationEnd() argument
3195 FormatTestCount(unit_test.test_to_run_count()).c_str(), in OnTestIterationEnd()
3196 FormatTestCaseCount(unit_test.test_case_to_run_count()).c_str()); in OnTestIterationEnd()
3199 internal::StreamableToString(unit_test.elapsed_time()).c_str()); in OnTestIterationEnd()
3203 printf("%s.\n", FormatTestCount(unit_test.successful_test_count()).c_str()); in OnTestIterationEnd()
3205 int num_failures = unit_test.failed_test_count(); in OnTestIterationEnd()
3206 if (!unit_test.Passed()) { in OnTestIterationEnd()
3207 const int failed_test_count = unit_test.failed_test_count(); in OnTestIterationEnd()
3210 PrintFailedTests(unit_test); in OnTestIterationEnd()
3215 int num_disabled = unit_test.reportable_disabled_test_count(); in OnTestIterationEnd()
3246 virtual void OnTestProgramStart(const UnitTest& unit_test);
3247 virtual void OnTestIterationStart(const UnitTest& unit_test, int iteration);
3248 virtual void OnEnvironmentsSetUpStart(const UnitTest& unit_test);
3249 virtual void OnEnvironmentsSetUpEnd(const UnitTest& unit_test);
3255 virtual void OnEnvironmentsTearDownStart(const UnitTest& unit_test);
3256 virtual void OnEnvironmentsTearDownEnd(const UnitTest& unit_test);
3257 virtual void OnTestIterationEnd(const UnitTest& unit_test, int iteration);
3258 virtual void OnTestProgramEnd(const UnitTest& unit_test);
3326 void TestEventRepeater::OnTestIterationStart(const UnitTest& unit_test, in GTEST_REPEATER_METHOD_()
3330 listeners_[i]->OnTestIterationStart(unit_test, iteration); in GTEST_REPEATER_METHOD_()
3335 void TestEventRepeater::OnTestIterationEnd(const UnitTest& unit_test, in OnTestIterationEnd() argument
3339 listeners_[i]->OnTestIterationEnd(unit_test, iteration); in OnTestIterationEnd()
3351 virtual void OnTestIterationEnd(const UnitTest& unit_test, int iteration);
3405 const UnitTest& unit_test);
3430 void XmlUnitTestResultPrinter::OnTestIterationEnd(const UnitTest& unit_test, in OnTestIterationEnd() argument
3457 PrintXmlUnitTest(&stream, unit_test); in OnTestIterationEnd()
3700 const UnitTest& unit_test) { in PrintXmlUnitTest() argument
3707 StreamableToString(unit_test.reportable_test_count())); in PrintXmlUnitTest()
3709 StreamableToString(unit_test.failed_test_count())); in PrintXmlUnitTest()
3712 StreamableToString(unit_test.reportable_disabled_test_count())); in PrintXmlUnitTest()
3716 FormatEpochTimeInMillisAsIso8601(unit_test.start_timestamp())); in PrintXmlUnitTest()
3718 FormatTimeInMillisAsSeconds(unit_test.elapsed_time())); in PrintXmlUnitTest()
3722 StreamableToString(unit_test.random_seed())); in PrintXmlUnitTest()
3725 *stream << TestPropertiesAsXmlAttributes(unit_test.ad_hoc_test_result()); in PrintXmlUnitTest()
3730 for (int i = 0; i < unit_test.total_test_case_count(); ++i) { in PrintXmlUnitTest()
3731 if (unit_test.GetTestCase(i)->reportable_test_count() > 0) in PrintXmlUnitTest()
3732 PrintXmlTestCase(stream, *unit_test.GetTestCase(i)); in PrintXmlUnitTest()