summaryrefslogtreecommitdiffstats
path: root/tests/auto
diff options
context:
space:
mode:
authorOlivier Goffart <ogoffart@trolltech.com>2010-02-09 13:00:47 (GMT)
committerOlivier Goffart <ogoffart@trolltech.com>2010-02-12 14:44:31 (GMT)
commite5ee4c3c8a621c24117f004f4c137f8a531d7ea4 (patch)
tree9ac7a3a8df150c4f7a34cf086359c5f14b375682 /tests/auto
parentf9f2eee3f9aa0396ef141ecd49ae43dba8a526c5 (diff)
downloadQt-e5ee4c3c8a621c24117f004f4c137f8a531d7ea4.zip
Qt-e5ee4c3c8a621c24117f004f4c137f8a531d7ea4.tar.gz
Qt-e5ee4c3c8a621c24117f004f4c137f8a531d7ea4.tar.bz2
Remove useless qDebug in QTextCodec autotest
Diffstat (limited to 'tests/auto')
-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 65b0448..aa97e87 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);