Commit Graph

547 Commits

Author SHA1 Message Date
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
Paul Vriens 0d88bf89dc kernel32/tests: Show the setting of the debugger registry value. 2008-08-05 14:09:37 +02:00
Paul Vriens 7661c6989d kernel32/tests: Fix a test failure on Win9x. 2008-08-05 14:09:34 +02:00
Francois Gouget a793888a28 Assorted spelling fixes. 2008-08-04 13:04:48 +02:00
Paul Vriens b2093dc86a kernel32/tests: Skip tests when codepage is not available. 2008-08-04 13:01:24 +02:00
Colin Finck eb8a6f70f5 kernel32/tests: Fix a wrong length passed to a WideCharToMultiByte test, which led to a use of uninitialized stack memory. 2008-08-01 11:18:11 +02:00
Colin Finck c2c1a55f1c kernel32: Add a lot of new tests for the actual WideCharToMultiByte string conversion as well. 2008-07-31 14:09:07 +02:00
Dan Hipschman 54752c4f87 kernel32/tests: Add tests for undocumented default timer queue "features". 2008-07-30 12:44:31 +02:00
Dan Hipschman a148e190af ntdll: Add support for a default timer queue. 2008-07-30 12:44:25 +02:00
Detlef Riekenberg 5437f4ce9c kernel32/tests: Fix a crash on win9x (lpDefault is truncated inplace). 2008-07-28 11:35:38 +02:00
Dan Hipschman 2b287a4489 ntdll: Fix a small timer-queue bug whereby a deleted timer may still expire. 2008-07-28 11:32:21 +02:00
Dan Hipschman 4c64d0cdfa ntdll: Implement RtlDeleteTimer for kernel32's DeleteTimerQueueTimer. 2008-07-25 14:09:15 +02:00
Dan Hipschman 396e47ef5c ntdll: Implement RtlUpdateTimer for kernel32's ChangeTimerQueueTimer. 2008-07-25 14:09:15 +02:00