Remove useless code

We don't rely on a latin1 locale anymore for the test,
and the other code was not doing anything.

Change-Id: I08bc08d200c9e037884d8b680dfbb24c129f3d2e
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
bb10
Lars Knoll 2020-04-28 14:14:51 +02:00
parent 55dc178271
commit 52053a8994
1 changed files with 0 additions and 8 deletions

View File

@ -685,7 +685,6 @@ typedef QVector<int> IntList;
tst_QString::tst_QString()
{
QTextCodec::setCodecForLocale(QTextCodec::codecForName("ISO 8859-1"));
}
void tst_QString::remove_uint_uint_data()
@ -1061,13 +1060,6 @@ void tst_QString::acc_01()
a = (const char*)0;
QVERIFY(a.isNull());
QVERIFY(*a.toLatin1().constData() == '\0');
{
QFile f("COMPARE.txt");
f.open(QIODevice::ReadOnly);
QTextStream ts( &f );
ts.setCodec(QTextCodec::codecForName("UTF-16"));
ts << "Abc";
}
}
QT_WARNING_PUSH