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
c9e6f774
Commit
c9e6f774
authored
Jan 11, 2011
by
Hans Leidekker
Committed by
Alexandre Julliard
Jan 11, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fusion/tests: Add some tests for IAssemblyCache_QueryAssemblyInfo.
parent
52f719d1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
2 deletions
+9
-2
asmcache.c
dlls/fusion/tests/asmcache.c
+9
-2
No files found.
dlls/fusion/tests/asmcache.c
View file @
c9e6f774
...
...
@@ -1318,11 +1318,18 @@ static void test_QueryAssemblyInfo(void)
ok
(
info
.
cchBuf
==
lstrlenW
(
asmpath
)
+
1
,
"Expected %d, got %d
\n
"
,
lstrlenW
(
asmpath
)
+
1
,
info
.
cchBuf
);
/*
display name is "wine, Version=1.0.0.00000"
*/
INIT_ASM_INFO
(
);
/*
short buffer
*/
memset
(
&
info
,
0
,
sizeof
(
info
)
);
lstrcpyW
(
name
,
wine
);
lstrcatW
(
name
,
commasep
);
lstrcatW
(
name
,
otherver
);
hr
=
IAssemblyCache_QueryAssemblyInfo
(
cache
,
QUERYASMINFO_FLAG_VALIDATE
,
name
,
&
info
);
ok
(
hr
==
HRESULT_FROM_WIN32
(
ERROR_INSUFFICIENT_BUFFER
),
"got %08x
\n
"
,
hr
);
ok
(
info
.
dwAssemblyFlags
==
ASSEMBLYINFO_FLAG_INSTALLED
,
"got %08x
\n
"
,
info
.
dwAssemblyFlags
);
/* display name is "wine, Version=1.0.0.00000" */
INIT_ASM_INFO
();
hr
=
IAssemblyCache_QueryAssemblyInfo
(
cache
,
QUERYASMINFO_FLAG_GETSIZE
,
name
,
&
info
);
ok
(
hr
==
S_OK
,
"Expected S_OK, got %08x
\n
"
,
hr
);
...
...
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