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
a14c6b73
Commit
a14c6b73
authored
Aug 22, 2023
by
Nikolay Sivov
Committed by
Alexandre Julliard
Sep 13, 2023
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
kernel32/tests: Add activation context test with empty assembly manifest.
Signed-off-by:
Nikolay Sivov
<
nsivov@codeweavers.com
>
parent
55ba9b17
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
0 deletions
+14
-0
actctx.c
dlls/kernel32/tests/actctx.c
+14
-0
No files found.
dlls/kernel32/tests/actctx.c
View file @
a14c6b73
...
...
@@ -542,6 +542,8 @@ static const char builtin_dll_manifest[] =
" </dependency>"
"</assembly>"
;
static
const
char
empty_assembly_manifest
[]
=
"<assembly xmlns=
\"
urn:schemas-microsoft-com:asm.v1
\"
manifestVersion=
\"
1.0
\"
/>"
;
DEFINE_GUID
(
VISTA_COMPAT_GUID
,
0xe2011457
,
0x1546
,
0x43c5
,
0xa5
,
0xfe
,
0x00
,
0x8d
,
0xee
,
0xe3
,
0xd3
,
0xf0
);
DEFINE_GUID
(
WIN7_COMPAT_GUID
,
0x35138b9a
,
0x5d96
,
0x4fbd
,
0x8e
,
0x2d
,
0xa2
,
0x44
,
0x02
,
0x25
,
0xf9
,
0x3a
);
...
...
@@ -2516,6 +2518,18 @@ static void test_actctx(void)
ReleaseActCtx
(
handle
);
}
/* Empty <assembly/> element. */
create_manifest_file
(
"empty_assembly.manifest"
,
empty_assembly_manifest
,
-
1
,
NULL
,
NULL
);
handle
=
test_create
(
"empty_assembly.manifest"
);
todo_wine
ok
(
handle
!=
INVALID_HANDLE_VALUE
,
"Failed to create activation context.
\n
"
);
DeleteFileA
(
"empty_assembly.manifest"
);
if
(
handle
!=
INVALID_HANDLE_VALUE
)
{
test_basic_info
(
handle
,
__LINE__
);
ReleaseActCtx
(
handle
);
}
test_wndclass_section
();
test_dllredirect_section
();
test_typelib_section
();
...
...
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