Commit Graph

1500 Commits

Author SHA1 Message Date
Maarten Lankhorst 864e24d2e5 kernel32: Fix temporary path test. 2008-05-08 11:10:44 +02:00
Maarten Lankhorst db8e63af27 kernel32: Fix process tests to pass in Windows. 2008-05-08 11:10:40 +02:00
Paul Vriens 1cfad7f07f kernel32/tests: Skip some tests on win98. 2008-05-02 16:18:02 +02:00
Paul Vriens 0a4eebd744 kernel32/tests: Don't run tests on win9x if we are out of memory. 2008-05-02 12:55:12 +02:00
Paul Vriens d3c4e3d4a7 kernel32/tests: Fix tests on win9x. 2008-05-01 12:42:22 +02:00
James Hawkins ed714d09b7 kernel32: Fix a test that fails in win2k3. 2008-04-25 14:53:22 +02:00
James Hawkins 4d07047d4e kernel32: Fix a test that fails on win9x. 2008-04-23 14:29:50 +02:00
James Hawkins 603822ca8b kernel32: Fix two tests that fail in win9x. 2008-04-21 13:36:02 +02:00
James Hawkins 99949cb21a kernel32: Fix a test that fails in win9x. 2008-04-21 13:20:12 +02:00
James Hawkins 430a46fdf7 kernel32: Skip the screen buffer tests if codepage 866 is not available. 2008-04-21 13:20:12 +02:00
James Hawkins c5ebc4acb0 kernel32: Fix a test that fails in win2k and up. 2008-04-17 12:51:06 +02:00
James Hawkins c009d1e9c4 kernel32: Fix a test that fails in win2k. 2008-04-17 12:50:56 +02:00
James Hawkins cd2f10a6d0 kernel32: Remove an invalid trace and comment. 2008-04-17 11:40:07 +02:00
James Hawkins a4f733ab0b kernel32: Fix a few failing tests in win2k. 2008-04-17 11:40:00 +02:00
James Hawkins 25c02c884f kernel32: Split the GetComputerName/Ex tests into their own test functions. 2008-04-17 11:39:55 +02:00
James Hawkins e314ef699e kernel32: Add traces to see why the tests fail in win2k. 2008-04-11 11:16:29 +02:00
Austin English cb2274e690 Spelling fixes. 2008-04-04 11:51:40 +02:00
Dan Kegel dcefb67781 kernel32: Test negative dest len in WideCharToMultiByte. 2008-03-26 23:38:36 +01:00
Dmitry Timoshkov fed582de5c kernel32: Make the test compatible with win9x. 2008-03-26 11:18:21 +01:00
Alexandre Julliard c3ae7d1983 kernel32/tests: Fix the FindFirstVolume test on Vista. 2008-03-22 13:09:57 +01:00
Alexandre Julliard 9879f78c13 kernel32/tests: Added some tests for FindResource. 2008-03-22 13:09:44 +01:00
Michael Moss ded68372a2 kernel32/tests: Test notifications for overlapping directory watches. 2008-03-20 20:16:08 +01:00
Michael Moss ef7c4a8b6d kernel32/tests: Fix false positive file notification tests. 2008-03-20 14:27:44 +01:00
Austin English d5de9977df kernel32: Spelling fixes. 2008-03-18 11:44:09 +01:00
Paul Vriens 371afffd35 kernel32/tests: Add a few skips instead of just returning. 2008-03-12 12:02:04 +01:00
Paul Vriens a558bfad99 kernel32/tests: DATE_YEARMONTH is only present on W2K and later. 2008-03-12 12:02:00 +01:00
Paul Vriens b0f7dcdf88 kernel32/tests: Skip some tests on win95. 2008-03-12 12:01:48 +01:00
Paul Vriens 4ca754d9a9 kernel32: Fix/change tests for systems with no ServicePack. 2008-03-11 12:11:52 +01:00
Francois Gouget 508d58c210 kernel32/tests: Don't use 0xaa to avoid any confusion when running with +heap. 2008-03-05 12:18:31 +01:00
Dmitry Timoshkov aebcbf0f6e kernel32: Return upper cased drive letters in paths, some applications depend on it. 2008-02-27 14:52:26 +01:00
Paul Vriens ad697ecdc4 kernel32/tests: Win9x doesn't change last error. 2008-02-27 14:52:24 +01:00
Rob Shearman 492be1b5e3 kernel32: Fix the number of characters passed to GetAtomNameW in test_local_get_atom_name. 2008-02-25 13:31:47 +01:00
Francois Gouget 148061814c kernel32/tests: Fix the time tests when 'Automatically adjust clock for daylight saving changes' has been unset. 2008-02-15 09:56:12 +01:00
Paul Vriens fc82d8c221 kernel32/tests: ReplaceFile[AW] doesn't exist on win9x. 2008-02-13 16:41:54 +01:00
Erich Hoover 664c68a2c9 kernel32: Add tests for ReplaceFileA and ReplaceFileW. 2008-02-12 23:03:37 +01:00
Alexandre Julliard 05c7174909 tests: Add a helper routine to wait for a child process and propagate its result correctly. 2008-02-07 12:56:00 +01:00
James Hawkins ea41e863ad kernel32: Factor out the VerifyVersionInfo tests into their own function. 2008-02-05 12:19:36 +01:00
Paul Vriens 71f81bf1f5 kernel32/tests: Win9x returns a different last error. 2008-01-24 14:04:07 +01:00
Alexandre Julliard e84daed485 Avoid sizeof in traces. 2008-01-24 14:03:10 +01:00
Francois Gouget d0794c4aeb Assorted spelling fixes. 2008-01-23 21:16:22 +01:00
Francois Gouget e7e998004a kernel32/tests: Test the expansion of indirect environment variable references. 2008-01-23 20:39:35 +01:00
Francois Gouget 12689d9b0f kernel32/tests: Small spelling fix in a parameter name. 2008-01-16 12:46:38 +01:00
Francois Gouget f6fab295f3 Fix spelling error in the generated conformance test files. 2008-01-16 12:46:18 +01:00
Alexandre Julliard 93cdead182 kernel32/tests: Avoid size_t in traces. 2008-01-15 17:08:09 +01:00
Paul Vriens 4111ea931c kernel32/tests: FindFirstVolumeA is not available on win98. 2008-01-15 12:35:42 +01:00
Marcus Meissner 3bf54c2950 server: Enumerate process in reverse. 2008-01-14 16:24:55 +01:00
Francois Gouget 0069651056 kernel32/tests: Despite the MSDN claims, GetComputerName() does not return the required buffer size... except on Vista. So update the tests accordingly. 2008-01-11 12:25:39 +01:00
Francois Gouget e3e2a5c0ac kernel32/tests: Add more ExpandEnvironmentStringsA() tests.
Document the observed ExpandEnvironmentStrings() behavior.
2008-01-11 12:25:33 +01:00
Paul Vriens e1f88e5f69 kernel32/tests: Skip not implemented functions. 2008-01-10 12:15:44 +01:00
Paul Vriens c9434956d5 kernel32/tests: Skip not implemented functions. 2008-01-10 12:15:39 +01:00
Paul Vriens 7b7838289f kernel32/tests: Skip not implemented functions. 2008-01-10 12:15:30 +01:00
Alexandre Julliard f53bb857ac kernel32/tests: Avoid using size_t in traces. 2008-01-07 17:18:35 +01:00
Hans Leidekker b7917bcfda kernel32: Fix two test failures on Win98 due to missing GetTempPathW. 2008-01-07 12:02:19 +01:00
Alexandre Julliard d17b29303c kernel32/tests: Added tests for FindFirstVolume/FindNextVolume. 2008-01-04 14:31:55 +01:00
Rob Shearman 910cf61723 kernel32: Add tests for RegisterWaitForSingleObject and UnregisterWait. 2008-01-02 14:30:14 +01:00
Gerald Pfeifer f41d0cb530 kernel32/tests: Remove extraneous check. 2007-12-31 19:21:25 +01:00
Andrey Turkin 343f2c1b30 ntdll: Implement BindIoCompletionCallback. 2007-12-21 13:52:34 +01:00
Rob Shearman e55854ddc5 kernel32: Add a test for calling VirtualAlloc on a view of a SEC_RESERVE file mapping. 2007-12-21 12:41:24 +01:00
Stefan Dösinger 70868dfa61 kernel32: Add a test for BindIoCompletionCallback. 2007-12-18 14:07:48 +01:00
Francois Gouget 8ee430d146 kernel32/tests: Get the test to run on Windows 95. 2007-12-10 12:06:01 +01:00
Francois Gouget c43f61461f kernel32/tests: dll_capable() makes no sense since it's only used on APIs we link with. So remove it. 2007-12-10 12:05:55 +01:00
Detlef Riekenberg efb13b28df Assorted spelling fixes. 2007-12-08 19:55:39 +01:00
Paul Vriens 5e30e5a0f2 kernel32/tests: Test for functions should be or-ed. 2007-12-06 12:05:37 +01:00
Paul Vriens 0ada917873 kernel32: Make tests run on Win98 again. 2007-12-05 13:48:57 +01:00
Hans Leidekker 8f3afb4120 kernel32: Implement and test {G, S}etConsoleInputExeName{A, W}. 2007-12-03 16:03:23 +01:00
Paul Vriens b3a85a3fc4 kernel32: Add some simple tests for GetVersionExA. 2007-12-03 11:52:01 +01:00
Jacek Caban 8c2b994c46 kernel32: Terminate child process in virtual tests. 2007-11-26 12:35:55 +01:00
Rob Shearman 361a98c561 kernel32: Change the shared manifest test to depend on a build number that isn't currently published on at least XP, showing that assemblies with higher build numbers can be used. 2007-11-26 12:27:06 +01:00
Alexandre Julliard 58b85bba3e kernel32/tests: Don't crash the test if GetThreadContext fails. 2007-11-20 17:53:43 +01:00
Michael Stefaniuc e973a193b7 kernel32: Remove duplicate includes. 2007-11-19 13:54:14 +01:00
Dmitry Timoshkov d1a3025826 kernel32: Mask out FILE_ATTRIBUTE_NOT_CONTENT_INDEXED to prevent a test failure under Windows. 2007-11-16 12:33:24 +01:00
Dmitry Timoshkov 07efb2740b kernel32: Set last error to ERROR_ALREADY_EXISTS if CreateFile succeeds and file existed before for CREATE_ALWAYS and OPEN_ALWAYS. 2007-11-16 12:33:18 +01:00
Francois Gouget b734dee31e kernel32/tests: Fix a signed/unsigned warning. 2007-11-13 23:28:06 +01:00
Hans Leidekker addf895c87 kernel32: Loosen requirements on what QueryDosDevice returns. 2007-11-12 12:56:28 +01:00
Francois Gouget 81a5701ca9 Assorted spelling fixes. 2007-11-09 13:07:12 +01:00
Rob Shearman 92db6d2c2f server: Don't do access checks on the security descriptors of newly created objects. 2007-11-06 14:52:21 +01:00
Francois Gouget 94799c3cc7 kernel32: Fix the image size in a test to avoid a BSOD on Windows XP SP1. 2007-11-05 15:06:40 +01:00
Rob Shearman 512239d515 kernel32: Add tests for creating events with different initial security descriptors. 2007-10-25 12:47:28 +02:00
Lionel Debroux 938f748b20 kernel32/tests: Fix memory leaks (found by Smatch). 2007-10-22 15:58:29 +02:00
Mikolaj Zalewski 25e15ddb51 kernel32: FindExSearchLimitToDirectories has no effect on FindFirstFileEx. 2007-10-19 12:26:49 +02:00
Mikolaj Zalewski 5bfd7044ea ntdll: Support for UTF-16 manifests with reverse endianness. 2007-10-18 12:20:52 +02:00
Mikolaj Zalewski 9f4001f7e0 ntdll: Manifests should be parsed as UTF-16 only if there is a BOM (with testcase). 2007-10-18 12:11:06 +02:00
Mikolaj Zalewski e361c0d284 kernel32/tests: Make the actctx test pass when the application is run from a different directory. 2007-10-18 12:10:51 +02:00
Mikolaj Zalewski ba24af0c34 kernel32/tests: Support for spaces in actctx test executable path. 2007-10-18 12:10:44 +02:00
Mikolaj Zalewski 47e59d994f kernel32/tests: Don't close an invalid handle if the process is being debugged as this will raise an exception. 2007-10-18 12:10:37 +02:00
Alexandre Julliard 00193610f0 kernel32/tests: Replace a couple of macros by a function to avoid compiler warnings. 2007-10-17 14:15:40 +02:00
Marcus Meissner 524caf26c6 kernel32: Test IsBadReadPtr/ IsBadCodePtr / IsBadWritePtr. 2007-10-02 13:31:31 +02:00
Hans Leidekker 2c061dbae6 kernel32: Check for NULL output buffer in FormatMessage{A, W}. 2007-09-27 12:47:07 +02:00
Dmitry Timoshkov 5be5b9c5c7 kernel32: Add a test for read-only mapping of a write-only section, test actual page access rights of the mapping. 2007-09-25 11:58:11 +02:00
Dmitry Timoshkov 808d38fdb6 kernel32: Print last error in failure messages of the MapViewOfFile test. 2007-09-20 15:52:05 +02:00
James Hawkins 8e90c6099e kernel32: Don't crash accessing an invalid handle in GlobalSize. 2007-09-20 14:27:13 +02:00
Dmitry Timoshkov c6b7f7ccbe kernel32: Add a test for rw mapping of a read-only section. 2007-09-19 14:57:19 +02:00
James Hawkins 72a3f18338 kernel32: Return TRUE for all pointer params in GlobalUnlock. 2007-09-17 13:41:53 +02:00
James Hawkins 40dff81b5a kernel32: Fix the case where memory is freed twice in GlobalFree. 2007-09-17 13:41:49 +02:00
Rob Shearman 3f431a0646 server: Add get_token_statistics server call and use it to implement the TokenStatistics and TokenType levels for NtQueryInformationToken. 2007-09-14 14:43:46 +02:00
Rob Shearman 247b0c9b8e ntdll: Add a stub implementation of FSCTL_PIPE_IMPERSONATE that just impersonates the token of the current process. 2007-09-14 14:23:38 +02:00
Dmitry Timoshkov dbd9c8db51 kernel32: Skip the comm test if the found com port doesn't respond. 2007-09-12 11:33:11 +02:00
Francois Gouget 9dc6f6cf54 kernel32/tests: Add tests for DebugActiveProcessStop() and DebugSetProcessKillOnExit(). 2007-08-31 12:08:58 +02:00
Francois Gouget b6aa247093 server: Fix the crashed process exit code when the debugger exits without detaching. Add a conformance test. 2007-08-31 12:08:58 +02:00
Francois Gouget 9271fcc86d winedbg: 'winedbg --auto' and 'winedbg --minidump' should detach when done so as to not mess up the crashed process exit code. 2007-08-31 12:08:58 +02:00
Francois Gouget 1f0fb354f5 kernel32/tests: Don't call ok() in child processes. 2007-08-30 12:25:55 +02:00
Francois Gouget a86c035d7f kernel32/tests: If the registry happens to be set up right, check that winedbg does not mess up the crashed process exit code (unfortunately it does). 2007-08-30 12:25:52 +02:00
Dmitry Timoshkov a76ef05c90 ntdll: Do not leave not initialized cached timezone information if a timezone doesn't have daylight saving rules. 2007-08-29 14:08:20 +02:00
Paul Vriens 7626e5ec77 kernel32/tests: Skip some not implemented functions and add a few skip's. 2007-08-21 21:38:35 +02:00
Dmitry Timoshkov d666143f88 ntdll: Detect current time zone settings. 2007-08-21 12:40:37 +02:00
Marcus Meissner f2ccdecd4b kernel32: Initialize variable to a known bad value. 2007-08-16 12:01:50 +02:00
Francois Gouget d18cf0c4f1 kernel32/tests: Remove a redundant RegSetValueExA() call. 2007-08-16 11:09:31 +02:00
Francois Gouget 6493c30c90 kernel32/tests: Test the debugger startup and crashed processes exit code. 2007-08-10 12:58:17 +02:00
Paul Vriens 5cb50202a0 kernel32/tests: Create paths after checking availability of functions. 2007-08-08 15:32:00 +02:00
Paul Vriens e90f1e3568 kernel32/tests: Changed skip message. 2007-08-08 15:32:00 +02:00
Francois Gouget f74d2a8fbf kernel32/tests: Re-balance the curly parentheses so winapi_check can parse the file. 2007-08-06 12:29:50 +02:00
Marcus Meissner 1ad6abfbbc kernel32/tests: Fixed size to MultiByteToWideChar. 2007-08-01 12:13:44 +02:00
Francois Gouget 5266e57975 Assorted spelling fixes. 2007-07-31 21:37:50 +02:00
Dmitry Timoshkov 9472e04447 kernel32: Skip remainder of the time zone test if SystemTimeToTzSpecificLocalTime not present. 2007-07-31 12:35:00 +02:00
Dmitry Timoshkov a68059f4b7 kernel32: Add more tests for time zone info. 2007-07-30 13:39:10 +02:00
Jacek Caban 43adec3e81 kernel32: Added a number of activation context tests. 2007-07-26 19:42:06 +02:00
Matt Jones 6763742090 server: Only commit SetThreadPriority if new priority is correct. 2007-07-25 13:59:17 +02:00
Matt Jones f204ed1d19 kernel32: Added test for bad arguments to SetThreadPriority, test for correct error value. 2007-07-25 13:56:29 +02:00
Anatoly Lyutin 857ff080eb kernel32/tests: Add test for GetShortPathNameW. 2007-07-20 11:45:02 +02:00
Alexandre Julliard fec5117e91 server: Merge APC processing into the select request.
This is needed to return the correct value when one of the handles
being waited on is set to signaled state by the APC.
2007-07-16 16:14:45 +02:00
Alexandre Julliard acb43cfef2 kernel32: Wait in overlapped Read/WriteFile even when no overlapped structure is passed. 2007-07-16 15:27:53 +02:00
Huw Davies e59a947c88 kernel32: Overlapped pipe tests. 2007-07-16 14:53:42 +02:00
Paul Vriens 7a6fbf2b09 kernel32/tests: Add a forgotten if statement. 2007-07-09 11:46:22 +02:00
Paul Vriens 35edd40f33 kernel32/tests 2/2: Use skip for not implemented function. 2007-07-05 19:54:26 +02:00
Paul Vriens 4f86b5cd07 kernel32/tests: Don't crash on win98. 2007-07-05 19:54:19 +02:00
Paul Vriens 203bcf4271 kernel32/tests: Use skip when functions are not available. 2007-07-05 19:54:07 +02:00
Michael Stefaniuc 7596e3dd91 kernel32: Remove superfluous casts of void pointers to other pointer types. 2007-06-27 12:53:31 +02:00
Paul Vriens d40233a448 kernel32/tests: Don't crash (on Vista). 2007-06-25 13:23:31 +02:00
Paul Vriens 71054631b2 kernel32/tests: Don't crash on Vista. 2007-06-25 13:23:26 +02:00
Alexandre Julliard 35ef5df76c kernel32: Rewrite GetOverlappedResult for the new async I/O behavior. 2007-06-04 23:03:15 +02:00
Francois Gouget ed94ca1e4f kernel32/tests: src[i] is a char so there is no point trying to stuff 0xcafedead into it. 2007-05-29 12:13:35 +02:00
Francois Gouget e5b1ca4cf5 kernel32/tests: Fix a signed/unsigned int mismatch. 2007-05-29 12:11:55 +02:00
Dmitry Timoshkov 3c9e7a7f33 wine: Switch to using 'long' for INT_PTR type for 64-bit compatibility. 2007-05-25 20:37:56 +02:00
Dmitry Timoshkov c28ffeeb9a kernel32/tests: Fix a problem revealed by compilation in 64-bit mode. 2007-05-24 11:36:27 +02:00
Alexandre Julliard cc54b7d9bd ntdll: Avoid overflows in heap allocations. Based on a patch by Rob Shearman. 2007-05-22 11:59:18 +02:00
Marcus Meissner b45367347a kernel32: Skip modem status tests if GetModemStatus failed. 2007-05-21 12:38:56 +02:00
Dmitry Timoshkov e690916f68 kernel32: Add an overflow test for MultiByteToWideChar. 2007-05-18 14:12:20 +02:00
Dmitry Timoshkov 90bafb3cc1 kernel32: Print last error value as unsigned, printing error in hex is useless. 2007-05-18 14:12:16 +02:00
Alexandre Julliard 8530cb0aec kernel32: Check for already loaded module also for LOAD_LIBRARY_AS_DATAFILE. 2007-05-16 16:58:51 +02:00
Dmitry Timoshkov 59a2686ae4 kernel32: Add a test for LoadLibraryEx(LOAD_LIBRARY_AS_DATAFILE). 2007-05-16 11:55:32 +02:00
Kirill K. Smirnov 24bf66180b kernel32/tests: Add tests for console codepages. 2007-05-11 12:41:34 +02:00
Kirill K. Smirnov 8f45938013 kernel32/tests: Add tests for console screen buffer. 2007-05-10 14:23:46 +02:00
Bill Medland a70df444ae kernel32/tests: Boundary test cases for SystemTimeToFileTime and GetDateFormat. 2007-05-04 13:39:09 +02:00
Kirill K. Smirnov 9eb0c87204 kernel32/tests: Add tests for NeedCurrentDirectoryForExePath. 2007-04-27 13:05:19 +02:00
Paul Vriens 87e8204365 kernel32/tests: Resource functions are not implemented on win98. 2007-04-26 14:25:04 +02:00
Paul Vriens 67c26f4ec3 kernel32/tests: GetLongPathNameW is not implemented on win98. 2007-04-25 13:48:14 +02:00
Paul Vriens c1f6501808 kernel32/tests: GetComputerNameW is not implemented on win98. 2007-04-25 13:48:09 +02:00
Paul Vriens 9dafa1fc11 kernel32/tests: CreateRemoteThread is not implemented on win98. 2007-04-25 13:48:04 +02:00
Alexandre Julliard 3684dc181c server: Move the FSCTL_PIPE_WAIT ioctl implementation to the server. 2007-04-17 22:07:07 +02:00
Alexandre Julliard 8c46095484 server: Implement the FSCTL_PIPE_DISCONNECT ioctl on the server side. 2007-04-16 14:51:29 +02:00
Alexandre Julliard c915215ba6 ntdll: Use send(2) instead of write(2) for zero-byte writes to sockets. 2007-04-09 12:21:24 +02:00
Alexandre Julliard aef2edb0cf kernel32: Add a bit of slack to the mailslot timeout test. 2007-04-06 12:35:21 +02:00
Alexandre Julliard 4e5c7038da server: Make timeout status for async I/O specifiable. Fix mailslots timeout handling. 2007-04-03 19:12:31 +02:00
Francois Gouget 0081b430e1 Assorted spelling and English fixes. 2007-04-03 11:23:12 +02:00
Alexandre Julliard 2a86f347fa kernel32: Added some last error tests for mailslots. 2007-04-02 20:25:08 +02:00
Dmitry Timoshkov bae3dc49cc kernel32: Add GetCPInfo test. 2007-04-02 11:34:21 +02:00
Francois Gouget d9e8a0f63e Remove unneeded checks on the GetModuleHandle() return value for cases where we are linked with the dll. 2007-03-28 12:36:13 +02:00
Paul Vriens 5de163f9d4 kernel32/profile: Some parameter tests for GetPrivateProfileSectionA. 2007-03-28 12:09:26 +02:00
Paul Vriens 0230695a29 kernel32/profile: Move GetPrivateProfileSectionA to its own test. 2007-03-28 12:06:28 +02:00
Paul Vriens 2559440dc9 kernel32/profile: Rename a test. 2007-03-28 12:06:18 +02:00
Andrew Talbot c261a75a6f kernel32/tests: Replace inline static with static inline. 2007-03-21 22:51:50 +01:00
Paul Vriens 5b5d737111 kernel32/tests: Use skip. 2007-03-21 11:54:35 +01:00
Detlef Riekenberg 439b852dca kernel32/tests: DuplicateTokenEx is not present on all platforms. 2007-03-17 19:51:55 +01:00
Rob Shearman 9dc55ab01d kernel32: Fix several failing GetComputerNameA/W tests on Windows. 2007-03-16 11:20:58 +01:00
Huw Davies 3f49239063 kernel32: Fix GetPrivateProfileSectionNamesA when the file does not exist. 2007-03-14 18:49:40 +01:00
Stefan Huehner 4d1d01f266 Mark several functions as static. 2007-03-13 13:35:12 +01:00
Stefan Huehner 51a7ca3440 Change some functions arguments from () -> (void). 2007-03-12 12:25:31 +01:00
Paul Vriens 281ebbb5d6 kernel32/tests: Use skip. 2007-03-12 12:21:57 +01:00
Alasdair Sinclair 81c922398e kernel32: Fix GetComputerNameA to not count trailing NULL, with test. 2007-03-09 13:55:43 +01:00
Rob Shearman 1fa2a2b649 kernel32: Add tests for ImpersonateNamedPipeClient. 2007-03-07 20:10:31 +01:00
Jason Edmeades 9d00aeafd7 kernel32/tests: Show wrong behaviour with current directory. 2007-03-05 12:59:19 +01:00
Rob Shearman ea8ccb2590 kernel32: Don't run the CreateRemoteThread tests if the child process isn't mapped at the same address as the parent process. 2007-02-20 11:39:23 +01:00
Rob Shearman fc5b795f7c kernel32: Fix the GetComputerName* functions to not write to the buffer at all if there is not enough space.
Add tests for the GetComputerName* functions that show this issue.

