Alexandre Julliard
f0cd33c69e
include: Add support for defining Win32 types as 'long' where possible.
...
Add -DWINE_NO_LONG_TYPES to modules that still have compilation
warnings with long types.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-01-27 20:38:22 +01:00
Eric Pouech
7b5e8ef1d8
mscoree/tests: Remove unused parameter in sprintf.
...
Signed-off-by: Eric Pouech <eric.pouech@gmail.com>
Signed-off-by: Esme Povirk <esme@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-10-13 22:52:23 +02:00
Alexandre Julliard
bb065801a6
ntdll: Map the builtin or fake dll from the Wine dirs if it's missing from the prefix.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-03-30 11:51:25 +02:00
Esme Povirk
e402c8bfcb
mscoree/tests: Increase timeout in expected failure case.
...
Signed-off-by: Esme Povirk <esme@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-03-17 20:38:29 +01:00
Esme Povirk
cae84e2b06
mscoree: Update Wine Mono to 6.0.0.
...
Signed-off-by: Esme Povirk <esme@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-02-09 11:13:37 +01:00
Rémi Bernon
500478cae9
mscoree: Improve non-neutral assembly lookup logic.
...
And neutral logic too, and the combinations with custom privatePath
config.
This fixes a crash with Mafia III launcher, when it tries to load its
localized strings from culture-specific assemblies to display its
warning popup message.
Signed-off-by: Rémi Bernon <rbernon@codeweavers.com>
Signed-off-by: Esme Povirk <esme@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-02-03 09:23:43 +01:00
Francois Gouget
4c6b675198
mscoree/tests: The comtest registry tests may require elevated privileges.
...
On Windows Vista and 7 run_registry_test() requires having elevated
privileges.
Signed-off-by: Francois Gouget <fgouget@codeweavers.com>
Signed-off-by: Esme Povirk <esme@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-12-03 10:25:49 +01:00
Rémi Bernon
7b0a939a1f
mscoree: Fallback to assembly name if codebase path is invalid.
...
Also use the InprocServer32 key values if there's no subkeys, as shown
by the test results.
L.A.Noire game crashes on startup after failing to load its ErrorHandler
assembly, that has an invalid CodeBase path in the registry.
Signed-off-by: Rémi Bernon <rbernon@codeweavers.com>
Signed-off-by: Esme Povirk <esme@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-10-25 21:00:51 +01:00
Rémi Bernon
6b450f8deb
mscoree/tests: Test querying interfaces with generated GUID.
...
Signed-off-by: Rémi Bernon <rbernon@codeweavers.com>
Signed-off-by: Esme Povirk <esme@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-10-25 21:00:49 +01:00
Rémi Bernon
7612ff5930
mscoree/tests: Test invalid assembly paths in registry.
...
Signed-off-by: Rémi Bernon <rbernon@codeweavers.com>
Signed-off-by: Esme Povirk <esme@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-10-25 21:00:47 +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
Rémi Bernon
1117fa68db
mscoree/tests: Fix some format-overflow warnings.
...
Signed-off-by: Rémi Bernon <rbernon@codeweavers.com>
Signed-off-by: Vincent Povirk <vincent@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-02-13 19:19:29 +01:00
Alexandre Julliard
32169fb39d
mscoree/tests: Get rid of strrchrW().
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-01-26 10:59:43 +01:00
Alexandre Julliard
9c34572155
mscoree/tests: Avoid winetest_strcmpW.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-11-29 13:57:41 +01:00
Austin English
3c8f70e2c3
mscoree/tests: Mark tests as todo_wine if mono is not available on the current platform.
...
This allows the tests to pass for me both on arm64 and x86.
Signed-off-by: Austin English <austinenglish@gmail.com>
Signed-off-by: Vincent Povirk <vincent@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-08-23 18:57:50 +02:00
Alexandre Julliard
842d404342
fusion: Build with msvcrt.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-06-04 19:23:11 +02:00
Fabian Maurer
6428c45667
mscoree: Allow loading of registration free .NET COM objects.
...
Signed-off-by: Fabian Maurer <dark.shadow4@web.de>
Signed-off-by: Vincent Povirk <vincent@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-02-04 15:38:47 +01:00
Alexandre Julliard
6427276c27
mscoree/tests: Fix some uninitialized buffers.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-11-07 21:39:42 +01:00
Fabian Maurer
ef19a46161
mscoree: Add test for registration-less COM components.
...
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=43270
Signed-off-by: Fabian Maurer <dark.shadow4@web.de>
Signed-off-by: Vincent Povirk <vincent@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-11-06 10:42:27 +01:00
Louis Lenders
27f2f4199f
mscoree: Add stub for CorIsLatestSvc to hint user at broken .NET installation.
...
Signed-off-by: Louis Lenders <xerox.xerox2000x@gmail.com>
Signed-off-by: Vincent Povirk <vincent@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-07-13 17:20:43 +02:00
Jacek Caban
8fff6813b1
mscoree: Added CreateConfigStream implementation.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Vincent Povirk <vincent@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-09-28 00:37:20 +02:00
Vincent Povirk
57cdf8bfa8
mscoree: Implement RequestRuntimeLoadedNotification.
...
Signed-off-by: Vincent Povirk <vincent@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-08-01 19:21:02 +02:00
Vincent Povirk
870628fd28
mscoree/tests: Loading the runtime works on x86-64 now.
...
Signed-off-by: Vincent Povirk <vincent@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-02-29 20:05:01 +09:00
Vincent Povirk
b99c35c0e8
mscoree/tests: Check if the runtime is usable before loading it.
...
Unfortunately, Mono calls exit(1) if it can't load its class libraries,
which is the way Wine fails on x86_64, meaning we have to spawn another
process to check if the runtime works.
Signed-off-by: Vincent Povirk <vincent@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-02-23 19:38:36 +09:00
Francois Gouget
fb863bc8ac
mscoree/tests: Add a trailing '\n' to a win_skip() call.
...
Signed-off-by: Francois Gouget <fgouget@free.fr>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-02-22 17:37:11 +09:00
Charles Davis
fdeaf812e2
mscoree: Implement ICorRuntimeHost::CreateDomain{, Ex}().
...
Signed-off-by: Charles Davis <cdavis5x@gmail.com>
Signed-off-by: Vincent Povirk <vincent@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-02-18 21:05:48 +09:00
Nikolay Sivov
a99d8cb21b
mscoree: Use E_NOT_SUFFICIENT_BUFFER definition.
2014-10-16 12:58:52 +09:00
Frédéric Delanoy
77c191786a
mscoree/tests: Use BOOL type where appropriate.
2014-02-19 11:37:07 +01:00
Vincent Povirk
dad9dc941f
mscoree/tests: Fix failures when .NET 4 but not 1 or 2 is installed.
2014-02-06 17:08:11 +01:00
Frédéric Delanoy
cb71d30c36
mscoree/tests: Use common wine_dbgstr_guid implementation from test.h.
2014-01-29 14:50:50 +01:00
Alexandre Julliard
99ef0d6ff0
makefiles: Get rid of the MAKE_TEST_RULES variable.
2014-01-02 12:13:16 +01:00
André Hentschel
dc60ed4596
mscoree/tests: Don't expect a 2.x runtime.
2013-11-13 11:26:09 +01:00
Alistair Leslie-Hughes
73ca9d2d0b
mscoree: Partially implement ICLRMetaHost RequestRuntimeLoadedNotification.
2013-10-11 12:45:06 +02:00
Francois Gouget
cd35ac901f
mscoree/tests: Make test_createinstance() static.
2013-10-07 14:44:36 +02:00
Alistair Leslie-Hughes
7028e2bbbc
mscoree: Implement CreateInterface.
2013-10-03 20:08:57 +02:00
Alistair Leslie-Hughes
d08e89a8d6
mscoree: Allow capital for version number.
2012-03-27 17:56:31 +02:00
Alistair Leslie-Hughes
f67d34f7af
mscoree: Better support RUNTIME_INFO_UPGRADE_VERSION in GetRequestedRuntimeInfo.
2012-03-16 13:02:53 +01:00
Francois Gouget
49447ad1d5
include: Fix the metahost.idl import directives.
2011-12-30 12:53:42 +01:00
Alistair Leslie-Hughes
7ee1250e46
mscoree: Implement ICorDebug EnumerateProcesses.
2011-11-01 16:43:08 +01:00
Alistair Leslie-Hughes
5682743245
mscoree: Implement ICorDebug SetManagedHandler.
2011-10-10 13:46:36 +02:00
Alistair Leslie-Hughes
bef72c4884
mscoree: Add ICorDebug interface support.
2011-09-28 12:37:47 +02:00
Frédéric Delanoy
760faf01a9
tests: Assorted spelling fixes.
2011-08-04 18:27:37 +02:00
André Hentschel
53218eb50b
mscoree/tests: Mark a weird w2k3 result as broken.
2011-06-08 14:12:41 +02:00
André Hentschel
2061c61c4e
mscoree/tests: Test more IStream Functions on a ConfigStream.
2011-06-06 21:49:20 +02:00
André Hentschel
79a5153366
mscoree/tests: Broken return value is a HRESULT_FROM_WIN32.
2011-06-06 21:49:20 +02:00
André Hentschel
b426a9a084
mscoree/tests: Fix for the results in CreateConfigStream tests.
2011-05-24 12:19:09 +02:00
André Hentschel
1aacc5fc40
mscoree/tests: Add tests for CreateConfigStream.
2011-05-17 11:48:14 +02:00
Francois Gouget
2bce427392
mscoree/tests: Make init_pointers() static.
2011-03-30 18:23:37 +02:00
Francois Gouget
3b69102011
mscoree/tests: Make the test and cleanup functions static.
2011-03-16 14:14:24 +01:00
Austin English
cccc36e25a
mscoree/tests: Fix a broken test (LLVM/Clang).
2010-12-23 13:47:25 +01:00