[PATCH 3/6] urlmon/tests: Fix tests to succeed when http_protocol
is tested for the same URL more than once.
mk144210 at bcm.edu
Tue Jul 17 19:50:17 CDT 2007
We will be testing the same URL once without BINDF_FROMURLMON and once with, but just test both with
until we add support for without BINDF_FROMURLMON.
The two BINDSTATUS_CONNECTING and FINDINGRESOURCE (off the top of my head here) are b/c of differences
in the behavior of similar Internet Status codes in wininet (already have tests for these in wininet/tests/
http.c). The GetUserAgent seems to be b/c even though we destroy http_protocol correctly (last Release
returns a reference count of 0), it seems to really be the same object returned both times anyway
which remembers things like the UserAgent and decides not to ask the second time. For now I'll just
leave the Wine version as is for this behavior.
dlls/urlmon/tests/protocol.c | 45 ++++++++++++++++++++++++++++++++---------
1 files changed, 35 insertions(+), 10 deletions(-)
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 3983 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20070717/2542046f/eea2f8588275af86f365469b4652339afcca0d09.bin
More information about the wine-patches