| 4720 | } |
| 4721 | |
| 4722 | void PrettyUnitTestResultPrinter::OnTestCaseEnd(const TestSuite& test_suite) { |
| 4723 | if (!GTEST_FLAG(print_time)) return; |
| 4724 | |
| 4725 | const std::string counts = |
| 4726 | FormatCountableNoun(test_suite.test_to_run_count(), "test", "tests"); |
| 4727 | ColoredPrintf(COLOR_GREEN, "[----------] "); |
| 4728 | printf("%s from %s (%s ms total)\n\n", counts.c_str(), test_suite.name(), |
| 4729 | internal::StreamableToString(test_suite.elapsed_time()).c_str()); |
| 4730 | fflush(stdout); |
| 4731 | } |
| 4732 | |
| 4733 | void PrettyUnitTestResultPrinter::OnEnvironmentsTearDownStart( |
| 4734 | const UnitTest& /*unit_test*/) { |
no test coverage detected