QSKIP SSL-session related tests (SecureTransport backend)

A couple of test always fail on OS X/iOS with SecureTransport
(simply not implemented yet).

Change-Id: Idd82262512938c36b657b497751738fdc804c182
Reviewed-by: Jeremy Lainé <jeremy.laine@m4x.org>
Reviewed-by: Richard J. Moore <rich@kde.org>
This commit is contained in:
Timur Pocheptsov 2015-08-04 17:23:21 +02:00
parent 72680ce7e2
commit f8f357c0e9

View File

@ -6165,6 +6165,10 @@ void tst_QNetworkReply::sslSessionSharing_data()
void tst_QNetworkReply::sslSessionSharing()
{
#ifdef QT_SECURETRANSPORT
QSKIP("Not implemented with SecureTransport");
#endif
QString urlString("https://" + QtNetworkSettings::serverName());
QList<QNetworkReplyPtr> replies;
@ -6229,6 +6233,10 @@ void tst_QNetworkReply::sslSessionSharingFromPersistentSession_data()
void tst_QNetworkReply::sslSessionSharingFromPersistentSession()
{
#ifdef QT_SECURETRANSPORT
QSKIP("Not implemented with SecureTransport");
#endif
QString urlString("https://" + QtNetworkSettings::serverName());
// warm up SSL session cache to get a working session