Fix an off-by-one error in setting the size when there is not enough space.

Remove the exception handlers for GetComputerNameW,
GetComputerNameExA/W, since testing on XP SP2 shows that access
violations are not caught and these are not present on Win9x, which
does have an exception handler.
2007-02-16 13:13:17 +01:00
Marcus Meissner beb603e908 kernel32/tests: Fixed several uninitialized variables. 2007-02-09 12:07:14 +01:00
Misha Koshelev 12e3d642dd kernel32: CreateThread returns NULL on error, not INVALID_HANDLE_VALUE. 2007-02-06 20:23:12 +01:00
Francois Gouget 0271a09d4c Add missing '\n's in traces. 2007-02-06 13:20:59 +01:00
Damjan Jovanovic 07db8882c2 ntdll: Slist support.
Implemented ntdll's RtlInitializeSListHead, RtlQueryDepthSList,
RtlInterlockedFlushSList, RtlFirstEntrySList,
RtlInterlockedPushEntrySList, RtlInterlockedPopEntrySList, their
kernel32 equivalents, and tests.
2007-02-05 21:46:28 +01:00
Misha Koshelev d6d6ce299f kernel32: Added conformance test for nested thread wakeups in the server. 2007-02-05 18:07:24 +01:00
Detlef Riekenberg dc577ed685 kernel32/tests: GetVolumeNameForMountPoint not present before w2k. 2007-01-22 12:08:25 +01:00
Detlef Riekenberg 9b8f699a08 kernel32/tests: VirtualAllocEx not present in Win95. 2007-01-22 12:08:16 +01:00
Detlef Riekenberg fb9df99dc0 kernel32/tests: Fix a declaration and use skip for the message. 2007-01-22 12:08:13 +01:00
Alexandre Julliard 02e2fa7798 ntdll: Implementation of inter-process NtMapViewOfSection and NtUnmapViewOfSection. 2007-01-18 15:17:51 +01:00
Alexandre Julliard 8025f79ce1 ntdll: Implementation of inter-process RtlCreateUserThread. 2007-01-18 15:02:55 +01:00
Alexandre Julliard 1ea968016f ntdll: Implementation of inter-process VirtualProtectEx. 2007-01-15 22:30:04 +01:00
Alexandre Julliard 3d00239586 ntdll: Implementation of inter-process VirtualQueryEx. 2007-01-15 22:28:42 +01:00
Alexandre Julliard 7a00142bc1 ntdll: Implementation of inter-process VirtualAllocEx and VirtualFreeEx. 2007-01-15 22:27:40 +01:00
Alexandre Julliard 1db223954f server: Set the specified in/out buffer sizes on named pipes using SO_SND/RCVBUF. 2007-01-12 20:59:22 +01:00
Mike McCormack f01707dfc1 kernel32: Merge existing resources in EndUpdateResource. 2007-01-11 12:12:00 +01:00
Dmitry Timoshkov 13dfa9a711 kernel32: Do not forget to cleanup if the test is skipped. 2007-01-10 11:59:02 +01:00
Hans Leidekker 7918c59f86 kernel32: Add a stub implementation for GetVolumeNameForVolumeMountPoint{A, W}. 2007-01-09 12:46:37 +01:00
Mike McCormack 4d72d7897f kernel32: Implement EndUpdateResource for the case existing resources are deleted. 2007-01-09 12:22:21 +01:00
Paul Vriens aea09ade58 kernel32/tests: Prevent memory leak. 2007-01-08 21:13:54 +01:00
Dmitry Timoshkov 67568764e5 kernel32: Print more information about the reason of a test failure. 2007-01-08 12:52:52 +01:00
Dmitry Timoshkov 1e7ba7c2ce kernel32: Fix the file sharing test to pass cleanly under XP and Win9x. 2007-01-08 12:52:46 +01:00
Dmitry Timoshkov cda3968693 kernel32: Skip the VirtualAllocEx test under Win9x. 2007-01-08 12:51:40 +01:00
Francois Gouget 9299c4985e kernel32/tests: Replace some '#if 0's with 'if (0)'s.
Fix the code so it compiles without warnings.
2007-01-08 12:09:07 +01:00
Dmitry Timoshkov 3d01fc39aa kernel32: Skip the OpenProcess test under Win9x. 2007-01-08 11:46:05 +01:00
Dmitry Timoshkov f70fb8ec4c kernel32: GetTimeFormat and GetDateFormat should fail if LOCALE_NOUSEROVERRIDE is specified simultaneously with a format string. 2007-01-05 18:24:12 +01:00
Francois Gouget 14918e293a kernel32/tests: Use '%d' to print GetLastError(). 2007-01-04 11:26:22 +01:00
Mike McCormack b4bc2c3628 kernel32: Don't try update version resources with invalid data, as it fails on Windows 2003. 2007-01-04 09:56:00 +01:00
Rob Shearman 140a610e2a kernel32: Be more verbose about the expected and received values for failures in the resource function tests. 2007-01-04 09:50:25 +01:00
Thomas Kho f9cbc4c70d kernel32: Add CreateRemoteThread remote thread conformance tests. 2007-01-03 14:22:02 +01:00
Thomas Kho 91c7c7bf43 kernel32: Add VirtualAllocEx remote thread conformance tests. 2007-01-03 14:13:12 +01:00
Mike McCormack 9196a37201 kernel32: Store resources to be updated in a tree. 2007-01-03 11:54:41 +01:00
Dmitry Timoshkov 361ea6e4dc kernel32: Remove a line that was supposed to be deleted by the previous patch. 2007-01-02 20:31:15 +01:00
Mike McCormack 794dbe4f93 kernel32: Remove incorrect and incomplete implementation of BeginResourceUpdate. 2007-01-02 13:20:21 +01:00
Mike McCormack 1cd16ed7f3 kernel32: Add a short test for Begin/EndUpdateResource. 2007-01-02 13:20:11 +01:00
Dmitry Timoshkov ebd57713aa kernel32: Make the locale test pass without errors under XP SP2. 2007-01-01 17:15:27 +01:00
Paul Vriens bafefecaa2 kernel32/tests: Run tests on NT4 again. 2007-01-01 17:03:47 +01:00
Paul Vriens 85b52e5693 kernel32/tests: Moved ok-statement to the appropriate place. 2007-01-01 17:03:38 +01:00
Paul Vriens 83f071cf7b kernel32/tests: Move USE_EXTENDED_PRIORITIES outside the if-statement. 2007-01-01 17:03:30 +01:00
Michael Stefaniuc 5263b5ec24 kernel32/tests: In multiline strings there is no need for '\' at the end of the lines. 2006-12-27 13:10:03 +01:00
Dmitry Timoshkov efb1e8eb75 kernel32: Fix a typo. 2006-12-22 10:21:48 +01:00
Alexandre Julliard 9fed1205ca ntdll: File positions should be aligned to sector boundaries in PE loader. 2006-12-21 12:34:44 +01:00
Paul Vriens 11c186fbe7 kernel32/tests: Don't use full path for executable in tests. 2006-12-21 12:20:44 +01:00
Alexandre Julliard 2a1dc15790 ntdll: Fix the libdl refcount when loading the same builtin twice. 2006-12-20 15:54:27 +01:00
Francois Gouget 1d6db94ee2 kernel32/tests: Test loading and unloading of builtin dlls. 2006-12-20 15:48:22 +01:00
Dmitry Timoshkov 5fc9ffd500 kernel32: Add a minimal PE image that XP is able to load. 2006-12-19 12:38:56 +01:00
Francois Gouget 367f91fb5c Assorted spelling fixes. 2006-12-14 20:25:05 +01:00
Paul Vriens 96bc4517c3 kernel32/tests: Be a bit more verbose on failure. 2006-12-14 20:10:49 +01:00
Alexandre Julliard 3dc21d387b ntdll: Map the PE header up to the specified size, and clear the rest of the page. 2006-12-13 16:04:49 +01:00
Dmitry Timoshkov 64b2ca2573 kernel32: Add the data that mimics the PE image which upack creates. 2006-12-13 16:04:48 +01:00
Andrew Talbot bc3e7263bc kernel32/tests: Cast-qual warnings fix. 2006-12-11 12:15:44 +01:00
Dmitry Timoshkov 046814701e kernel32: Add PE images with section alignment 1 and 2 to the loader test. 2006-12-07 15:34:43 +01:00
Alexandre Julliard 94ac989534 ntdll: Fix the failing loader tests. 2006-12-07 15:34:36 +01:00
Alexandre Julliard 82218fcf20 kernel32/tests: Added LOCALE_NOUSEROVERRIDE flag on time tests that rely on AM/PM. 2006-12-07 12:33:55 +01:00
Detlef Riekenberg 44f663e8a4 kernel32/tests: Add tests for GetWindowsDirectory. 2006-12-06 11:27:18 +01:00
Detlef Riekenberg ef851bc6dd kernel32/tests: Add tests for GetSystemDirectory. 2006-12-06 11:27:08 +01:00
Alexandre Julliard 7cd9400b80 kernel32/tests: Added test case for . and .. directory entries. 2006-12-01 13:11:53 +01:00
Dmitry Timoshkov a411b85868 kernel32: Skip the PE loader test under a Win9x platform. 2006-12-01 12:28:31 +01:00
Dmitry Timoshkov 720ab29a7f kernel32: Add more obscure PE images that XP is able to load. 2006-11-28 12:35:56 +01:00
Dmitry Timoshkov f4b444249b kernel32: Improve the PE loader test. 2006-11-27 13:43:17 +01:00
Marcus Meissner 9e8b1259ca kernel32/tests: Test -1 length for NULL ptr too. 2006-11-24 11:50:36 +01:00
Detlef Riekenberg c8a12d0f62 kernel32/tests: Avoid crash on Win95 (GetLongPathNameW). 2006-11-20 11:50:15 +01:00
Detlef Riekenberg e33a6d61fe kernel32/tests: Load tests on Win9x again (VirtualAllocEx+VirtualFreeEx). 2006-11-20 11:50:15 +01:00
Dmitry Timoshkov a77d00eabb kernel32: Add a basic PE loader test. 2006-11-16 22:09:11 +01:00
Alexandre Julliard 6fa6cc7e83 kernel32/tests: Reserve some more memory for the environment. 2006-11-15 11:31:41 +01:00
Francois Gouget 4c9f668e7c kernel32: Fix the 'MAP_FOLDCZONE' ok() test. 2006-11-13 12:45:31 +01:00
Alexandre Julliard 91bb29ca4d kernel32/tests: Fixed the pipe test for MacOS. 2006-11-09 15:40:36 +01:00
Dmitry Timoshkov ecdfa08364 kernel32: Add basic OpenProcess test. 2006-11-08 20:16:12 +01:00
Francois Gouget 30e44c85c8 Assorted spelling fixes. 2006-11-07 15:25:24 +01:00
Alexandre Julliard 1f50b7f7eb kernel32/tests: Don't wait for overlapped result if the previous test failed. 2006-11-04 12:07:10 +01:00
Alexandre Julliard 98a3912e9f kernel32: Fixed behavior of FindFirstFile for DOS devices. 2006-10-31 12:05:19 +01:00
Ge van Geldorp d642e11438 winapi_test: Regenerate tests.
Remove structs from test list which have preprocessor directives in
their definitions (winapi_test can't handle that).
2006-10-11 12:12:21 +02:00
Michael Stefaniuc 8218440c20 kernel32/tests: Win64 printf format warning fixes. 2006-10-10 16:11:27 +02:00
Francois Gouget 17aa2c82d2 Add missing '\n's to ok() calls. 2006-10-03 15:56:16 +02:00
Louis. Lenders ed4b6e91cb kernel32: Add 2 simple tests for GetLongPathNameW. 2006-10-02 14:41:12 +02:00
Michael Stefaniuc 85ce5117c5 Add a WINE_NO_LONG_INT define to many makefiles to ease the transition of DWORD/LONG/ULONG from long to int. 2006-09-29 16:08:30 +02:00
Alexandre Julliard 32ab895e46 makefiles: Generate the dependencies line to avoid some code duplication. 2006-09-14 09:38:16 +02:00
Alexandre Julliard 489d87d1e5 kernel32: Renamed the kernel directory to kernel32.
Also get rid of the kernel/messages subdirectory.
2006-09-12 13:34:06 +02:00