wininet/tests: Skip tests for not implemented functions.

This commit is contained in:
Paul Vriens 2009-03-08 13:59:51 +01:00 committed by Alexandre Julliard
parent ac07d2eb28
commit c01d0ade50
1 changed files with 5 additions and 0 deletions

View File

@ -299,6 +299,11 @@ static void InternetCrackUrlW_test(void)
SetLastError(0xdeadbeef);
r = InternetCrackUrlW(NULL, 0, 0, &comp );
error = GetLastError();
if (!r && error == ERROR_CALL_NOT_IMPLEMENTED)
{
win_skip("InternetCrackUrlW is not implemented\n");
return;
}
ok( !r, "InternetCrackUrlW succeeded unexpectedly\n");
ok( error == ERROR_INVALID_PARAMETER, "expected ERROR_INVALID_PARAMETER got %u\n", error);