| 280 | } |
| 281 | |
| 282 | void Framework::log_test_end(const TestInfo &info) |
| 283 | { |
| 284 | if (_log_level >= LogLevel::MEASUREMENTS) |
| 285 | { |
| 286 | func_on_all_printers( |
| 287 | [&](Printer *p) |
| 288 | { |
| 289 | p->print_profiler_header(_test_results.at(info).header_data); |
| 290 | p->print_measurements(_test_results.at(info).measurements); |
| 291 | }); |
| 292 | } |
| 293 | |
| 294 | if (_log_level >= LogLevel::TESTS) |
| 295 | { |
| 296 | func_on_all_printers([](Printer *p) { p->print_test_footer(); }); |
| 297 | } |
| 298 | } |
| 299 | |
| 300 | void Framework::log_failed_expectation(const TestError &error) |
| 301 | { |
nothing calls this directly
no test coverage detected