aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/qmltest
diff options
context:
space:
mode:
authorCharles Yin <charles.yin@nokia.com>2011-07-28 10:19:23 +1000
committerQt by Nokia <qt-info@nokia.com>2011-07-28 02:20:29 +0200
commit5266db7357f8a0ce4ce175b5becdbdd2c094a808 (patch)
treeca7764df7b81512ec10f5a9a69fa0c3a4c830cde /tests/auto/qmltest
parent8a79531574b820ac72de4f42a83e5436e0ca1fe1 (diff)
increase the tryCompare timeout value to make the CI happy
Change-Id: I9561213295969f3064637584f45deb66f56c071b Reviewed-on: http://codereview.qt.nokia.com/2309 Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Charles Yin <charles.yin@nokia.com>
Diffstat (limited to 'tests/auto/qmltest')
-rw-r--r--tests/auto/qmltest/events/tst_events.qml6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/auto/qmltest/events/tst_events.qml b/tests/auto/qmltest/events/tst_events.qml
index f22863753f..e3d0b13579 100644
--- a/tests/auto/qmltest/events/tst_events.qml
+++ b/tests/auto/qmltest/events/tst_events.qml
@@ -74,13 +74,13 @@ Rectangle {
function test_key_click() {
keyClick(Qt.Key_Left)
- tryCompare(top, "leftKeyPressed", true)
- tryCompare(top, "leftKeyReleased", true)
+ tryCompare(top, "leftKeyPressed", true, 10000)
+ tryCompare(top, "leftKeyReleased", true, 10000)
}
function test_mouse_click() {
mouseClick(top, 25, 30)
- tryCompare(top, "mouseHasBeenClicked", true)
+ tryCompare(top, "mouseHasBeenClicked", true, 10000)
}
}
}