Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
wine
Manage
Activity
Members
Labels
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Package registry
Container registry
Model registry
Operate
Terraform modules
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Lorenzo Ferrillo
wine
Commits
a7d08fcb
Commit
a7d08fcb
authored
12 years ago
by
Alexandre Julliard
Browse files
Options
Downloads
Patches
Plain Diff
windowscodecs: Fix some broken tests.
parent
bdaddc4b
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
dlls/windowscodecs/info.c
+1
-0
1 addition, 0 deletions
dlls/windowscodecs/info.c
dlls/windowscodecs/tests/info.c
+4
-1
4 additions, 1 deletion
dlls/windowscodecs/tests/info.c
with
5 additions
and
1 deletion
dlls/windowscodecs/info.c
+
1
−
0
View file @
a7d08fcb
...
...
@@ -1086,6 +1086,7 @@ static HRESULT WINAPI PixelFormatInfo_GetComponentType(IWICPixelFormatInfo2 *ifa
WICComponentType
*
pType
)
{
TRACE
(
"(%p,%p)
\n
"
,
iface
,
pType
);
if
(
!
pType
)
return
E_INVALIDARG
;
*
pType
=
WICPixelFormat
;
return
S_OK
;
}
...
...
This diff is collapsed.
Click to expand it.
dlls/windowscodecs/tests/info.c
+
4
−
1
View file @
a7d08fcb
...
...
@@ -130,7 +130,7 @@ static void test_pixelformat_info(void)
DWORD
signing
;
hr
=
get_component_info
(
&
GUID_WICPixelFormat32bppBGRA
,
&
info
);
todo_wine
ok
(
hr
==
S_OK
,
"CreateComponentInfo failed, hr=%x
\n
"
,
hr
);
ok
(
hr
==
S_OK
,
"CreateComponentInfo failed, hr=%x
\n
"
,
hr
);
if
(
FAILED
(
hr
))
return
;
...
...
@@ -189,6 +189,8 @@ static void test_pixelformat_info(void)
ok
(
hr
==
S_OK
,
"GetComponentType failed, hr=%x
\n
"
,
hr
);
ok
(
componenttype
==
WICPixelFormat
,
"unexpected component type 0x%x
\n
"
,
componenttype
);
todo_wine
{
len
=
0xdeadbeef
;
hr
=
IWICComponentInfo_GetFriendlyName
(
info
,
0
,
NULL
,
&
len
);
ok
(
hr
==
S_OK
,
"GetFriendlyName failed, hr=%x
\n
"
,
hr
);
...
...
@@ -216,6 +218,7 @@ static void test_pixelformat_info(void)
hr
=
IWICComponentInfo_GetVersion
(
info
,
0
,
NULL
,
&
len
);
ok
(
hr
==
S_OK
,
"GetVersion failed, hr=%x
\n
"
,
hr
);
ok
(
len
==
0
,
"invalid length 0x%x
\n
"
,
len
);
/* version does not apply to pixel formats */
}
IWICComponentInfo_Release
(
info
);
}
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment