Commit c01d0ade authored by Paul Vriens's avatar Paul Vriens Committed by Alexandre Julliard

wininet/tests: Skip tests for not implemented functions.

parent ac07d2eb
...@@ -299,6 +299,11 @@ static void InternetCrackUrlW_test(void) ...@@ -299,6 +299,11 @@ static void InternetCrackUrlW_test(void)
SetLastError(0xdeadbeef); SetLastError(0xdeadbeef);
r = InternetCrackUrlW(NULL, 0, 0, &comp ); r = InternetCrackUrlW(NULL, 0, 0, &comp );
error = GetLastError(); error = GetLastError();
if (!r && error == ERROR_CALL_NOT_IMPLEMENTED)
{
win_skip("InternetCrackUrlW is not implemented\n");
return;
}
ok( !r, "InternetCrackUrlW succeeded unexpectedly\n"); ok( !r, "InternetCrackUrlW succeeded unexpectedly\n");
ok( error == ERROR_INVALID_PARAMETER, "expected ERROR_INVALID_PARAMETER got %u\n", error); ok( error == ERROR_INVALID_PARAMETER, "expected ERROR_INVALID_PARAMETER got %u\n", error);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment