summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorLars Knoll <lars.knoll@qt.io>2020-04-29 18:00:13 +0200
committerLars Knoll <lars.knoll@qt.io>2020-05-14 07:51:20 +0200
commit2b8863a98c912806fd4e47bd2f2a6d81ec1d71b9 (patch)
treed0d03d309719486805cb81459401fe71aaec45c0 /tests
parentada608d46d7ab99b787e48003f8c94c1a11dab19 (diff)
Get rid of some QTextCodec leftovers
There's no real dependency to QTextCodec in those files anymore. Change-Id: Ifaf19ab554fd108fa26095db4e2bd4a3e9ea427f Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Diffstat (limited to 'tests')
-rw-r--r--tests/auto/corelib/io/qtemporarydir/tst_qtemporarydir.cpp1
-rw-r--r--tests/auto/corelib/io/qtemporaryfile/tst_qtemporaryfile.cpp1
-rw-r--r--tests/auto/corelib/io/qurl/tst_qurl.cpp1
-rw-r--r--tests/auto/corelib/text/qlocale/tst_qlocale.cpp1
-rw-r--r--tests/auto/corelib/text/qstring/tst_qstring.cpp2
5 files changed, 0 insertions, 6 deletions
diff --git a/tests/auto/corelib/io/qtemporarydir/tst_qtemporarydir.cpp b/tests/auto/corelib/io/qtemporarydir/tst_qtemporarydir.cpp
index 6dbb8ddd0d..b4fa0b41fe 100644
--- a/tests/auto/corelib/io/qtemporarydir/tst_qtemporarydir.cpp
+++ b/tests/auto/corelib/io/qtemporarydir/tst_qtemporarydir.cpp
@@ -34,7 +34,6 @@
#include <qfile.h>
#include <qdir.h>
#include <qset.h>
-#include <qtextcodec.h>
#include <QtTest/private/qtesthelpers_p.h>
#ifdef Q_OS_WIN
# include <windows.h>
diff --git a/tests/auto/corelib/io/qtemporaryfile/tst_qtemporaryfile.cpp b/tests/auto/corelib/io/qtemporaryfile/tst_qtemporaryfile.cpp
index cdf79760f6..bfa9f1d744 100644
--- a/tests/auto/corelib/io/qtemporaryfile/tst_qtemporaryfile.cpp
+++ b/tests/auto/corelib/io/qtemporaryfile/tst_qtemporaryfile.cpp
@@ -36,7 +36,6 @@
#include <qdatetime.h>
#include <qdir.h>
#include <qset.h>
-#include <qtextcodec.h>
#include <QtTest/private/qtesthelpers_p.h>
diff --git a/tests/auto/corelib/io/qurl/tst_qurl.cpp b/tests/auto/corelib/io/qurl/tst_qurl.cpp
index 31d1de4234..5a04d194a5 100644
--- a/tests/auto/corelib/io/qurl/tst_qurl.cpp
+++ b/tests/auto/corelib/io/qurl/tst_qurl.cpp
@@ -36,7 +36,6 @@
#include <qcoreapplication.h>
#include <qfileinfo.h>
-#include <qtextcodec.h>
#include <qmap.h>
Q_DECLARE_METATYPE(QUrl::FormattingOptions)
diff --git a/tests/auto/corelib/text/qlocale/tst_qlocale.cpp b/tests/auto/corelib/text/qlocale/tst_qlocale.cpp
index 29fa3cc075..b9e14663ed 100644
--- a/tests/auto/corelib/text/qlocale/tst_qlocale.cpp
+++ b/tests/auto/corelib/text/qlocale/tst_qlocale.cpp
@@ -33,7 +33,6 @@
#include <qdir.h>
#include <qfileinfo.h>
#include <QScopedArrayPointer>
-#include <qtextcodec.h>
#include <qdatetime.h>
#if QT_CONFIG(process)
# include <qprocess.h>
diff --git a/tests/auto/corelib/text/qstring/tst_qstring.cpp b/tests/auto/corelib/text/qstring/tst_qstring.cpp
index 4fcbc0b87e..321a4fcefb 100644
--- a/tests/auto/corelib/text/qstring/tst_qstring.cpp
+++ b/tests/auto/corelib/text/qstring/tst_qstring.cpp
@@ -41,7 +41,6 @@
#include <QtTest/QtTest>
#include <qregexp.h>
#include <qregularexpression.h>
-#include <qtextcodec.h>
#include <qtextstream.h>
#include <qstringlist.h>
#include <qstringmatcher.h>
@@ -4184,7 +4183,6 @@ void tst_QString::stringRef_utf8()
QCOMPARE( utf8, QByteArray(ref.toUtf8()) );
}
-// copied to tst_QTextCodec::utf8Codec_data()
void tst_QString::fromUtf8_data()
{
QTest::addColumn<QByteArray>("utf8");