Fix a typo and a warning in qmltest::shadersource-from-other-window
authorTasuku Suzuki <stasuku@gmail.com>
Thu, 11 Sep 2014 05:16:58 +0000 (14:16 +0900)
committerTasuku Suzuki <stasuku@gmail.com>
Thu, 11 Sep 2014 23:16:11 +0000 (01:16 +0200)
Change-Id: I60d0494ff8d619cb9be8d7a5db712c1316450b97
Reviewed-by: Gunnar Sletta <gunnar@sletta.org>
tests/auto/qmltest/shadersource/tst_SourceInOtherWindow.qml

index 4ca687b..b00cfbc 100644 (file)
@@ -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...
         }