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