summaryrefslogtreecommitdiffstats
path: root/tests/auto/qhttp
diff options
context:
space:
mode:
authorJanne Anttila <janne.anttila@digia.com>2009-08-04 11:02:56 (GMT)
committerJanne Anttila <janne.anttila@digia.com>2009-08-04 11:30:41 (GMT)
commitcd10d1a8dbb3b77c2d4e9c389e134b1f3cc3c2cf (patch)
tree39fa997e3391ffdcc24cdf96ea0c0b5b62391a99 /tests/auto/qhttp
parent4b07c9d95087cc69956bfe309cd9b4eec26235ec (diff)
downloadQt-cd10d1a8dbb3b77c2d4e9c389e134b1f3cc3c2cf.zip
Qt-cd10d1a8dbb3b77c2d4e9c389e134b1f3cc3c2cf.tar.gz
Qt-cd10d1a8dbb3b77c2d4e9c389e134b1f3cc3c2cf.tar.bz2
Trailing whitespace and tab/space fixes for auto tests
Diffstat (limited to 'tests/auto/qhttp')
-rw-r--r--tests/auto/qhttp/tst_qhttp.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/tests/auto/qhttp/tst_qhttp.cpp b/tests/auto/qhttp/tst_qhttp.cpp
index a6bec39..37ce256 100644
--- a/tests/auto/qhttp/tst_qhttp.cpp
+++ b/tests/auto/qhttp/tst_qhttp.cpp
@@ -198,9 +198,9 @@ void tst_QHttp::initTestCase_data()
QTest::addColumn<int>("proxyType");
QTest::newRow("WithoutProxy") << false << 0;
-#ifdef TEST_QNETWORK_PROXY
+#ifdef TEST_QNETWORK_PROXY
QTest::newRow("WithSocks5Proxy") << true << int(QNetworkProxy::Socks5Proxy);
-#endif
+#endif
}
void tst_QHttp::initTestCase()
@@ -426,7 +426,7 @@ void tst_QHttp::head_data()
QTest::newRow( "failprot_01" ) << QtNetworkSettings::serverName() << 80u
<< QString("/t") << 1 << 404 << 0u;
-
+
QTest::newRow( "failprot_02" ) << QtNetworkSettings::serverName() << 80u
<< QString("qtest/rfc3252.txt") << 1 << 400 << 0u;
@@ -1242,11 +1242,11 @@ void tst_QHttp::unexpectedRemoteClose()
QCoreApplication::instance()->processEvents();
QEventLoop loop;
-#ifndef Q_OS_SYMBIAN
+#ifndef Q_OS_SYMBIAN
QTimer::singleShot(3000, &loop, SLOT(quit()));
-#else
+#else
QTimer::singleShot(30000, &loop, SLOT(quit()));
-#endif
+#endif
QHttp http;
QObject::connect(&http, SIGNAL(done(bool)), &loop, SLOT(quit()));