[PATCH 2/2] wininet/tests: Add testing framework and tests for internet status callbacks.

Misha Koshelev mk144210 at bcm.edu
Fri Jul 13 23:18:07 CDT 2007


I adapted Jacek's SET_EXCEPT/CHECK_CALLED from dlls/urlmon/tests/protocol.c to verify internet
status callbacks in dlls/wininet/tests/http.c.

These tests pass on win98, winxp, and wine (with the relevant todo_wine's and ALLOW_WINE statements),
and in fact fix two previous failures on winxp.

Currently on win98 the test_proxy_indirect tests page fault wininet, so these have to be disabled
to really run the tests on win98, but in that case my tests fail beautifully. I tried to fix this
too but honestly have no idea why the test_proxy_indirect tests cause the page fault (something inside
wininet I can't trace, I expect the HTTP response returned is somehow not proper and does not work
on this earlier version of wininet). If anyone knows why & fixes it would be neat.
---
 dlls/wininet/tests/http.c |  273 +++++++++++++++++++++++++++++++++++++++++++--
 1 files changed, 263 insertions(+), 10 deletions(-)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 28d5b7e4c2ba4bc1799be0e991f0e76b60b1fe33.diff
Type: text/x-patch
Size: 20510 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20070713/a499d098/28d5b7e4c2ba4bc1799be0e991f0e76b60b1fe33-0001.bin


More information about the wine-patches mailing list