Commit Graph

663 Commits

Author SHA1 Message Date
Damjan Jovanovic 44aa45036b kernel32: Revert 3f1404bf29 and add better CopyFile tests. 2010-06-14 14:14:16 +02:00
Damjan Jovanovic 3f1404bf29 kernel32: CopyFile cannot overwrite a file with itself. 2010-06-11 11:36:42 +02:00
André Hentschel b8ff44e627 kernel32/tests: Add a test about unicode collation. 2010-06-08 12:58:55 +02:00
Alexandre Julliard 2b99e1c17d kernel32: Make sure we always have a valid process title. 2010-06-08 11:53:58 +02:00
Alexandre Julliard e091c12b66 kernel32/tests: Fix the process title tests to actually test something. 2010-06-08 11:50:20 +02:00
Alexandre Julliard 48cffa0323 kernel32/tests: Restore the stderr handle after the closing test. 2010-05-28 11:21:44 +02:00
Alexandre Julliard 775e5f7b3e kernel32: Reset stdio handles when they are closed. 2010-05-26 23:16:34 +02:00
Austin English 3fd4f68827 kernel32/tests: Check return value of alarmThread in test_NamedPipe_2(). 2010-05-24 12:56:19 +02:00
Austin English e0c7fb66c4 kernel32/tests: Use ret in load_blackbox(). 2010-05-24 12:53:09 +02:00
Andrey Turkin 85cc2c13f6 server: Connect named pipe synchronously when overlapped param is NULL. 2010-05-24 12:39:35 +02:00
Paul Vriens f3b4bd2bbc kernel32: Return the correct processor arch and type in wow64 mode. 2010-05-13 11:51:11 +02:00
Nikolay Sivov 0597e659bd kernel32: Fix return code from LocalUnlock for pointer passed to it. 2010-05-10 10:04:54 +02:00
André Hentschel 56d28f7d5b kernel32: Double the alarm timeout to prevent a failed test. 2010-05-07 13:30:44 +02:00
Gerald Pfeifer 978b4898e5 kernel32/tests: Remove variable len which is not really used from test_CommandLine. 2010-05-05 10:56:39 +02:00
Andrew Nguyen f2c91f0d3c kernel32: Reject a format string with insertions if no variadic arguments are passed to FormatMessageA/W. 2010-05-03 13:56:53 +02:00
Andrew Nguyen cff134daf4 kernel32/tests: Document a few FormatMessage tests which are broken on older Windows. 2010-04-28 07:39:10 -05:00
Andrew Nguyen 57636255ef kernel32: Merge the insertion and non-insertion codepaths in the format_message helper together to share common functionality. 2010-04-28 07:39:03 -05:00
Andrew Nguyen 722fd58446 kernel32: Process CRLF escape sequences in normal insert sequence processing path in FormatMessageA/W. 2010-04-28 07:38:53 -05:00
Andrew Nguyen e724f6aa28 kernel32/tests: Centralize the FormatMessageW skip detection. 2010-04-28 07:38:05 -05:00
Andrew Nguyen 5505ae978b kernel32: Handle some escape sequences with FORMAT_MESSAGE_IGNORE_INSERTS in FormatMessageA/W. 2010-04-28 07:37:58 -05:00
Andrew Nguyen 2193b9e887 kernel32: Correct output buffer behavior with empty input strings for FormatMessageA/W. 2010-04-28 07:37:49 -05:00
Andrew Nguyen f50198f662 kernel32: Improve flag error handling in FormatMessageA/W. 2010-04-28 07:37:39 -05:00
Andrew Nguyen 3cb43a081b kernel32: Fail if a format placeholder is present without a format specifier in FormatMessageA/W. 2010-04-28 07:36:35 -05:00
Hans Leidekker 9b33b479d6 kernel32/tests: Fix test failures on certain versions of Windows. 2010-04-27 14:38:38 -05:00
Andrew Nguyen 8e20322578 kernel32/tests: Add tests for buffer allocation in FormatMessage. 2010-04-19 15:43:31 +02:00
Andrew Nguyen ce61b254d0 kernel32: Only check the buffer pointer in FormatMessageA if buffer allocation is requested. 2010-04-19 15:43:25 +02:00
Andrew Nguyen 8b28efaed7 kernel32: Reject an insufficiently sized buffer in FormatMessageA/W. 2010-04-19 15:43:07 +02:00
Andrew Nguyen f35ca2a77c kernel32/tests: Remove a superfluous comment in the FormatMessage tests. 2010-04-19 15:42:39 +02:00
Alexandre Julliard 5189eef6bb ntdll: Fix affinity mask check for 64-bit. 2010-04-08 23:57:08 +02:00
Alexandre Julliard a8e86e35dd winapi: Generate the 64-bit variant of structure size/alignment tests. 2010-04-07 18:03:00 +02:00
Andrew Nguyen 39208d4d60 kernel32: Don't set last error on success in OpenConsoleW. 2010-04-01 18:12:40 +02:00
Andrew Nguyen b7bf2abdff kernel32: Improve parameter validation in OpenConsoleW. 2010-04-01 18:12:40 +02:00
Michael Stefaniuc 8f7372488b kernel32/tests: Remove superfluous casts of integer constants. 2010-03-29 11:48:58 +02:00
Francois Gouget 3428b94a8d Assorted spelling and case fixes. 2010-03-22 10:49:13 +01:00
Francois Gouget 891b1ce3de kernel32/tests: Remove a space after a '\n' in a skip(). 2010-03-22 10:48:17 +01:00
Paul Vriens b120836bd2 kernel32/tests: Run tests again on Win95. 2010-03-16 17:03:23 +01:00
Alexandre Julliard bef5645eb1 makefiles: Remove the no longer needed explicit separators for dependencies. 2010-03-16 13:28:19 +01:00
Henri Verbeet ef058b3030 kernel32: Implement CheckRemoteDebuggerPresent(). 2010-03-15 15:56:56 +01:00
Henri Verbeet 6c0ecd0955 server: Debugging our own process is disallowed. 2010-03-15 15:55:08 +01:00
Henri Verbeet 1970fb35d4 server: Allow the debugger to be debugged. 2010-03-05 13:21:22 +01:00
Reece Dunn 1b46c0660d kernel32/tests: Add a test case for calling TlsFree on a freed index. 2010-03-03 11:49:35 +01:00
Alexandre Julliard fbbac38e4e kernel32/tests: Fix broken usage of the ok() macro return value.
Spotted by Yann Droneaud.
2010-02-24 16:47:48 +01:00
Alexandre Julliard 25718e1af3 kernel32/tests: Add a couple of last error codes for Win7. 2010-02-23 11:24:08 +01:00
Hans Leidekker b7696db161 kernel32/tests: Fix a thread handle leak. 2010-02-22 13:15:43 +01:00
Erich Hoover 2902d8090a kernel32/tests: Add test for 'all processors' flag on Vista and newer. 2010-02-22 11:57:12 +01:00
Alexandre Julliard 6164ce2d82 makefiles: Use the standard C_SRCS variable as the list of test files.
This enables it to be auto-updated by make_makefiles.
2010-02-22 10:47:11 +01:00
Alexandre Julliard fb950a6da5 kernel32/tests: Fix a test failure on xp64. 2010-02-17 12:04:42 +01:00
Michael Stefaniuc 0f5d042ff2 kernel32: Don't use HIWORD to check for swapped args in GetCurrentDirectoryA. 2010-02-10 14:33:35 +01:00
Peter Rosin 805f7d79db kernel32: Add SetThreadErrorMode and GetThreadErrorMode. 2010-02-04 13:39:27 +01:00
Peter Rosin e8a32ec2b8 kernel32: Add tests for SetThreadErrorMode and GetThreadErrorMode. 2010-02-04 13:39:27 +01:00