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
95be1044
Commit
95be1044
authored
Jul 12, 2023
by
Jeff Smith
Committed by
Alexandre Julliard
Jul 18, 2023
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
gdiplus/tests: Add GIF to image properties tests.
parent
211d538d
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
image.c
dlls/gdiplus/tests/image.c
+2
-1
No files found.
dlls/gdiplus/tests/image.c
View file @
95be1044
...
...
@@ -3676,6 +3676,7 @@ static void test_image_properties(void)
{
jpgimage
,
sizeof
(
jpgimage
),
ImageTypeBitmap
,
2
,
~
0
,
128
,
~
0
,
0x5090
,
0x5091
,
12
},
{
tiffimage
,
sizeof
(
tiffimage
),
ImageTypeBitmap
,
16
,
~
0
,
4
,
~
0
,
0xfe
,
~
0
,
12
},
{
bmpimage
,
sizeof
(
bmpimage
),
ImageTypeBitmap
,
0
,
~
0
,
0
,
~
0
,
0
,
~
0
,
16
},
{
gifimage
,
sizeof
(
gifimage
),
ImageTypeBitmap
,
1
,
4
,
4
,
~
0
,
0x5100
,
~
0
,
16
},
{
wmfimage
,
sizeof
(
wmfimage
),
ImageTypeMetafile
,
0
,
~
0
,
0
,
~
0
,
0
,
~
0
,
-
GenericError
}
};
GpStatus
status
;
...
...
@@ -3721,7 +3722,7 @@ static void test_image_properties(void)
status
=
GdipGetPropertyCount
(
image
,
&
prop_count
);
ok
(
status
==
Ok
,
"%u: GdipGetPropertyCount error %d
\n
"
,
i
,
status
);
todo_wine_if
(
td
[
i
].
image_data
==
pngimage
||
td
[
i
].
image_data
==
jpgimage
)
todo_wine_if
(
td
[
i
].
image_data
==
pngimage
||
td
[
i
].
image_data
==
jpgimage
||
td
[
i
].
image_data
==
gifimage
)
ok
(
td
[
i
].
prop_count
==
prop_count
||
(
td
[
i
].
prop_count2
!=
~
0
&&
td
[
i
].
prop_count2
==
prop_count
),
" %u: expected property count %u or %u, got %u
\n
"
,
i
,
td
[
i
].
prop_count
,
td
[
i
].
prop_count2
,
prop_count
);
...
...
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