mirror of
https://github.com/cmclark00/retro-imager.git
synced 2025-05-19 00:15:21 +01:00
Add integration tests
Tests if repository json files conform to the json schema. If all resources (images/icons/website URLs) they mention actually exists. And can also test writing images and the FAT modification code.
This commit is contained in:
parent
fce80b2a67
commit
05f1c4dbb5
11 changed files with 319 additions and 8 deletions
|
@ -74,6 +74,9 @@ public:
|
|||
/* Set custom repository */
|
||||
Q_INVOKABLE void setCustomOsListUrl(const QUrl &url);
|
||||
|
||||
/* Set custom cache file */
|
||||
void setCustomCacheFile(const QString &cacheFile, const QByteArray &sha256);
|
||||
|
||||
/* Utility function to open OS file dialog */
|
||||
Q_INVOKABLE void openFileDialog();
|
||||
|
||||
|
@ -168,6 +171,7 @@ protected:
|
|||
bool _verifyEnabled, _multipleFilesInZip, _cachingEnabled, _embeddedMode, _online;
|
||||
QSettings _settings;
|
||||
QMap<QString,QString> _translations;
|
||||
bool _customCacheFile;
|
||||
QTranslator *_trans;
|
||||
#ifdef Q_OS_WIN
|
||||
QWinTaskbarButton *_taskbarButton;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue