aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/quick/rendernode
diff options
context:
space:
mode:
authorGlenn Watson <glenn.watson@nokia.com>2012-05-04 08:52:08 +1000
committerQt by Nokia <qt-info@nokia.com>2012-05-04 01:12:45 +0200
commiteea254fea5c02fce1fed568604a87395c9049835 (patch)
tree1273cc01930116e853c0aa202703ef9b32c6bd1a /tests/auto/quick/rendernode
parent50523a21c960bb59405ec0ae0a9f313eefec5327 (diff)
Change test size so there is enough detail on each platform.
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>
Diffstat (limited to 'tests/auto/quick/rendernode')
-rw-r--r--tests/auto/quick/rendernode/data/MessUpState.qml12
-rw-r--r--tests/auto/quick/rendernode/data/RenderOrder.qml24
2 files changed, 18 insertions, 18 deletions
diff --git a/tests/auto/quick/rendernode/data/MessUpState.qml b/tests/auto/quick/rendernode/data/MessUpState.qml
index 58f6e80a2c..b9c2a59446 100644
--- a/tests/auto/quick/rendernode/data/MessUpState.qml
+++ b/tests/auto/quick/rendernode/data/MessUpState.qml
@@ -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"
diff --git a/tests/auto/quick/rendernode/data/RenderOrder.qml b/tests/auto/quick/rendernode/data/RenderOrder.qml
index 3342756e06..6452b78dea 100644
--- a/tests/auto/quick/rendernode/data/RenderOrder.qml
+++ b/tests/auto/quick/rendernode/data/RenderOrder.qml
@@ -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"