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>
35 lines
565 B
Plaintext
35 lines
565 B
Plaintext
# Version: 1
|
|
# CheckVsReference: 5%
|
|
|
|
path_addEllipse mypath 20.0 20.0 200.0 200.0
|
|
|
|
save
|
|
setPen blue 20 SolidLine FlatCap
|
|
pen_setCosmetic true
|
|
pen_setDashPattern [ 0.0004 0.0004 ]
|
|
setBrush yellow
|
|
|
|
drawPath mypath
|
|
translate 300 0
|
|
setRenderHint Antialiasing true
|
|
drawPath mypath
|
|
restore
|
|
|
|
path_addEllipse bigpath 200000.0 200000.0 2000000.0 2000000.0
|
|
|
|
setPen blue 20 DotLine FlatCap
|
|
setBrush yellow
|
|
|
|
save
|
|
translate 0 300
|
|
scale 0.0001 0.00011
|
|
drawPath bigpath
|
|
restore
|
|
|
|
save
|
|
translate 300 300
|
|
setRenderHint Antialiasing true
|
|
scale 0.0001 0.00011
|
|
drawPath bigpath
|
|
restore
|