aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/qml/qmlcppcodegen/tst_qmlcppcodegen.cpp
diff options
context:
space:
mode:
authorSami Shalayel <sami.shalayel@qt.io>2025-04-11 14:55:59 +0200
committerSami Shalayel <sami.shalayel@qt.io>2025-04-17 12:10:21 +0200
commita86367089035645e80ee9502265652a73e7493dd (patch)
treedad0b8f1264aa2c6d9277db3e4e429d138e4110c /tests/auto/qml/qmlcppcodegen/tst_qmlcppcodegen.cpp
parent538cd9d8ce5539d0b95d8e33cdd705a4cb388d53 (diff)
tst_qmllint: clean callQmllint arguments
callQmllint requires so many parameters that it is getting quite unwieldy: move its arguments into a struct, so that its easier to distinguish between actually relevant arguments and unchanged defaulted arguments. Introduce CallQmllintOptions that contain information on how to call qmllint, and CallQmllintChecks that contain information on what tests callQmllint does (currently it can checks autofixes and the return value of qmllint). Remove the QJsonArray* argument and always return the array. Keep the old behavior of not populating the array when a test failure happened to avoid breaking tests with QEXPECT_FAIL(). Change-Id: I9dffbea0dee5033df748beec72abf00e5a141cd5 Reviewed-by: Ulf Hermann <ulf.hermann@qt.io>
Diffstat (limited to 'tests/auto/qml/qmlcppcodegen/tst_qmlcppcodegen.cpp')
0 files changed, 0 insertions, 0 deletions