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

Function TEST_F

engine/dlib/src/test/test_httpcache.cpp:117–126  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

115};
116
117TEST_F(dmHttpCacheTest, NewCache)
118{
119 dmHttpCache::HCache cache;
120 dmHttpCache::NewParams params;
121 params.m_Path = m_Path;
122 dmHttpCache::Result r = dmHttpCache::Open(&params, &cache);
123 ASSERT_EQ(dmHttpCache::RESULT_OK, r);
124 r = dmHttpCache::Close(cache);
125 ASSERT_EQ(dmHttpCache::RESULT_OK, r);
126}
127
128TEST_F(dmHttpCacheTest, PathIsFile)
129{

Callers

nothing calls this directly

Calls 15

MakeHostPathFunction · 0.85
dmSnPrintfFunction · 0.85
freeFunction · 0.85
OpenFunction · 0.50
CloseFunction · 0.50
MkdirFunction · 0.50
GetETagFunction · 0.50
GetFunction · 0.50
BeginFunction · 0.50
AddFunction · 0.50
SetErrorFunction · 0.50
EndFunction · 0.50

Tested by

no test coverage detected