gdi32/enhmfdrv: Add ExtTextOut tests with unmatched BeginPath/EndPath calls.
Signed-off-by: Piotr Caban <piotr@codeweavers.com> Signed-off-by: Huw Davies <huw@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
269b2519a7
commit
3a12eb2083
|
@ -240,6 +240,16 @@ static void test_ExtTextOut(void)
|
|||
ret = ExtTextOutA(hdcMetafile, 0, 40, 0, NULL, text, lstrlenA(text), NULL);
|
||||
ok( ret, "ExtTextOutA error %d\n", GetLastError());
|
||||
|
||||
/* 4. test with unmatched BeginPath/EndPath calls */
|
||||
ret = BeginPath(hdcMetafile);
|
||||
ok( ret, "BeginPath error %d\n", GetLastError());
|
||||
ret = BeginPath(hdcMetafile);
|
||||
ok( ret, "BeginPath error %d\n", GetLastError());
|
||||
ret = EndPath(hdcMetafile);
|
||||
ok( ret, "BeginPath error %d\n", GetLastError());
|
||||
ret = ExtTextOutA(hdcMetafile, 0, 60, 0, NULL, text, lstrlenA(text), NULL);
|
||||
ok( ret, "ExtTextOutA error %d\n", GetLastError());
|
||||
|
||||
hFont = SelectObject(hdcMetafile, hFont);
|
||||
ret = DeleteObject(hFont);
|
||||
ok( ret, "DeleteObject error %d\n", GetLastError());
|
||||
|
|
Loading…
Reference in New Issue