summaryrefslogtreecommitdiffstats
path: root/tests/auto/other/lancelot/scripts/clipping_state.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/clipping_state.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/clipping_state.qps')
-rw-r--r--tests/auto/other/lancelot/scripts/clipping_state.qps47
1 files changed, 0 insertions, 47 deletions
diff --git a/tests/auto/other/lancelot/scripts/clipping_state.qps b/tests/auto/other/lancelot/scripts/clipping_state.qps
deleted file mode 100644
index a29d3738c8..0000000000
--- a/tests/auto/other/lancelot/scripts/clipping_state.qps
+++ /dev/null
@@ -1,47 +0,0 @@
-# Version: 1
-# CheckVsReference: 5%
-
-path_addRect path1 10 10 50 50
-path_addRect path2 30 30 50 50
-# enable/disable a clip path
-setPen nopen
-setBrush red
-setClipPath path1
-setClipPath path2 UniteClip
-drawRect 0 0 100 100
-setClipping false
-setBrush #630000ff
-drawRect 0 0 100 100
-setClipping true
-setBrush #6300ff00
-drawRect 0 0 100 100
-# enable/disable noclip
-translate 150 0
-setClipPath path1 NoClip
-setClipping false
-setBrush #630000ff
-drawRect 0 0 100 100
-setClipping true
-setBrush #6300ff00
-drawRect 25 25 50 50
-# enable/disable full clipping
-translate 150 0
-path_addRect path3 0 0 10 10
-path_addRect path4 20 20 10 10
-setClipPath path3
-setClipPath path4 IntersectClip
-setClipping false
-setBrush #630000ff
-drawRect 0 0 100 100
-setClipping true
-setBrush #6300ff00
-drawRect 25 25 50 50
-# disable clipping followed by setClipRect
-translate 150 0
-setClipRect 0 0 50 50 ReplaceClip
-setClipping false
-setBrush #630000ff
-drawRect 0 0 100 100
-setClipRect 25 25 75 75 IntersectClip
-setBrush #6300ff00
-drawRect 25 25 50 50 \ No newline at end of file