| 4583 | } |
| 4584 | |
| 4585 | void PrettyUnitTestResultPrinter::OnTestCaseEnd(const TestCase& test_case) { |
| 4586 | if (!GTEST_FLAG(print_time)) return; |
| 4587 | |
| 4588 | const std::string counts = |
| 4589 | FormatCountableNoun(test_case.test_to_run_count(), "test", "tests"); |
| 4590 | ColoredPrintf(COLOR_GREEN, "[----------] "); |
| 4591 | printf("%s from %s (%s ms total)\n\n", |
| 4592 | counts.c_str(), test_case.name(), |
| 4593 | internal::StreamableToString(test_case.elapsed_time()).c_str()); |
| 4594 | fflush(stdout); |
| 4595 | } |
| 4596 | |
| 4597 | void PrettyUnitTestResultPrinter::OnEnvironmentsTearDownStart( |
| 4598 | const UnitTest& /*unit_test*/) { |
no test coverage detected