| 4110 | } |
| 4111 | |
| 4112 | void PrettyUnitTestResultPrinter::OnTestCaseEnd(const TestCase& test_case) { |
| 4113 | if (!GTEST_FLAG(print_time)) return; |
| 4114 | |
| 4115 | test_case_name_ = test_case.name(); |
| 4116 | const internal::String counts = |
| 4117 | FormatCountableNoun(test_case.test_to_run_count(), "test", "tests"); |
| 4118 | ColoredPrintf(COLOR_GREEN, "[----------] "); |
| 4119 | printf("%s from %s (%s ms total)\n\n", |
| 4120 | counts.c_str(), test_case_name_.c_str(), |
| 4121 | internal::StreamableToString(test_case.elapsed_time()).c_str()); |
| 4122 | fflush(stdout); |
| 4123 | } |
| 4124 | |
| 4125 | void PrettyUnitTestResultPrinter::OnEnvironmentsTearDownStart( |
| 4126 | const UnitTest& /*unit_test*/) { |
no test coverage detected