MCPcopy Create free account
hub / github.com/QuasarApp/CQtDeployer / test

Method test

tests/units/linux/multipackingtest.cpp:17–55  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

15
16
17void MultiPackingTest::test() {
18 TestUtils utils;
19
20#ifdef Q_OS_UNIX
21
22 auto comapareTree = utils.createTree({
23 "./" + DISTRO_DIR + "/TestOnlyC.zip",
24 "./" + DISTRO_DIR + "/TestOnlyC.deb",
25 "./" + DISTRO_DIR + "/InstallerTestOnlyC.run",
26 "./" + DISTRO_DIR + "/InstallerTestOnlyC.run.md5",
27 "./" + DISTRO_DIR + "/TestOnlyC.zip.md5",
28 "./" + DISTRO_DIR + "/TestOnlyC.deb.md5",
29
30 });
31
32 QString bin = TestBinDir + "TestOnlyC";
33
34 runTestParams({"-bin", bin, "clear" ,
35 "zip",
36 "qif", "qifFromSystem",
37 "deb",
38 "verbose"}, &comapareTree, true);
39
40#else
41 auto comapareTree = utils.createTree({
42 "./" + DISTRO_DIR + "/TestOnlyC.zip",
43 "./" + DISTRO_DIR + "/InstallerTestOnlyC.exe",
44 "./" + DISTRO_DIR + "/TestOnlyC.zip.md5",
45 "./" + DISTRO_DIR + "/InstallerTestOnlyC.exe.md5",
46 });
47 QString bin = TestBinDir + "TestOnlyC.exe";
48
49 runTestParams({"-bin", bin, "clear" ,
50 "zip",
51 "qif", "qifFromSystem",
52 "verbose"}, &comapareTree, true);
53
54#endif
55}

Callers

nothing calls this directly

Calls 1

createTreeMethod · 0.80

Tested by

no test coverage detected