Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
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-winehq
Commits
d71d7586
Commit
d71d7586
authored
Apr 22, 2013
by
Michael Stefaniuc
Committed by
Alexandre Julliard
Apr 22, 2013
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
sxs/tests: Avoid a magic constant.
parent
59a23fb4
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
cache.c
dlls/sxs/tests/cache.c
+5
-5
No files found.
dlls/sxs/tests/cache.c
View file @
d71d7586
...
...
@@ -104,17 +104,17 @@ static void test_QueryAssemblyInfo( void )
hr
=
IAssemblyCache_QueryAssemblyInfo
(
cache
,
0
,
wine2W
,
NULL
);
ok
(
hr
==
HRESULT_FROM_WIN32
(
ERROR_SXS_MISSING_ASSEMBLY_IDENTITY_ATTRIBUTE
)
||
broken
(
hr
==
0x80070490
)
/* winxp */
,
"got %08x
\n
"
,
hr
);
broken
(
hr
==
HRESULT_FROM_WIN32
(
ERROR_NOT_FOUND
)
)
/* winxp */
,
"got %08x
\n
"
,
hr
);
hr
=
IAssemblyCache_QueryAssemblyInfo
(
cache
,
0
,
wine3W
,
NULL
);
ok
(
hr
==
HRESULT_FROM_WIN32
(
ERROR_SXS_MISSING_ASSEMBLY_IDENTITY_ATTRIBUTE
)
||
broken
(
hr
==
0x80070490
)
/* winxp */
,
"got %08x
\n
"
,
hr
);
broken
(
hr
==
HRESULT_FROM_WIN32
(
ERROR_NOT_FOUND
)
)
/* winxp */
,
"got %08x
\n
"
,
hr
);
hr
=
IAssemblyCache_QueryAssemblyInfo
(
cache
,
0
,
wine4W
,
NULL
);
todo_wine
ok
(
hr
==
0x80070490
,
"got %08x
\n
"
,
hr
);
todo_wine
ok
(
hr
==
HRESULT_FROM_WIN32
(
ERROR_NOT_FOUND
)
,
"got %08x
\n
"
,
hr
);
hr
=
IAssemblyCache_QueryAssemblyInfo
(
cache
,
0
,
wine5W
,
NULL
);
todo_wine
ok
(
hr
==
0x80070490
,
"got %08x
\n
"
,
hr
);
todo_wine
ok
(
hr
==
HRESULT_FROM_WIN32
(
ERROR_NOT_FOUND
)
,
"got %08x
\n
"
,
hr
);
GetWindowsDirectoryA
(
comctl_path1
,
MAX_PATH
);
lstrcatA
(
comctl_path1
,
"
\\
winsxs
\\
x86_microsoft.windows.common-controls_6595b64144ccf1df_6.0.2600.2982_none_deadbeef"
);
...
...
@@ -141,7 +141,7 @@ static void test_QueryAssemblyInfo( void )
memset
(
&
info
,
0
,
sizeof
(
info
)
);
info
.
cbAssemblyInfo
=
sizeof
(
info
);
hr
=
IAssemblyCache_QueryAssemblyInfo
(
cache
,
0
,
wine5W
,
&
info
);
todo_wine
ok
(
hr
==
0x80070490
,
"got %08x
\n
"
,
hr
);
todo_wine
ok
(
hr
==
HRESULT_FROM_WIN32
(
ERROR_NOT_FOUND
)
,
"got %08x
\n
"
,
hr
);
memset
(
&
info
,
0
,
sizeof
(
info
)
);
info
.
cbAssemblyInfo
=
sizeof
(
info
);
...
...
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