Author: spetreolle
Date: Sat May 23 16:59:46 2009
New Revision: 41073
URL:
http://svn.reactos.org/svn/reactos?rev=41073&view=rev
Log:
Fix one bogus test in setupapi:devclass
Ignore only bitmap font tests in gdi32:font
Modified:
trunk/rostests/winetests/gdi32/font.c
trunk/rostests/winetests/setupapi/devclass.c
Modified: trunk/rostests/winetests/gdi32/font.c
URL:
http://svn.reactos.org/svn/reactos/trunk/rostests/winetests/gdi32/font.c?re…
==============================================================================
--- trunk/rostests/winetests/gdi32/font.c [iso-8859-1] (original)
+++ trunk/rostests/winetests/gdi32/font.c [iso-8859-1] Sat May 23 16:59:46 2009
@@ -307,6 +307,9 @@
TEXTMETRICA tm_orig;
SIZE size_orig;
INT ret, i, width_orig, height_orig, scale, lfWidth;
+
+ skip("ROS-HACK: Skipping bitmap font tests!\n");
+ return;
hdc = GetDC(0);
@@ -2916,8 +2919,6 @@
init();
test_logfont();
- skip("ROS-HACK: Skipping bitmap font tests\n");
- return;
test_bitmap_font();
test_outline_font();
test_bitmap_font_metrics();
Modified: trunk/rostests/winetests/setupapi/devclass.c
URL:
http://svn.reactos.org/svn/reactos/trunk/rostests/winetests/setupapi/devcla…
==============================================================================
--- trunk/rostests/winetests/setupapi/devclass.c [iso-8859-1] (original)
+++ trunk/rostests/winetests/setupapi/devclass.c [iso-8859-1] Sat May 23 16:59:46 2009
@@ -119,7 +119,6 @@
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 );