aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/qmltest
diff options
context:
space:
mode:
authorTasuku Suzuki <stasuku@gmail.com>2014-09-11 14:16:58 +0900
committerTasuku Suzuki <stasuku@gmail.com>2014-09-12 01:16:11 +0200
commit26aed3d930ef96ed214ccaf18a234ef3cb8730e4 (patch)
tree67b5f609555b1f34bf88303ef2d0315529ad8f62 /tests/auto/qmltest
parent50f100611620f9c2b0b1e01868d0de5f7b783de2 (diff)
Fix a typo and a warning in qmltest::shadersource-from-other-window
Change-Id: I60d0494ff8d619cb9be8d7a5db712c1316450b97 Reviewed-by: Gunnar Sletta <gunnar@sletta.org>
Diffstat (limited to 'tests/auto/qmltest')
-rw-r--r--tests/auto/qmltest/shadersource/tst_SourceInOtherWindow.qml5
1 files changed, 4 insertions, 1 deletions
diff --git a/tests/auto/qmltest/shadersource/tst_SourceInOtherWindow.qml b/tests/auto/qmltest/shadersource/tst_SourceInOtherWindow.qml
index 4ca687bdb6..b00cfbc5f8 100644
--- a/tests/auto/qmltest/shadersource/tst_SourceInOtherWindow.qml
+++ b/tests/auto/qmltest/shadersource/tst_SourceInOtherWindow.qml
@@ -37,6 +37,9 @@ import QtQuick.Window 2.0
import QtTest 1.0
Item {
+ width: 100
+ height: 100
+
Rectangle {
id: box
color: "red"
@@ -65,7 +68,7 @@ Item {
TestCase {
name: "shadersource-from-other-window"
- when: childWindow.isRendered
+ when: childWindow.rendered
function test_endresult() {
verify(true); // that we got here without problems...
}