mirror of
https://github.com/reactos/reactos.git
synced 2024-08-10 21:27:57 +00:00
[WIN32KNT_APITEST] Do not assert on the result of an unimplemented function.
svn path=/trunk/; revision=74996
This commit is contained in:
parent
6c7fe2fb5f
commit
7583b2b298
|
@ -19,7 +19,9 @@ START_TEST(NtGdiEnumFontOpen)
|
||||||
// FIXME: We should load the font first
|
// FIXME: We should load the font first
|
||||||
|
|
||||||
idEnum = NtGdiEnumFontOpen(hDC, 2, 0, 32, L"Courier", ANSI_CHARSET, &ulCount);
|
idEnum = NtGdiEnumFontOpen(hDC, 2, 0, 32, L"Courier", ANSI_CHARSET, &ulCount);
|
||||||
ASSERT(idEnum != 0);
|
TEST(idEnum != 0);
|
||||||
|
if (idEnum == 0)
|
||||||
|
return;
|
||||||
|
|
||||||
/* we should have a gdi handle here */
|
/* we should have a gdi handle here */
|
||||||
TEST(GDI_HANDLE_GET_TYPE(idEnum) == GDI_OBJECT_TYPE_ENUMFONT);
|
TEST(GDI_HANDLE_GET_TYPE(idEnum) == GDI_OBJECT_TYPE_ENUMFONT);
|
||||||
|
|
Loading…
Reference in a new issue