From 27d96b4789b98587e64642bf7bd6ef5f3a07e174 Mon Sep 17 00:00:00 2001 From: David Skoland Date: Thu, 26 Nov 2020 17:31:50 +0100 Subject: Replace QtTest headers with QTest Complete search and replace of QtTest and QtTest/QtTest with QTest, as QtTest includes the whole module. Replace all such instances with correct header includes. See Jira task for more discussion. Fixes: QTBUG-88831 Change-Id: I981cfae18a1cabcabcabee376016b086d9d01f44 Pick-to: 6.0 Reviewed-by: Volker Hilsheimer --- tests/auto/corelib/global/q_func_info/tst_q_func_info.cpp | 2 +- tests/auto/corelib/global/qflags/tst_qflags.cpp | 2 +- tests/auto/corelib/global/qfloat16/tst_qfloat16.cpp | 2 +- tests/auto/corelib/global/qgetputenv/tst_qgetputenv.cpp | 2 +- tests/auto/corelib/global/qglobal/tst_qglobal.cpp | 2 +- tests/auto/corelib/global/qglobalstatic/tst_qglobalstatic.cpp | 3 ++- tests/auto/corelib/global/qhooks/tst_qhooks.cpp | 2 +- tests/auto/corelib/global/qnumeric/tst_qnumeric.cpp | 2 +- .../global/qoperatingsystemversion/tst_qoperatingsystemversion.cpp | 2 +- tests/auto/corelib/global/qrandomgenerator/tst_qrandomgenerator.cpp | 2 +- tests/auto/corelib/global/qtendian/tst_qtendian.cpp | 2 +- tests/auto/corelib/global/qwinregistry/tst_qwinregistry.cpp | 2 +- 12 files changed, 13 insertions(+), 12 deletions(-) (limited to 'tests/auto/corelib/global') diff --git a/tests/auto/corelib/global/q_func_info/tst_q_func_info.cpp b/tests/auto/corelib/global/q_func_info/tst_q_func_info.cpp index 32e4217ad0..9d6bc15d73 100644 --- a/tests/auto/corelib/global/q_func_info/tst_q_func_info.cpp +++ b/tests/auto/corelib/global/q_func_info/tst_q_func_info.cpp @@ -28,7 +28,7 @@ #include -#include +#include #include class tst_q_func_info : public QObject diff --git a/tests/auto/corelib/global/qflags/tst_qflags.cpp b/tests/auto/corelib/global/qflags/tst_qflags.cpp index 86a233f984..4b76a32c9a 100644 --- a/tests/auto/corelib/global/qflags/tst_qflags.cpp +++ b/tests/auto/corelib/global/qflags/tst_qflags.cpp @@ -25,7 +25,7 @@ ** $QT_END_LICENSE$ ** ****************************************************************************/ -#include +#include QT_WARNING_DISABLE_DEPRECATED diff --git a/tests/auto/corelib/global/qfloat16/tst_qfloat16.cpp b/tests/auto/corelib/global/qfloat16/tst_qfloat16.cpp index 82ad6b1c38..96051cbe2c 100644 --- a/tests/auto/corelib/global/qfloat16/tst_qfloat16.cpp +++ b/tests/auto/corelib/global/qfloat16/tst_qfloat16.cpp @@ -27,7 +27,7 @@ ** ****************************************************************************/ -#include +#include #include #include diff --git a/tests/auto/corelib/global/qgetputenv/tst_qgetputenv.cpp b/tests/auto/corelib/global/qgetputenv/tst_qgetputenv.cpp index 8cc66c6477..519c5fa88d 100644 --- a/tests/auto/corelib/global/qgetputenv/tst_qgetputenv.cpp +++ b/tests/auto/corelib/global/qgetputenv/tst_qgetputenv.cpp @@ -28,7 +28,7 @@ ****************************************************************************/ #include -#include +#include #include #ifdef Q_OS_WIN diff --git a/tests/auto/corelib/global/qglobal/tst_qglobal.cpp b/tests/auto/corelib/global/qglobal/tst_qglobal.cpp index 1f64fca3dc..5b10049144 100644 --- a/tests/auto/corelib/global/qglobal/tst_qglobal.cpp +++ b/tests/auto/corelib/global/qglobal/tst_qglobal.cpp @@ -27,7 +27,7 @@ ****************************************************************************/ -#include +#include #include #include diff --git a/tests/auto/corelib/global/qglobalstatic/tst_qglobalstatic.cpp b/tests/auto/corelib/global/qglobalstatic/tst_qglobalstatic.cpp index 53a521d06d..dfc62ce163 100644 --- a/tests/auto/corelib/global/qglobalstatic/tst_qglobalstatic.cpp +++ b/tests/auto/corelib/global/qglobalstatic/tst_qglobalstatic.cpp @@ -28,7 +28,8 @@ ****************************************************************************/ #include -#include +#include +#include #if defined(Q_OS_UNIX) #include diff --git a/tests/auto/corelib/global/qhooks/tst_qhooks.cpp b/tests/auto/corelib/global/qhooks/tst_qhooks.cpp index c06b9e7e3d..5a24275177 100644 --- a/tests/auto/corelib/global/qhooks/tst_qhooks.cpp +++ b/tests/auto/corelib/global/qhooks/tst_qhooks.cpp @@ -27,7 +27,7 @@ ****************************************************************************/ -#include +#include #include class tst_QHooks: public QObject diff --git a/tests/auto/corelib/global/qnumeric/tst_qnumeric.cpp b/tests/auto/corelib/global/qnumeric/tst_qnumeric.cpp index 526fbbabb2..0cfb8541ab 100644 --- a/tests/auto/corelib/global/qnumeric/tst_qnumeric.cpp +++ b/tests/auto/corelib/global/qnumeric/tst_qnumeric.cpp @@ -28,7 +28,7 @@ ****************************************************************************/ -#include +#include #include #include "private/qnumeric_p.h" diff --git a/tests/auto/corelib/global/qoperatingsystemversion/tst_qoperatingsystemversion.cpp b/tests/auto/corelib/global/qoperatingsystemversion/tst_qoperatingsystemversion.cpp index 5fae598fc6..b109666be5 100644 --- a/tests/auto/corelib/global/qoperatingsystemversion/tst_qoperatingsystemversion.cpp +++ b/tests/auto/corelib/global/qoperatingsystemversion/tst_qoperatingsystemversion.cpp @@ -26,7 +26,7 @@ ** ****************************************************************************/ -#include +#include #include class tst_QOperatingSystemVersion : public QObject diff --git a/tests/auto/corelib/global/qrandomgenerator/tst_qrandomgenerator.cpp b/tests/auto/corelib/global/qrandomgenerator/tst_qrandomgenerator.cpp index 9f4abb367a..847193e3b5 100644 --- a/tests/auto/corelib/global/qrandomgenerator/tst_qrandomgenerator.cpp +++ b/tests/auto/corelib/global/qrandomgenerator/tst_qrandomgenerator.cpp @@ -26,7 +26,7 @@ ** ****************************************************************************/ -#include +#include #include #include #include diff --git a/tests/auto/corelib/global/qtendian/tst_qtendian.cpp b/tests/auto/corelib/global/qtendian/tst_qtendian.cpp index 2345bb39c1..58fcca4351 100644 --- a/tests/auto/corelib/global/qtendian/tst_qtendian.cpp +++ b/tests/auto/corelib/global/qtendian/tst_qtendian.cpp @@ -27,7 +27,7 @@ ****************************************************************************/ -#include +#include #include #include diff --git a/tests/auto/corelib/global/qwinregistry/tst_qwinregistry.cpp b/tests/auto/corelib/global/qwinregistry/tst_qwinregistry.cpp index ac811de2a1..c73a0a7575 100644 --- a/tests/auto/corelib/global/qwinregistry/tst_qwinregistry.cpp +++ b/tests/auto/corelib/global/qwinregistry/tst_qwinregistry.cpp @@ -26,7 +26,7 @@ ** ****************************************************************************/ -#include +#include #include -- cgit v1.2.3