aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/shared/util.h
diff options
context:
space:
mode:
authorUlf Hermann <ulf.hermann@qt.io>2018-04-23 13:57:11 +0200
committerSimon Hausmann <simon.hausmann@qt.io>2018-04-24 19:24:12 +0000
commitac6e893c5c7b43cfc50c25bebee1dfd4d3840124 (patch)
tree050f0079983f6e9bd11513aca44cdfe0d7f212e8 /tests/auto/shared/util.h
parent5cc8db797a88a0b2654876e768ba9cdebc053534 (diff)
Make the shared test code independent of QtQml
This enables us to drop the QML dependency from a number of tests. This is desirable because we want to test that we didn't do any incompatible changes to the debug framework. Change-Id: I937dd45d3079eac15c200c9d68bb4c911f61afc0 Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
Diffstat (limited to 'tests/auto/shared/util.h')
-rw-r--r--tests/auto/shared/util.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/tests/auto/shared/util.h b/tests/auto/shared/util.h
index 33d7cbd1d0..6f3f0a06a8 100644
--- a/tests/auto/shared/util.h
+++ b/tests/auto/shared/util.h
@@ -35,9 +35,6 @@
#include <QtCore/QStringList>
#include <QtTest/QTest>
-QT_FORWARD_DECLARE_CLASS(QQmlComponent)
-QT_FORWARD_DECLARE_CLASS(QQmlEngine)
-
/* Base class for tests with data that are located in a "data" subfolder. */
class QQmlDataTest : public QObject
@@ -61,9 +58,6 @@ public:
static inline QQmlDataTest *instance() { return m_instance; }
- static QByteArray msgComponentError(const QQmlComponent &,
- const QQmlEngine *engine = 0);
-
public slots:
virtual void initTestCase();