gdi32: Remove a no longer needed shortcut in CreateScalableFontResource test.

Dmitry Timoshkov dmitry at baikal.ru
Mon Apr 2 00:40:38 CDT 2012


---
 dlls/gdi32/tests/font.c |    5 +----
 1 file changed, 1 insertion(+), 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");
-- 
1.7.9.4




More information about the wine-patches mailing list