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>
63 lines
1010 B
Plaintext
63 lines
1010 B
Plaintext
# Version: 1
|
|
# CheckVsReference: 5%
|
|
|
|
|
|
setRenderHint Antialiasing
|
|
|
|
path_moveTo p 20 20
|
|
path_cubicTo p 100 20 100 180 180 100
|
|
path_lineTo p 20 180
|
|
path_lineTo p 180 20
|
|
|
|
setPen black 20 solidline roundcap roundjoin
|
|
drawPath p
|
|
setPen red
|
|
drawPath p
|
|
|
|
translate 200 0
|
|
setPen black 20 solidline roundcap miterjoin
|
|
drawPath p
|
|
setPen red
|
|
drawPath p
|
|
|
|
translate 200 0
|
|
setPen black 20 solidline roundcap beveljoin
|
|
drawPath p
|
|
setPen red
|
|
drawPath p
|
|
|
|
translate -400 200
|
|
setPen black 20 solidline squarecap roundjoin
|
|
drawPath p
|
|
setPen red
|
|
drawPath p
|
|
|
|
translate 200 0
|
|
setPen black 20 solidline squarecap miterjoin
|
|
drawPath p
|
|
setPen red
|
|
drawPath p
|
|
|
|
translate 200 0
|
|
setPen black 20 solidline squarecap beveljoin
|
|
drawPath p
|
|
setPen red
|
|
drawPath p
|
|
|
|
translate -400 200
|
|
setPen black 20 solidline flatcap roundjoin
|
|
drawPath p
|
|
setPen red
|
|
drawPath p
|
|
|
|
translate 200 0
|
|
setPen black 20 solidline flatcap miterjoin
|
|
drawPath p
|
|
setPen red
|
|
drawPath p
|
|
|
|
translate 200 0
|
|
setPen black 20 solidline flatcap beveljoin
|
|
drawPath p
|
|
setPen red
|
|
drawPath p |