Commit Graph

95 Commits

Author SHA1 Message Date
Dmitry Timoshkov 33bc90e687 ntdll: Return correct status when manifest could not be loaded from file.
Signed-off-by: Dmitry Timoshkov <dmitry@baikal.ru>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-11-12 22:42:51 +01:00
Dmitry Timoshkov 6e754202bf kernel32/tests: Add a test for loading manifest from resources.
To confirm that 2d764e90dd does the right thing.

Signed-off-by: Dmitry Timoshkov <dmitry@baikal.ru>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-11-12 22:42:51 +01:00
Alexandre Julliard 8f3383f741 ntdll: Parse the loadFrom attribute in manifest dll elements.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-04-19 15:39:55 +02:00
Alexandre Julliard 2d519f5aa4 ntdll: Support MaxVersionTested in the manifest compatibility element.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-04-19 15:39:55 +02:00
Nikolay Sivov d3ce5fff85 ntdll/actctx: Handle empty <dependency> element.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-10-20 22:54:01 +02:00
Nikolay Sivov bce9cdcc98 kernel32/tests: Link to more functions directly.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-09-22 14:04:45 +02:00
Alexandre Julliard 8a5e603000 kernel32/tests: Avoid assumptions about the current working directory.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-09-14 19:42:39 +02:00
Nikolay Sivov 72d055854b ntdll: Use single field for misc flags in ComClass redirection section.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-06-11 21:03:34 +02:00
Gabriel Ivăncescu caff74f369 include/winnt: Add more ACTCTX_COMPATIBILITY_ELEMENT_TYPE definitions and fix typo.
Signed-off-by: Gabriel Ivăncescu <gabrielopcode@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-03-19 13:18:02 +01:00
Francois Gouget a909baeb4e tests: Report all errors when failing to wait for a child process.
Report the line number where the test failed to wait for the child so
one can identify which child process did not behave as expected.
Also wait_child_process() is meant for the general case so report
all non-crash error cases as test failures so they are accounted for.
Omit the "winetest_" prefix to match the other Wine test functions and
so the underlying winetest_wait_child_process() function can be wrapped
with the usual line-capturing macros.

Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=48651
Signed-off-by: Francois Gouget <fgouget@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-03-17 10:51:44 +01:00
Nikolay Sivov e7c735b825 kernel32/tests: Link to activation context API directly.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-02-21 00:55:44 +01:00
Michael Stefaniuc ec3589730a kernel/tests: Get rid of strcmp_aw() / strlen_aw().
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-02-19 09:14:37 +01:00
Rémi Bernon c2b81e8dfd kernel32/tests: Fix some format-overflow warnings.
Signed-off-by: Rémi Bernon <rbernon@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-02-11 22:39:59 +01:00
Sven Baars a892bf5909 kernel32/tests: Fix a test failure on Windows XP.
Signed-off-by: Sven Baars <sven.wine@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-09-30 11:49:02 +02:00
André Hentschel 19d96f99c6 kernel32/tests: Don't test functions directly when reporting GetLastError().
Signed-off-by: André Hentschel <nerv@dawncrow.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-08-02 10:52:03 +02:00
Fabian Maurer 6525a16673 ntdll: Check the activation context before looking for the module basename.
Signed-off-by: Fabian Maurer <dark.shadow4@web.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-06-24 10:50:53 +02:00
Alexandre Julliard 91bbc46c99 ntdll: Try to use the name of the PE file also when loading .so builtin.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-06-24 10:50:53 +02:00
Fabian Maurer aa97c30b01 kernel32/tests: Add sxs tests.
Signed-off-by: Fabian Maurer <dark.shadow4@web.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-06-24 10:50:53 +02:00
Fabian Maurer 56b3304a01 ntdll/actctx: Don't stop looking for manifest if dll without manifest is found.
Signed-off-by: Fabian Maurer <dark.shadow4@web.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-08-29 22:01:38 +02:00
Michael Stefaniuc 80be3a460b kernel32/tests: Use the available ARRAY_SIZE() macro.
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-06-27 22:02:48 +02:00
Alexandre Julliard 7d16575df6 kernel32/tests: Add tests for window settings namespaces.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-03-27 16:03:57 +02:00
Alexandre Julliard 678c5544c1 kernel32/tests: Add tests for QueryActCtxSettingsW.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-03-23 09:14:21 +01:00
Nikolay Sivov 697d4a710d ntdll: Allow explicitly specified asm.v2 namespace for "trustInfo".
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-03-06 15:46:09 -06:00
Nikolay Sivov f8cca445fb ntdll: Allow closing tags for 'supportedOS' elements.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-02-20 20:14:20 +01:00
Michael Müller 37c983966b ntdll: Implement RunlevelInformationInActivationContext in RtlQueryInformationActivationContext.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-02-19 16:55:08 +01:00
Mark Jansen 0f1cb96b69 ntdll: Parse manifest compatibility section.
Signed-off-by: Mark Jansen <mark.jansen@reactos.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-02-12 17:20:36 +01:00
Mark Jansen 74862f2e96 kernel32/tests: Add tests for the compatibility section in actctx.
Signed-off-by: Mark Jansen <mark.jansen@reactos.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-02-12 16:34:14 +01:00
Sebastian Lackner fd0780cb35 kernel32/tests: Simplify activation context tests by using todo_wine_if.
Signed-off-by: Sebastian Lackner <sebastian@fds-team.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-02-10 21:50:26 +09:00
Nikolay Sivov fe2f86e934 kernel32/tests: Some tests for ZombifyActCtx().
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-12-21 18:16:52 +01:00
André Hentschel 1e8759805e kernel32/tests: Add ARM and ARM64 arch strings. 2015-05-20 22:10:50 +09:00
Sebastian Lackner ab91c01112 ntdll: RtlFindActivationContextSectionString should accept a NULL pointer as data. 2015-03-17 16:02:25 +09:00
Mark Jansen f091ff5851 kernel32/tests: Parameter validation tests for FindActCtxSectionString. 2015-03-17 16:02:19 +09:00
Nikolay Sivov 7a612654dc ntdll: Skip context dependencies that have allowDelayedBinding attribute set. 2014-12-31 21:13:31 +01:00
Nikolay Sivov c134466224 ntdll: Fix 'description' element parsing to allow empty elements. 2014-12-28 19:08:47 +01:00
André Hentschel 3135b02546 kernel32/tests: Remove unused strings (Clang). 2014-12-02 10:30:48 +01:00
Piotr Caban f87767bc35 ntdll: Handle ACTCTX_FLAG_ASSEMBLY_DIRECTORY_VALID flag when opening manifest in RtlCreateActivationContext. 2014-11-28 17:04:07 +01:00
Alexandre Julliard 3e1c4908ef kernel32/tests: Use a pointer instead of an array to make gcc happy. 2014-10-28 15:59:55 +09:00
Nikolay Sivov 88fc916442 ntdll: Use case-insensitive matching for typelib flags.
Spotted by Austin English.
2014-02-24 09:12:03 -06:00
Nikolay Sivov 0a20d46801 kernel32/tests: Fix some test failures in older XP/Win2k3 versions. 2014-02-12 19:15:13 +01:00
Frédéric Delanoy 3201f970b6 kernel32/tests: Use common wine_dbgstr_guid implementation from test.h. 2014-01-29 14:50:51 +01:00
Dmitry Timoshkov 9703bee560 kernel32/tests: Don't forget to delete temporary manifest files. 2014-01-27 14:13:39 +01:00
Nikolay Sivov 1e1084232d ntdll: Fix manifest attribute parsing. 2014-01-01 19:32:56 +01:00
Nikolay Sivov aa4ebeb57c ntdll: Fix return value when failed to locate resource. 2013-12-30 19:01:45 +01:00
Nikolay Sivov 031c027262 ntdll: Open source file only when needed during context creation. 2013-12-30 19:01:44 +01:00
Dmitry Timoshkov 519e2d8a98 kernel32/test: Fix activation context tests compilation with __WINESRC__ defined. 2013-10-21 20:23:53 +02:00
Nikolay Sivov 84d9b2502e ntdll: Added compatible ProgID section. 2013-09-13 10:54:53 +02:00
Nikolay Sivov b8a973dc52 kernel32/tests: Some tests for ProgID section. 2013-09-13 10:54:13 +02:00
Nikolay Sivov 37182e3f0f ntdll: Try application manifest path when searching for dependent assemblies. 2013-09-11 20:33:22 +02:00
Nikolay Sivov bcbd13b70c ntdll: Added compatible sections for clrClass data. 2013-09-09 22:09:56 +02:00
Nikolay Sivov af3a20d2ea ntdll: Added support for multiple progids in comClass and clrClass elements. 2013-09-04 11:36:32 +02:00