D27805: Add a screenshot capture item and use it to test rendering
Arjen Hiemstra
noreply at phabricator.kde.org
Tue Mar 3 14:35:24 GMT 2020
ahiemstra created this revision.
Herald added a project: Frameworks.
Herald added a subscriber: kde-frameworks-devel.
ahiemstra requested review of this revision.
REVISION SUMMARY
This adds the ItemCapture item to the test runner, which can be
used to capture images of items and compare them to a previous
version. It also updates the three chart tests to make use of
this and adds the images for these tests.
TEST PLAN
Autotests still pass.
REPOSITORY
R1049 KQuickCharts
BRANCH
screenshot_autotest
REVISION DETAIL
https://phabricator.kde.org/D27805
AFFECTED FILES
autotests/CMakeLists.txt
autotests/ChartTestCase.qml
autotests/ItemCapture.cpp
autotests/ItemCapture.h
autotests/qmltest.cpp
autotests/screenshots/BarChart_simple.png
autotests/screenshots/LineChart_simple.png
autotests/screenshots/PieChart_model.png
autotests/screenshots/PieChart_multiValue.png
autotests/screenshots/PieChart_simple.png
autotests/tst_BarChart.qml
autotests/tst_LineChart.qml
autotests/tst_PieChart.qml
To: ahiemstra
Cc: kde-frameworks-devel, LeGast00n, cblack, GB_2, michaelh, ngraham, bruns
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20200303/5eaab16d/attachment.html>
More information about the Kde-frameworks-devel
mailing list