Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
fdeab061
Commit
fdeab061
authored
Sep 24, 2013
by
Dmitry Timoshkov
Committed by
Alexandre Julliard
Sep 24, 2013
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
gdiplus/tests: Print actual rectangle extents if the tests fail.
parent
603ccca8
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
2 deletions
+6
-2
region.c
dlls/gdiplus/tests/region.c
+6
-2
No files found.
dlls/gdiplus/tests/region.c
View file @
fdeab061
...
...
@@ -86,7 +86,9 @@ static void verify_region(HRGN hrgn, const RECT *rc)
{
rect
=
(
const
RECT
*
)
rgn
.
data
.
Buffer
;
trace
(
"rect (%d,%d-%d,%d)
\n
"
,
rect
->
left
,
rect
->
top
,
rect
->
right
,
rect
->
bottom
);
ok
(
EqualRect
(
rect
,
rc
),
"rects don't match
\n
"
);
ok
(
EqualRect
(
rect
,
rc
),
"expected (%d,%d)-(%d,%d), got (%d,%d)-(%d,%d)
\n
"
,
rc
->
left
,
rc
->
top
,
rc
->
right
,
rc
->
bottom
,
rect
->
left
,
rect
->
top
,
rect
->
right
,
rect
->
bottom
);
}
ok
(
rgn
.
data
.
rdh
.
dwSize
==
sizeof
(
rgn
.
data
.
rdh
),
"expected sizeof(rdh), got %u
\n
"
,
rgn
.
data
.
rdh
.
dwSize
);
...
...
@@ -101,7 +103,9 @@ static void verify_region(HRGN hrgn, const RECT *rc)
ok
(
rgn
.
data
.
rdh
.
nCount
==
1
,
"expected 1, got %u
\n
"
,
rgn
.
data
.
rdh
.
nCount
);
ok
(
rgn
.
data
.
rdh
.
nRgnSize
==
sizeof
(
RECT
),
"expected sizeof(RECT), got %u
\n
"
,
rgn
.
data
.
rdh
.
nRgnSize
);
}
ok
(
EqualRect
(
&
rgn
.
data
.
rdh
.
rcBound
,
rc
),
"rects don't match
\n
"
);
ok
(
EqualRect
(
&
rgn
.
data
.
rdh
.
rcBound
,
rc
),
"expected (%d,%d)-(%d,%d), got (%d,%d)-(%d,%d)
\n
"
,
rc
->
left
,
rc
->
top
,
rc
->
right
,
rc
->
bottom
,
rgn
.
data
.
rdh
.
rcBound
.
left
,
rgn
.
data
.
rdh
.
rcBound
.
top
,
rgn
.
data
.
rdh
.
rcBound
.
right
,
rgn
.
data
.
rdh
.
rcBound
.
bottom
);
}
static
void
test_getregiondata
(
void
)
...
...
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