From: Sylvain Petreolle Date: Sat, 23 May 2009 12:59:46 +0000 (+0000) Subject: Fix one bogus test in setupapi:devclass X-Git-Tag: ReactOS-0.3.10~326 X-Git-Url: https://git.reactos.org/?p=reactos.git;a=commitdiff_plain;h=7ab0e775330b8dacce3c8647c41d837f9496e4e2 Fix one bogus test in setupapi:devclass Ignore only bitmap font tests in gdi32:font svn path=/trunk/; revision=41073 --- diff --git a/rostests/winetests/gdi32/font.c b/rostests/winetests/gdi32/font.c index c48e5491abf..b92a2295440 100644 --- a/rostests/winetests/gdi32/font.c +++ b/rostests/winetests/gdi32/font.c @@ -308,6 +308,9 @@ static void test_bitmap_font(void) SIZE size_orig; INT ret, i, width_orig, height_orig, scale, lfWidth; + skip("ROS-HACK: Skipping bitmap font tests!\n"); + return; + hdc = GetDC(0); /* "System" has only 1 pixel size defined, otherwise the test breaks */ @@ -2916,8 +2919,6 @@ START_TEST(font) init(); test_logfont(); - skip("ROS-HACK: Skipping bitmap font tests\n"); - return; test_bitmap_font(); test_outline_font(); test_bitmap_font_metrics(); diff --git a/rostests/winetests/setupapi/devclass.c b/rostests/winetests/setupapi/devclass.c index 2f20f1a4ff1..f95944a2078 100644 --- a/rostests/winetests/setupapi/devclass.c +++ b/rostests/winetests/setupapi/devclass.c @@ -119,7 +119,6 @@ static void test_SetupDiClassGuidsFromNameA(void) SetLastError( 0xdeadbeef ); ok( !SetupDiClassGuidsFromNameA( test_class_name, NULL, 0, &required_size ), "Fail expected\n" ); - SetLastError( 0xdeadbeef ); ok( GetLastError() == ERROR_INSUFFICIENT_BUFFER, "Expected error %lx, got %lx\n", ERROR_INSUFFICIENT_BUFFER, GetLastError() ); ok( required_size > 0, "Expected > 0, got %lu\n", required_size );