| 4662 | } |
| 4663 | |
| 4664 | void PrettyUnitTestResultPrinter::OnTestCaseStart(const TestSuite& test_suite) { |
| 4665 | const std::string counts = |
| 4666 | FormatCountableNoun(test_suite.test_to_run_count(), "test", "tests"); |
| 4667 | ColoredPrintf(COLOR_GREEN, "[----------] "); |
| 4668 | printf("%s from %s", counts.c_str(), test_suite.name()); |
| 4669 | if (test_suite.type_param() == nullptr) { |
| 4670 | printf("\n"); |
| 4671 | } else { |
| 4672 | printf(", where %s = %s\n", kTypeParamLabel, test_suite.type_param()); |
| 4673 | } |
| 4674 | fflush(stdout); |
| 4675 | } |
| 4676 | |
| 4677 | void PrettyUnitTestResultPrinter::OnTestStart(const TestInfo& test_info) { |
| 4678 | ColoredPrintf(COLOR_GREEN, "[ RUN ] "); |
no test coverage detected