Commit Graph

2033 Commits

Author SHA1 Message Date
Francois Gouget 7425d2cac2 kernel32/tests: Remove a couple of incorrect CreateFile() console tests. 2013-11-01 10:57:14 +01:00
Francois Gouget 62ddaf8f6a kernel32/tests: On Windows 8 IdnToNameprepUnicode() returns a different error for invalid parameters. 2013-11-01 10:55:20 +01:00
Francois Gouget c0dbfebe04 kernel32/tests: On Windows 8 DATE_LONGDATE does not output a leading 0 for the day. 2013-11-01 10:54:55 +01:00
Francois Gouget 18a9aba058 kernel32/tests: Windows 8 returns different error codes. 2013-11-01 10:54:12 +01:00
Francois Gouget f399e90306 kernel32/tests: Fix some module tests on Windows 8.
Windows 8 and 8.1 return some different error codes and
GetDllDirectory() handles buffer termination a bit differently.
2013-11-01 10:53:41 +01:00
Dmitry Timoshkov eba2f43221 kernel32: Add special case for "." and ".." to GetLongPathName. 2013-10-30 09:43:40 +01:00
Dmitry Timoshkov d57444a622 kernel32: Add special case for "." and ".." to GetShortPathName. 2013-10-30 09:43:30 +01:00
Dmitry Timoshkov 4befefa94d kernel32/tests: Add tests for GetLongPathName/GetShortPathName and relative paths. 2013-10-29 10:21:30 +01:00
Dmitry Timoshkov d97a36c51f kernel32/tests: Update trace message to report actually used timeout value. 2013-10-28 10:43:00 +01:00
Dmitry Timoshkov 3b429e88ff server: Add support for pending write flag to the serial device. 2013-10-25 13:36:01 +02:00
Dmitry Timoshkov 53e727ef95 kernel32/tests: WaitCommEvent may sometimes return immediately on a busy system when write operation to a COM-port has already completed. 2013-10-25 13:36:01 +02:00
Dmitry Timoshkov 0db996e14c kernel32/tests: Increase the timeout for completion of write to a COM-port.
It's not enough for some hardware configurations.
2013-10-25 13:36:01 +02:00
Dmitry Timoshkov b46bd115bb kernel32/tests: Accept the case when WriteFile is able to complete the request immediately for an overlapped COM-port write.
The behaviour depends on the driver and hardware used.
2013-10-25 13:36:01 +02:00
Daniel Lehman 0669a8aca2 kernel32: Don't use depth in RtlInterlockedFlushSList.
Depth wraps around at 65536 but list supports more elements.
2013-10-24 10:56:13 +02:00
Frédéric Delanoy f56e9ebe38 kernel32/tests: Use BOOL type where appropriate. 2013-10-24 10:49:53 +02:00
Frédéric Delanoy 7ab78b4e03 kernel32: Use BOOL type where appropriate. 2013-10-24 10:49:11 +02:00
Dmitry Timoshkov 231a31223c kernel32/tests: Enable kernel32 tests compilation with __WINESRC__ defined. 2013-10-22 16:37:40 +02:00
Dmitry Timoshkov 3fa1b837cf kernel32/tests: Fix volume tests compilation with __WINESRC__ defined. 2013-10-22 16:37:40 +02:00
Dmitry Timoshkov 7dab5fe998 kernel32/tests: Fix version tests compilation with __WINESRC__ defined. 2013-10-22 16:37:40 +02:00
Dmitry Timoshkov 965d903f33 kernel32/tests: Fix toolhelp tests compilation with __WINESRC__ defined. 2013-10-22 16:37:40 +02:00
Dmitry Timoshkov 7e39bfc04b kernel32/tests: Fix timer tests compilation with __WINESRC__ defined. 2013-10-22 16:37:40 +02:00
Dmitry Timoshkov abbe8b3d02 kernel32/tests: Fix thread tests compilation with __WINESRC__ defined. 2013-10-22 16:37:40 +02:00
Dmitry Timoshkov 31917bfa73 kernel32/tests: Fix synchronization tests compilation with __WINESRC__ defined. 2013-10-22 16:37:39 +02:00
Dmitry Timoshkov a18087e5d1 kernel32/tests: Fix resource tests compilation with __WINESRC__ defined. 2013-10-22 16:37:39 +02:00
Dmitry Timoshkov f776e879fd kernel32/tests: Fix profile tests compilation with __WINESRC__ defined. 2013-10-22 16:37:39 +02:00
Dmitry Timoshkov 5628183bf4 kernel32/tests: Fix pipe tests compilation with __WINESRC__ defined. 2013-10-22 16:37:39 +02:00
Dmitry Timoshkov b2e9561a2d kernel32/tests: Fix path tests compilation with __WINESRC__ defined. 2013-10-22 16:37:39 +02:00
Dmitry Timoshkov f1a6bf70bf kernel32/tests: Fix module tests compilation with __WINESRC__ defined. 2013-10-22 16:37:39 +02:00
Dmitry Timoshkov 9d5ddd25e1 kernel32/tests: Fix mailslot tests compilation with __WINESRC__ defined. 2013-10-22 16:37:39 +02:00
Dmitry Timoshkov 020bd36323 kernel32/tests: Fix locale tests compilation with __WINESRC__ defined. 2013-10-21 20:23:54 +02:00
Dmitry Timoshkov e02774ad40 kernel32/tests: Fix heap tests compilation with __WINESRC__ defined. 2013-10-21 20:23:54 +02:00
Dmitry Timoshkov d44cc84381 kernel32/tests: Fix FormatMessage tests compilation with __WINESRC__ defined. 2013-10-21 20:23:54 +02:00
Dmitry Timoshkov 8014c7cbbb kernel32/tests: Fix file tests compilation with __WINESRC__ defined. 2013-10-21 20:23:54 +02:00
Dmitry Timoshkov f8fbe80cc7 kernel32/tests: Fix fiber tests compilation with __WINESRC__ defined. 2013-10-21 20:23:54 +02:00
Dmitry Timoshkov 79ac1fa33f kernel32/tests: Fix debugger tests compilation with __WINESRC__ defined. 2013-10-21 20:23:54 +02:00
Dmitry Timoshkov fd65dfbac9 kernel32/tests: Fix console tests compilation with __WINESRC__ defined. 2013-10-21 20:23:54 +02:00
Dmitry Timoshkov 93a54c03be kernel32/tests: Fix file change notification tests compilation with __WINESRC__ defined. 2013-10-21 20:23:54 +02:00
Dmitry Timoshkov 519e2d8a98 kernel32/test: Fix activation context tests compilation with __WINESRC__ defined. 2013-10-21 20:23:53 +02:00
Dmitry Timoshkov 193c837989 kernel32/tests: Fix time tests compilation with __WINESRC__ defined. 2013-10-17 20:29:29 +02:00
Dmitry Timoshkov 373178cdf1 kernel32/tests: Fix environment tests compilation with __WINESRC__ defined. 2013-10-17 20:29:29 +02:00
Dmitry Timoshkov 6e07317939 kernel32/tests: Fix communication port tests compilation with __WINESRC__ defined. 2013-10-17 20:29:28 +02:00
Dmitry Timoshkov 035295bb31 kernel32/tests: Fix virtual memory tests compilation with __WINESRC__ defined. 2013-10-17 20:29:28 +02:00
Dmitry Timoshkov 6774accd02 kernel32/tests: Fix process tests compilation with __WINESRC__ defined. 2013-10-17 20:29:28 +02:00
Dmitry Timoshkov ddb6632155 kernel32/tests: Fix PE loader tests compilation with __WINESRC__ defined. 2013-10-17 20:29:28 +02:00
Nikolay Sivov 9a6567d1a6 kernel32: Added support for GET_MODULE_HANDLE_EX_FLAG_PIN. 2013-10-15 14:28:20 +02:00
Dmitry Timoshkov 49d0e64f88 kernel32: The return and last error values set by ReadFile on EOF depend on whether overlapped pointer was passed in. 2013-10-11 12:45:06 +02:00
Dmitry Timoshkov aa8546ecc2 ntdll: Add support for FILE_APPEND_DATA to NtWriteFile. 2013-10-07 14:44:35 +02:00
Francois Gouget dd71bc567b kernel32/tests: Fix compilation on systems that don't support nameless unions. 2013-10-07 14:44:35 +02:00
Frédéric Delanoy baf491b80b kernel32: Use BOOL type where appropriate. 2013-10-03 12:54:37 +02:00
Michael Stefaniuc 0e681027a2 tests: Compile the tests by default with -D__WINESRC__. 2013-10-02 11:04:02 +02:00
Michael Stefaniuc 9463dba830 tests: Use the explicit LoadLibraryA function. 2013-10-02 11:02:21 +02:00
Francois Gouget d3672524ed Assorted spelling fixes. 2013-10-01 19:09:08 +02:00
Frédéric Delanoy 6918c86544 kernel32: Use BOOL type where appropriate. 2013-09-26 21:34:13 +02:00
Dmitry Timoshkov a20b07c558 ntdll: Make asynchronous WaitCommEvent report correct number of bytes returned. 2013-09-26 10:46:54 +02:00
Dmitry Timoshkov b4e375ecf4 kernel32/tests: Add DuplicateHandle test to the file access tests. 2013-09-25 11:50:03 +02:00
Michael Stefaniuc 2a39cb377a dlls: Replace the remaining CONSTs. 2013-09-25 11:49:20 +02:00
Dmitry Timoshkov 2ffd28cff7 ntdll: Perform the offset checks in NtWriteFile also for a serial device. 2013-09-25 11:48:56 +02:00
Dmitry Timoshkov 084f4b643c ntdll: Perform the offset checks also for a serial device. 2013-09-23 20:32:22 +02:00
Dmitry Timoshkov 96c6ad4aa7 kernel32/tests: Add FILE_APPEND_DATA case to the file access tests. 2013-09-23 11:49:58 +02:00
Dmitry Timoshkov b4ab43b3de kernel32: Remove a 0-length read optimization from ReadFile. 2013-09-20 11:11:47 +02:00
Dmitry Timoshkov 70930fa12c kernel32/tests: Add 0-length read tests for a pipe. 2013-09-20 11:11:27 +02:00
Dmitry Timoshkov 0c024503db kernel32/tests: Add 0-length read tests for a mailslot. 2013-09-20 11:11:03 +02:00
André Hentschel 22cd7a10cf kernel32/tests: Add initial CreateFile2 tests based on the CreateFileW tests. 2013-09-17 12:27:00 +02:00
Dmitry Timoshkov 6a6b4c5000 kernel32/tests: Add a file access test. 2013-09-13 12:14:12 +02:00
Nikolay Sivov 84d9b2502e ntdll: Added compatible ProgID section. 2013-09-13 10:54:53 +02:00
Nikolay Sivov b8a973dc52 kernel32/tests: Some tests for ProgID section. 2013-09-13 10:54:13 +02:00
André Hentschel 21c3cfe541 kernel32/tests: Add tests for ResolveDelayLoadedAPI. 2013-09-12 11:06:42 +02:00
Nikolay Sivov 33f61eccfa kernel32/tests: Some tests for CopyFile2(). 2013-09-12 11:03:39 +02:00
Nikolay Sivov 41057a174d kernel32: Support activation context in SearchPath(). 2013-09-12 11:02:22 +02:00
Dmitry Timoshkov d15e08ae5e kernel32/tests: Add a read/write test for a COM port. 2013-09-11 20:33:22 +02:00
Nikolay Sivov 37182e3f0f ntdll: Try application manifest path when searching for dependent assemblies. 2013-09-11 20:33:22 +02:00
Dmitry Timoshkov f031c676c1 server: Add a serial event mask change counter. 2013-09-10 11:18:57 +02:00
André Hentschel fa6b058070 kernel32: Add partial CreateFile2 implementation. 2013-09-10 11:06:31 +02:00
Bruno Jesus 3465646d44 kernel32: Fix parameters checking for GetVolumePathName(). 2013-09-09 22:09:59 +02:00
Nikolay Sivov bcbd13b70c ntdll: Added compatible sections for clrClass data. 2013-09-09 22:09:56 +02:00
Nikolay Sivov 88c2a189fe kernel32/tests: Added some activation context tests for SearchPath(). 2013-09-06 17:28:48 +02:00
Andrew Cook fef18a4267 kernel32: Fix argument order for NtIsProcessInJob. 2013-09-06 12:08:10 +02:00
Nikolay Sivov 93c59714c0 ntdll: Inherit default activation context from creation thread. 2013-09-05 13:23:50 +02:00
Nikolay Sivov ab08d2a5ba kernel32/tests: Some tests for initial thread activation context. 2013-09-05 13:23:42 +02:00
Nikolay Sivov af3a20d2ea ntdll: Added support for multiple progids in comClass and clrClass elements. 2013-09-04 11:36:32 +02:00
Alexandre Julliard 4af4df5af3 ntdll: Add stubs for the SRW lock functions. 2013-09-03 16:58:19 +02:00
Nikolay Sivov 045682a4da kernel32: Forward ZombifyActCtx() to ntdll. 2013-09-03 16:58:16 +02:00
Nikolay Sivov d0deaaa8ce kernel32/tests: Some tests for clrClass data. 2013-09-03 16:58:16 +02:00
Nikolay Sivov f0e5fd737d ntdll: Implement compatible section for 'clrSurrogate'. 2013-09-03 16:58:16 +02:00
Nikolay Sivov 5b38a13167 ntdll: Store clrSurrogate version value, added some tests. 2013-09-03 16:58:15 +02:00
Nikolay Sivov 44d8f6a35a ntdll: For typelib and COM class sections point global data to module names. 2013-09-03 16:58:15 +02:00
Dmitry Timoshkov 4135900235 kernel32/tests: Add a test to show that WaitCommEvent should fail if there is a pending wait. 2013-09-03 10:55:37 +02:00
Dmitry Timoshkov 663dbd9f1c kernel32/tests: Add a test to show that WaitCommEvent should succeed after SetCommMask(EV_TXEMPTY)+WriteFile+FlushFileBuffers. 2013-09-03 10:55:35 +02:00
Nikolay Sivov 21c1706f79 ntdll: Implement interface redirection section. 2013-09-02 18:07:03 +02:00
Nikolay Sivov 9c44cb4f0f ntdll: Store all interface redirection data in context. 2013-09-02 18:07:00 +02:00
Nikolay Sivov 3c0b7ba029 kernel32/tests: Some tests for 'comInterfaceExternalProxyStub' data. 2013-09-02 18:04:51 +02:00
Nikolay Sivov 26dc799039 kernel32/tests: Some tests for 'comInterfaceProxyStub' data. 2013-09-02 18:04:48 +02:00
Marcus Meissner b084d7a4f8 kernel32/tests: Avoid leaving com handle open (Coverity). 2013-09-02 18:03:36 +02:00
Dmitry Timoshkov f69ec2c61c kernel32/tests: Add a FlushFileBuffers test for a COM port. 2013-08-30 11:46:38 +02:00
Nikolay Sivov 2c31fce106 kernel32/tests: Test search with alias guid. 2013-08-30 11:17:49 +02:00
Nikolay Sivov 88070accd2 ntdll: Implement compatible comClass section. 2013-08-30 11:17:33 +02:00
Dmitry Timoshkov 52d1080544 ntdll: Properly set flag which indicates buffer empty state. 2013-08-29 11:21:11 +02:00
Nikolay Sivov 52fc0e4e29 ntdll: Store all 'comClass' attributes. 2013-08-29 11:20:37 +02:00
Alexandre Julliard 1992f5005c kernel32: Implement the InitOnce functions. 2013-08-28 22:27:32 +02:00
Alexandre Julliard af89610364 kernel32/tests: Add more tests for the InitOnce functions. 2013-08-28 16:14:34 +02:00