Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
d4db49ef
Commit
d4db49ef
authored
Nov 06, 2013
by
Dmitry Timoshkov
Committed by
Alexandre Julliard
Nov 06, 2013
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
gdiplus/tests: Use trace instead of printf.
parent
217faec5
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
27 additions
and
27 deletions
+27
-27
image.c
dlls/gdiplus/tests/image.c
+27
-27
No files found.
dlls/gdiplus/tests/image.c
View file @
d4db49ef
...
...
@@ -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
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment