e8f93e38de
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>
118 lines
2.7 KiB
Plaintext
118 lines
2.7 KiB
Plaintext
# Version: 1
|
|
# CheckVsReference: 5%
|
|
|
|
|
|
translate 50 50
|
|
|
|
# Pixmaps at 0.1 offset, unclipped
|
|
begin_block draw_pixmaps
|
|
save
|
|
drawPixmap border.png 0 0
|
|
translate 20.1 0.1
|
|
drawPixmap border.png 0 0
|
|
translate 20.1 0.1
|
|
drawPixmap border.png 0 0
|
|
translate 20.1 0.1
|
|
drawPixmap border.png 0 0
|
|
translate 20.1 0.1
|
|
drawPixmap border.png 0 0
|
|
translate 20.1 0.1
|
|
drawPixmap border.png 0 0
|
|
translate 20.1 0.1
|
|
drawPixmap border.png 0 0
|
|
translate 20.1 0.1
|
|
drawPixmap border.png 0 0
|
|
translate 20.1 0.1
|
|
drawPixmap border.png 0 0
|
|
translate 20.1 0.1
|
|
drawPixmap border.png 0 0
|
|
translate 20.1 0.1
|
|
|
|
drawPixmap border.png 0 0
|
|
translate 20.1 0.1
|
|
drawPixmap border.png 0 0
|
|
translate 20.1 0.1
|
|
drawPixmap border.png 0 0
|
|
translate 20.1 0.1
|
|
drawPixmap border.png 0 0
|
|
translate 20.1 0.1
|
|
drawPixmap border.png 0 0
|
|
translate 20.1 0.1
|
|
drawPixmap border.png 0 0
|
|
translate 20.1 0.1
|
|
drawPixmap border.png 0 0
|
|
translate 20.1 0.1
|
|
drawPixmap border.png 0 0
|
|
translate 20.1 0.1
|
|
drawPixmap border.png 0 0
|
|
translate 20.1 0.1
|
|
drawPixmap border.png 0 0
|
|
translate 20.1 0.1
|
|
restore
|
|
end_block
|
|
|
|
# Tiled pixmaps at 0.1 offsets, unclipped
|
|
translate 0 50
|
|
begin_block draw_tiled
|
|
save
|
|
drawTiledPixmap border.png 0 0 16 16 0 0
|
|
translate 20.1 0.1
|
|
drawTiledPixmap border.png 0 0 16 16 0 0
|
|
translate 20.1 0.1
|
|
drawTiledPixmap border.png 0 0 16 16 0 0
|
|
translate 20.1 0.1
|
|
drawTiledPixmap border.png 0 0 16 16 0 0
|
|
translate 20.1 0.1
|
|
drawTiledPixmap border.png 0 0 16 16 0 0
|
|
translate 20.1 0.1
|
|
drawTiledPixmap border.png 0 0 16 16 0 0
|
|
translate 20.1 0.1
|
|
drawTiledPixmap border.png 0 0 16 16 0 0
|
|
translate 20.1 0.1
|
|
drawTiledPixmap border.png 0 0 16 16 0 0
|
|
translate 20.1 0.1
|
|
drawTiledPixmap border.png 0 0 16 16 0 0
|
|
translate 20.1 0.1
|
|
drawTiledPixmap border.png 0 0 16 16 0 0
|
|
translate 20.1 0.1
|
|
|
|
drawTiledPixmap border.png 0 0 16 16 0 0
|
|
translate 20.1 0.1
|
|
drawTiledPixmap border.png 0 0 16 16 0 0
|
|
translate 20.1 0.1
|
|
drawTiledPixmap border.png 0 0 16 16 0 0
|
|
translate 20.1 0.1
|
|
drawTiledPixmap border.png 0 0 16 16 0 0
|
|
translate 20.1 0.1
|
|
drawTiledPixmap border.png 0 0 16 16 0 0
|
|
translate 20.1 0.1
|
|
drawTiledPixmap border.png 0 0 16 16 0 0
|
|
translate 20.1 0.1
|
|
drawTiledPixmap border.png 0 0 16 16 0 0
|
|
translate 20.1 0.1
|
|
drawTiledPixmap border.png 0 0 16 16 0 0
|
|
translate 20.1 0.1
|
|
drawTiledPixmap border.png 0 0 16 16 0 0
|
|
translate 20.1 0.1
|
|
drawTiledPixmap border.png 0 0 16 16 0 0
|
|
translate 20.1 0.1
|
|
restore
|
|
end_block
|
|
|
|
|
|
path_moveTo clip 0 0
|
|
path_lineTo clip width 0
|
|
path_lineTo clip width 400
|
|
path_lineTo clip 0 height
|
|
setClipPath clip
|
|
|
|
translate 0 50
|
|
# Pixmaps at 0.1 offset, clipped
|
|
repeat_block draw_pixmaps
|
|
|
|
|
|
# Tiled pixmaps at 0.1 offsets...
|
|
translate 0 50
|
|
repeat_block draw_tiled
|
|
|