Paul Vriens : msxml3/tests: Skip some tests when network connection can' t be made.

Alexandre Julliard julliard at winehq.org
Fri Mar 26 12:11:53 CDT 2010


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

Author: Paul Vriens <Paul.Vriens.Wine at gmail.com>
Date:   Fri Mar 26 16:42:15 2010 +0100

msxml3/tests: Skip some tests when network connection can't be made.

---

 dlls/msxml3/tests/domdoc.c |    6 ++++++
 1 files changed, 6 insertions(+), 0 deletions(-)

diff --git a/dlls/msxml3/tests/domdoc.c b/dlls/msxml3/tests/domdoc.c
index 08b5776..a743e51 100644
--- a/dlls/msxml3/tests/domdoc.c
+++ b/dlls/msxml3/tests/domdoc.c
@@ -2750,6 +2750,12 @@ static void test_XMLHTTP(void)
     SysFreeString(str2);
 
     hr = IXMLHttpRequest_send(pXMLHttpRequest, varbody);
+    if (hr == INET_E_RESOURCE_NOT_FOUND)
+    {
+        skip("No connection could be made with crossover.codeweavers.com\n");
+        IXMLHttpRequest_Release(pXMLHttpRequest);
+        return;
+    }
     todo_wine ok(hr == S_OK, "IXMLHttpRequest_send should have succeeded instead of failing with 0x%08x\n", hr);
     VariantClear(&varbody);
 




More information about the wine-cvs mailing list