* Run tests on Windows CI. * Add message logger * Skip tests that cannot be linked. * Fix test call * Fix mock link issue on MSVC * Fix PATH variable to find libraries for tests * Fail test step on test errors
22 lines
522 B
C++
22 lines
522 B
C++
/*
|
|
* Beware of this preprocessor hack used to redefine the settingCache class
|
|
* instead of including it and all of its dependencies.
|
|
* Always set header guards of mocked objects before including any headers
|
|
* with mocked objects.
|
|
*/
|
|
|
|
#include <QObject>
|
|
#include <QString>
|
|
|
|
#define PICTURELOADER_H
|
|
|
|
#include "../../cockatrice/src/carddatabase.h"
|
|
#include "../../cockatrice/src/settingscache.h"
|
|
|
|
extern SettingsCache *settingsCache;
|
|
|
|
class PictureLoader
|
|
{
|
|
public:
|
|
static void clearPixmapCache(CardInfoPtr card);
|
|
};
|