From bac9da45c9ec7927bde3b0a2b4dc7ed1fc3f032e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Olivier=20De=20Canni=C3=A8re?= Date: Thu, 1 Oct 2026 11:08:12 +0200 Subject: Tests: Remove unused includes from dom/format tests Task-number: QTBUG-151040 Change-Id: I899b2c662e4de5bfe3f4db5af608dfb4a4ddcc93 Reviewed-by: Semih Yavuz --- tests/auto/qml/qmlformat/tst_qmlformat.cpp | 3 --- tests/auto/qmldom/domitem/tst_qmldomitem.h | 5 ----- tests/auto/qmldom/errormessage/tst_qmldomerrormessage.cpp | 5 ----- tests/auto/qmldom/merging/tst_dommerging.h | 3 --- tests/auto/qmldom/reformatter/tst_reformatter.h | 4 ---- tests/auto/qmldom/stringdumper/tst_qmldomstringdumper.h | 2 -- 6 files changed, 22 deletions(-) diff --git a/tests/auto/qml/qmlformat/tst_qmlformat.cpp b/tests/auto/qml/qmlformat/tst_qmlformat.cpp index 17a2b1cbdc..dcdb019ddb 100644 --- a/tests/auto/qml/qmlformat/tst_qmlformat.cpp +++ b/tests/auto/qml/qmlformat/tst_qmlformat.cpp @@ -3,10 +3,7 @@ #include #include -#include -#include #include -#include #include #include #include diff --git a/tests/auto/qmldom/domitem/tst_qmldomitem.h b/tests/auto/qmldom/domitem/tst_qmldomitem.h index 3239784d0c..da7ec3e9a1 100644 --- a/tests/auto/qmldom/domitem/tst_qmldomitem.h +++ b/tests/auto/qmldom/domitem/tst_qmldomitem.h @@ -8,19 +8,14 @@ #include #include #include -#include #include #include -#include -#include #include #include #include #include -#include -#include #include QT_BEGIN_NAMESPACE diff --git a/tests/auto/qmldom/errormessage/tst_qmldomerrormessage.cpp b/tests/auto/qmldom/errormessage/tst_qmldomerrormessage.cpp index ac3e324f42..6f2149157b 100644 --- a/tests/auto/qmldom/errormessage/tst_qmldomerrormessage.cpp +++ b/tests/auto/qmldom/errormessage/tst_qmldomerrormessage.cpp @@ -5,11 +5,6 @@ #include #include -#include -#include - -#include - QT_BEGIN_NAMESPACE namespace QQmlJS { diff --git a/tests/auto/qmldom/merging/tst_dommerging.h b/tests/auto/qmldom/merging/tst_dommerging.h index 64ed540bda..7031f8db84 100644 --- a/tests/auto/qmldom/merging/tst_dommerging.h +++ b/tests/auto/qmldom/merging/tst_dommerging.h @@ -5,11 +5,8 @@ #define TST_DOMMERGING_H #include #include -#include #include -#include -#include #include #include diff --git a/tests/auto/qmldom/reformatter/tst_reformatter.h b/tests/auto/qmldom/reformatter/tst_reformatter.h index f46f86c0c3..e79da44a57 100644 --- a/tests/auto/qmldom/reformatter/tst_reformatter.h +++ b/tests/auto/qmldom/reformatter/tst_reformatter.h @@ -7,18 +7,14 @@ #include #include #include -#include #include -#include #include #include #include #include #include -#include - QT_BEGIN_NAMESPACE namespace QQmlJS { namespace Dom { diff --git a/tests/auto/qmldom/stringdumper/tst_qmldomstringdumper.h b/tests/auto/qmldom/stringdumper/tst_qmldomstringdumper.h index ed7dd5e57b..87e21551d6 100644 --- a/tests/auto/qmldom/stringdumper/tst_qmldomstringdumper.h +++ b/tests/auto/qmldom/stringdumper/tst_qmldomstringdumper.h @@ -6,8 +6,6 @@ #include #include -#include -#include #include -- cgit v1.2.3