Change test size so there is enough detail on each platform.
authorGlenn Watson <glenn.watson@nokia.com>
Thu, 3 May 2012 22:52:08 +0000 (08:52 +1000)
committerQt by Nokia <qt-info@nokia.com>
Thu, 3 May 2012 23:12:45 +0000 (01:12 +0200)
Sometimes this test would fail if the window manager didn't
create the window at the requested size.

Change-Id: I97e0c139694040950b3ec116899fcf04a0194d55
Reviewed-by: Martin Jones <martin.jones@nokia.com>
tests/auto/quick/rendernode/data/MessUpState.qml
tests/auto/quick/rendernode/data/RenderOrder.qml

index 58f6e80..b9c2a59 100644 (file)
@@ -2,18 +2,18 @@ import QtQuick 2.0
 import Test 1.0
 
 Rectangle {
-    width: 200
-    height: 200
+    width: 320
+    height: 480
     color: "black"
     Rectangle {
-        width: 200
-        height: 100
+        width: 320
+        height: 240
         anchors.centerIn: parent
         clip: true
         color: "white"
         Rectangle {
-            width: 100
-            height: 100
+            width: 160
+            height: 240
             anchors.centerIn: parent
             rotation: 45
             color: "blue"
index 3342756..6452b78 100644 (file)
@@ -4,13 +4,13 @@ import Test 1.0
 Rectangle {
     id: root
 
-    width: 200
-    height: 200
+    width: 320
+    height: 480
     color: "black"
 
     Rectangle {
-        width: 100
-        height: 100
+        width: 160
+        height: 240
         anchors.top: parent.top
         anchors.left: parent.left
         color: "red"
@@ -18,32 +18,32 @@ Rectangle {
     }
 
     Rectangle {
-        width: 100
-        height: 100
+        width: 160
+        height: 240
         anchors.bottom: parent.bottom
         anchors.left: parent.left
         color: "red"
     }
 
     ClearItem {
-        width: 100
-        height: 100
+        width: 160
+        height: 240
         anchors.centerIn: parent
         color: "white"
         clip: true
     }
 
     Rectangle {
-        width: 100
-        height: 100
+        width: 160
+        height: 240
         anchors.top: parent.top
         anchors.right: parent.right
         color: "blue"
     }
 
     Rectangle {
-        width: 100
-        height: 100
+        width: 160
+        height: 240
         anchors.bottom: parent.bottom
         anchors.right: parent.right
         color: "blue"