| 711 | } |
| 712 | |
| 713 | void TestFailed(const Beefy::StringView& error, int stackOffset) |
| 714 | { |
| 715 | if (gClientPipe != NULL) |
| 716 | { |
| 717 | Beefy::StringSimple errorString = error; |
| 718 | |
| 719 | if (gTestBreakOnFailure) |
| 720 | { |
| 721 | SETUP_ERROR(errorString.c_str(), (int)(2 + stackOffset)); |
| 722 | BF_DEBUG_BREAK(); |
| 723 | } |
| 724 | |
| 725 | Beefy::String str = ":TestFail\t"; |
| 726 | str += errorString.c_str(); |
| 727 | str.Replace('\n', '\r'); |
| 728 | str += "\n"; |
| 729 | TestString(str); |
| 730 | exit(1); |
| 731 | } |
| 732 | } |
| 733 | |
| 734 | void Internal::Test_Init(char* testData) |
| 735 | { |
nothing calls this directly
no test coverage detected