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
3870e5b2
Commit
3870e5b2
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: Add a test for GdipTransformRegion with an empty region path.
parent
10887332
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
0 deletions
+9
-0
region.c
dlls/gdiplus/tests/region.c
+9
-0
No files found.
dlls/gdiplus/tests/region.c
View file @
3870e5b2
...
@@ -117,6 +117,7 @@ static void test_getregiondata(void)
...
@@ -117,6 +117,7 @@ static void test_getregiondata(void)
DWORD
buf
[
100
];
DWORD
buf
[
100
];
GpRect
rect
;
GpRect
rect
;
GpPath
*
path
;
GpPath
*
path
;
GpMatrix
*
matrix
;
memset
(
buf
,
0xee
,
sizeof
(
buf
));
memset
(
buf
,
0xee
,
sizeof
(
buf
));
...
@@ -376,6 +377,14 @@ static void test_getregiondata(void)
...
@@ -376,6 +377,14 @@ static void test_getregiondata(void)
ok
((
*
(
buf
+
8
)
&
(
~
0x00004000
))
==
0x00000000
,
ok
((
*
(
buf
+
8
)
&
(
~
0x00004000
))
==
0x00000000
,
"expected 00000000 got %08x
\n
"
,
*
(
buf
+
8
)
&
(
~
0x00004000
));
"expected 00000000 got %08x
\n
"
,
*
(
buf
+
8
)
&
(
~
0x00004000
));
/* Transform an empty region */
status
=
GdipCreateMatrix
(
&
matrix
);
expect
(
Ok
,
status
);
status
=
GdipTransformRegion
(
region
,
matrix
);
todo_wine
expect
(
Ok
,
status
);
GdipDeleteMatrix
(
matrix
);
status
=
GdipDeleteRegion
(
region
);
status
=
GdipDeleteRegion
(
region
);
expect
(
Ok
,
status
);
expect
(
Ok
,
status
);
...
...
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