| 91 | QCOMPARE(native64, {}); |
| 92 | } |
| 93 | void test_legacy_url() |
| 94 | { |
| 95 | RuntimeContext r = dummyContext(); |
| 96 | QStringList failedFiles; |
| 97 | Library test("test.package:testname:testversion"); |
| 98 | test.setRepositoryURL("file://foo/bar"); |
| 99 | auto downloads = test.getDownloads(r, cache.get(), failedFiles, QString()); |
| 100 | QCOMPARE(downloads.size(), 1); |
| 101 | QCOMPARE(failedFiles, {}); |
| 102 | NetAction::Ptr dl = downloads[0]; |
| 103 | QCOMPARE(dl->m_url, QUrl("file://foo/bar/test/package/testname/testversion/testname-testversion.jar")); |
| 104 | } |
| 105 | void test_legacy_url_local_broken() |
| 106 | { |
| 107 | RuntimeContext r = dummyContext(); |
nothing calls this directly
no test coverage detected