Austin English
689840babb
kernel32/tests: Fix typo in test failure message.
2011-05-09 10:50:54 +02:00
Alexandre Julliard
f555c2d857
kernel32/tests: Fix a race that could corrupt the thread register state.
2011-05-06 17:12:22 +02:00
Alexandre Julliard
055c883ee0
server: Fix the status code for get/set_thread_context on a terminated thread.
2011-05-06 14:23:25 +02:00
Dmitry Timoshkov
08f8f50894
kernel32: Constify some data.
2011-04-07 10:23:12 +02:00
Akihiro Sagawa
16d5737009
libwine: MB_ERR_INVALID_CHARS makes an error when the undefined byte character is used.
2011-04-05 11:13:26 +02:00
Akihiro Sagawa
79d7cd76f9
kernel32/tests: Add a test for undefined byte character conversion.
2011-04-05 11:13:12 +02:00
Hans Leidekker
552715f0c1
kernel32: Implement and test GetVolumePathNamesForVolumeName.
2011-03-29 15:41:11 +02:00
Eric Pouech
1980545055
kernel32: When testing the debugger activation, don't use unitialized values (clang).
2011-03-28 17:24:45 +02:00
André Hentschel
6ff842fddb
kernel32/tests: Also test for ntdll.dll in toolhelp tests.
2011-03-18 11:29:24 +01:00
André Hentschel
27ae573806
kernel32/tests: Fix a test for real hardware.
2011-03-14 19:31:30 +01:00
Juan Lang
2ca58402e7
kernel32: Add some parameter checking to FileTimeToDosDateTime.
2011-03-09 12:28:41 +01:00
Hans Leidekker
c65bcce589
server: Map the Unix user id to a local user SID instead of the interactive SID.
2011-03-02 12:50:59 +01:00
André Hentschel
4c6e57654f
kernel32/tests: Add SetLastError() before a test (Valgrind).
2011-03-02 12:29:36 +01:00
Austin English
d385435876
kernel32/tests: Remove win9x hacks.
2011-02-28 13:12:30 +01:00
Austin English
291949cbc4
kernel32/tests: Remove win9x hacks.
2011-02-24 15:50:43 +01:00
Marcus Meissner
b42c593f67
kernel32: Fixed mismatched bracket (Coverity).
2011-02-23 15:01:17 +01:00
Austin English
194e43f6e3
kernel32/tests: Make sure to use return values (LLVM/Clang).
2011-02-17 18:33:42 +01:00
Austin English
39d5a90806
kernel32/tests: Make sure to use return values (LLVM/Clang).
2011-02-11 14:49:23 +01:00
Austin English
e330380a6b
kernel32/tests: Don't check return values inside of if(0) (LLVM/Clang).
2011-02-11 14:48:46 +01:00
Austin English
8b7904d78d
kernel32/tests: Don't check return values inside of if(0) (LLVM/Clang).
2011-02-11 14:48:29 +01:00
Austin English
ab4dba3e75
kernel32/tests: Don't check return values inside of if(0) (LLVM/Clang).
2011-02-10 09:57:19 -06:00
Austin English
4e3c3ad593
kernel32/tests: Make sure to use return values (LLVM/Clang).
2011-02-09 09:28:21 -06:00
Austin English
a96b23cc1b
kernel32/tests: Remove unused assignment (LLVM/Clang).
2011-02-07 10:10:10 -06:00
Joris Huizer
fb296d1201
kernel32/tests: Don't test function directly when reporting GetLastError().
2011-02-07 10:04:12 -06:00
André Hentschel
008cf3c18c
kernel32: Use define instead of hardcoded value.
2011-02-01 18:14:09 +01:00
Hans Leidekker
541c116368
kernel32/tests: Add a test for ioctl 0x560000.
2011-01-31 13:01:10 +01:00
Andrew Nguyen
70d67becac
kernel32/tests: Free environment strings buffer at the conclusion of the environment tests.
2011-01-21 13:46:22 +01:00
Piotr Caban
9dbdd8c83c
kernel32/tests: Added file move/rename ReadDirectoryChangesW tests.
2011-01-19 14:13:58 +01:00
Andrew Nguyen
ba7f7046ee
kernel32/tests: Free environment block in the child process when it is unused.
2011-01-17 14:29:24 +01:00
André Hentschel
dd07baa824
kernel32/tests: Use the right return type and a better failed test message.
2011-01-13 15:22:00 +01:00
André Hentschel
85386c2c6e
kernel32/tests: Don't test function directly when reporting GetLastError().
2011-01-12 14:59:43 +01:00
Andrew Nguyen
df18e3fdd4
kernel32/tests: Demonstrate an input event handling peculiarity with WriteConsoleInputA.
2011-01-11 16:05:47 +01:00
Andrew Nguyen
e2e9141918
kernel32/tests: Demonstrate an input event handling peculiarity with WriteConsoleInputW.
2011-01-11 16:05:47 +01:00
Andrew Nguyen
b158d23c88
kernel32: Improve parameter validation for ReadConsoleOutputAttribute.
2011-01-11 16:05:47 +01:00
Andrew Nguyen
66b42c86d1
kernel32: Improve parameter validation for ReadConsoleOutputCharacterA.
2011-01-11 16:05:47 +01:00
Andrew Nguyen
c905b7e705
kernel32: Improve parameter validation for ReadConsoleOutputCharacterW.
2011-01-11 16:05:47 +01:00
Greg Geldorp
6b8812add1
kernel32/tests: Set TrueType console font before running tests.
...
ReadConsoleOutputW doesn't retrieve characters from the output buffer
correctly for characters that don't have a glyph in the console font.
2011-01-10 15:02:24 +01:00
Andrew Nguyen
51d05e241a
kernel32: Improve parameter validation for FillConsoleOutputAttribute.
2011-01-04 11:58:34 +01:00
Andrew Nguyen
50ee017f34
kernel32/tests: Add tests for FillConsoleOutputCharacterA.
2011-01-04 11:58:34 +01:00
Andrew Nguyen
5a7c633fab
kernel32: Improve parameter validation for FillConsoleOutputCharacterW.
2011-01-04 11:58:33 +01:00
Andrew Nguyen
8ec12b5110
kernel32: Improve parameter validation for WriteConsoleOutputAttribute.
2011-01-04 11:58:33 +01:00
Andrew Nguyen
5f70cd6509
kernel32: Improve parameter validation for WriteConsoleOutputCharacterA.
2011-01-04 11:58:33 +01:00
Andrew Nguyen
2281c29b46
kernel32: Improve parameter validation for WriteConsoleOutputCharacterW.
2011-01-04 11:58:33 +01:00
Andrew Nguyen
9febdf3f58
kernel32: Improve parameter validation for WriteConsoleInputA.
2011-01-04 11:58:32 +01:00
Andrew Nguyen
0272da5afa
kernel32: Improve parameter validation for WriteConsoleInputW.
2011-01-04 11:58:13 +01:00
Andrew Nguyen
3501b0a580
kernel32: Fail with an invalid output parameter in GetNumberOfConsoleInputEvents.
2011-01-04 11:51:03 +01:00
Andrew Nguyen
ab8b2cfaa1
kernel32/tests: Avoid an input buffer overrun in the empty console write test.
2011-01-03 14:58:55 +01:00
Greg Geldorp
e114f85345
kernel32/tests: Add error codes for XP/Win2003 Wow64.
2011-01-03 12:14:26 +01:00
Greg Geldorp
f284719c96
kernel32/tests: Skip some debugger tests on 64-bit.
2010-12-30 16:49:00 +01:00
Greg Geldorp
a2d1c7df5e
kernel32/tests: Remove check of environment variables against registry.
2010-12-21 16:55:50 +01:00
Greg Geldorp
a4a73c20af
kernel32/tests: Quote command line arguments that might contain spaces.
2010-12-21 16:55:50 +01:00
Greg Geldorp
0650cb2456
kernel32/tests: Add tests to verify USERPROFILE and environment variables from registry are present and correct.
2010-12-20 12:47:38 +01:00
Piotr Caban
52e5087aec
kernel32: Added more ReadDirectoryChangesW tests.
2010-12-17 13:26:03 +01:00
Michael Stefaniuc
bb442a2a57
kernel32/tests: '\' needs to be escaped in a C string (sparse).
2010-11-10 12:18:21 +01:00
Francois Gouget
b990617a95
Assorted spelling fixes.
2010-11-02 13:16:57 +01:00
Alexandre Julliard
6410ab1ce8
libwine: Update Unicode tables to the Unicode 6.0 standard.
2010-10-30 20:42:09 +02:00
Charles Davis
717fc6f3a8
kernel32/tests: Fix the mixed-case short path test to actually test something.
2010-10-29 14:21:59 +02:00
Charles Davis
2d18a012a8
kernel32/tests: Add a test for opening short paths of differing case.
2010-10-28 18:18:11 +02:00
Austin Lund
86c39000a4
kernel32/tests: Increase timeouts to avoid test failures in CreateRemoteThread.
2010-10-25 13:52:51 +02:00
Louis Lenders
8819ae1e66
kernel32: Fix GetTempFileName with invalid path.
...
Found by Oskar Eisemuth.
2010-10-22 17:19:12 +02:00
Alexandre Julliard
1455604704
kernel32: Fix last error code in GetVolumeInformationW when an explicit subdir is requested.
2010-10-20 12:29:45 +02:00
Alexandre Julliard
732534f954
kernel32: Use the NT name to open the device in GetVolumeInformationW.
2010-10-20 12:23:00 +02:00
Alexandre Julliard
ee0f0da69b
kernel32: Use RtlDosPathNameToNtPathName_U to validate the path in GetVolumeInformationW.
2010-10-20 12:19:59 +02:00
Alexandre Julliard
e7c67c0cb1
ntdll: More complete implementation of NtAreMappedFilesTheSame.
2010-10-19 16:14:40 +02:00
Alexandre Julliard
971e9a2239
kernel32/tests: Add some tests for NtAreMappedFilesTheSame.
2010-10-18 19:47:50 +02:00
Louis Lenders
933bcb92b0
kernel32/tests: Add some more tests for GetTempFileName.
2010-10-18 11:51:21 +02:00
Andrew Nguyen
43e99d6e0c
kernel32: Implement GetSystemRegistryQuota as a semi-stub.
2010-10-11 17:11:27 +02:00
Alexandre Julliard
7064e8838c
kernel32/tests: Make some variables static.
2010-10-01 13:36:35 +02:00
Alexandre Julliard
5db7d5957a
kernel32/tests: Use a real console handle in the VerifyConsoleIoHandle test.
2010-09-29 11:57:42 +02:00
Alexandre Julliard
9f792ab3d5
kernel32: Implemented EnumSystemLocalesEx.
2010-09-27 14:13:17 +02:00
Peter Oberndorfer
9d74a70ad5
kernel32: Fix last error value of GetStdHandle/SetStdHandle when called with wrong std handle.
2010-09-23 12:00:44 +02:00
Peter Oberndorfer
297b054e74
kernel32: VerifyConsoleIoHandle does not set last error value.
2010-09-23 12:00:29 +02:00
Peter Oberndorfer
f30b708916
kernel32: Fix WaitForMultipleObjectsEx for handles with lower 2 bits set.
2010-09-23 12:00:20 +02:00
Peter Oberndorfer
4f2afdd0ac
kernel32: Add test for WaitForSingleObject with lower 2 bits of handles set.
2010-09-23 11:59:42 +02:00
André Hentschel
ee3a6770b8
kernel32: Add ARM support.
2010-09-20 12:55:29 +02:00
Alexandre Julliard
81b8ee863e
makefiles: Add a standard header for all makefiles to replace the common variable initializations.
2010-09-19 12:36:48 +02:00
Austin English
66e635adac
kernel32/tests: Typo fixes.
2010-09-09 19:28:32 +02:00
Austin English
7f30ae6349
kernel32/tests: Be sure to terminate array.
2010-09-06 20:30:25 +02:00
Francois Gouget
f3c092f738
kernel32/tests: Fix compilation on systems that don't support nameless unions or structs.
2010-08-31 14:23:47 +02:00
Austin English
90b5342fb8
kernel32/tests: Sparc fixes.
2010-08-24 12:22:39 +02:00
Alexandre Goujon
49c5bd0365
kernel32: Fix GetComputerName errors.
2010-08-23 11:58:42 +02:00
Jörg Höhle
fc872628d9
kernel32/tests: GetVolumeInformationA X: succeeds iff drive's default dir is root.
2010-08-18 17:45:02 +02:00
Austin English
067168b67b
kernel32/tests: Add a test for CreateFileA.
2010-07-28 16:28:19 +02:00
Aric Stewart
6c970e7e66
kernel32/tests: Add test for CT_TYPE1 of GetStringTypeW.
2010-07-22 13:09:24 +02:00
Andrey Turkin
a610fc17d8
kernel32: Enhance EndUpdateResource.
2010-07-22 11:41:41 +02:00
Alexandre Julliard
b86d515ed6
dlls: Remove explicit imports of kernel32 and ntdll.
2010-07-21 17:38:36 +02:00
Alexandre Julliard
b14cfdeea4
tests: Run all tests with the default FPU control word.
2010-07-20 11:41:05 +02:00
Alexandre Julliard
e2c48c5952
tests: Try to avoid message boxes popping up in non-interactive testing.
2010-07-20 11:39:50 +02:00
Jörg Höhle
cdc120d5e5
kernel32/tests: Skip fewer tests on Win9x.
2010-07-08 17:33:37 +02:00
Alexandre Julliard
0db65fd36e
ntdll: Fix the initial FPU control word on 32-bit too.
2010-06-22 11:19:02 +02:00
Alexandre Julliard
8b54390686
ntdll: Fix the initial FPU control word on 64-bit.
2010-06-21 11:49:25 +02:00
Henri Verbeet
772a5c7c09
ntdll: The FPU control word for newly created threads is 0x27f.
...
This fixes a regression introduced by
e6611e22fb
.
2010-06-17 11:50:23 +02:00
Andrew Nguyen
1029167232
kernel32/tests: Add tests to examine output file part pointer behavior for GetFullPathNameW.
2010-06-17 11:48:42 +02:00
Andrew Nguyen
70099e8971
kernel32/tests: Add tests to examine output file part pointer behavior for GetFullPathNameA.
2010-06-17 11:48:39 +02:00
Damjan Jovanovic
06de0195d0
kernel32: Stop CopyFile from overwriting a file with itself.
2010-06-16 19:38:58 +02:00
Damjan Jovanovic
6e5a22c733
kernel32: Add a CopyFile test.
2010-06-15 18:29:07 +02:00
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
Alexandre Julliard
5c9753e2b6
kernel32/tests: Remove leftover Sleep() call.
2010-02-01 16:19:21 +01:00
Alexandre Julliard
5f9f260e42
kernel32: Avoid truncating the output buffer length in GetCurrentDirectoryA.
2010-02-01 13:22:41 +01:00
Alexandre Julliard
a86adcca61
kernel32/tests: Fix heap flag tests for the page alloc case.
2010-02-01 12:35:43 +01:00
Alexandre Julliard
221c115e98
kernel32/tests: Fix some of the heap tests for 64-bit.
2010-01-29 13:29:21 +01:00
Alexandre Julliard
0692bfda5f
ntdll: Don't require heap sizes to be 64K aligned.
2010-01-28 19:47:01 +01:00
Alexandre Julliard
31aa3900e4
ntdll: Add 8 more bytes to the block tail when tail checking is enabled.
2010-01-27 18:46:07 +01:00
Alexandre Julliard
356b06faea
kernel32/tests: Add tests for tail checking on large heap blocks.
2010-01-26 16:08:49 +01:00
Alexandre Julliard
b1c9ce44dd
kernel32/tests: Add tests for heap tail and free block checking.
2010-01-26 15:58:50 +01:00
André Hentschel
c008984a01
kernel32: Implement IsThreadAFiber function.
2010-01-25 12:56:26 +01:00
André Hentschel
a9353a1caf
kernel32/tests: Test Fiber callback count.
2010-01-25 12:55:41 +01:00
André Hentschel
30deb6b896
kernel32/tests: Test Fiber Local Storage functions.
2010-01-25 12:55:34 +01:00
André Hentschel
e0475a3e11
kernel32/tests: Test IsThreadAFiber function.
2010-01-25 12:55:22 +01:00
André Hentschel
f57dbecda8
kernel32/tests: Test fiber Ex functions.
2010-01-25 12:55:12 +01:00
André Hentschel
ffae80a39c
kernel32/tests: Run fiber tests on more platforms.
2010-01-25 12:55:00 +01:00
André Hentschel
2d956be11d
kernel32/tests: Fix header comments.
2010-01-25 12:46:00 +01:00
Alexandre Julliard
dabda7e3ee
kernel32/tests: Add tests for the global flag and its influence on the heap flags.
2010-01-22 12:33:24 +01:00
André Hentschel
643625b9e0
kernel32/tests: Initial fiber tests.
2010-01-20 15:35:38 +01:00
Paul Vriens
6fd641aa05
kernel32/tests: Skip a test on Win9x/WinMe.
2010-01-18 14:39:11 +01:00
Andrew Nguyen
11dce800c1
kernel32/tests: Add tests for IsBadCodePtr.
2010-01-18 14:38:53 +01:00
Andrew Nguyen
5b9730c494
kernel32/tests: Add more tests for IsBadWritePtr.
2010-01-18 14:38:48 +01:00
Andrew Nguyen
4108fd0f35
kernel32/tests: Add tests for IsBadReadPtr.
2010-01-18 14:38:41 +01:00
Jason Edmeades
99a0376a4f
kernel32: Return error on second attempt to free a module.
2010-01-18 14:26:16 +01:00
André Hentschel
b45d4aa161
kernel32/tests: Simplify string generation.
2010-01-11 11:29:38 -06:00
Paul Vriens
a95e070824
kernel32: Add a stubbed GetConsoleProcessList().
2010-01-05 12:29:18 +01:00
Alexandre Julliard
89c0b87fad
kernel32/tests: Fix the SetThreadIdealProcessor for WoW64.
2009-12-23 14:27:31 +01:00
Alexandre Julliard
221925ddbf
kernel32/tests: Get rid of API function typedefs.
2009-12-23 14:27:31 +01:00
Nikolay Sivov
6d270a1d48
kernel32: Fix SearchPath parameter validation with tests.
2009-12-22 13:48:25 +01:00
Nikolay Sivov
08a778c568
kernel32/tests: Init pointers in common way, add some win_skip() while skipping.
2009-12-22 13:48:25 +01:00
Nikolay Sivov
8b805e48fb
kernel32/tests: Fix LocalAlloc() allocated leaks.
2009-12-21 15:36:52 +01:00
Nikolay Sivov
f33db8a02d
kernel32/tests: Fix some find handle leaks.
2009-12-21 15:36:52 +01:00
Nicolas Le Cam
7ae21483ec
kernel32/tests: Simplify dumpmem function.
2009-12-21 15:01:25 +01:00
Nikolay Sivov
a29bbda1a4
kernel32/tests: Print line numbers in tests.
2009-12-21 15:01:24 +01:00
Nikolay Sivov
0fe54088bc
kernel32/tests: Fix few context leaks.
2009-12-18 11:43:48 +01:00
Paul Vriens
17eb00409c
kernel32/tests: Add some tests for GetLongPathNameW.
2009-12-17 13:25:51 +01:00
Paul Vriens
763694a646
kernel32/tests: Only set the size ourselves if we are on W2K.
2009-12-15 11:43:30 +01:00
Nikolay Sivov
59d250c4a4
kernel32/tests: Fix test failures on NT4.
2009-12-07 14:18:25 +01:00
Paul Vriens
c2f5442f2a
kernel32/tests: Skip some tests if needed (WinXP Home).
2009-12-04 14:44:11 +01:00
Paul Vriens
0c67d1bddb
kernel32/tests: Skip some tests on Win98/WinMe.
2009-12-04 14:44:03 +01:00
Paul Vriens
3b43c4e585
kernel32/tests: Correct some ok() statements.
2009-12-04 14:43:48 +01:00
Nikolay Sivov
8ea4102a6c
kernel32/lcformat: Add support for genitive month names in GetDateFormat().
2009-12-04 14:34:57 +01:00
Paul Vriens
be3c97437f
kernel32/tests: Add some GetLongPathNameA tests.
2009-12-02 16:08:52 +01:00
Paul Vriens
868d492cf7
kernel32/tests: Fix some intermittent crashes/failures on Vista+.
2009-11-29 16:37:59 +01:00
Alexandre Julliard
ac572be030
kernel32/tests: Specify the correct machine for the fake dll file.
2009-11-24 15:53:37 +01:00
Alexandre Julliard
181b3cf07f
server: Implement the file sharing check for delete on close with an existing image mapping.
2009-11-23 17:29:22 +01:00
Alexandre Julliard
923d582f07
server: Implement the file sharing check when truncating a file that has an existing mapping.
2009-11-23 17:24:45 +01:00
Alexandre Julliard
fd504b6289
server: Implement the special file sharing rules for memory mappings.
2009-11-23 17:10:28 +01:00
Alexandre Julliard
647491418b
kernel32/tests: Add more tests for file sharing with mappings, including SEC_IMAGE mappings.
2009-11-20 14:21:31 +01:00
Alexandre Julliard
c073ee54c9
kernel32/tests: Add some tests for file sharing against a memory mapping.
2009-11-19 16:16:52 +01:00
Austin Lund
f5271ce1e3
kernel32/tests: Fixed test for GetVolumeNameForVolumeMountPoint on directory.
2009-11-16 12:43:07 +01:00
Viliam Lejcik
3dc8b28d84
kernel32: Fix GetCurrencyFormat grouping.
2009-11-11 11:24:09 +01:00
Paul Vriens
159506893b
kernel32/tests: Fix some test failures on Win9x/WinMe.
2009-11-10 15:18:05 +01:00
Francois Gouget
5fb3985fa5
Assorted spelling fixes.
2009-11-09 19:42:31 +01:00
Alexandre Julliard
1a3777e2dc
ntdll: Reject VirtualAlloc blocks in NtUnmapViewOfSection.
2009-11-04 19:53:00 +01:00
Michael Martin
39d8f13785
kernel32/tests: Additional tests for CopyFile/MoveFile used on mapped files.
2009-11-04 13:17:15 +01:00
Alexandre Julliard
36e56ad1aa
kernel32/tests: Fix FormatMessage test failures on various Windows versions.
2009-10-30 11:03:39 +01:00
Alexandre Julliard
0e26e741f7
kernel32: Replicate the MS bug with va_list argument counting in FormatMessage.
2009-10-30 11:03:39 +01:00
Alexandre Julliard
24a8e33fb6
kernel32/tests: Use __ms_va_list in the FormatMessage test.
2009-10-30 11:03:39 +01:00
Alexandre Julliard
b353401513
kernel32: Fix handling of width and precision arguments and remove assumptions about va_list implementation in FormatMessage.
2009-10-30 11:03:39 +01:00
Alexandre Julliard
100131d4ca
kernel32: Propagate the error result from RtlFindMessage in FormatMessage.
2009-10-30 11:03:39 +01:00
Louis Lenders
1be99033b1
kernel32/tests: Add more tests for FormatMessageA.
2009-10-29 17:07:53 +01:00
Alexandre Julliard
549116bd68
kernel32/tests: Add some tests for width and precision formatting in FormatMessage.
2009-10-29 13:06:12 +01:00
Paul Vriens
cde8673339
kernel32/tests: Fix an intermittent test failure on Vista+.
2009-10-23 12:02:54 +02:00
Dan Kegel
4696a53679
kernel32: Fix two little leaks in heap test.
...
Found by valgrind.
2009-10-21 17:40:19 +02:00
Nikolay Sivov
2b7a3657f7
kernel32/locale: Add support for LOCALE_RETURN_GENITIVE_NAMES for LOCALE_SMONTHNAME* locale data, update Russian nls resource accordingly.
2009-10-21 16:05:57 +02:00
Nikolay Sivov
15c0f0a42d
kernel32/tests: Add tests for LOCALE_RETURN_GENITIVE_NAMES flag for GetLocaleInfoW.
2009-10-21 16:05:57 +02:00
Paul Vriens
d11df5126d
kernel32/tests: Fix some test failures on Win9x/WinMe.
2009-10-14 14:24:29 +02:00
Dmitry Timoshkov
27ebfdb879
kernel32: Implement HeapQueryInformation, add some basic tests for it.
2009-10-12 12:48:03 +02:00
Alexandre Julliard
362ecd06f6
kernel32: Fix handling of overflows in GetPrivateProfileSectionA.
2009-10-08 16:28:17 +02:00
Ge van Geldorp
55423d8df2
kernel32/tests: Check last error before calling lstrcmpA() since it may reset GLE.
2009-10-08 12:03:02 +02:00
Ge van Geldorp
63d77d07dc
kernel32/tests: Skip some resource tests on Win7.
2009-10-07 15:20:57 +02:00
Paul Vriens
6d416e6934
kernel32/tests: Don't crash on WinMe.
2009-10-07 12:55:16 +02:00
Ge van Geldorp
6571d1e4a8
kernel32/tests: Add acceptable error codes for Win7 process test.
2009-10-06 12:00:13 +02:00
Ge van Geldorp
4d5059060a
kernel32/tests: Fix atom tests on Win7.
2009-10-06 11:59:35 +02:00
Michael Stefaniuc
73d38b047b
kernel32/tests: Use better types than long.
2009-10-06 11:57:53 +02:00
Dmitry Kislyuk
c81d1e78f7
kernel32/tests: Pass test on error code returned by Windows 7.
2009-10-05 13:46:01 +02:00
Paul Vriens
a04e265486
kernel32/tests: Fix some test failures on WinMe.
2009-09-29 14:22:33 +02:00
Stefan Leichter
2c576e88b4
kernel32: Check parameter of CheckRemoteDebuggerPresent with tests.
2009-09-28 12:37:28 +02:00
Alexandre Julliard
b9251bcdbf
kernel32/tests: Fix a couple of failures in the comm tests.
2009-09-24 13:10:54 +02:00
Ge van Geldorp
160d7dfb91
kernel32/tests: Fix actctx tests on Vista+.
2009-09-15 17:33:50 -05:00
Alexandre Julliard
72241b5d47
ntdll: Make sure that serial ioctl calls fail on non-serial handles.
2009-09-10 11:06:01 +02:00
Alexandre Julliard
d916ce2fc9
kernel32/tests: Avoid size_t in traces.
2009-09-02 11:53:06 +02:00
Ge van Geldorp
277585fd11
kernel32/tests: Fix locale tests on Vista and higher.
2009-09-02 10:23:46 +02:00
Alexandre Julliard
cb0607ced2
kernel32: Fix the GetThreadPriorityBoost return value.
2009-08-29 16:48:54 +02:00
Ge van Geldorp
40d8c87df2
kernel32/tests: Remove test that crashes on Win7.
2009-08-26 16:33:38 +02:00
Stefan Leichter
88a019956e
kernel32: Test GetPrivateProfileString with empty string as key and section.
2009-08-21 13:49:45 +02:00
Alexandre Julliard
f3d87838ff
kernel32/tests: Use the global wine_dbgstr_w instead of a local variant.
2009-08-19 13:36:36 +02:00
Alexandre Julliard
ee868cce5b
tests: Make wine_dbgstr_w available in test.h for all tests.
2009-08-19 13:19:31 +02:00
Michael Karcher
a0eb2ed413
server: Don't report LOAD_DLL debug event for exe module.
2009-08-17 16:44:14 +02:00
Andrew Nguyen
20276d0b38
kernel32: Revise SetThreadIdealProcessor to return success.
2009-08-07 14:57:31 +02:00
Alexandre Julliard
8c700d2b3b
kernel32/tests: Add one more possible error code.
2009-08-05 13:52:42 +02:00
Nicolas Le Cam
5e58b29cfe
kernel32/tests: Skip GetVolumeInformation test on current directory when running on a root directory.
2009-08-03 15:04:21 +02:00
Nicolas Le Cam
1975ba276f
kernel32/tests: Test GetVolumeInformation when current directory is a root directory.
2009-08-03 15:04:17 +02:00
Alexandre Julliard
df6c65623a
ntdll: Add support for the MEM_RESET flag in VirtualAlloc, with tests.
2009-07-09 19:31:36 +02:00
Alexandre Julliard
97db90290b
kernel32/tests: Avoid using non-ASCII characters in strings.
2009-07-07 13:57:17 +02:00
Francois Gouget
03584b4ff6
Assorted spelling fixes.
2009-06-22 13:32:01 +02:00
Stefan Leichter
57f9236741
kernel32: Implement QueryFullProcessImageNameA.
2009-06-11 13:23:25 +02:00
Guy Albertelli
7c4939cbaa
kernel32/tests: Fix tests to pass on Win9x and WinME.
2009-06-11 12:35:17 +02:00
Vincent Povirk
b210eeb1ad
kernel32/tests: Test waiting on a disconnected client pipe.
2009-06-09 17:01:14 +02:00
Guy Albertelli
5632d2344e
kernel32/tests: Fix tests when GetVolumeNameForVolumeMountPoint fails.
2009-06-08 15:27:20 +02:00
Paul Vriens
06ebe936ac
kernel32/tests: Only report unimplemented functions once.
2009-06-08 12:44:03 +02:00
Paul Vriens
b3e4155a41
kernel32/tests: Fix a test failure on Win9x/WinMe.
2009-06-05 14:43:24 +02:00
Paul Vriens
eca3d74877
kernel32/tests: Skip WritePrivateProfileString tests on Win9x/WinME.
2009-06-04 12:11:56 +02:00
Guy Albertelli
25506ca64e
kernel32/tests: Add tests for CreateFile errors and opening volumes.
2009-06-03 15:22:52 +02:00
Detlef Riekenberg
8588748bc8
kernel32/tests: Fix failures on localized Windows versions.
2009-06-03 11:27:24 +02:00
Stefan Leichter
a37b8f79af
kernel32: Added missing newline to win_skip.
2009-06-02 13:10:16 +02:00
Detlef Riekenberg
fd0d17ec1c
kernel32/tests: Add tests for GetLocaleInfo with SUBLANG_NEUTRAL.
2009-06-02 11:57:21 +02:00
Peter Hedlund
7d47feaebe
kernel32: Mask out obsolete flags in GlobalAlloc.
2009-05-28 14:11:32 +02:00
Alexandre Julliard
9ccc9bd6a9
kernel32/tests: Run file tests in the temp directory if we don't have access to the drive root.
2009-05-27 12:47:33 +02:00
Paul Vriens
7750e36be5
kernel32/tests: Fix some test failures on Vista.
2009-05-27 11:10:25 +02:00
Guy Albertelli
c1f161a678
kernel32: Fix GetVolumeNameForVolumeMountPointW to match Mountmgr.
2009-05-26 15:36:53 +02:00
Alexandre Julliard
2cd36b6b60
kernel32: Remove the file parameter check again in LoadLibraryExW since some broken apps pass garbage here.
2009-05-26 14:26:42 +02:00
Paul Vriens
bb4168ab73
kernel32/tests: Fix comment.
2009-05-25 11:24:03 +02:00
Paul Vriens
43ccb8abd8
kernel32/tests: Fix test failure on older W2K boxes.
2009-05-22 15:22:54 +02:00
Alexandre Julliard
d5d0738fb9
ntdll: Tweak the file mapping permission checks some more, with tests.
2009-05-19 21:36:05 +02:00
Hans Leidekker
0eb5893ea6
kernel32: Add tests for FormatMessageA/W.
2009-05-19 11:58:53 +02:00
Andrew Nguyen
786158796b
kernel32/tests: Correctly skip when the Unicode communications functions are not available.
2009-05-19 11:58:53 +02:00
Paul Vriens
37babfcece
kernel32/tests: Fix some test failures on Win9x/WinME.
2009-05-19 11:25:23 +02:00
Andrew Nguyen
94945af556
kernel32/tests: Use named constants for a drive test.
2009-05-18 14:31:07 +02:00
Andrew Nguyen
7c2c6a575c
kernel32: Correct the last error of CreateProcessW with an empty command line string.
2009-05-18 14:31:07 +02:00
Andrew Nguyen
645e59c490
kernel32: Correct the last error of CreateProcessW with an empty application name string.
2009-05-18 14:31:07 +02:00
Andrew Nguyen
6c27fa1038
kernel32: Don't validate the command line parameter of CreateProcessW.
2009-05-18 14:31:07 +02:00
Andrew Nguyen
b0abafe70f
kernel32/tests: Correctly skip when Unicode thread functions are not available.
2009-05-18 14:31:07 +02:00
Andrew Nguyen
fda79ef217
kernel32/tests: Correctly skip when GetTempPathW is not available.
2009-05-18 14:31:07 +02:00
Andrew Nguyen
1e74b21f18
kernel32/tests: Correctly skip when Unicode locale functions are not available.
2009-05-18 14:31:07 +02:00
Andrew Nguyen
38f7d54fe0
kernel32/tests: Correctly skip when the Unicode file functions are not available.
2009-05-18 14:31:07 +02:00
Andrew Nguyen
a85dc85960
kernel32/tests: Correctly skip tests when the Unicode drive functions are not available.
2009-05-18 14:31:07 +02:00
Andrew Nguyen
4f7f110c5e
kernel32/tests: Correctly skip tests when the Unicode directory functions are not available.
2009-05-18 14:31:06 +02:00
Guy Albertelli
7d4bbe9e79
kernel32/tests: Add more tests for GetVolumeNameForVolumeMountPointA.
2009-05-11 14:51:27 +02:00
Dmitry Kislyuk
8d9434eefe
kernel32/tests: Show that NULLs need to be preserved in data before first section.
2009-05-07 15:16:15 +02:00
Francois Gouget
fc7a85470c
kernel32/tests: Add a trailing '\n' to ok() calls.
2009-05-04 12:53:24 +02:00
Guy Albertelli
1016bd7ec4
kernel32/tests: Fix new problems with volume tests.
2009-04-30 12:47:14 +02:00
Guy Albertelli
fce0f9ab8a
kernel32/tests: Add tests to verify GetVolumeNameForVolumeMountPointA returns correct string.
2009-04-29 13:39:21 +02:00
Guy Albertelli
f7e6777e6e
kernel32: Fix GetVolumeInformation[AW] to require trailing \.
2009-04-29 13:38:56 +02:00
Guy Albertelli
6f1390646c
kernel32/tests: Add tests for GetVolumeInformationA and QueryDosDevice.
2009-04-29 13:38:51 +02:00
Dan Kegel
3e6d0789d0
ntdll: Add missing RtlReAllocateHeap Valgrind hook, add tests.
2009-04-27 13:22:49 +02:00
Mikołaj Zalewski
1e256e426d
winedbg: Add a crash dialog for --auto mode.
2009-04-22 17:00:34 +02:00
Dmitry Kislyuk
182e75140e
kernel32: Added GetPrivateProfileSection and GetPrivateProfileString tests for empty section scenario.
2009-04-20 17:40:33 +02:00
Alexandre Julliard
4b9bba163e
kernel32/tests: Use the appropriate processor architecture in generated manifests.
2009-04-06 20:57:47 +02:00
Paul Vriens
9a10234ef2
kernel32: Fix creation of empty sections in ini files.
2009-04-02 16:28:30 +02:00
Mikołaj Zalewski
9c9532265d
kernel32: Implement QueryFullProcessImageFileNameW.
2009-03-31 18:05:55 +02:00
Paul Vriens
a61e117781
kernel32/tests: Fix some test failures on Win9x and WinME.
2009-03-30 13:58:12 +02:00
Paul Vriens
7eca8022df
kernel32/tests: Fix some test failures on NT4 and below.
2009-03-27 15:51:25 +01:00
Paul Vriens
9e82e50eb3
kernel32/tests: Fix crash on NT4 and higher.
2009-03-26 16:21:59 +01:00
James Hawkins
87847b47cd
kernel32: Don't try to load an empty initialization file.
2009-03-24 11:37:01 +01:00
James Hawkins
7c3529f1cc
kernel32: Handle writing empty sections and keys in WritePrivateProfileString.
2009-03-24 11:36:52 +01:00
James Hawkins
f1308f9b40
kernel32: Set last error to ERROR_FILE_NOT_FOUND if lpAppName is NULL.
2009-03-24 11:36:03 +01:00
James Hawkins
287b07fddc
kernel32: Add tests for WritePrivateProfileString.
2009-03-24 11:35:52 +01:00
Michael Stefaniuc
9b2730eb88
kernel32: Remove superfluous pointer casts.
2009-03-11 13:03:31 +01:00
Alexandre Julliard
598e6f09c8
kernel32/tests: Stop testing integer atoms if the first one doesn't work.
2009-03-05 12:47:18 +01:00
Alexandre Julliard
3e84960c20
kernel32/tests: Improve some failure messages in the pipe tests.
2009-03-04 15:45:48 +01:00
Paul Vriens
54845cd40a
kernel32/tests: Correct an ok() statement.
2009-03-04 14:42:30 +01:00
Vincent Povirk
392537bb33
kernel32/tests: Add named pipe test using i/o completion ports.
2009-03-03 11:59:48 +01:00
Vincent Povirk
311d260ac1
kernel32/tests: Fix overlapped named pipe test.
...
The overlapped named pipe test calls GetOverlappedResult after all
operations in which it passes an overlapped structure, but it seems we
only get one when the functions fail with ERROR_IO_PENDING. I've
modified the test to account for that, and it seems to pass
consistently on Windows and Wine.
2009-02-27 13:16:11 +01:00
Vincent Povirk
545b6989f2
kernel32/tests: Remove a redundant check for ERROR_CALL_NOT_IMPLEMENTED.
2009-02-27 13:15:52 +01:00
Francois Gouget
41360cc161
kernel32/tests: Change to a win_skip() because we don't want to skip the GetConsoleCursorInfo(,NULL) test in Wine.
2009-02-24 16:57:26 +01:00
Francois Gouget
5989534540
kernel32/tests: Use win_skip() to skip over unimplemented functionality.
2009-02-24 16:57:26 +01:00
Austin English
68cc3ff120
kernel32: Add test for renaming file over itself.
2009-02-20 11:11:31 +01:00
Alexandre Julliard
5720375fec
kernel32/tests: Add a few more error codes for GetDiskFreeSpace.
2009-02-16 12:02:46 +01:00
Alexandre Julliard
9849c99d1b
kernel32/tests: Fix the last remaining failure on NT4.
2009-02-16 12:02:25 +01:00
Juan Lang
d1dc7e5be4
kernel32: Fix test failures on NT4.
2009-02-13 13:34:28 +01:00
Juan Lang
705cdc88c4
kernel32: Fix some more failures on systems with reduced privilege.
2009-02-13 13:33:11 +01:00
Juan Lang
5dd87ec9b1
kernel32: Log more information in case of a test failure, and don't run tests that are guaranteed to fail.
2009-02-13 13:33:03 +01:00
Juan Lang
0edcef6d5e
kernel32: Fix some test failures on systems with reduced privilege.
2009-02-13 13:32:56 +01:00
Juan Lang
c82722b3dc
kernel32: Add more tests for getting/setting a named pipe's state.
2009-02-12 11:59:15 +01:00
Alexandre Julliard
5d0f3aa33b
kernel32/tests: Add another error code in the CreateDirectory test.
2009-02-03 22:23:19 +01:00
Alexandre Julliard
3cd4150059
kernel32/tests: Don't hardcode C drive for CreateDirectory tests.
2009-02-03 15:21:47 +01:00
Alexandre Julliard
1a28fb6c16
kernel32/tests: Use a better invalid filename than "foo".
2009-02-03 15:15:49 +01:00
Alexandre Julliard
bdfa9c3a1b
kernel32/tests: Allow more error codes from GetDiskFreeSpace.
2009-02-03 15:04:24 +01:00
Alexandre Julliard
e8d36ff9a1
kernel32/tests: Print some more details on directory test failures.
2009-02-03 15:01:41 +01:00
Paul Vriens
047a43f084
kernel32/tests: Fix remaining failures on Win9x and WinME.
2009-02-02 12:12:24 +01:00
Paul Vriens
a8c24d343c
kernel32/tests: Fix some test failures on Win9x and WinME.
2009-02-02 12:12:16 +01:00
Paul Vriens
2bac661c2f
kernel32/tests: Fix some tests on Win9x and WinME (GetPrivateProfileSection).
2009-02-02 12:12:09 +01:00
Paul Vriens
b7b59236cf
kernel32/tests: Fill the buffer and check for double-NULL to show a bug in Wine.
2009-02-02 12:12:03 +01:00
Paul Vriens
8236f362ff
kernel32/tests: Fix some test failures on Win9x and WinME.
2009-01-30 11:43:21 +01:00
Paul Vriens
a21ea16f90
kernel32/tests: Skip some tests on Win9x and WinME.
2009-01-30 11:43:16 +01:00
Alexandre Julliard
3e88d45f7c
kernel32/tests: Don't test the implementation details of the SList structure.
2009-01-29 22:08:07 +01:00
Alexandre Julliard
b8712b7f8a
kernel32/tests: Support broken GetTempPath return value on WinME.
2009-01-29 22:07:50 +01:00
Paul Vriens
407f0d9f56
kernel32/tests: Fix some test failures on Win9x and WinME (GetPrivateProfileString).
2009-01-29 12:19:35 +01:00
Paul Vriens
48f035bd4c
kernel32/tests: Fix some test failures on Win9x and WinME (GetPrivateProfileSectionNames).
2009-01-29 12:19:29 +01:00
Paul Vriens
7099cdebd5
kernel32/tests: Fix some test failures on several platforms.
2009-01-29 12:19:19 +01:00
Paul Vriens
cca75cc147
kernel32/tests: Don't crash when run as a normal user.
2009-01-28 12:32:22 +01:00
Paul Vriens
dda0fe451d
kernel32/tests: Fill the buffer to show a bug in Wine.
2009-01-28 12:32:05 +01:00
Alasdair Sinclair
116886cf0a
kernel32/tests: Fix missing void in empty parameter list.
2009-01-28 12:10:55 +01:00
Alexandre Julliard
a79868e09d
kernel32/tests: Don't hardcode C drive for SetCurrentDirectory tests.
...
Also handle the case where TMP and TEMP are not defined.
2009-01-27 14:55:30 +01:00
Marcus Meissner
e1d9a793be
kernel32: Initialize events correctly.
2009-01-27 11:09:24 +01:00
Ge van Geldorp
ee3a743e6c
kernel32/tests: "none" debugger test needs user interaction.
2009-01-26 16:08:30 +01:00
Nikolay Sivov
32cc4011ee
kernel32: Make GetOverlappedResult crash on NULL args as native does.
2009-01-22 15:28:24 +01:00
Alexandre Julliard
317ad64985
kernel32: LCMapString should include the terminating NULL also for LCMAP_SORTKEY.
2009-01-19 13:46:30 +01:00
Andrew Nguyen
976d5cae8d
kernel32: Ensure that WriteConsoleW succeeds with an empty input buffer.
2009-01-19 13:36:25 +01:00
Andrew Nguyen
1571c05ad5
kernel32/tests: Simplify a test function's parameters.
2009-01-19 13:36:25 +01:00
Alexandre Julliard
31fd066393
kernel32/tests: Add test cases for reading/writing process memory from an invalid buffer address.
2009-01-15 12:06:16 +01:00
Alexandre Julliard
8de57bd541
kernel32/tests: Add test cases for reading/writing from an invalid buffer address.
2009-01-15 12:05:53 +01:00
Nikolay Sivov
4e12b8efc8
kernel32/tests: Some todo tests for CompareStringA and lstrcmpi.
2009-01-14 15:54:41 +01:00
Alexandre Julliard
02a1c0d7ee
kernel32/tests: Fix some integer to pointer conversion warnings.
2009-01-08 13:17:53 +01:00
Alexandre Julliard
1f83e7d9fd
kernel32/tests: Use _lclose instead of CloseHandle to avoid handle casts.
2009-01-08 13:05:16 +01:00
Francois Gouget
581e390115
winapi_test: The tests don't support WIN64 yet so disable them there.
2009-01-08 12:47:22 +01:00
Francois Gouget
411f5d22c0
winapi_test: The real tests are done at compile time so use C_ASSERT() instead of ok(). Do only one test per line so one can know exactly what went wrong.
2009-01-08 12:46:39 +01:00
Francois Gouget
9f62c9b7a8
winapi_test: Fix TEST_FIELD() so it correctly tests the field size.
2009-01-08 12:44:49 +01:00
Francois Gouget
43c18c1321
winapi_test: FIELD_ALIGNMENT() is redundant so remove it.
2009-01-08 12:43:15 +01:00
Francois Gouget
2e668d2572
winapi_test: Updated so the generated tests work.
2009-01-08 12:42:12 +01:00
Alexandre Julliard
c9b4210b9c
kernel32/tests: Use the actual name of the exe module in toolhelp tests.
2009-01-04 14:59:34 +01:00
Alexandre Julliard
1cdccc7de7
kernel32/tests: Comment out a couple of heap tests that crash on 64-bit Vista.
2009-01-04 14:47:59 +01:00
Alexandre Julliard
9e070a6108
kernel32/tests: Use the correct SIZE_T type instead of unsigned long.
2009-01-03 20:21:43 +01:00
Alexandre Julliard
b712358152
kernel32/tests: Fix the NT header initialization for 64-bit.
2009-01-03 20:21:25 +01:00
Alexandre Julliard
52f99aeacb
kernel32/tests: Don't compare the result of llseek or hwrite against HFILE_ERROR.
2009-01-03 20:21:01 +01:00
Alexandre Julliard
bb7de132dd
kernel32/tests: Fix pointer casting warnings on 64-bit.
2009-01-03 20:20:14 +01:00
Alexandre Julliard
02229896be
kernel32/tests: Use the correct value for invalid heap sizes on 64-bit.
2009-01-02 12:20:53 +01:00
Austin English
e9569d9c4e
kernel32/tests: Fix compile on powerpc.
2009-01-02 11:51:41 +01:00
Ge van Geldorp
c7905ffebc
kernel32/tests: Use shared Windows directory on TS to find regedit.exe.
2008-12-29 12:11:41 +01:00
Alexandre Julliard
a2089abd94
ntdll: Enforce correct protection values in virtual memory functions.
2008-12-11 14:05:42 +01:00
Alexandre Julliard
ffb44032ad
kernel32/tests: Fixed the handle test for Win9x.
2008-12-08 21:19:39 +01:00
Alexandre Julliard
7749b6e2dd
kernel32/tests: Added some tests for behavior of 64-bit kernel handles.
2008-12-08 13:39:31 +01:00
Alexandre Julliard
a840b6a7f8
Avoid including time.h before winsock.h in tests.
2008-12-04 12:42:53 +01:00
Alexandre Julliard
c03917c173
Define _WIN32_WINNT before including any headers.
2008-12-04 12:10:16 +01:00
Jeff Zaroyko
afce615830
wineserver: Don't use O_CREAT and O_EXCL when attempting to open directories.
2008-12-03 09:58:21 +01:00
Jeff Zaroyko
f8b5aa34dc
kernel32: Add a test for CreateFile when using OPEN_ALWAYS on directories.
2008-12-03 09:57:52 +01:00
Kai Blin
a30724304c
kernel32/tests: logfile can be NULL, avoid dereferencing it (Coverity).
2008-12-01 14:26:02 +01:00
Michael Stefaniuc
d26b02960c
kernel32: Remove some superfluous casts of void pointers.
2008-12-01 12:45:51 +01:00
Alexandre Julliard
f0483957dd
kernel32/tests: Fix the unimplemented check for EnumSystemLanguageGroupsA.
2008-11-26 12:04:32 +01:00
Alexandre Julliard
af8bb2e922
ntdll: Add support for virtual write watches.
2008-11-25 12:07:35 +01:00
Alexandre Julliard
752416f7c4
kernel32/tests: Fix the mailslot tests on Win9x.
2008-11-20 21:59:26 +01:00
Alexandre Julliard
d523c86a1b
kernel32/tests: Fix test failures on Win9x and NT4.
...
Get rid of most of the macros that make it hard to handle special cases.
2008-11-20 21:39:48 +01:00
Alexandre Julliard
8772c5f150
kernel32/tests: Add a couple of tests for write watches.
2008-11-20 14:27:35 +01:00
Alexandre Julliard
0d6415df16
kernel32/tests: Allow up to 2 seconds of difference in timestamps.
2008-11-18 13:52:25 +01:00
Alexandre Julliard
1e02c1c3c8
kernel32/tests: Fix the process tests on NT4.
2008-11-17 23:37:00 +01:00
Alexandre Julliard
d68225eb41
kernel32/tests: Fix the mailslot tests on Vista.
2008-11-17 23:36:47 +01:00
Alexandre Julliard
cf1116107f
kernel32/test: Fix the timer queue tests on Vista.
2008-11-17 23:01:21 +01:00
Alexandre Julliard
61ea936d68
kernel32/tests: Fix pipe test on w2k3.
2008-11-17 13:16:26 +01:00
Alexandre Julliard
e4d7d902d5
kernel32/tests: Fix the write watch tests on Win98 and Win2000.
2008-11-14 20:36:20 +01:00
Paul Vriens
21765291cf
kernel32/tests: Fix timeouts on NT4 and W2K.
2008-11-14 14:28:29 +01:00
Alexandre Julliard
16feb03778
kernel32/tests: Fix the file test on various Windows versions.
2008-11-14 13:30:16 +01:00
Alexandre Julliard
43fae4e425
kernel32/tests: Added a bunch of tests for write watches.
2008-11-14 11:02:15 +01:00
Alexandre Julliard
f2f0dead61
kernel32/tests: Fix the thread test to cope with the Win95 InterlockedIncrement behavior.
2008-11-13 11:49:36 +01:00
Alexandre Julliard
1ff8e7dd41
kernel32/tests: Fix the thread test on NT4.
2008-11-10 11:09:18 +01:00
Alexandre Julliard
220a2c2c0b
kernel32/tests: Fix some resource test failures on NT4.
2008-11-10 11:09:11 +01:00
Alexandre Julliard
181e4f08b6
kernel32/tests: Fix some profile test failures on NT4.
2008-11-10 11:09:02 +01:00
Alexandre Julliard
a6ce819ca2
kernel32/tests: Fix one more failing test on Win9x.
2008-11-07 10:50:57 +01:00
Alexandre Julliard
cc49f6ba8b
kernel32/tests: Fix a few more errors on Win9x.
2008-11-06 11:23:16 +01:00
Alexandre Julliard
5e2ed6bfe9
ntdll,server: Fixed access checks for OpenFileMapping and MapViewOfFile.
2008-11-05 20:32:32 +01:00
Alexandre Julliard
f21096ad01
ntdll: Don't force anonymous file mappings to always be fully committed.
2008-11-05 12:31:49 +01:00
Alexandre Julliard
503269a4db
kernel32/tests: Add a few more tests, fix some failures on Windows.
2008-11-04 16:23:16 +01:00
Alexandre Julliard
fdf2e7a338
kernel32/tests: Fix a couple of failures on Windows.
2008-11-04 16:13:30 +01:00
Michael Stefaniuc
c9a10b32b4
kernel32: Do not cast zero.
2008-11-04 11:26:09 +01:00
Alexandre Julliard
21453b4c2e
ntdll: Allocate a new virtual region for large blocks, and ensure 16-byte alignment.
2008-10-29 17:32:45 +01:00
Alexandre Julliard
6dee4c6e63
kernel32: Return the Windows symlink in QueryDosDevice instead of the Unix one.
2008-10-24 14:24:58 +02:00
Aric Stewart
65e677735e
ntdll: Update behavior of ActivationContextBasicInformation.
2008-10-22 14:57:22 +02:00
Paul Vriens
61b84b0862
kernel32/tests: Skip a test if needed.
2008-10-22 13:54:54 +02:00
Paul Vriens
dda38adce5
kernel32/tests: Fix a few failures on win9x and winme.
2008-10-22 13:54:54 +02:00
Paul Vriens
5b83196484
kernel32/tests: Free memory after use.
2008-10-21 11:43:18 +02:00
Aric Stewart
0738505173
kernel32/tests: Add test for GetCommandLineW.
2008-10-16 11:42:50 +02:00
Aric Stewart
6ec0e71e17
kernel32/tests: Add a test for CreateProcess with an AppName set.
2008-10-16 11:41:50 +02:00
Jacek Caban
a849136d5e
kernel32: Added GetLogicalDriveStrings tests.
2008-10-16 11:21:46 +02:00
Dmitry Timoshkov
228c52de57
kernel32: Add support for foreign process handles in GetProcessVersion.
2008-10-16 11:21:40 +02:00
Paul Vriens
839b5400cd
kernel32/tests: Add a missing newline.
2008-10-07 15:20:24 +02:00
Paul Vriens
81f75c1840
kernel32/tests: Fix failures on WinMe.
2008-10-07 12:11:59 +02:00
Paul Vriens
b16983c1bc
kernel32/tests: We need the return value.
2008-10-07 12:11:52 +02:00
Paul Vriens
a1131786e4
kernel32/tests: Add some skips to fix failures on WinMe.
2008-10-06 15:31:04 +02:00
Paul Vriens
32af90d53a
kernel32/tests: Fix some failures on win9x.
2008-10-06 13:55:15 +02:00
Paul Vriens
cc57b863b5
kernel32/tests: Fix the remaining errors on win95.
2008-10-06 13:55:12 +02:00
Reece Dunn
4193d78029
kernel32: Be more verbose when reporting the sync test failures.
2008-09-30 11:33:24 -05:00
Erik Inge Bolsø
e8754b8ea6
kernel32: Fix PROFILE_Load to handle mac line endings.
2008-09-23 13:07:40 +02:00
Paul Vriens
1c5043e73d
kernel32/tests: Add extra tests for SetCurrentDirectory.
2008-09-22 12:16:46 +02:00
Paul Vriens
7cb7c14476
kernel32/tests: Make sure we can remove a test directory.
2008-09-22 12:16:07 +02:00
Paul Vriens
e23904ceb9
kernel32/tests: Fix tests on NT4.
2008-09-22 12:16:00 +02:00
Paul Vriens
40a94e04b4
kernel32/tests: Skip some tests on win9x.
2008-09-22 12:15:24 +02:00
Paul Vriens
ed55217444
kernel32/tests: Use skip instead of trace.
2008-09-22 12:15:17 +02:00
Francois Gouget
7af03a041a
kernel32/tests: Fix compilation on systems that don't support nameless unions.
2008-09-22 11:51:56 +02:00
Alexandre Julliard
7e54db23e9
kernel32/tests: Fix a couple of tests failing on NT4.
2008-09-19 14:03:40 +02:00
Alexandre Julliard
ea39761d3a
kernel32/tests: Fix race condition in the thread test.
2008-09-19 12:21:45 +02:00
Jeff Zaroyko
22a33168c9
kernel32: Modify DeleteFileW to fail on directories.
2008-09-18 12:32:57 +02:00
Alexandre Julliard
382ef908f1
kernel32/tests: Handle the win2k3 version check behavior.
2008-09-17 16:29:53 +02:00
Rob Shearman
1229e0ab29
kernel32: Fix character count passed to GlobalGetAtomNameW in test_get_atom_name.
2008-09-17 12:01:57 +02:00
Dmitry Timoshkov
b4e6aa645b
kernel32: Fix the target buffer size.
2008-09-17 10:54:48 +02:00
Alexandre Julliard
b1412422ad
kernel32/tests: Comment out an UpdateResource call that causes failures.
2008-09-16 22:36:58 +02:00
Alexandre Julliard
337fa823d2
kernel32/tests: Support alternate results in the loader test on Vista.
2008-09-16 22:36:42 +02:00
Alexandre Julliard
9f0773587b
kernel32/tests: Fix a test on win9x.
2008-09-16 22:36:04 +02:00
Roy Shea
91e33020f0
kernel32/test: Test import entries of a core windows DLL.
2008-09-15 11:55:04 +02:00
Marcus Meissner
395c4163b8
kernel32/tests: Pass correct size to MultiBytetoWideChar.
2008-09-15 11:44:14 +02:00
Paul Vriens
d81aff24c6
kernel32/tests: Skip tests on Win95.
2008-09-15 11:23:34 +02:00
Alexandre Julliard
c9f84aa9f9
kernel32/tests: Fix the ResumeThread on win9x.
2008-09-11 14:10:35 +02:00
Alexandre Julliard
33c5d44d49
kernel32/tests: Fix the BindIoCompletionCallback test on Vista.
2008-09-11 14:07:54 +02:00
Alexandre Julliard
f0bf098e16
kernel32/tests: Fix the async I/O test to handle errors properly.
2008-09-11 13:49:16 +02:00
Dmitry Timoshkov
4d672ba090
kernel32: Use a kernel error code.
2008-09-11 11:46:02 +02:00
Paul Vriens
5737fb815c
kernel32/tests: Fix a few failures on win98.
2008-09-08 12:49:12 +02:00
Paul Vriens
c461eba067
kernel32/tests: Fix 2 tests on win9x.
2008-09-08 12:49:12 +02:00
Paul Vriens
c3a58cc7d8
kernel32/tests: Fix a few tests on win9x.
2008-09-08 12:49:12 +02:00
Francois Gouget
d8914673ba
kernel32/tests: Add a trailing '\n' to an ok() call.
2008-09-05 13:39:13 +02:00
Paul Vriens
94b73a6d04
kernel32/tests: Split the test for ret and last error.
2008-09-05 11:20:59 +02:00
Jeff Zaroyko
1b5873accc
kernel32: Add some tests for DeleteFile.
2008-09-03 14:21:44 +02:00
James Hawkins
d6bb1d9a70
kernel32: Fix a failing test in win95.
2008-09-03 14:21:42 +02:00
James Hawkins
57cda911a9
kernel32: Fix a test that fails in win2k3.
2008-09-03 13:14:50 +02:00
James Hawkins
731306bf78
kernel32: Fix two tests that fail in win2k3 and modify LoadLibraryEx to match this behavior.
2008-09-03 13:14:50 +02:00
James Hawkins
b1ff962182
kernel32: Fix a failing test in Vista.
2008-09-03 13:14:50 +02:00
James Hawkins
816f57cbb1
kernel32: Add tests for LoadLibraryEx.
2008-08-29 13:29:36 +02:00
James Hawkins
7d7d799284
kernel32: Trace the last error on failure.
2008-08-29 13:23:03 +02:00
James Hawkins
806edcc496
kernel32: Fix two failing tests in win95.
2008-08-29 13:22:55 +02:00
James Hawkins
39732cf927
kernel32: Trace the modified buffer on error.
2008-08-29 13:22:50 +02:00
James Hawkins
9aef134bdc
kernel32: Fix a failing test in win95.
2008-08-29 13:22:31 +02:00
Paul Vriens
56ba2baa01
kernel32/tests: Use skip instead of trace.
2008-08-26 10:57:50 +02:00
Paul Vriens
ac07480fab
kernel32/tests: Use a file that is available on all platforms.
2008-08-26 10:57:05 +02:00
Paul Vriens
920c1fc77a
kernel32/tests: Fix two failures on win9x.
2008-08-26 10:56:58 +02:00
Michael Karcher
34aa6b7002
kernel32: Fix profile cache logic and don't cache new files.
2008-08-20 14:56:15 +02:00
Michael Karcher
c2a26cee16
kernel32/tests: Fix profile crash on NT and up.
2008-08-19 15:19:29 +02:00
Michael Karcher
33ca67dcab
kernel32: Fix profile sharing mode.
...
Based on a patch from Austin English.
2008-08-18 17:15:56 +02:00