mirror of
https://github.com/reactos/reactos.git
synced 2025-01-07 14:51:00 +00:00
Fix one bogus test in setupapi:devclass
Ignore only bitmap font tests in gdi32:font svn path=/trunk/; revision=41073
This commit is contained in:
parent
758a04d9d9
commit
7ab0e77533
2 changed files with 3 additions and 3 deletions
|
@ -308,6 +308,9 @@ static void test_bitmap_font(void)
|
||||||
SIZE size_orig;
|
SIZE size_orig;
|
||||||
INT ret, i, width_orig, height_orig, scale, lfWidth;
|
INT ret, i, width_orig, height_orig, scale, lfWidth;
|
||||||
|
|
||||||
|
skip("ROS-HACK: Skipping bitmap font tests!\n");
|
||||||
|
return;
|
||||||
|
|
||||||
hdc = GetDC(0);
|
hdc = GetDC(0);
|
||||||
|
|
||||||
/* "System" has only 1 pixel size defined, otherwise the test breaks */
|
/* "System" has only 1 pixel size defined, otherwise the test breaks */
|
||||||
|
@ -2916,8 +2919,6 @@ START_TEST(font)
|
||||||
init();
|
init();
|
||||||
|
|
||||||
test_logfont();
|
test_logfont();
|
||||||
skip("ROS-HACK: Skipping bitmap font tests\n");
|
|
||||||
return;
|
|
||||||
test_bitmap_font();
|
test_bitmap_font();
|
||||||
test_outline_font();
|
test_outline_font();
|
||||||
test_bitmap_font_metrics();
|
test_bitmap_font_metrics();
|
||||||
|
|
|
@ -119,7 +119,6 @@ static void test_SetupDiClassGuidsFromNameA(void)
|
||||||
SetLastError( 0xdeadbeef );
|
SetLastError( 0xdeadbeef );
|
||||||
ok( !SetupDiClassGuidsFromNameA( test_class_name, NULL, 0, &required_size ),
|
ok( !SetupDiClassGuidsFromNameA( test_class_name, NULL, 0, &required_size ),
|
||||||
"Fail expected\n" );
|
"Fail expected\n" );
|
||||||
SetLastError( 0xdeadbeef );
|
|
||||||
ok( GetLastError() == ERROR_INSUFFICIENT_BUFFER,
|
ok( GetLastError() == ERROR_INSUFFICIENT_BUFFER,
|
||||||
"Expected error %lx, got %lx\n", ERROR_INSUFFICIENT_BUFFER, GetLastError() );
|
"Expected error %lx, got %lx\n", ERROR_INSUFFICIENT_BUFFER, GetLastError() );
|
||||||
ok( required_size > 0, "Expected > 0, got %lu\n", required_size );
|
ok( required_size > 0, "Expected > 0, got %lu\n", required_size );
|
||||||
|
|
Loading…
Reference in a new issue