mirror of
https://github.com/HifiExperiments/overte.git
synced 2025-07-13 15:59:11 +02:00
36 lines
No EOL
826 B
C++
36 lines
No EOL
826 B
C++
//
|
|
// TestingDialog.h
|
|
// interface/src/ui
|
|
//
|
|
// Created by Ryan Jones on 12/3/2016.
|
|
// Copyright 2016 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_TestingDialog_h
|
|
#define hifi_TestingDialog_h
|
|
|
|
#include <QDialog>
|
|
#include "ScriptEngine.h"
|
|
#include "JSConsole.h"
|
|
|
|
const QString windowLabel = "Client Script Tests";
|
|
const QString testRunnerRelativePath = "/scripts/developer/tests/unit_tests/testRunner.js";
|
|
const unsigned int TESTING_CONSOLE_HEIGHT = 400;
|
|
|
|
class TestingDialog : public QDialog {
|
|
Q_OBJECT
|
|
public:
|
|
TestingDialog(QWidget* parent);
|
|
~TestingDialog();
|
|
|
|
void onTestingFinished(const QString& scriptPath);
|
|
|
|
private:
|
|
JSConsole* _console;
|
|
ScriptEngine* _engine;
|
|
};
|
|
|
|
#endif |