Dmitry Timoshkov : gdi32: Remove a no longer needed shortcut in CreateScalableFontResource test.
Module: wine Branch: master Commit: b2af51956dd065e63e9935f9337b77d48095b949 URL: http://source.winehq.org/git/wine.git/?a=commit;h=b2af51956dd065e63e9935f933... Author: Dmitry Timoshkov <dmitry(a)baikal.ru> Date: Mon Apr 2 14:40:38 2012 +0900 gdi32: Remove a no longer needed shortcut in CreateScalableFontResource test. --- dlls/gdi32/tests/font.c | 5 +---- 1 files changed, 1 insertions(+), 4 deletions(-) diff --git a/dlls/gdi32/tests/font.c b/dlls/gdi32/tests/font.c index 38a8544..93f174a 100644 --- a/dlls/gdi32/tests/font.c +++ b/dlls/gdi32/tests/font.c @@ -4003,9 +4003,6 @@ static void test_CreateScalableFontResource(void) todo_wine ok(!ret, "RemoveFontResourceEx() should fail\n"); - /* FIXME: since CreateScalableFontResource is a stub further testing is impossible */ - if (ret) return; - /* test public font resource */ SetLastError(0xdeadbeef); ret = CreateScalableFontResource(0, fot_name, ttf_name, NULL); @@ -4022,11 +4019,11 @@ todo_wine ok(ret, "font wine_test should be enumerated\n"); ret = pRemoveFontResourceExA(fot_name, FR_PRIVATE, 0); +todo_wine ok(!ret, "RemoveFontResourceEx() with not matching flags should fail\n"); SetLastError(0xdeadbeef); ret = pRemoveFontResourceExA(fot_name, 0, 0); -todo_wine ok(ret, "RemoveFontResourceEx() error %d\n", GetLastError()); ret = is_truetype_font_installed("wine_test");
participants (1)
-
Alexandre Julliard