summaryrefslogtreecommitdiffstats
path: root/tests/auto/qtextstream/tst_qtextstream.cpp
diff options
context:
space:
mode:
authorFrans Englich <frans.englich@nokia.com>2009-08-20 13:29:42 (GMT)
committerFrans Englich <frans.englich@nokia.com>2009-08-20 13:29:42 (GMT)
commit1ec40470e6817ba1cd8cc1b06812a369d028dd9b (patch)
treeb1aae219806f5df81275f5cee5df58eed7cfd194 /tests/auto/qtextstream/tst_qtextstream.cpp
parenta19377ede0b089022544413b590fa8025c737ccb (diff)
downloadQt-1ec40470e6817ba1cd8cc1b06812a369d028dd9b.zip
Qt-1ec40470e6817ba1cd8cc1b06812a369d028dd9b.tar.gz
Qt-1ec40470e6817ba1cd8cc1b06812a369d028dd9b.tar.bz2
Document code.
Addresses review comment.
Diffstat (limited to 'tests/auto/qtextstream/tst_qtextstream.cpp')
-rw-r--r--tests/auto/qtextstream/tst_qtextstream.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/auto/qtextstream/tst_qtextstream.cpp b/tests/auto/qtextstream/tst_qtextstream.cpp
index 76a0483..3c4820d 100644
--- a/tests/auto/qtextstream/tst_qtextstream.cpp
+++ b/tests/auto/qtextstream/tst_qtextstream.cpp
@@ -1254,6 +1254,8 @@ void tst_QTextStream::stillOpenWhenAtEnd()
QTcpSocket socket;
socket.connectToHost(QtNetworkSettings::serverName(), 143);
#if defined(Q_OS_SYMBIAN)
+ // This number is determined in an arbitrary way; whatever it takes
+ // to make the test pass.
QVERIFY(socket.waitForReadyRead(30000));
#else
QVERIFY(socket.waitForReadyRead(5000));