Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-fonts
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
Aleksandr Isakov
wine-fonts
Commits
9839f09b
Commit
9839f09b
authored
May 25, 2018
by
Alistair Leslie-Hughes
Committed by
Vitaly Lipatov
Jul 30, 2022
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
windowscodecs/tests: Add IWICBitmapEncoderInfo test
Signed-off-by:
Alistair Leslie-Hughes
<
leslie_alistair@hotmail.com
>
parent
67890f7c
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
16 additions
and
0 deletions
+16
-0
converter.c
dlls/windowscodecs/tests/converter.c
+16
-0
No files found.
dlls/windowscodecs/tests/converter.c
View file @
9839f09b
...
...
@@ -1418,6 +1418,8 @@ static void test_multi_encoder_impl(const struct bitmap_data **srcs, const CLSID
if
(
hglobal
&&
SUCCEEDED
(
hr
))
{
IWICBitmapEncoderInfo
*
info
=
NULL
;
if
(
palette
)
{
hr
=
IWICBitmapEncoder_SetPalette
(
encoder
,
palette
);
...
...
@@ -1437,6 +1439,20 @@ static void test_multi_encoder_impl(const struct bitmap_data **srcs, const CLSID
hr
=
S_OK
;
}
hr
=
IWICBitmapEncoder_GetEncoderInfo
(
encoder
,
&
info
);
ok
(
hr
==
S_OK
||
hr
==
WINCODEC_ERR_COMPONENTNOTFOUND
,
"wrong error %#lx
\n
"
,
hr
);
if
(
SUCCEEDED
(
hr
))
{
CLSID
clsid
;
hr
=
IWICBitmapEncoderInfo_GetCLSID
(
info
,
&
clsid
);
ok
(
hr
==
S_OK
,
"wrong error %#lx
\n
"
,
hr
);
ok
(
!
IsEqualGUID
(
clsid_encoder
,
&
clsid
),
"wrong CLSID %s (%s)
\n
"
,
wine_dbgstr_guid
(
clsid_encoder
),
wine_dbgstr_guid
(
&
clsid
));
IWICBitmapEncoderInfo_Release
(
info
);
}
i
=
0
;
while
(
SUCCEEDED
(
hr
)
&&
srcs
[
i
])
{
...
...
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