summaryrefslogtreecommitdiffstats
path: root/tests/arthur/baselineserver/src/baselineserver.h
diff options
context:
space:
mode:
Diffstat (limited to 'tests/arthur/baselineserver/src/baselineserver.h')
-rw-r--r--tests/arthur/baselineserver/src/baselineserver.h11
1 files changed, 3 insertions, 8 deletions
diff --git a/tests/arthur/baselineserver/src/baselineserver.h b/tests/arthur/baselineserver/src/baselineserver.h
index e311527..d49aedb 100644
--- a/tests/arthur/baselineserver/src/baselineserver.h
+++ b/tests/arthur/baselineserver/src/baselineserver.h
@@ -103,10 +103,7 @@ public:
static QString updateAllBaselines(const QString &host, const QString &id,
const QString &engine, const QString &format);
static QString updateSingleBaseline(const QString &oldBaseline, const QString &newBaseline);
- static QString blacklistTest(const QString &scriptName, const QString &host,
- const QString &engine, const QString &format);
- static QString whitelistTest(const QString &scriptName, const QString &host,
- const QString &engine, const QString &format);
+ static QString blacklistTest(const QString &context, const QString &itemId, bool removeFromBlacklist = false);
private slots:
void receiveRequest();
@@ -115,18 +112,16 @@ private slots:
private:
void provideBaselineChecksums(const QByteArray &itemListBlock);
void storeImage(const QByteArray &itemBlock, bool isBaseline);
+ void mapPlatformInfo();
QString pathForItem(const ImageItem &item, bool isBaseline = true, bool absolute = true);
const char *logtime();
QString computeMismatchScore(const QImage& baseline, const QImage& rendered);
- QString engineForItem(const ImageItem &item);
-
- static QString itemSubPath(const QString &engine, const QString &format, bool isBaseline = true);
BaselineProtocol proto;
PlatformInfo plat;
+ PlatformInfo mapped;
bool connectionEstablished;
QString runId;
- QString pathForRun;
HTMLPage report;
};