Changeset View
Changeset View
Standalone View
Standalone View
autotests/app/batchextracttest.cpp
Show First 20 Lines • Show All 84 Lines • ▼ Show 20 Line(s) | 53 | { | |||
---|---|---|---|---|---|
85 | QTest::newRow("single-file, no autosubfolder") | 85 | QTest::newRow("single-file, no autosubfolder") | ||
86 | << QFINDTESTDATA("data/test.txt.gz") | 86 | << QFINDTESTDATA("data/test.txt.gz") | ||
87 | << false | 87 | << false | ||
88 | << 1; | 88 | << 1; | ||
89 | 89 | | |||
90 | QTest::newRow("single-file, autosubfolder") | 90 | QTest::newRow("single-file, autosubfolder") | ||
91 | << QFINDTESTDATA("data/test.txt.gz") | 91 | << QFINDTESTDATA("data/test.txt.gz") | ||
92 | << true | 92 | << true | ||
93 | << 2; | 93 | << 1; | ||
94 | } | 94 | } | ||
95 | 95 | | |||
96 | void BatchExtractTest::testBatchExtraction() | 96 | void BatchExtractTest::testBatchExtraction() | ||
97 | { | 97 | { | ||
98 | auto batchJob = new BatchExtract(this); | 98 | auto batchJob = new BatchExtract(this); | ||
99 | 99 | | |||
100 | QFETCH(QString, archivePath); | 100 | QFETCH(QString, archivePath); | ||
101 | batchJob->addInput(QUrl::fromUserInput(archivePath)); | 101 | batchJob->addInput(QUrl::fromUserInput(archivePath)); | ||
Show All 30 Lines |