Jinoh Kang (@iamahuman) commented about dlls/kernel32/tests/actctx.c:
- err = subtest_manifest_res(two_dll_manifest_exe, two_dll_manifest_dll, multiple_resources, ARRAY_SIZE(multiple_resources), 0);
- ok(err == ERROR_SUCCESS, "got error %lu.\n", err);
- err = subtest_manifest_res(two_dll_manifest_exe, two_dll_manifest_dll, multiple_resources_lang_prio, ARRAY_SIZE(multiple_resources_lang_prio), 0);
- ok(err == ERROR_SUCCESS, "got error %lu.\n", err);
+}
+/* Test loading DLL with dependency assembly in invalid manifest resource */ +static void test_invalid_manifest_resources(void) +{
- static const struct manifest_res_spec named_resources[] = {
/* Test name-only RT_MANIFEST resources */
{ "winetestdummy" },
{ "winetestdummy", 0x1234 },
- };
Maybe add tests for mixed name/ID resources as well? Also no manifest case for completeness.