summaryrefslogtreecommitdiffstats
path: root/tests/auto/other/lancelot/scripts/rasterops.qps
diff options
context:
space:
mode:
authorEirik Aavitsland <eirik.aavitsland@qt.io>2021-11-15 13:36:48 +0100
committerVolker Hilsheimer <volker.hilsheimer@qt.io>2021-11-16 14:01:50 +0100
commite8f93e38debf4f46dbda4de198b9dd475df42d5c (patch)
treec042e1fea11d2b63788f1b8855030ecd96e13c19 /tests/auto/other/lancelot/scripts/rasterops.qps
parent9a131b59ee561e300fb6078886a85dd7b3c53599 (diff)
Rename and restructure the baseline (lancelot) testing code
In preparation for addition of new baseline tests, establish a new test category, "baseline". This is similar to the category "benchmarks" in that it contains tests that use the QTest framework, but conceptually are not unit tests, in contrast to those under auto/. Move the existing QPainter baseline test, tst_lancelot, into this new category, and rename it accordingly. Baseline tests use the QBaselineTest extension to QTest. Move that extension too into the tests/baseline directory, allowing the clean out of the baselineserver directory. Pick-to: 6.2 Change-Id: I1b527f5867c953b1d22be73798fcf7d1494712ea Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> Reviewed-by: Eirik Aavitsland <eirik.aavitsland@qt.io> Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
Diffstat (limited to 'tests/auto/other/lancelot/scripts/rasterops.qps')
-rw-r--r--tests/auto/other/lancelot/scripts/rasterops.qps87
1 files changed, 0 insertions, 87 deletions
diff --git a/tests/auto/other/lancelot/scripts/rasterops.qps b/tests/auto/other/lancelot/scripts/rasterops.qps
deleted file mode 100644
index d0f2da42df..0000000000
--- a/tests/auto/other/lancelot/scripts/rasterops.qps
+++ /dev/null
@@ -1,87 +0,0 @@
-# Version: 1
-# CheckVsReference: 5%
-
-setPen NoPen
-
-setBrush black
-drawRect 10 10 60 500
-
-setCompositionMode SourceOrDestination
-translate 20 20
-
-begin_block drawShape
- setBrush 0xffff0000
- drawEllipse 5 5 30 30
- setBrush 0xff00ff00
- drawRect 0 0 20 20
- setBrush 0xff0000ff
- drawRect 20 20 20 20
-end_block
-
-begin_block loop
- setCompositionMode SourceAndDestination
- translate 0 50
-repeat_block drawShape
-
-setCompositionMode SourceXorDestination
-translate 0 50
-repeat_block drawShape
-
-setCompositionMode NotSourceAndNotDestination
-translate 0 50
-repeat_block drawShape
-
-setCompositionMode NotSourceOrNotDestination
-translate 0 50
-repeat_block drawShape
-
-setCompositionMode NotSourceXorDestination
-translate 0 50
-repeat_block drawShape
-
-setCompositionMode NotSource
-translate 0 50
-repeat_block drawShape
-
-setCompositionMode NotSourceAndDestination
-translate 0 50
-repeat_block drawShape
-
-setCompositionMode SourceAndNotDestination
-translate 0 50
-repeat_block drawShape
-end_block
-
-resetMatrix
-setCompositionMode Source
-setBrush white
-drawRect 100 10 60 500
-translate 110 20
-repeat_block loop
-
-resetMatrix
-setCompositionMode Source
-translate 190 20
-repeat_block loop
-
-resetMatrix
-setPen black
-setCompositionMode SourceOver
-translate 250 45
-drawText 20 0 "Or ROP"
-translate 0 50
-drawText 20 0 "And ROP"
-translate 0 50
-drawText 20 0 "Xor ROP"
-translate 0 50
-drawText 20 0 "Nor ROP"
-translate 0 50
-drawText 20 0 "Nand ROP"
-translate 0 50
-drawText 0 0 "NSrcXorDst ROP"
-translate 0 50
-drawText 20 0 "NSrc ROP"
-translate 0 50
-drawText 0 0 "NSrcAndDst ROP"
-translate 0 50
-drawText 0 0 "SrcAndNDst ROP" \ No newline at end of file