Commit Graph

486 Commits

Author SHA1 Message Date
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