Commit a14c6b73 authored by Nikolay Sivov's avatar Nikolay Sivov Committed by Alexandre Julliard

kernel32/tests: Add activation context test with empty assembly manifest.

parent 55ba9b17
......@@ -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();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment