Commit Graph

691 Commits

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