MCPcopy Create free account
hub / github.com/PolyMC/PolyMC / initTestCase

Method initTestCase

tests/Library_test.cpp:73–78  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

71private
72slots:
73 void initTestCase()
74 {
75 cache.reset(new HttpMetaCache());
76 cache->addBase("libraries", QDir("libraries").absolutePath());
77 dataDir = QDir(QFINDTESTDATA("testdata/Library")).absolutePath();
78 }
79 void test_legacy()
80 {
81 RuntimeContext r = dummyContext();

Callers

nothing calls this directly

Calls 3

addBaseMethod · 0.80
QDirClass · 0.50
resetMethod · 0.45

Tested by

no test coverage detected