| 516 | } |
| 517 | |
| 518 | void JUTReportConsole_f_va(const char *text, va_list args) { |
| 519 | char buf[256]; |
| 520 | if(!JUTGetReportConsole()) { |
| 521 | vsnprintf(buf, sizeof(buf), text, args); |
| 522 | JUT_REPORT_MSG("%s", buf); |
| 523 | } |
| 524 | else if (JUTGetReportConsole()->getOutput() & OUTPUT_ALL) { |
| 525 | vsnprintf(buf, sizeof(buf), text, args); |
| 526 | JUTGetReportConsole()->print(buf); |
| 527 | } |
| 528 | } |
| 529 | |
| 530 | void JUTReportConsole_f(const char *text, ...) |
| 531 | { |
no test coverage detected