File tree Expand file tree Collapse file tree
modules/rostests/apitests/gdi32 Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -180,7 +180,7 @@ void Test_CreateDIBPatternBrushPt_RLE8()
180180
181181START_TEST (CreateDIBPatternBrush )
182182{
183- GdiToolsInit ();
183+ ok ( GdiToolsInit (), "GdiToolsInit failed\n" );
184184
185185 Test_CreateDIBPatternBrush ();
186186 Test_CreateDIBPatternBrushPt ();
Original file line number Diff line number Diff line change @@ -534,7 +534,8 @@ Test_CreateDIBitmap_CBM_CREATDIB(void)
534534
535535START_TEST (CreateDIBitmap )
536536{
537- GdiToolsInit ();
537+ ok (GdiToolsInit (), "GdiToolsInit failed\n" );
538+
538539 Test_CreateDIBitmap_Params ();
539540 Test_CreateDIBitmap1 ();
540541 Test_CreateDIBitmap_DIB_PAL_COLORS ();
Original file line number Diff line number Diff line change @@ -137,6 +137,7 @@ void Test_FrameRgn()
137137
138138START_TEST (FrameRgn )
139139{
140- GdiToolsInit ();
140+ ok (GdiToolsInit (), "GdiToolsInit failed\n" );
141+
141142 Test_FrameRgn ();
142143}
Original file line number Diff line number Diff line change @@ -472,8 +472,8 @@ void Test_GetDIBits_BI_BITFIELDS()
472472
473473START_TEST (GetDIBits )
474474{
475- //getchar( );
476- GdiToolsInit ();
475+ ok ( GdiToolsInit (), "GdiToolsInit failed\n" );
476+
477477 Test_GetDIBits_xBpp (1 );
478478 Test_GetDIBits_xBpp (4 );
479479 Test_GetDIBits_xBpp (8 );
Original file line number Diff line number Diff line change @@ -293,7 +293,8 @@ void Test_MaskBlt_Brush()
293293
294294START_TEST (MaskBlt )
295295{
296- GdiToolsInit ();
296+ ok (GdiToolsInit (), "GdiToolsInit failed\n" );
297+
297298 Test_MaskBlt_1bpp ();
298299 Test_MaskBlt_16bpp ();
299300 Test_MaskBlt_32bpp ();
Original file line number Diff line number Diff line change @@ -55,6 +55,7 @@ void Test_PaintRgn()
5555
5656START_TEST (PaintRgn )
5757{
58- GdiToolsInit ();
58+ ok (GdiToolsInit (), "GdiToolsInit failed\n" );
59+
5960 Test_PaintRgn ();
6061}
Original file line number Diff line number Diff line change 1111
1212START_TEST (RealizePalette )
1313{
14- GdiToolsInit ();
14+ ok (GdiToolsInit (), "GdiToolsInit failed\n" );
15+
1516 ok_int (RealizePalette (NULL ), GDI_ERROR );
1617 ok_int (RealizePalette ((HDC )UlongToHandle (0xdeadc0de )), GDI_ERROR );
1718 ok_int (RealizePalette ((HDC )UlongToHandle (0x00010001 )), 0 );
1819 ok_int (RealizePalette (ghdcDIB32 ), 0 );
19-
2020}
Original file line number Diff line number Diff line change @@ -687,7 +687,7 @@ Test_SetDIBitsToDevice()
687687
688688START_TEST (SetDIBitsToDevice )
689689{
690- GdiToolsInit ();
690+ ok ( GdiToolsInit (), "GdiToolsInit failed\n" );
691691
692692 Test_SetDIBitsToDevice_Params ();
693693 Test_SetDIBitsToDevice ();
You can’t perform that action at this time.
0 commit comments