forked from Mirrors/wine-wine
comdlg32/tests: Skip some not implemented functions on win98.
parent
1e178be862
commit
b4b88b055d
|
@ -72,10 +72,16 @@ static void test_DialogCancel(void)
|
||||||
ok(CDERR_INITIALIZATION == CommDlgExtendedError(), "expected %d, got %d\n",
|
ok(CDERR_INITIALIZATION == CommDlgExtendedError(), "expected %d, got %d\n",
|
||||||
CDERR_INITIALIZATION, CommDlgExtendedError());
|
CDERR_INITIALIZATION, CommDlgExtendedError());
|
||||||
|
|
||||||
|
SetLastError(0xdeadbeef);
|
||||||
result = GetOpenFileNameW((LPOPENFILENAMEW) &ofn);
|
result = GetOpenFileNameW((LPOPENFILENAMEW) &ofn);
|
||||||
ok(0 == result, "expected %d, got %d\n", 0, result);
|
if (GetLastError() == ERROR_CALL_NOT_IMPLEMENTED)
|
||||||
ok(0 == CommDlgExtendedError(), "expected %d, got %d\n", 0,
|
skip("GetOpenFileNameW is not implemented\n");
|
||||||
CommDlgExtendedError());
|
else
|
||||||
|
{
|
||||||
|
ok(0 == result, "expected %d, got %d\n", 0, result);
|
||||||
|
ok(0 == CommDlgExtendedError(), "expected %d, got %d\n", 0,
|
||||||
|
CommDlgExtendedError());
|
||||||
|
}
|
||||||
|
|
||||||
PrintDlgA(NULL);
|
PrintDlgA(NULL);
|
||||||
ok(CDERR_INITIALIZATION == CommDlgExtendedError(), "expected %d, got %d\n",
|
ok(CDERR_INITIALIZATION == CommDlgExtendedError(), "expected %d, got %d\n",
|
||||||
|
@ -90,10 +96,16 @@ static void test_DialogCancel(void)
|
||||||
ok(CDERR_INITIALIZATION == CommDlgExtendedError(), "expected %d, got %d\n",
|
ok(CDERR_INITIALIZATION == CommDlgExtendedError(), "expected %d, got %d\n",
|
||||||
CDERR_INITIALIZATION, CommDlgExtendedError());
|
CDERR_INITIALIZATION, CommDlgExtendedError());
|
||||||
|
|
||||||
|
SetLastError(0xdeadbeef);
|
||||||
result = GetSaveFileNameW((LPOPENFILENAMEW) &ofn);
|
result = GetSaveFileNameW((LPOPENFILENAMEW) &ofn);
|
||||||
ok(0 == result, "expected %d, got %d\n", 0, result);
|
if (GetLastError() == ERROR_CALL_NOT_IMPLEMENTED)
|
||||||
ok(0 == CommDlgExtendedError(), "expected %d, got %d\n", 0,
|
skip("GetSaveFileNameW is not implemented\n");
|
||||||
CommDlgExtendedError());
|
else
|
||||||
|
{
|
||||||
|
ok(0 == result, "expected %d, got %d\n", 0, result);
|
||||||
|
ok(0 == CommDlgExtendedError(), "expected %d, got %d\n", 0,
|
||||||
|
CommDlgExtendedError());
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue