mirror of
https://github.com/HifiExperiments/overte.git
synced 2025-07-15 13:47:36 +02:00
46 lines
981 B
C++
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
|