From 455a9526db3e7f6a3a121ed9ff41d15b4319688d Mon Sep 17 00:00:00 2001 From: Aleksandar Sasha Babic Date: Wed, 30 Sep 2009 10:22:33 +0200 Subject: Fixing test case. In the qhttpnetworkconnection.cpp the defaultChannelCount is hardcoded to 3, for Symbian platform, and that fact has to be reflected in test case as well. Reviewed-by: Markus Goetz --- tests/auto/qnetworkreply/tst_qnetworkreply.cpp | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/tests/auto/qnetworkreply/tst_qnetworkreply.cpp b/tests/auto/qnetworkreply/tst_qnetworkreply.cpp index 5441b09..6e1bddd 100644 --- a/tests/auto/qnetworkreply/tst_qnetworkreply.cpp +++ b/tests/auto/qnetworkreply/tst_qnetworkreply.cpp @@ -3902,7 +3902,13 @@ void tst_QNetworkReply::httpConnectionCount() break; } +#ifdef Q_OS_SYMBIAN + // see in qhttpnetworkconnection.cpp + // hardcoded defaultChannelCount = 3 + QCOMPARE(pendingConnectionCount, 3); +#else QCOMPARE(pendingConnectionCount, 6); +#endif } #ifndef QT_NO_OPENSSL -- cgit v0.12