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

Method test_parseFolder2

tests/TexturePackParse_test.cpp:56–66  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

54 }
55
56 void test_parseFolder2()
57 {
58 QString source = QFINDTESTDATA("testdata/TexturePackParse");
59
60 QString folder_rp = FS::PathCombine(source, "another_test_texturefolder");
61 TexturePack pack { QFileInfo(folder_rp) };
62
63 TexturePackUtils::process(pack);
64
65 QVERIFY(pack.description() == "quieres\nfor real");
66 }
67};
68
69QTEST_GUILESS_MAIN(TexturePackParseTest)

Callers

nothing calls this directly

Calls 3

PathCombineFunction · 0.85
processFunction · 0.50
descriptionMethod · 0.45

Tested by

no test coverage detected