From 70a7c0e9f9417c5c3b1697f6aa71faff1cac214c Mon Sep 17 00:00:00 2001 From: Charles Yin Date: Tue, 20 Mar 2012 11:14:23 +1000 Subject: [PATCH] Fix tst_qquickitemlayer test failures 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 --- tests/auto/quick/qquickitemlayer/data/Effect.qml | 8 ++++---- tests/auto/quick/qquickitemlayer/data/SourceRect.qml | 4 ++-- tests/auto/quick/qquickitemlayer/data/TextureProvider.qml | 8 ++++---- 3 files changed, 10 insertions(+), 10 deletions(-) diff --git a/tests/auto/quick/qquickitemlayer/data/Effect.qml b/tests/auto/quick/qquickitemlayer/data/Effect.qml index 630c8f9..678f865 100644 --- a/tests/auto/quick/qquickitemlayer/data/Effect.qml +++ b/tests/auto/quick/qquickitemlayer/data/Effect.qml @@ -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" } diff --git a/tests/auto/quick/qquickitemlayer/data/SourceRect.qml b/tests/auto/quick/qquickitemlayer/data/SourceRect.qml index 7cc7e8b..a161760 100644 --- a/tests/auto/quick/qquickitemlayer/data/SourceRect.qml +++ b/tests/auto/quick/qquickitemlayer/data/SourceRect.qml @@ -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" diff --git a/tests/auto/quick/qquickitemlayer/data/TextureProvider.qml b/tests/auto/quick/qquickitemlayer/data/TextureProvider.qml index ccd5156..427bd41 100644 --- a/tests/auto/quick/qquickitemlayer/data/TextureProvider.qml +++ b/tests/auto/quick/qquickitemlayer/data/TextureProvider.qml @@ -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" } -- 2.7.4