| 4058 | } |
| 4059 | |
| 4060 | void PrettyUnitTestResultPrinter::OnTestCaseStart(const TestCase& test_case) { |
| 4061 | test_case_name_ = test_case.name(); |
| 4062 | const internal::String counts = |
| 4063 | FormatCountableNoun(test_case.test_to_run_count(), "test", "tests"); |
| 4064 | ColoredPrintf(COLOR_GREEN, "[----------] "); |
| 4065 | printf("%s from %s", counts.c_str(), test_case_name_.c_str()); |
| 4066 | if (test_case.type_param() == NULL) { |
| 4067 | printf("\n"); |
| 4068 | } else { |
| 4069 | printf(", where TypeParam = %s\n", test_case.type_param()); |
| 4070 | } |
| 4071 | fflush(stdout); |
| 4072 | } |
| 4073 | |
| 4074 | void PrettyUnitTestResultPrinter::OnTestStart(const TestInfo& test_info) { |
| 4075 | ColoredPrintf(COLOR_GREEN, "[ RUN ] "); |
no test coverage detected