overte-HifiExperiments/tools/auto-tester/src/Test.h
Nissim Hadar eaa51ebe9d WIP.
2017-11-12 11:27:24 -08:00

46 lines
981 B
C++

//
// Test.h
// zone/ambientLightInheritence
//
// Created by Nissim Hadar on 2 Nov 2017.
// Copyright 2013 High Fidelity, Inc.
//
// Distributed under the Apache License, Version 2.0.
// See the accompanying file LICENSE or http://www.apache.org/licenses/LICENSE-2.0.html
//
#ifndef hifi_test_h
#define hifi_test_h
#include <QFileDialog>
#include <QMessagebox>
#include <QRegularExpression>
#include "ui/MismatchWindow.h"
class Test {
public:
Test();
void evaluateTests();
void createTest();
void createListOfAllJPEGimagesInDirectory();
bool isInSnapshotFilenameFormat(QString filename);
bool isInExpectedImageFilenameFormat(QString filename);
private:
QMessageBox messageBox;
QString pathToImageDirectory;
QDir imageDirectory;
QStringList sortedImageFilenames;
QRegularExpression snapshotFilenameFormat;
QRegularExpression expectedImageFilenameFormat;
MismatchWindow mismatchWindow;
};
#endif // hifi_test_h