Jacek Caban : urlmon: Fixed tests for systems with stored cookie for winehq .org.

Alexandre Julliard julliard at winehq.org
Wed Oct 7 09:46:05 CDT 2009


Module: wine
Branch: master
Commit: 8eada56b50af67b5ed878ea3eed01419b33dc643
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=8eada56b50af67b5ed878ea3eed01419b33dc643

Author: Jacek Caban <jacek at codeweavers.com>
Date:   Wed Oct  7 11:33:34 2009 +0200

urlmon: Fixed tests for systems with stored cookie for winehq.org.

---

 dlls/urlmon/tests/protocol.c |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/dlls/urlmon/tests/protocol.c b/dlls/urlmon/tests/protocol.c
index 0c7932a..5f48cfe 100644
--- a/dlls/urlmon/tests/protocol.c
+++ b/dlls/urlmon/tests/protocol.c
@@ -435,6 +435,8 @@ static void call_continue(PROTOCOLDATA *protocol_data)
     HRESULT hres;
 
     if(!state) {
+        if(tested_protocol == HTTP_TEST || tested_protocol == HTTPS_TEST)
+            CLEAR_CALLED(ReportProgress_COOKIE_SENT);
         if(tested_protocol == HTTP_TEST || tested_protocol == HTTPS_TEST || tested_protocol == FTP_TEST) {
             if (http_is_first) {
                 CLEAR_CALLED(ReportProgress_FINDINGRESOURCE);
@@ -2423,6 +2425,7 @@ static void test_http_protocol_url(LPCWSTR url, int prot, DWORD flags)
         test_priority(async_protocol);
         test_http_info(async_protocol);
 
+        SET_EXPECT(ReportProgress_COOKIE_SENT);
         SET_EXPECT(ReportProgress_FINDINGRESOURCE);
         SET_EXPECT(ReportProgress_CONNECTING);
         SET_EXPECT(ReportProgress_SENDINGREQUEST);




More information about the wine-cvs mailing list