History

Add automated test tool scripting interface

Clement committed 8 years ago

Commit 949c7f81 parent f8e98d24 files · +65 −1Browse files

Showing the changes to libraries/script-engine/src/StackTestScriptingInterface.h (1 of 4 files). Show all

Unified · Split

libraries/script-engine/src/StackTestScriptingInterface.h+29−0
@@ -0,0 +1,29 @@
1+//
2+// StackTestScriptingInterface.h
3+// libraries/script-engine/src
4+//
5+// Created by Clement Brisset on 7/25/18.
6+// Copyright 2018 High Fidelity, Inc.
7+//
8+// Distributed under the Apache License, Version 2.0.
9+// See the accompanying file LICENSE or http://www.apache.org/licenses/LICENSE-2.0.html
10+//
11+
12+#pragma once
13+
14+#ifndef hifi_StackTestScriptingInterface_h
15+#define hifi_StackTestScriptingInterface_h
16+
17+#include <QObject>
18+
19+class StackTestScriptingInterface : public QObject {
20+ Q_OBJECT
21+
22+public:
23+ Q_INVOKABLE void pass(QString message = QString());
24+ Q_INVOKABLE void fail(QString message = QString());
25+
26+ Q_INVOKABLE void exit(QString message = QString());
27+};
28+
29+#endif // hifi_StackTestScriptingInterface_h