| 333 | } |
| 334 | |
| 335 | char* Tests::Format(const char *str, ...) |
| 336 | { |
| 337 | static char text[4096*16]; |
| 338 | static unsigned int section = 0; |
| 339 | |
| 340 | char* ptr = text + (section++ % 16) * 4096; |
| 341 | |
| 342 | va_list args; |
| 343 | va_start(args, str); |
| 344 | vsnprintf(ptr, 1023, str, args); |
| 345 | va_end(args); |
| 346 | return ptr; |
| 347 | } |
| 348 | |
| 349 | void TEST_FOR_FAIL(const char* name, const char* str, const char* error) |
| 350 | { |
nothing calls this directly
no outgoing calls
no test coverage detected