summaryrefslogtreecommitdiffstats
path: root/tests/auto/networkselftest
diff options
context:
space:
mode:
authorThiago Macieira <thiago.macieira@nokia.com>2010-04-20 17:06:14 (GMT)
committerThiago Macieira <thiago.macieira@nokia.com>2010-04-22 07:41:11 (GMT)
commit26eb22954b8fe766d5ad63c8d21124a8393bed17 (patch)
tree12d4e8e39a9acb6669464f5649d3f336a494ff05 /tests/auto/networkselftest
parent17c48bde799d2ac382a6a95cd2d9d05e8d5828ad (diff)
downloadQt-26eb22954b8fe766d5ad63c8d21124a8393bed17.zip
Qt-26eb22954b8fe766d5ad63c8d21124a8393bed17.tar.gz
Qt-26eb22954b8fe766d5ad63c8d21124a8393bed17.tar.bz2
[networkselftest] Add the FTP proxy and SMB ports to the test.
Diffstat (limited to 'tests/auto/networkselftest')
-rw-r--r--tests/auto/networkselftest/tst_networkselftest.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/auto/networkselftest/tst_networkselftest.cpp b/tests/auto/networkselftest/tst_networkselftest.cpp
index 752e368..041765c 100644
--- a/tests/auto/networkselftest/tst_networkselftest.cpp
+++ b/tests/auto/networkselftest/tst_networkselftest.cpp
@@ -408,6 +408,8 @@ void tst_NetworkSelfTest::remotePortsOpen_data()
QTest::newRow("http-proxy-auth-ntlm") << 3130;
QTest::newRow("socks5-proxy") << 1080;
QTest::newRow("socks5-proxy-auth") << 1081;
+ QTest::newRow("ftp-proxy") << 2121;
+ QTest::newRow("smb") << 139;
}
void tst_NetworkSelfTest::remotePortsOpen()
@@ -725,7 +727,7 @@ void tst_NetworkSelfTest::supportsSsl()
#ifdef QT_NO_OPENSSL
QFAIL("SSL not compiled in");
#else
- QVERIFY(QSslSocket::supportsSsl());
+ QVERIFY2(QSslSocket::supportsSsl(), "Could not load SSL libraries");
#endif
}