| 77 | dataDir = QDir(QFINDTESTDATA("testdata/Library")).absolutePath(); |
| 78 | } |
| 79 | void test_legacy() |
| 80 | { |
| 81 | RuntimeContext r = dummyContext(); |
| 82 | Library test("test.package:testname:testversion"); |
| 83 | QCOMPARE(test.artifactPrefix(), QString("test.package:testname")); |
| 84 | QCOMPARE(test.isNative(), false); |
| 85 | |
| 86 | QStringList jar, native, native32, native64; |
| 87 | test.getApplicableFiles(r, jar, native, native32, native64, QString()); |
| 88 | QCOMPARE(jar, getStorage("test/package/testname/testversion/testname-testversion.jar")); |
| 89 | QCOMPARE(native, {}); |
| 90 | QCOMPARE(native32, {}); |
| 91 | QCOMPARE(native64, {}); |
| 92 | } |
| 93 | void test_legacy_url() |
| 94 | { |
| 95 | RuntimeContext r = dummyContext(); |
nothing calls this directly
no test coverage detected