MCPcopy Create free account
hub / github.com/ValveSoftware/GameNetworkingSockets / TEST_Printf

Function TEST_Printf

tests/test_common.cpp:70–81  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

68}
69
70void TEST_Printf( const char *fmt, ... )
71{
72 char text[ 2048 ];
73 va_list ap;
74 va_start( ap, fmt );
75 vsprintf( text, fmt, ap );
76 va_end(ap);
77 char *nl = strchr( text, '\0' ) - 1;
78 if ( nl >= text && *nl == '\n' )
79 *nl = '\0';
80 DebugOutput( k_ESteamNetworkingSocketsDebugOutputType_Msg, text );
81}
82
83void TEST_Fatal( const char *fmt, ... )
84{

Callers 15

QuitFunction · 0.85
PrintRouteInfoFunction · 0.85
ReceiveAndCheckMessagesFunction · 0.85
mainFunction · 0.85
SendRandomMessageMethod · 0.85
RecvFunction · 0.85
PrintStatusFunction · 0.85
TestNetworkConditionsFunction · 0.85
Test_ConnectionFunction · 0.85

Calls 1

DebugOutputFunction · 0.70

Tested by

no test coverage detected