Commit Graph

1337 Commits

Author SHA1 Message Date
Michael Stefaniuc bcff50a9d4 kernel32/tests: Simplify an ok() condition (PVS-Studio).
Signed-off-by: Michael Stefaniuc <mstefani@redhat.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-10-28 22:31:25 +09:00
Hugh McMaster 0ad7a0df89 kernel32/tests: Add tests for the FALSE pathway of GetCurrentConsoleFont.
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-10-26 23:03:35 +09:00
Sebastian Lackner 536d7d98fe kernel32/tests: Add tests for triggering write watches in asynchronous ReadFile call.
Signed-off-by: Sebastian Lackner <sebastian@fds-team.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-10-25 15:19:21 +09:00
Sebastian Lackner 8a33dd43f6 ntdll: Do not check if object was signaled after user APC in server_select.
Signed-off-by: Sebastian Lackner <sebastian@fds-team.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-10-23 13:21:10 +09:00
Sebastian Lackner 49dd5577eb kernel32/tests: Add test to show that multiple user APCs are processed at once.
Signed-off-by: Sebastian Lackner <sebastian@fds-team.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-10-23 13:21:07 +09:00
Sebastian Lackner 646888ec79 kernel32/tests: Remove unnecessary busy loop (PVS-Studio).
Signed-off-by: Sebastian Lackner <sebastian@fds-team.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-10-21 19:19:08 +09:00
Sebastian Lackner 966827bbc1 kernel32: Implement stub for GetPhysicallyInstalledSystemMemory.
Signed-off-by: Sebastian Lackner <sebastian@fds-team.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-10-20 00:30:39 +09:00
Sebastian Lackner 16a97953c0 kernel32/tests: Add tests for GetPhysicallyInstalledSystemMemory.
Signed-off-by: Sebastian Lackner <sebastian@fds-team.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-10-20 00:30:39 +09:00
Sebastian Lackner d94a6c770a kernel32/tests: Add test to demonstrate a bug related to alertable waits.
Signed-off-by: Sebastian Lackner <sebastian@fds-team.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-10-09 14:02:40 +09:00
Jacek Caban e4e1b89732 kernel32: Added session id tests.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-10-08 21:32:47 +09:00
Charles Davis 3eb8e325b8 kernel32/tests: Use a volatile pointer to cause a crash in the debugger tests. (Clang).
Signed-off-by: Charles Davis <cdavis5x@gmail.com>
2015-10-07 21:28:55 +09:00
Michael Müller 00d966cd3a ntdll: Return STATUS_OBJECT_NAME_INVALID in wine_nt_to_unix_file_name for prefix-only paths.
Signed-off-by: Michael Müller <michael@fds-team.de>
Signed-off-by: Sebastian Lackner <sebastian@fds-team.de>
2015-10-02 18:11:31 +09:00
Michael Müller e0bbfc3503 kernel32/tests: Add additional tests for GetFileAttributesExW.
Signed-off-by: Michael Müller <michael@fds-team.de>
Signed-off-by: Sebastian Lackner <sebastian@fds-team.de>
2015-10-02 18:11:31 +09:00
Michael Müller 9d58aac467 kernel32: Implement Set/GetThreadGroupAffinity and add tests.
Signed-off-by: Michael Müller <michael@fds-team.de>
Signed-off-by: Sebastian Lackner <sebastian@fds-team.de>
2015-10-02 18:11:31 +09:00
André Hentschel 774efacbec kernel32/tests: Don't test for the exact process count. 2015-09-25 20:59:35 +02:00
Nikolay Sivov a7e294c064 libwine: Fix double byte default char initialization. 2015-09-11 20:58:04 +09:00
Thomas Faller 98aa8528d5 kernel32/tests: Fix uninitialized memory of a test case. 2015-09-08 14:48:27 +09:00
Thomas Faber 9165dbbffc kernel32/tests: Run test_thread_fpu_cw on x86 MSVC builds. 2015-09-02 14:54:22 +09:00
Daniel Lehman 72922cd1ea kernel32/tests: Add tests for Invariant. 2015-08-28 13:13:46 +09:00
Daniel Lehman 043c0c6c5a kernel32: Add Invariant string table. 2015-08-27 14:27:50 +09:00
Daniel Lehman 5bf1423c2c kernel32: Return LOCALE_INVARIANT from ConvertDefaultLocale. 2015-08-25 17:41:35 +09:00
Dmitry Timoshkov 0a2ef17620 kernel32/tests: Avoid intermittent test failures. 2015-08-24 18:41:36 +09:00
Nikolay Sivov cc2bc84d14 kernel32/tests: Fix GetGeoInfo() test failure on Win10. 2015-08-24 14:42:00 +09:00
Dmitry Timoshkov 3bed65b5a9 server: For querying thread information demand THREAD_QUERY_LIMITED_INFORMATION access. 2015-08-21 14:35:04 +09:00
Dmitry Timoshkov 1d2241eca3 server: For querying process information demand PROCESS_QUERY_LIMITED_INFORMATION access. 2015-08-21 14:35:01 +09:00
Dmitry Timoshkov 8738cea7de kernel32/tests: Add some tests for THREAD_QUERY_LIMITED_INFORMATION. 2015-08-20 16:32:53 +09:00
Dmitry Timoshkov 49f43c39fd kernel32/tests: Add some tests for PROCESS_QUERY_LIMITED_INFORMATION. 2015-08-20 14:33:16 +09:00
Dmitry Timoshkov 27664e3c59 kernel32/tests: Fix compilation with PSDK. 2015-08-20 14:33:10 +09:00
Sebastian Lackner 0fabfe7d6b server: Add support for setting file disposition information.
Based on a patch by Dmitry Timoshkov.
2015-08-19 20:19:57 +09:00
Dmitry Timoshkov e67a00b466 ntdll: Separate image relocation from NtMapViewOfSection. 2015-08-18 19:56:48 +09:00
André Hentschel 4b8df74447 kernel32/tests: Add more ARM and ARM64 arch strings. 2015-08-12 22:52:26 +09:00
Francois Gouget f8a7d6ed74 Assorted spelling fixes. 2015-08-07 23:50:48 +09:00
Sebastian Lackner 1d2331344f kernel32/tests: Add tests for JobObjectLimitInformation info classes. 2015-07-31 12:08:16 +02:00
Andrew Cook 453458f294 server: Implement JOB_OBJECT_LIMIT_KILL_ON_JOB_CLOSE. 2015-07-17 14:28:59 +09:00
Sebastian Lackner 4ccdc0c036 kernel32/tests: Repeat test for SignalObjectAndWait multiple times to test wineserver wakeup cookie management. 2015-07-15 16:29:25 +09:00
Dmitry Timoshkov 38649f2060 kernel32/tests: Add a loader test using minimal PE image that Windows7 is able to load. 2015-07-13 22:08:30 +09:00
Dmitry Timoshkov edc0fa74a3 kernel32: Fix compilation of loader tests with PSDK. 2015-07-13 22:08:26 +09:00
Sebastian Lackner d2a3c9c20e kernel32/tests: Fix leak of threadpool object. 2015-07-03 13:08:28 +09:00
Sebastian Lackner eadd27a38a kernel32: Forward remaining threadpool functions to ntdll. 2015-07-03 13:08:20 +09:00
Michael Stefaniuc c50f6a304c kernel32/tests: The result of a comparison is already a BOOL. 2015-06-30 17:40:27 +09:00
Michael Müller d0ae2b0d3d kernel32: Implement GetNumaProcessorNode. 2015-06-29 19:07:51 +09:00
Michael Müller 81142c9985 kernel32/tests: Add tests for GetNumaProcessorNode. 2015-06-29 19:07:51 +09:00
Sebastian Lackner d082ea3eab ntdll: Implement support for AT_ROUND_TO_PAGE flag in NtMapViewOfSection. 2015-06-26 20:35:05 +09:00
Sebastian Lackner 7a8470ea94 ntdll: NtMapViewOfSection should fail if both addr_ptr and zero_bits is set. 2015-06-26 20:35:05 +09:00
Sebastian Lackner b80bbd5986 kernel32/tests: Add GetVolumePathNameW tests. 2015-06-23 20:46:09 +09:00
Sebastian Lackner d01c135aed kernel32/tests: Add a lot of picky GetVolumePathName tests. 2015-06-23 20:46:08 +09:00
Erich E. Hoover ed151a5efc kernel32: Handle device paths in GetVolumePathName.
NT-style paths that have a device prefix (\??\) also return the drive
of the current working directory (even if they're valid devices).
2015-06-23 20:46:08 +09:00
Erich E. Hoover 5a84969f39 kernel32: Handle bogus DOS paths in GetVolumePathName.
Paths that are not NT and not even close to DOS don't actually fail
catastrophically.  Even though MSDN suggests that it returns the boot
drive in this case, tests indicate that it returns the drive of the
current working directory.
2015-06-23 20:46:07 +09:00
Erich E. Hoover e8e13308ea kernel32: Handle semi-DOS paths in GetVolumePathName.
Add support for "semi-DOS" paths, these paths revert to the drive
letter specified in the first character.
2015-06-23 20:46:03 +09:00
Erich E. Hoover 62279b7f4d kernel32/tests: Add a bunch more GetVolumePathName tests. 2015-06-23 20:44:25 +09:00