From 8daae0d2ba5d3aca1d0ab640f30afe8ddc1146f7 Mon Sep 17 00:00:00 2001 From: Alan Alpert Date: Fri, 29 Oct 2010 13:22:15 +1000 Subject: Clean up QML Rect visual tests Mostly just creating the test scripts. Task-number: QTBUG-14792 --- .../qmlvisual/rect/data/GradientRect.0.png | Bin 0 -> 248 bytes .../qmlvisual/rect/data/GradientRect.qml | 11 + .../declarative/qmlvisual/rect/data/MyRect.0.png | Bin 0 -> 135 bytes .../declarative/qmlvisual/rect/data/MyRect.qml | 11 + .../qmlvisual/rect/data/rect-painting.0.png | Bin 29725 -> 25197 bytes .../qmlvisual/rect/data/rect-painting.qml | 276 --------------------- 6 files changed, 22 insertions(+), 276 deletions(-) create mode 100644 tests/auto/declarative/qmlvisual/rect/data/GradientRect.0.png create mode 100644 tests/auto/declarative/qmlvisual/rect/data/GradientRect.qml create mode 100644 tests/auto/declarative/qmlvisual/rect/data/MyRect.0.png create mode 100644 tests/auto/declarative/qmlvisual/rect/data/MyRect.qml diff --git a/tests/auto/declarative/qmlvisual/rect/data/GradientRect.0.png b/tests/auto/declarative/qmlvisual/rect/data/GradientRect.0.png new file mode 100644 index 0000000..2ca5d28 Binary files /dev/null and b/tests/auto/declarative/qmlvisual/rect/data/GradientRect.0.png differ diff --git a/tests/auto/declarative/qmlvisual/rect/data/GradientRect.qml b/tests/auto/declarative/qmlvisual/rect/data/GradientRect.qml new file mode 100644 index 0000000..116ab2a --- /dev/null +++ b/tests/auto/declarative/qmlvisual/rect/data/GradientRect.qml @@ -0,0 +1,11 @@ +import Qt.VisualTest 4.7 + +VisualTest { + Frame { + msec: 0 + } + Frame { + msec: 16 + image: "GradientRect.0.png" + } +} diff --git a/tests/auto/declarative/qmlvisual/rect/data/MyRect.0.png b/tests/auto/declarative/qmlvisual/rect/data/MyRect.0.png new file mode 100644 index 0000000..3eb9a8d Binary files /dev/null and b/tests/auto/declarative/qmlvisual/rect/data/MyRect.0.png differ diff --git a/tests/auto/declarative/qmlvisual/rect/data/MyRect.qml b/tests/auto/declarative/qmlvisual/rect/data/MyRect.qml new file mode 100644 index 0000000..72141c8 --- /dev/null +++ b/tests/auto/declarative/qmlvisual/rect/data/MyRect.qml @@ -0,0 +1,11 @@ +import Qt.VisualTest 4.7 + +VisualTest { + Frame { + msec: 0 + } + Frame { + msec: 16 + image: "MyRect.0.png" + } +} diff --git a/tests/auto/declarative/qmlvisual/rect/data/rect-painting.0.png b/tests/auto/declarative/qmlvisual/rect/data/rect-painting.0.png index 3b7970d..391e760 100644 Binary files a/tests/auto/declarative/qmlvisual/rect/data/rect-painting.0.png and b/tests/auto/declarative/qmlvisual/rect/data/rect-painting.0.png differ diff --git a/tests/auto/declarative/qmlvisual/rect/data/rect-painting.qml b/tests/auto/declarative/qmlvisual/rect/data/rect-painting.qml index 7c42d13..9fc073c 100644 --- a/tests/auto/declarative/qmlvisual/rect/data/rect-painting.qml +++ b/tests/auto/declarative/qmlvisual/rect/data/rect-painting.qml @@ -6,282 +6,6 @@ VisualTest { } Frame { msec: 16 - hash: "79998980caccd4eb479fbd9f2a13c860" - } - Frame { - msec: 32 - hash: "79998980caccd4eb479fbd9f2a13c860" - } - Frame { - msec: 48 - hash: "79998980caccd4eb479fbd9f2a13c860" - } - Frame { - msec: 64 - hash: "79998980caccd4eb479fbd9f2a13c860" - } - Frame { - msec: 80 - hash: "79998980caccd4eb479fbd9f2a13c860" - } - Frame { - msec: 96 - hash: "79998980caccd4eb479fbd9f2a13c860" - } - Frame { - msec: 112 - hash: "79998980caccd4eb479fbd9f2a13c860" - } - Frame { - msec: 128 - hash: "79998980caccd4eb479fbd9f2a13c860" - } - Frame { - msec: 144 - hash: "79998980caccd4eb479fbd9f2a13c860" - } - Frame { - msec: 160 - hash: "79998980caccd4eb479fbd9f2a13c860" - } - Frame { - msec: 176 - hash: "79998980caccd4eb479fbd9f2a13c860" - } - Frame { - msec: 192 - hash: "79998980caccd4eb479fbd9f2a13c860" - } - Frame { - msec: 208 - hash: "79998980caccd4eb479fbd9f2a13c860" - } - Frame { - msec: 224 - hash: "79998980caccd4eb479fbd9f2a13c860" - } - Frame { - msec: 240 - hash: "79998980caccd4eb479fbd9f2a13c860" - } - Frame { - msec: 256 - hash: "79998980caccd4eb479fbd9f2a13c860" - } - Frame { - msec: 272 - hash: "79998980caccd4eb479fbd9f2a13c860" - } - Frame { - msec: 288 - hash: "79998980caccd4eb479fbd9f2a13c860" - } - Frame { - msec: 304 - hash: "79998980caccd4eb479fbd9f2a13c860" - } - Frame { - msec: 320 - hash: "79998980caccd4eb479fbd9f2a13c860" - } - Frame { - msec: 336 - hash: "79998980caccd4eb479fbd9f2a13c860" - } - Frame { - msec: 352 - hash: "79998980caccd4eb479fbd9f2a13c860" - } - Frame { - msec: 368 - hash: "79998980caccd4eb479fbd9f2a13c860" - } - Frame { - msec: 384 - hash: "79998980caccd4eb479fbd9f2a13c860" - } - Frame { - msec: 400 - hash: "79998980caccd4eb479fbd9f2a13c860" - } - Frame { - msec: 416 - hash: "79998980caccd4eb479fbd9f2a13c860" - } - Frame { - msec: 432 - hash: "79998980caccd4eb479fbd9f2a13c860" - } - Frame { - msec: 448 - hash: "79998980caccd4eb479fbd9f2a13c860" - } - Frame { - msec: 464 - hash: "79998980caccd4eb479fbd9f2a13c860" - } - Frame { - msec: 480 - hash: "79998980caccd4eb479fbd9f2a13c860" - } - Frame { - msec: 496 - hash: "79998980caccd4eb479fbd9f2a13c860" - } - Frame { - msec: 512 - hash: "79998980caccd4eb479fbd9f2a13c860" - } - Frame { - msec: 528 - hash: "79998980caccd4eb479fbd9f2a13c860" - } - Frame { - msec: 544 - hash: "79998980caccd4eb479fbd9f2a13c860" - } - Frame { - msec: 560 - hash: "79998980caccd4eb479fbd9f2a13c860" - } - Frame { - msec: 576 - hash: "79998980caccd4eb479fbd9f2a13c860" - } - Frame { - msec: 592 - hash: "79998980caccd4eb479fbd9f2a13c860" - } - Frame { - msec: 608 - hash: "79998980caccd4eb479fbd9f2a13c860" - } - Frame { - msec: 624 - hash: "79998980caccd4eb479fbd9f2a13c860" - } - Frame { - msec: 640 - hash: "79998980caccd4eb479fbd9f2a13c860" - } - Frame { - msec: 656 - hash: "79998980caccd4eb479fbd9f2a13c860" - } - Frame { - msec: 672 - hash: "79998980caccd4eb479fbd9f2a13c860" - } - Frame { - msec: 688 - hash: "79998980caccd4eb479fbd9f2a13c860" - } - Frame { - msec: 704 - hash: "79998980caccd4eb479fbd9f2a13c860" - } - Frame { - msec: 720 - hash: "79998980caccd4eb479fbd9f2a13c860" - } - Frame { - msec: 736 - hash: "79998980caccd4eb479fbd9f2a13c860" - } - Frame { - msec: 752 - hash: "79998980caccd4eb479fbd9f2a13c860" - } - Frame { - msec: 768 - hash: "79998980caccd4eb479fbd9f2a13c860" - } - Frame { - msec: 784 - hash: "79998980caccd4eb479fbd9f2a13c860" - } - Frame { - msec: 800 - hash: "79998980caccd4eb479fbd9f2a13c860" - } - Frame { - msec: 816 - hash: "79998980caccd4eb479fbd9f2a13c860" - } - Frame { - msec: 832 - hash: "79998980caccd4eb479fbd9f2a13c860" - } - Frame { - msec: 848 - hash: "79998980caccd4eb479fbd9f2a13c860" - } - Frame { - msec: 864 - hash: "79998980caccd4eb479fbd9f2a13c860" - } - Frame { - msec: 880 - hash: "79998980caccd4eb479fbd9f2a13c860" - } - Key { - type: 6 - key: 16777249 - modifiers: 0 - text: "" - autorep: false - count: 1 - } - Frame { - msec: 896 - hash: "79998980caccd4eb479fbd9f2a13c860" - } - Frame { - msec: 912 - hash: "79998980caccd4eb479fbd9f2a13c860" - } - Frame { - msec: 928 - hash: "79998980caccd4eb479fbd9f2a13c860" - } - Frame { - msec: 944 - hash: "79998980caccd4eb479fbd9f2a13c860" - } - Frame { - msec: 960 image: "rect-painting.0.png" } - Frame { - msec: 976 - hash: "79998980caccd4eb479fbd9f2a13c860" - } - Frame { - msec: 992 - hash: "79998980caccd4eb479fbd9f2a13c860" - } - Frame { - msec: 1008 - hash: "79998980caccd4eb479fbd9f2a13c860" - } - Frame { - msec: 1024 - hash: "79998980caccd4eb479fbd9f2a13c860" - } - Frame { - msec: 1040 - hash: "79998980caccd4eb479fbd9f2a13c860" - } - Frame { - msec: 1056 - hash: "79998980caccd4eb479fbd9f2a13c860" - } - Frame { - msec: 1072 - hash: "79998980caccd4eb479fbd9f2a13c860" - } - Frame { - msec: 1088 - hash: "79998980caccd4eb479fbd9f2a13c860" - } } -- cgit v0.12