| 11 | using namespace GoUpdate; |
| 12 | |
| 13 | FileSourceList encodeBaseFile(const char *suffix) |
| 14 | { |
| 15 | auto base = QDir::currentPath(); |
| 16 | QUrl localFile = QUrl::fromLocalFile(base + suffix); |
| 17 | QString localUrlString = localFile.toString(QUrl::FullyEncoded); |
| 18 | auto item = FileSource("http", localUrlString); |
| 19 | return FileSourceList({item}); |
| 20 | } |
| 21 | |
| 22 | Q_DECLARE_METATYPE(VersionFileList) |
| 23 | Q_DECLARE_METATYPE(Operation) |
no test coverage detected