diff options
author | Tor Arne Vestbø <tor.arne.vestbo@qt.io> | 2020-07-26 18:25:06 +0200 |
---|---|---|
committer | Tor Arne Vestbø <tor.arne.vestbo@qt.io> | 2020-07-29 14:33:23 +0200 |
commit | dfeedc17a25d8d2fdc4e52927e7c34f1ff045c32 (patch) | |
tree | b1f658fe3437db8a794520328845af18048688e0 /tests/auto/corelib/tools | |
parent | 57337f21c79f0478927a1f3a685af29883540e5e (diff) |
Disable deprecation warnings in some tests
The tests are testing deprecated functionality, which we
still want to test.
Change-Id: Iad6ed35800896170c17fe019c7a6ecda22398ac3
Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
Diffstat (limited to 'tests/auto/corelib/tools')
-rw-r--r-- | tests/auto/corelib/tools/qalgorithms/tst_qalgorithms.cpp | 2 | ||||
-rw-r--r-- | tests/auto/corelib/tools/qmap/tst_qmap.cpp | 1 |
2 files changed, 3 insertions, 0 deletions
diff --git a/tests/auto/corelib/tools/qalgorithms/tst_qalgorithms.cpp b/tests/auto/corelib/tools/qalgorithms/tst_qalgorithms.cpp index 078351f388..964c68c9e9 100644 --- a/tests/auto/corelib/tools/qalgorithms/tst_qalgorithms.cpp +++ b/tests/auto/corelib/tools/qalgorithms/tst_qalgorithms.cpp @@ -29,6 +29,8 @@ #include "../../../../../src/corelib/tools/qalgorithms.h" #include <QtTest/QtTest> +QT_WARNING_DISABLE_DEPRECATED + #include <iostream> #include <iomanip> #include <sstream> diff --git a/tests/auto/corelib/tools/qmap/tst_qmap.cpp b/tests/auto/corelib/tools/qmap/tst_qmap.cpp index 397e2b6ba6..b812eb89a1 100644 --- a/tests/auto/corelib/tools/qmap/tst_qmap.cpp +++ b/tests/auto/corelib/tools/qmap/tst_qmap.cpp @@ -30,6 +30,7 @@ #include <QtTest/QtTest> #include <QDebug> +QT_WARNING_DISABLE_DEPRECATED class tst_QMap : public QObject { |