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
aa53a8f0
Commit
aa53a8f0
authored
Mar 30, 2012
by
Hans Leidekker
Committed by
Alexandre Julliard
Mar 30, 2012
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fusion/tests: Add another test for IAssemblyCache::QueryAssemblyInfo.
parent
0a648d76
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
15 additions
and
0 deletions
+15
-0
asmcache.c
dlls/fusion/tests/asmcache.c
+15
-0
No files found.
dlls/fusion/tests/asmcache.c
View file @
aa53a8f0
...
...
@@ -1485,6 +1485,21 @@ static void test_QueryAssemblyInfo(void)
ok
(
info
.
cchBuf
==
lstrlenW
(
asmpath
)
+
1
,
"Expected %d, got %d
\n
"
,
lstrlenW
(
asmpath
)
+
1
,
info
.
cchBuf
);
/* no flags, display name is "wine, Version=1.0.0.0" */
INIT_ASM_INFO
();
info
.
pszCurrentAssemblyPathBuf
=
NULL
;
info
.
cchBuf
=
0
;
lstrcpyW
(
name
,
wine
);
lstrcatW
(
name
,
commasep
);
lstrcatW
(
name
,
ver
);
hr
=
IAssemblyCache_QueryAssemblyInfo
(
cache
,
0
,
name
,
&
info
);
ok
(
hr
==
HRESULT_FROM_WIN32
(
ERROR_INSUFFICIENT_BUFFER
),
"Expected HRESULT_FROM_WIN32(ERROR_INSUFFICIENT_BUFFER), got %08x
\n
"
,
hr
);
ok
(
info
.
cbAssemblyInfo
==
sizeof
(
ASSEMBLY_INFO
),
"Expected sizeof(ASSEMBLY_INFO), got %d
\n
"
,
info
.
cbAssemblyInfo
);
ok
(
info
.
dwAssemblyFlags
==
ASSEMBLYINFO_FLAG_INSTALLED
,
"Expected ASSEMBLYINFO_FLAG_INSTALLED, got %08x
\n
"
,
info
.
dwAssemblyFlags
);
/* uninstall the assembly from the GAC */
disp
=
0xf00dbad
;
hr
=
IAssemblyCache_UninstallAssembly
(
cache
,
0
,
wine
,
NULL
,
&
disp
);
...
...
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