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