From 39ee4f868bb0415875413c224f44fd9d7c2a4496 Mon Sep 17 00:00:00 2001 From: Peter Hartmann Date: Wed, 28 Apr 2010 14:29:55 +0200 Subject: add some QNetworkCookieJar tests ... regarding the previous merge request. --- tests/auto/qnetworkcookiejar/tst_qnetworkcookiejar.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tests/auto/qnetworkcookiejar/tst_qnetworkcookiejar.cpp b/tests/auto/qnetworkcookiejar/tst_qnetworkcookiejar.cpp index ab057dc..01b9c0c 100644 --- a/tests/auto/qnetworkcookiejar/tst_qnetworkcookiejar.cpp +++ b/tests/auto/qnetworkcookiejar/tst_qnetworkcookiejar.cpp @@ -315,6 +315,9 @@ void tst_QNetworkCookieJar::cookiesForUrl_data() allCookies += secureCookie; QTest::newRow("no-match-secure-1") << allCookies << "http://nokia.com/web" << result; QTest::newRow("no-match-secure-2") << allCookies << "http://qt.nokia.com/web" << result; + result += secureCookie; + QTest::newRow("match-secure-1") << allCookies << "https://nokia.com/web" << result; + QTest::newRow("match-secure-2") << allCookies << "https://qt.nokia.com/web" << result; } -- cgit v0.12