summaryrefslogtreecommitdiffstats
path: root/tests/auto
diff options
context:
space:
mode:
authorChristian Strømme <christian.stromme@theqtcompany.com>2015-08-26 14:25:41 +0200
committerChristian Stromme <christian.stromme@theqtcompany.com>2015-08-28 14:50:37 +0000
commitb346aa3a8367ab8d3e1311bf1bca34727204fa4c (patch)
tree78f086665e621eed0ef3b62a37e95832d24aa5b1 /tests/auto
parent93060d032f958030fb8f853a14385bc3c881e94c (diff)
Fix wrong header inclusions in the auto tests.
The headers were renamed and marked as private. Change-Id: I4c9904542acdfe0770c034e6baa863ee0801acd6 Reviewed-by: Christian Stromme <christian.stromme@theqtcompany.com>
Diffstat (limited to 'tests/auto')
-rw-r--r--tests/auto/qml/qquickwebview/tst_qquickwebview.cpp2
-rw-r--r--tests/auto/qml/shared/util.h4
-rw-r--r--tests/auto/webview/qwebview/tst_qwebview.cpp2
3 files changed, 4 insertions, 4 deletions
diff --git a/tests/auto/qml/qquickwebview/tst_qquickwebview.cpp b/tests/auto/qml/qquickwebview/tst_qquickwebview.cpp
index cd4fb96..fd1f0d0 100644
--- a/tests/auto/qml/qquickwebview/tst_qquickwebview.cpp
+++ b/tests/auto/qml/qquickwebview/tst_qquickwebview.cpp
@@ -23,7 +23,7 @@
#include <QScopedPointer>
#include <QtQml/QQmlEngine>
#include <QtTest/QtTest>
-#include <QtWebView/qquickwebview.h>
+#include <QtWebView/private/qquickwebview_p.h>
#include <QtCore/qfile.h>
#include <QtCore/qstandardpaths.h>
diff --git a/tests/auto/qml/shared/util.h b/tests/auto/qml/shared/util.h
index 39dbafa..a34b5bc 100644
--- a/tests/auto/qml/shared/util.h
+++ b/tests/auto/qml/shared/util.h
@@ -24,8 +24,8 @@
#include <QSignalSpy>
#include <QTimer>
#include <QtTest/QtTest>
-#include <QtWebView/qquickwebview.h>
-#include <QtWebView/qquickwebviewloadrequest.h>
+#include <QtWebView/private/qquickwebview_p.h>
+#include <QtWebView/private/qquickwebviewloadrequest_p.h>
#if !defined(TESTS_SOURCE_DIR)
#define TESTS_SOURCE_DIR ""
diff --git a/tests/auto/webview/qwebview/tst_qwebview.cpp b/tests/auto/webview/qwebview/tst_qwebview.cpp
index 897b22c..a084c21 100644
--- a/tests/auto/webview/qwebview/tst_qwebview.cpp
+++ b/tests/auto/webview/qwebview/tst_qwebview.cpp
@@ -44,7 +44,7 @@
#include <QtWebView/private/qwebviewloadrequest_p.h>
#ifndef QT_NO_QQUICKWEBVIEW_TESTS
-#include <QtWebView/qquickwebview.h>
+#include <QtWebView/private/qquickwebview_p.h>
#endif // QT_NO_QQUICKWEBVIEW_TESTS
#ifdef QT_WEBVIEW_WEBENGINE_BACKEND