From d050d43c27b25ad7914f2970ef9933655caa0d44 Mon Sep 17 00:00:00 2001 From: Aleksandar Sasha Babic Date: Mon, 18 May 2009 18:04:22 +0200 Subject: 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. --- tests/auto/qnetworkreply/tst_qnetworkreply.cpp | 5 +++++ 1 file changed, 5 insertions(+) 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"); -- cgit v0.12