MCPcopy Create free account
hub / github.com/FreesmTeam/FreesmLauncher / test_parseFolder2

Method test_parseFolder2

tests/DataPackParse_test.cpp:62–74  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

60 }
61
62 void test_parseFolder2()
63 {
64 QString source = QFINDTESTDATA("testdata/DataPackParse");
65
66 QString folder_dp = FS::PathCombine(source, "another_test_folder");
67 DataPack pack{ QFileInfo(folder_dp) };
68
69 bool valid = DataPackUtils::process(pack);
70
71 QVERIFY(pack.packFormat() == 6);
72 QVERIFY(pack.description() == "Some data pack three, leaves on the tree");
73 QVERIFY(valid == true);
74 }
75};
76
77QTEST_GUILESS_MAIN(DataPackParseTest)

Callers

nothing calls this directly

Calls 5

PathCombineFunction · 0.85
QFileInfoClass · 0.85
processFunction · 0.50
packFormatMethod · 0.45
descriptionMethod · 0.45

Tested by

no test coverage detected