| 4532 | } |
| 4533 | |
| 4534 | void PrettyUnitTestResultPrinter::OnTestCaseStart(const TestCase& test_case) { |
| 4535 | const std::string counts = |
| 4536 | FormatCountableNoun(test_case.test_to_run_count(), "test", "tests"); |
| 4537 | ColoredPrintf(COLOR_GREEN, "[----------] "); |
| 4538 | printf("%s from %s", counts.c_str(), test_case.name()); |
| 4539 | if (test_case.type_param() == NULL) { |
| 4540 | printf("\n"); |
| 4541 | } else { |
| 4542 | printf(", where %s = %s\n", kTypeParamLabel, test_case.type_param()); |
| 4543 | } |
| 4544 | fflush(stdout); |
| 4545 | } |
| 4546 | |
| 4547 | void PrettyUnitTestResultPrinter::OnTestStart(const TestInfo& test_info) { |
| 4548 | ColoredPrintf(COLOR_GREEN, "[ RUN ] "); |
no test coverage detected