diff options
author | Aleksandar Sasha Babic <aleksandar.babic@nokia.com> | 2009-09-30 08:22:33 (GMT) |
---|---|---|
committer | Aleksandar Sasha Babic <aleksandar.babic@nokia.com> | 2009-10-02 10:07:45 (GMT) |
commit | 455a9526db3e7f6a3a121ed9ff41d15b4319688d (patch) | |
tree | bcb4b27f71f8fb8474247269b400e0c2bccf2bb4 /tests | |
parent | 38fab6177555a03b80690a2637deae66fc18489f (diff) | |
download | Qt-455a9526db3e7f6a3a121ed9ff41d15b4319688d.zip Qt-455a9526db3e7f6a3a121ed9ff41d15b4319688d.tar.gz Qt-455a9526db3e7f6a3a121ed9ff41d15b4319688d.tar.bz2 |
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
Diffstat (limited to 'tests')
-rw-r--r-- | tests/auto/qnetworkreply/tst_qnetworkreply.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
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 |