summaryrefslogtreecommitdiffstats
path: root/tests/auto/qhttpnetworkconnection
diff options
context:
space:
mode:
authorJanne Anttila <janne.anttila@digia.com>2009-08-04 14:02:56 +0300
committerJanne Anttila <janne.anttila@digia.com>2009-08-04 14:30:41 +0300
commitcd10d1a8dbb3b77c2d4e9c389e134b1f3cc3c2cf (patch)
tree39fa997e3391ffdcc24cdf96ea0c0b5b62391a99 /tests/auto/qhttpnetworkconnection
parent4b07c9d95087cc69956bfe309cd9b4eec26235ec (diff)
Trailing whitespace and tab/space fixes for auto tests
Diffstat (limited to 'tests/auto/qhttpnetworkconnection')
-rw-r--r--tests/auto/qhttpnetworkconnection/tst_qhttpnetworkconnection.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/tests/auto/qhttpnetworkconnection/tst_qhttpnetworkconnection.cpp b/tests/auto/qhttpnetworkconnection/tst_qhttpnetworkconnection.cpp
index 236d1a1333..9fe59c94b8 100644
--- a/tests/auto/qhttpnetworkconnection/tst_qhttpnetworkconnection.cpp
+++ b/tests/auto/qhttpnetworkconnection/tst_qhttpnetworkconnection.cpp
@@ -419,17 +419,17 @@ void tst_QHttpNetworkConnection::post()
QCOMPARE(reply->statusCode(), statusCode);
QCOMPARE(reply->reasonPhrase(), statusString);
-
+
qint64 cLen = reply->contentLength();
if (cLen==-1) {
- // HTTP 1.1 server may respond with chunked encoding and in that
+ // HTTP 1.1 server may respond with chunked encoding and in that
// case contentLength is not present in reply -> verify that it is the case
QByteArray transferEnc = reply->headerField("Transfer-Encoding");
QCOMPARE(transferEnc, QByteArray("chunked"));
- } else {
+ } else {
QCOMPARE(cLen, qint64(contentLength));
- }
-
+ }
+
stopWatch.start();
QByteArray ba;
do {
@@ -442,7 +442,7 @@ void tst_QHttpNetworkConnection::post()
QVERIFY(reply->isFinished());
QCOMPARE(ba.size(), downloadSize);
-
+
delete reply;
}