summaryrefslogtreecommitdiffstats
path: root/tests/auto/qtextcodec
diff options
context:
space:
mode:
authorOlivier Goffart <ogoffart@trolltech.com>2010-02-09 14:00:47 +0100
committerOlivier Goffart <ogoffart@trolltech.com>2010-02-12 15:44:31 +0100
commite5ee4c3c8a621c24117f004f4c137f8a531d7ea4 (patch)
tree9ac7a3a8df150c4f7a34cf086359c5f14b375682 /tests/auto/qtextcodec
parentf9f2eee3f9aa0396ef141ecd49ae43dba8a526c5 (diff)
Remove useless qDebug in QTextCodec autotest
Diffstat (limited to 'tests/auto/qtextcodec')
-rw-r--r--tests/auto/qtextcodec/tst_qtextcodec.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/tests/auto/qtextcodec/tst_qtextcodec.cpp b/tests/auto/qtextcodec/tst_qtextcodec.cpp
index 65b04480dc..aa97e8706a 100644
--- a/tests/auto/qtextcodec/tst_qtextcodec.cpp
+++ b/tests/auto/qtextcodec/tst_qtextcodec.cpp
@@ -1795,12 +1795,12 @@ void tst_QTextCodec::utfHeaders()
QLatin1String ignoreReverseTestOn = (QSysInfo::ByteOrder == QSysInfo::BigEndian) ? QLatin1String(" le") : QLatin1String(" be");
QString rowName(QTest::currentDataTag());
- for (int i = 0; i < encoded.length(); ++i)
- qDebug() << hex << " " << (uint)(uchar)encoded.at(i);
+ /*for (int i = 0; i < encoded.length(); ++i)
+ qDebug() << hex << " " << (uint)(uchar)encoded.at(i);*/
if (toUnicode) {
QString result = codec->toUnicode(encoded.constData(), encoded.length(), &state);
- for (int i = 0; i < result.length(); ++i)
- qDebug() << hex << " " << (uint)result.at(i).unicode();
+ /*for (int i = 0; i < result.length(); ++i)
+ qDebug() << hex << " " << (uint)result.at(i).unicode();*/
QCOMPARE(result.length(), unicode.length());
QCOMPARE(result, unicode);
@@ -1939,7 +1939,7 @@ static int loadAndConvertMIB(int mib)
void tst_QTextCodec::threadSafety()
{
QThreadPool::globalInstance()->setMaxThreadCount(12);
-
+
QList<QByteArray> codecList = QTextCodec::availableCodecs();
QFuture<QByteArray> res = QtConcurrent::mapped(codecList, loadAndConvert);