MCPcopy Create free account
hub / github.com/defold/defold / TEST

Function TEST

engine/dlib/src/test/test_log.cpp:40–49  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

38#endif
39
40TEST(dmLog, TestUninitialized)
41{
42 dmLogError("Logging an error");
43
44 dLib::SetDebugMode(false); // avoid spam in the unit tests
45
46 dmLogError("Logging an second error");
47
48 dLib::SetDebugMode(true);
49}
50
51TEST(dmLog, Init)
52{

Callers

nothing calls this directly

Calls 15

SetDebugModeFunction · 0.85
LogInitializeFunction · 0.85
LogFinalizeFunction · 0.85
dmSnPrintfFunction · 0.85
dmLogRegisterListenerFunction · 0.85
FeaturesSupportedFunction · 0.85
MakeHostPathFunction · 0.85
SetLogFileFunction · 0.85
mallocFunction · 0.85
freeFunction · 0.85
dmAtomicGet32Function · 0.85
dmAtomicStore32Function · 0.85

Tested by

no test coverage detected