diff options
author | Ulf Hermann <ulf.hermann@qt.io> | 2017-08-17 16:03:48 +0200 |
---|---|---|
committer | Ulf Hermann <ulf.hermann@qt.io> | 2017-08-17 15:15:09 +0000 |
commit | e9cf90a22ed562e17f1169ac48cc413d80bd5025 (patch) | |
tree | 6b6c74d5548581bed95b9b4ee3068d659ef9cda1 /tests | |
parent | 5671c31a5141fed64edbe53fece895b2fd7449d3 (diff) |
Pre-declare some meta types in the headers
It doesn't make much sense to declare the meta type for QScxmlError in
all the tests. Also, types exposed through Q_PROPERTY should be
declared.
Change-Id: Ibb08440e1f40845ea779e1c2a3882bc1b1e0a935
Reviewed-by: Jarek Kobus <jaroslaw.kobus@qt.io>
Diffstat (limited to 'tests')
-rw-r--r-- | tests/auto/compiled/tst_compiled.cpp | 2 | ||||
-rw-r--r-- | tests/auto/parser/tst_parser.cpp | 2 | ||||
-rw-r--r-- | tests/auto/statemachine/tst_statemachine.cpp | 2 | ||||
-rw-r--r-- | tests/auto/statemachineinfo/tst_statemachineinfo.cpp | 2 |
4 files changed, 0 insertions, 8 deletions
diff --git a/tests/auto/compiled/tst_compiled.cpp b/tests/auto/compiled/tst_compiled.cpp index ab590f7..6382328 100644 --- a/tests/auto/compiled/tst_compiled.cpp +++ b/tests/auto/compiled/tst_compiled.cpp @@ -40,8 +40,6 @@ #include "connection.h" #include "topmachine.h" -Q_DECLARE_METATYPE(QScxmlError); - enum { SpyWaitTime = 8000 }; class tst_Compiled: public QObject diff --git a/tests/auto/parser/tst_parser.cpp b/tests/auto/parser/tst_parser.cpp index 202e783..13eed5a 100644 --- a/tests/auto/parser/tst_parser.cpp +++ b/tests/auto/parser/tst_parser.cpp @@ -32,8 +32,6 @@ #include <QtScxml/qscxmlcompiler.h> #include <QtScxml/qscxmlstatemachine.h> -Q_DECLARE_METATYPE(QScxmlError); - class tst_Parser: public QObject { Q_OBJECT diff --git a/tests/auto/statemachine/tst_statemachine.cpp b/tests/auto/statemachine/tst_statemachine.cpp index 4575737..94b1d6f 100644 --- a/tests/auto/statemachine/tst_statemachine.cpp +++ b/tests/auto/statemachine/tst_statemachine.cpp @@ -34,8 +34,6 @@ #include <QtScxml/qscxmlinvokableservice.h> #include <QtScxml/private/qscxmlstatemachine_p.h> -Q_DECLARE_METATYPE(QScxmlError); - enum { SpyWaitTime = 8000 }; class tst_StateMachine: public QObject diff --git a/tests/auto/statemachineinfo/tst_statemachineinfo.cpp b/tests/auto/statemachineinfo/tst_statemachineinfo.cpp index b1ecfe7..a87e807 100644 --- a/tests/auto/statemachineinfo/tst_statemachineinfo.cpp +++ b/tests/auto/statemachineinfo/tst_statemachineinfo.cpp @@ -30,8 +30,6 @@ #include <QtScxml/qscxmlstatemachine.h> #include <QtScxml/private/qscxmlstatemachineinfo_p.h> -Q_DECLARE_METATYPE(QScxmlError); - class tst_StateMachineInfo: public QObject { Q_OBJECT |