Serge Gautherie
be3cda6ec0
tests: Remove now useless forced _WIN32_WINNT defines.
...
Signed-off-by: Serge Gautherie <winehq-git_serge_180711@gautherie.fr>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-03-23 11:30:25 +01:00
Gabriel Ivăncescu
543209eb23
kernel32: Implement compatibility mode for VerifyVersionInfo.
...
Signed-off-by: Gabriel Ivăncescu <gabrielopcode@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-03-19 13:31:56 +01:00
Gabriel Ivăncescu
6719bf2e03
kernelbase: Implement compatibility mode for GetVersionEx.
...
Since Windows 8.1, these functions have been deprecated and run in a sort
of compatibility mode, reporting Windows 8 unless the application supplies a
manifest that specifies compatibility with newer Windows versions explicitly
(by listing their GUIDs).
Some applications have bad non-forward-compatible checks based
on GetVersionEx, and depend on this behavior (they do not supply a
manifest). Currently, they break on Wine if we use a Windows 10 prefix for
example, since we always report the real version. One example is the game
Rock of Ages.
Signed-off-by: Gabriel Ivăncescu <gabrielopcode@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-03-19 13:28:58 +01:00
John Chadwick
9021cca65d
kernelbase: Fix GetSystemFirmwareTable regression.
...
Regression caused by 71aba33fc6
.
Signed-off-by: John Chadwick <john@jchw.io>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-11-20 23:03:21 +01:00
John Chadwick
2acbe4f096
kernel32/tests: Add test for GetSystemFirmwareTable.
...
This adds a test to ensure that a typical usage of
GetSystemFirmwareTable with a preflight call works correctly.
Signed-off-by: John Chadwick <john@jchw.io>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-11-20 23:03:21 +01:00
Zebediah Figura
75464b13fd
kernel32/tests: Load GetSystemFirmwareTable() dynamically.
...
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alex Henrie <alexhenrie24@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-07-13 17:20:38 +02:00
Alex Henrie
93711aee1f
kernel32: Connect GetSystemFirmwareTable to NtQuerySystemInformation.
...
Signed-off-by: Alex Henrie <alexhenrie24@gmail.com>
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-07-12 12:57:53 +02:00
Alex Henrie
774a859d42
kernel32/tests: Add GetSystemFirmwareTable tests.
...
Signed-off-by: Alex Henrie <alexhenrie24@gmail.com>
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-07-12 12:57:53 +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
Sebastian Lackner
004d32dae6
ntdll: Fix condition mask handling in RtlVerifyVersionInfo.
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-02-27 12:47:45 +01:00
Nikolay Sivov
e019097556
kernel32/tests: Remove workarounds for older versions.
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-02-26 11:26:24 +01:00
Nikolay Sivov
60a5ee6560
kernel32/tests: Add more tests for VerifyVersionInfo().
...
New tests cases by Sebastian Lackner.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-02-26 11:26:19 +01:00
Zebediah Figura
e87ced67c8
kernel32/tests: Update product type test.
...
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-01-02 13:25:20 +01:00
Hans Leidekker
f94784ddba
ntdll: SzCSDVersion is an empty string on Windows 8 and up.
...
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-10-04 13:56:24 +02:00
André Hentschel
8e917352e1
kernel32/tests: Skip on faked version values.
2014-10-09 17:36:22 +02:00
André Hentschel
7f9756e1ea
kernel32/tests: Remove unused assertion header.
2014-02-26 13:03:59 -06:00
Dmitry Timoshkov
7dab5fe998
kernel32/tests: Fix version tests compilation with __WINESRC__ defined.
2013-10-22 16:37:40 +02:00
Detlef Riekenberg
7fbf5c239e
kernel32/tests: Accept higher PRODUCT_* values.
2012-06-13 21:35:40 +02:00
Detlef Riekenberg
697cea2f93
kernel32/tests: Do not test GetLastError on success.
2012-06-13 12:08:37 +02:00
Detlef Riekenberg
8c83c66bcb
kernel32/tests: Remove debug code from GetProductInfo.
2012-06-05 21:23:21 +02:00
Detlef Riekenberg
64fbf5cac2
kernel32/tests: Add tests for GetProductInfo.
2012-05-31 12:37:24 +02:00
Austin English
39d5a90806
kernel32/tests: Make sure to use return values (LLVM/Clang).
2011-02-11 14:49:23 +01:00
Hans Leidekker
9b33b479d6
kernel32/tests: Fix test failures on certain versions of Windows.
2010-04-27 14:38:38 -05:00
Francois Gouget
5989534540
kernel32/tests: Use win_skip() to skip over unimplemented functionality.
2009-02-24 16:57:26 +01:00
Alexandre Julliard
382ef908f1
kernel32/tests: Handle the win2k3 version check behavior.
2008-09-17 16:29:53 +02:00
Paul Vriens
94b73a6d04
kernel32/tests: Split the test for ret and last error.
2008-09-05 11:20:59 +02:00
James Hawkins
d6bb1d9a70
kernel32: Fix a failing test in win95.
2008-09-03 14:21:42 +02:00
Paul Vriens
4ca754d9a9
kernel32: Fix/change tests for systems with no ServicePack.
2008-03-11 12:11:52 +01:00
Paul Vriens
ad697ecdc4
kernel32/tests: Win9x doesn't change last error.
2008-02-27 14:52:24 +01:00
James Hawkins
ea41e863ad
kernel32: Factor out the VerifyVersionInfo tests into their own function.
2008-02-05 12:19:36 +01:00
Paul Vriens
b3a85a3fc4
kernel32: Add some simple tests for GetVersionExA.
2007-12-03 11:52:01 +01:00
Paul Vriens
281ebbb5d6
kernel32/tests: Use skip.
2007-03-12 12:21:57 +01:00
Michael Stefaniuc
8218440c20
kernel32/tests: Win64 printf format warning fixes.
2006-10-10 16:11:27 +02:00
Alexandre Julliard
489d87d1e5
kernel32: Renamed the kernel directory to kernel32.
...
Also get rid of the kernel/messages subdirectory.
2006-09-12 13:34:06 +02:00