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

This commit is contained in:
Paul Vriens 2010-03-26 16:42:15 +01:00 committed by Alexandre Julliard
parent 88c4210b4a
commit 719d904e35

View file

@ -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);