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

Function TEST

engine/dlib/src/test/test_sys.cpp:113–119  ·  view source on GitHub ↗

Unit test helpers

Source from the content-addressed store, hash-verified

111
112// Unit test helpers
113TEST(dmTestUtil, MakeHostPath)
114{
115 char path[128];
116
117 dmTestUtil::MakeHostPath(path, sizeof(path), "does_not_exists");
118 ASSERT_STREQ(DM_HOSTFS "does_not_exists", path);
119}
120///////////////////////////////////////////////////////////
121
122TEST(dmSys, Exists)

Callers

nothing calls this directly

Calls 15

MakeHostPathFunction · 0.85
RmTreeFunction · 0.85
FindAnsiRoundtripSampleFunction · 0.85
WriteWideDebugLineFunction · 0.85
WidePathToUtf8Function · 0.85
dmStrlCpyFunction · 0.85
dmStrlCatFunction · 0.85
WideToCodePageFunction · 0.85
SetEngineInfoFunction · 0.85
GetEngineInfoFunction · 0.85
ExistsFunction · 0.50
IsDirFunction · 0.50

Tested by

no test coverage detected