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

Method test_parseFolder

tests/TexturePackParse_test.cpp:44–54  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

42 }
43
44 void test_parseFolder()
45 {
46 QString source = QFINDTESTDATA("testdata/TexturePackParse");
47
48 QString folder_rp = FS::PathCombine(source, "test_texturefolder");
49 TexturePack pack { QFileInfo(folder_rp) };
50
51 TexturePackUtils::processFolder(pack);
52
53 QVERIFY(pack.description() == "Some texture pack surely");
54 }
55
56 void test_parseFolder2()
57 {

Callers

nothing calls this directly

Calls 3

PathCombineFunction · 0.85
processFolderFunction · 0.50
descriptionMethod · 0.45

Tested by

no test coverage detected