summaryrefslogtreecommitdiff
path: root/tests/auto/controls/data/tst_textarea.qml
diff options
context:
space:
mode:
authorJens Bache-Wiig <jens.bache-wiig@digia.com>2013-08-30 12:13:31 +0200
committerThe Qt Project <gerrit-noreply@qt-project.org>2013-09-10 11:20:29 +0200
commit0e4a9eba4052c4ad447b06c4575c30f77b4f3237 (patch)
treec56717ed57ce17ac96cde788b1c92e4879375428 /tests/auto/controls/data/tst_textarea.qml
parent37b0b8176537923ec77621c114e8ac2deb307b33 (diff)
downloadqtquickcontrols-0e4a9eba4052c4ad447b06c4575c30f77b4f3237.tar.gz
Update imports to 1.1 and remove version from qmlmodule definition
Change-Id: Icb4c6d78225c072da787e4646a55d8cf71a5db7a Reviewed-by: Caroline Chao <caroline.chao@digia.com>
Diffstat (limited to 'tests/auto/controls/data/tst_textarea.qml')
-rw-r--r--tests/auto/controls/data/tst_textarea.qml6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/auto/controls/data/tst_textarea.qml b/tests/auto/controls/data/tst_textarea.qml
index 7391daea..5d0778f1 100644
--- a/tests/auto/controls/data/tst_textarea.qml
+++ b/tests/auto/controls/data/tst_textarea.qml
@@ -54,7 +54,7 @@ TestCase {
height: 400
function test_append() {
- var textarea = Qt.createQmlObject('import QtQuick.Controls 1.0; TextArea {}', testCase, '')
+ var textarea = Qt.createQmlObject('import QtQuick.Controls 1.1; TextArea {}', testCase, '')
compare(textarea.text, "")
@@ -67,7 +67,7 @@ TestCase {
}
function test_activeFocusOnPress(){
- var control = Qt.createQmlObject('import QtQuick.Controls 1.0; TextArea {x: 20; y: 20; width: 100; height: 50}', container, '')
+ var control = Qt.createQmlObject('import QtQuick.Controls 1.1; TextArea {x: 20; y: 20; width: 100; height: 50}', container, '')
control.activeFocusOnPress = false
verify(!control.activeFocus)
mouseClick(control, 30, 30)
@@ -82,7 +82,7 @@ TestCase {
function test_activeFocusOnTab() {
// Set TextArea readonly so the tab/backtab can be tested toward the navigation
var test_control = 'import QtQuick 2.1; \
- import QtQuick.Controls 1.0; \
+ import QtQuick.Controls 1.1; \
Item { \
width: 200; \
height: 200; \