Fix tst_qquickitemlayer test failures
authorCharles Yin <charles.yin@nokia.com>
Tue, 20 Mar 2012 01:14:23 +0000 (11:14 +1000)
committerQt by Nokia <qt-info@nokia.com>
Tue, 20 Mar 2012 04:37:59 +0000 (05:37 +0100)
The minimum window width in Windows 7 requires more than 100, so make the
item width to 200 to avoid test failures.

Task-number: QTBUG-24787
Change-Id: I439528a94aed9c54eca0fa68651c84afa4f9ab13
Reviewed-by: Martin Jones <martin.jones@nokia.com>
tests/auto/quick/qquickitemlayer/data/Effect.qml
tests/auto/quick/qquickitemlayer/data/SourceRect.qml
tests/auto/quick/qquickitemlayer/data/TextureProvider.qml

index 630c8f9..678f865 100644 (file)
@@ -2,19 +2,19 @@ import QtQuick 2.0
 
 Item
 {
-    width: 100
+    width: 200
     height: 100
 
     Rectangle {
         id: box
-        width: 100
+        width: 200
         height: 100
 
         color: "#0000ff"
 
         Rectangle {
-            x: 50
-            width: 50
+            x: 100
+            width: 100
             height: 100
             color: "#00ff00"
         }
index 7cc7e8b..a161760 100644 (file)
@@ -2,12 +2,12 @@ import QtQuick 2.0
 
 Item
 {
-    width: 100
+    width: 200
     height: 100
 
     Rectangle {
         id: box
-        width: 100
+        width: 200
         height: 100
 
         color: "#ff0000"
index ccd5156..427bd41 100644 (file)
@@ -2,19 +2,19 @@ import QtQuick 2.0
 
 Item
 {
-    width: 100
+    width: 200
     height: 100
 
     Rectangle {
         id: box
-        width: 100
+        width: 200
         height: 100
 
         color: "#0000ff"
 
         Rectangle {
-            x: 50
-            width: 50
+            x: 100
+            width: 100
             height: 100
             color: "#00ff00"
         }