diff options
author | Aleksandar Sasha Babic <aleksandar.babic@nokia.com> | 2009-05-18 16:04:22 (GMT) |
---|---|---|
committer | Aleksandar Sasha Babic <aleksandar.babic@nokia.com> | 2009-05-18 16:04:22 (GMT) |
commit | d050d43c27b25ad7914f2970ef9933655caa0d44 (patch) | |
tree | b004a4d7346b489f4bbe42ad347df3cabff90820 /tests | |
parent | dc06f947f5a2b300c4396a8ec1d8793f594e2d86 (diff) | |
download | Qt-d050d43c27b25ad7914f2970ef9933655caa0d44.zip Qt-d050d43c27b25ad7914f2970ef9933655caa0d44.tar.gz Qt-d050d43c27b25ad7914f2970ef9933655caa0d44.tar.bz2 |
Performance on Symbian with Open C 1.5.3 pre-release
is bad and I needed some progress display to see if
test is alive or not.
I print line every 500 iteration.
Diffstat (limited to 'tests')
-rw-r--r-- | tests/auto/qnetworkreply/tst_qnetworkreply.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/auto/qnetworkreply/tst_qnetworkreply.cpp b/tests/auto/qnetworkreply/tst_qnetworkreply.cpp index 8a12b0b..f07bb6e 100644 --- a/tests/auto/qnetworkreply/tst_qnetworkreply.cpp +++ b/tests/auto/qnetworkreply/tst_qnetworkreply.cpp @@ -2626,6 +2626,11 @@ void tst_QNetworkReply::downloadProgress() QFETCH(int, loopCount); for (int i = 1; i <= loopCount; ++i) { +#ifdef Q_OS_SYMBIAN + if(i % 500 == 0) { + qWarning("iteration %d", i); + } +#endif sender->write(data); QVERIFY2(sender->waitForBytesWritten(2000), "Network timeout"); |