summaryrefslogtreecommitdiffstats
path: root/tests/auto/quick/qmltests/data/tst_inputMethod.qml
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto/quick/qmltests/data/tst_inputMethod.qml')
-rw-r--r--tests/auto/quick/qmltests/data/tst_inputMethod.qml14
1 files changed, 7 insertions, 7 deletions
diff --git a/tests/auto/quick/qmltests/data/tst_inputMethod.qml b/tests/auto/quick/qmltests/data/tst_inputMethod.qml
index 00f85cb71..16b7a06d5 100644
--- a/tests/auto/quick/qmltests/data/tst_inputMethod.qml
+++ b/tests/auto/quick/qmltests/data/tst_inputMethod.qml
@@ -26,10 +26,10 @@
**
****************************************************************************/
-import QtQuick 2.0
-import QtTest 1.0
-import QtWebEngine 1.4
-import QtWebEngine.testsupport 1.0
+import QtQuick
+import QtTest
+import QtWebEngine
+import Test.util
import "../../qmltests/data" 1.0
TestWebEngineView {
@@ -37,7 +37,7 @@ TestWebEngineView {
width: 200
height: 400
- testSupport: WebEngineTestSupport { }
+ TestInputContext { id: testInputContext }
TestCase {
id: testCase
@@ -45,11 +45,11 @@ TestWebEngineView {
when: windowShown
function init() {
- testSupport.testInputContext.create();
+ testInputContext.create();
}
function cleanup() {
- testSupport.testInputContext.release();
+ testInputContext.release();
}
function test_softwareInputPanel() {