| 732 | } |
| 733 | |
| 734 | void Internal::Test_Init(char* testData) |
| 735 | { |
| 736 | BfpSystem_SetCrashReportKind(BfpCrashReportKind_None); |
| 737 | |
| 738 | Beefy::String args = GetCommandLineArgs(); |
| 739 | |
| 740 | BfpFileResult fileResult; |
| 741 | gClientPipe = BfpFile_Create(args.c_str(), BfpFileCreateKind_OpenExisting, (BfpFileCreateFlags)(BfpFileCreateFlag_Read | BfpFileCreateFlag_Write | BfpFileCreateFlag_Pipe), BfpFileAttribute_None, &fileResult); |
| 742 | if (fileResult != BfpFileResult_Ok) |
| 743 | BF_FATAL("Test_Init failed to create pipe to test manager"); |
| 744 | |
| 745 | gClientPipeErrorFunc = TestFailed; |
| 746 | |
| 747 | Beefy::String outStr; |
| 748 | outStr += ":TestInit\n"; |
| 749 | outStr += testData; |
| 750 | outStr += "\n"; |
| 751 | outStr += ":TestBegin\n"; |
| 752 | TestString(outStr); |
| 753 | } |
| 754 | |
| 755 | void Internal::Test_Error(char* error) |
| 756 | { |
nothing calls this directly
no test coverage detected