| 2810 | } |
| 2811 | |
| 2812 | void PrettyUnitTestResultPrinter::OnTestCaseEnd(const TestCase& test_case) { |
| 2813 | if (!GTEST_FLAG(print_time)) return; |
| 2814 | |
| 2815 | const std::string counts = |
| 2816 | FormatCountableNoun(test_case.test_to_run_count(), "test", "tests"); |
| 2817 | ColoredPrintf(COLOR_GREEN, "[----------] "); |
| 2818 | printf("%s from %s (%s ms total)\n\n", |
| 2819 | counts.c_str(), test_case.name(), |
| 2820 | internal::StreamableToString(test_case.elapsed_time()).c_str()); |
| 2821 | fflush(stdout); |
| 2822 | } |
| 2823 | |
| 2824 | void PrettyUnitTestResultPrinter::OnEnvironmentsTearDownStart( |
| 2825 | const UnitTest& /*unit_test*/) { |
no test coverage detected