MCPcopy Create free account
hub / github.com/beefytech/Beef / Test_Error

Method Test_Error

BeefRT/rt/Internal.cpp:755–773  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

753}
754
755void Internal::Test_Error(char* error)
756{
757 if (gTestBreakOnFailure)
758 {
759 SETUP_ERROR(error, 3);
760 BF_DEBUG_BREAK();
761 }
762
763 if (gClientPipe != NULL)
764 {
765 Beefy::String str = ":TestFail\t";
766 str += error;
767 str.Replace('\n', '\r');
768 str += "\n";
769 TestString(str);
770 }
771 else
772 Internal_FatalError(error);
773}
774
775void Internal::Test_Write(char* strPtr)
776{

Callers

nothing calls this directly

Calls 3

TestStringFunction · 0.85
Internal_FatalErrorFunction · 0.85
ReplaceMethod · 0.45

Tested by

no test coverage detected