gdiplus/tests: Use trace instead of printf.
This commit is contained in:
parent
217faec5f5
commit
d4db49efc2
|
@ -3223,10 +3223,10 @@ static void test_tiff_properties(void)
|
|||
{
|
||||
UINT j;
|
||||
BYTE *data = prop_item->value;
|
||||
printf("id %#x:", prop_item->id);
|
||||
trace("id %#x:", prop_item->id);
|
||||
for (j = 0; j < prop_item->length; j++)
|
||||
printf(" %02x", data[j]);
|
||||
printf("\n");
|
||||
trace(" %02x", data[j]);
|
||||
trace("\n");
|
||||
}
|
||||
}
|
||||
HeapFree(GetProcessHeap(), 0, prop_item);
|
||||
|
@ -3329,10 +3329,10 @@ static void test_GdipGetAllPropertyItems(void)
|
|||
{
|
||||
UINT j;
|
||||
BYTE *data = prop_item->value;
|
||||
printf("id %#x:", prop_item->id);
|
||||
trace("id %#x:", prop_item->id);
|
||||
for (j = 0; j < prop_item->length; j++)
|
||||
printf(" %02x", data[j]);
|
||||
printf("\n");
|
||||
trace(" %02x", data[j]);
|
||||
trace("\n");
|
||||
}
|
||||
}
|
||||
HeapFree(GetProcessHeap(), 0, prop_item);
|
||||
|
@ -3391,10 +3391,10 @@ static void test_GdipGetAllPropertyItems(void)
|
|||
{
|
||||
UINT j;
|
||||
BYTE *data = prop_item[i].value;
|
||||
printf("id %#x:", prop_item[i].id);
|
||||
trace("id %#x:", prop_item[i].id);
|
||||
for (j = 0; j < prop_item[i].length; j++)
|
||||
printf(" %02x", data[j]);
|
||||
printf("\n");
|
||||
trace(" %02x", data[j]);
|
||||
trace("\n");
|
||||
}
|
||||
}
|
||||
item_data += prop_item[i].length;
|
||||
|
@ -3623,10 +3623,10 @@ static void test_bitmapbits(void)
|
|||
if (!match)
|
||||
{
|
||||
BYTE *bits = data.Scan0;
|
||||
printf("%u: data mismatch for format %#x:", i, td[i].format);
|
||||
trace("%u: data mismatch for format %#x:", i, td[i].format);
|
||||
for (j = 0; j < td[i].size; j++)
|
||||
printf(" %02x", bits[j]);
|
||||
printf("\n");
|
||||
trace(" %02x", bits[j]);
|
||||
trace("\n");
|
||||
}
|
||||
}
|
||||
else
|
||||
|
@ -3654,10 +3654,10 @@ static void test_bitmapbits(void)
|
|||
{
|
||||
UINT j;
|
||||
BYTE *bits = data.Scan0;
|
||||
printf("%u: data mismatch for format %#x:", i, td[i].format);
|
||||
trace("%u: data mismatch for format %#x:", i, td[i].format);
|
||||
for (j = 0; j < 48; j++)
|
||||
printf(" %02x", bits[j]);
|
||||
printf("\n");
|
||||
trace(" %02x", bits[j]);
|
||||
trace("\n");
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -3709,8 +3709,8 @@ static void test_DrawImage(void)
|
|||
UINT i, size = sizeof(white_2x2);
|
||||
BYTE *bits = white_2x2;
|
||||
for (i = 0; i < size; i++)
|
||||
printf(" %02x", bits[i]);
|
||||
printf("\n");
|
||||
trace(" %02x", bits[i]);
|
||||
trace("\n");
|
||||
}
|
||||
|
||||
status = GdipDeleteGraphics(graphics);
|
||||
|
@ -3761,8 +3761,8 @@ static void test_GdipDrawImagePointRect(void)
|
|||
UINT i, size = sizeof(white_2x2);
|
||||
BYTE *bits = white_2x2;
|
||||
for (i = 0; i < size; i++)
|
||||
printf(" %02x", bits[i]);
|
||||
printf("\n");
|
||||
trace(" %02x", bits[i]);
|
||||
trace("\n");
|
||||
}
|
||||
|
||||
status = GdipDeleteGraphics(graphics);
|
||||
|
@ -3968,8 +3968,8 @@ static void test_DrawImage_scale(void)
|
|||
UINT i, size = sizeof(dst_8x1);
|
||||
const BYTE *bits = dst_8x1;
|
||||
for (i = 0; i < size; i++)
|
||||
printf(" %02x", bits[i]);
|
||||
printf("\n");
|
||||
trace(" %02x", bits[i]);
|
||||
trace("\n");
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -4094,10 +4094,10 @@ static void test_gif_properties(void)
|
|||
{
|
||||
UINT j;
|
||||
BYTE *data = prop_item->value;
|
||||
printf("id %#x:", prop_item->id);
|
||||
trace("id %#x:", prop_item->id);
|
||||
for (j = 0; j < prop_item->length; j++)
|
||||
printf(" %02x", data[j]);
|
||||
printf("\n");
|
||||
trace(" %02x", data[j]);
|
||||
trace("\n");
|
||||
}
|
||||
}
|
||||
HeapFree(GetProcessHeap(), 0, prop_item);
|
||||
|
@ -4156,10 +4156,10 @@ static void test_gif_properties(void)
|
|||
{
|
||||
UINT j;
|
||||
BYTE *data = prop_item[i].value;
|
||||
printf("id %#x:", prop_item[i].id);
|
||||
trace("id %#x:", prop_item[i].id);
|
||||
for (j = 0; j < prop_item[i].length; j++)
|
||||
printf(" %02x", data[j]);
|
||||
printf("\n");
|
||||
trace(" %02x", data[j]);
|
||||
trace("\n");
|
||||
}
|
||||
}
|
||||
item_data += prop_item[i].length;
|
||||
|
|
Loading…
Reference in New Issue