gdi32/tests: Don't test unimplemented functions.
This commit is contained in:
parent
3089a9f27f
commit
d1bcc32bf2
|
@ -2363,7 +2363,13 @@ static void test_GetTextFace(void)
|
||||||
|
|
||||||
/* 'W' case. */
|
/* 'W' case. */
|
||||||
memcpy(fW.lfFaceName, faceW, sizeof faceW);
|
memcpy(fW.lfFaceName, faceW, sizeof faceW);
|
||||||
|
SetLastError(0xdeadbeef);
|
||||||
f = CreateFontIndirectW(&fW);
|
f = CreateFontIndirectW(&fW);
|
||||||
|
if (!f && GetLastError() == ERROR_CALL_NOT_IMPLEMENTED)
|
||||||
|
{
|
||||||
|
win_skip("CreateFontIndirectW is not implemented\n");
|
||||||
|
return;
|
||||||
|
}
|
||||||
ok(f != NULL, "CreateFontIndirectW failed\n");
|
ok(f != NULL, "CreateFontIndirectW failed\n");
|
||||||
|
|
||||||
dc = GetDC(NULL);
|
dc = GetDC(NULL);
|
||||||
|
|
Loading…
Reference in New Issue