Alex Henrie
6bcf9e4bd8
kernel32: Support UTF-7 in MultiByteToWideChar.
...
Portions of utf7_mbstowcs were written by Sebastian Lackner.
2015-02-09 20:41:42 +09:00
Alex Henrie
054fa77de0
kernel32: Support UTF-7 in WideCharToMultiByte.
...
Portions of utf7_wcstombs were written by Sebastian Lackner.
2015-02-09 20:37:27 +09:00
Nikolay Sivov
d1243bcc85
kernel32/tests: Remove a couple of duplicated constants.
2015-02-03 20:52:51 +09:00
Nikolay Sivov
8f2b5653a7
kernel32/tests: Remove todo_wine that doesn't work anymore.
2015-01-28 21:29:57 +01:00
Nikolay Sivov
f670be8ec8
kernel32/tests: Make loader tests independent from each other.
2015-01-28 21:29:53 +01:00
André Hentschel
ae1251596e
kernel32/tests: Don't test function directly when reporting GetLastError().
2015-01-21 21:35:57 +01:00
Qian Hong
bfd088dbc6
kernel32: Fixed buffer size on 64bit in IsWow64Process.
2015-01-16 20:15:32 +01:00
Seán de Búrca
6cd0eb2027
kernel32: Implement Get{Time,Date}FormatEx.
2015-01-06 12:59:07 +01:00
Nikolay Sivov
7a612654dc
ntdll: Skip context dependencies that have allowDelayedBinding attribute set.
2014-12-31 21:13:31 +01:00
Alex Henrie
ddc0c3203f
kernel32/tests: Add tabular UTF-7 decoding tests.
2014-12-29 12:14:29 +01:00
Nikolay Sivov
c134466224
ntdll: Fix 'description' element parsing to allow empty elements.
2014-12-28 19:08:47 +01:00
Alex Henrie
38027cda8f
kernel32/tests: Add tabular UTF-7 encoding tests.
2014-12-23 21:16:45 +01:00
Francois Gouget
ea932fbcc1
Assorted spelling fixes.
2014-12-05 20:47:45 +01:00
André Hentschel
7b318b1700
kernel32/tests: Remove unused code (Clang).
2014-12-04 14:03:24 +01:00
Alexandre Julliard
0ab2311cd5
kernel32/tests: Allow the parent directory to receive a modified event.
2014-12-03 21:34:25 +01:00
André Hentschel
3135b02546
kernel32/tests: Remove unused strings (Clang).
2014-12-02 10:30:48 +01:00
Piotr Caban
f87767bc35
ntdll: Handle ACTCTX_FLAG_ASSEMBLY_DIRECTORY_VALID flag when opening manifest in RtlCreateActivationContext.
2014-11-28 17:04:07 +01:00
Alex Henrie
0f93668637
kernel32/tests: Add UTF-7 implicit termination tests.
2014-11-07 20:57:01 +09:00
Alex Henrie
14f41641bb
kernel32/tests: Add UTF-7 stray + sign removal tests.
2014-11-07 20:56:59 +09:00
Alex Henrie
3069e0c0a1
kernel32/tests: Add UTF-7 encoded surrounding characters tests.
2014-11-06 23:47:16 +09:00
Alex Henrie
7c1580a4a8
kernel32/tests: Add UTF-7 non-encoded surrounding characters tests.
2014-11-06 23:47:15 +09:00
Sebastian Lackner
a10a4538b7
kernel32/tests: Add tests for FindFirstFileExW level FindExInfoBasic.
2014-11-04 16:12:37 +09:00
Sebastian Lackner
edc259fdeb
kernel32/tests: Avoid test failures on systems where hardware DEP is not supported.
2014-10-29 20:31:09 +09:00
Alexandre Julliard
3e1c4908ef
kernel32/tests: Use a pointer instead of an array to make gcc happy.
2014-10-28 15:59:55 +09:00
Sebastian Lackner
d4d8efad46
kernel32/tests: Avoid crashing when exception info[0] contains wrong value.
2014-10-27 19:02:51 +09:00
Catalin Patulea
a5005ed84a
kernel32: Handle win32 hresult in FormatMessage.
2014-10-21 20:00:15 +09:00
Catalin Patulea
af59823567
kernel32/tests: Add test for FormatMessage with HRESULT.
2014-10-21 20:00:11 +09:00
Sebastian Lackner
d74c9e3ec2
kernel32: Implement GetProcessDEPPolicy.
2014-10-21 18:51:19 +09:00
Sebastian Lackner
19927ee517
kernel32/tests: Add test for GetProcessDEPPolicy.
2014-10-21 18:51:17 +09:00
Sebastian Lackner
1c1e7ed016
ntdll: Add support for ATL thunk 'POP ecx; POP eax; PUSH ecx; JMP 4(%eax)'.
2014-10-21 18:51:05 +09:00
Sebastian Lackner
dcd2b0a366
ntdll: Add support for ATL thunk 'MOV this,ecx; MOV func,eax; JMP eax'.
2014-10-21 18:51:04 +09:00
Sebastian Lackner
40472cd3a7
ntdll: Add support for ATL thunk 'MOV this,edx; MOV func,ecx; JMP ecx'.
2014-10-21 18:51:02 +09:00
Sebastian Lackner
aab0d25a49
ntdll: Add support for ATL thunk 'MOV this,ecx; JMP func'.
2014-10-21 18:50:59 +09:00
Sebastian Lackner
34b2d920b4
ntdll: Improve check_atl_thunk to prevent passing exceptions to the usermode application.
2014-10-15 11:52:06 +09:00
Sebastian Lackner
511a849046
kernel32/tests: Add test to show ATL thunk emulator exceptions are not passed to usermode.
2014-10-15 11:51:58 +09:00
Akihiro Sagawa
4aea5ca72b
kernel32: Fix incorrect lastpart in GetFullPathNameA with DBCS.
2014-10-14 14:20:05 +09:00
Sebastian Lackner
1c957ceb96
ntdll: Only check for ATL thunk if allowed by execute option flags.
...
Checking for ATL thunks can be disabled by setting MEM_EXECUTE_OPTION_DISABLE_THUNK_EMULATION.
2014-10-13 18:31:26 +09:00
Sebastian Lackner
e16996bb3d
ntdll: reset_write_watches shouldn't remove enforced exec permissions.
2014-10-13 18:31:19 +09:00
Sebastian Lackner
aa3c6111d9
ntdll: Ensure force_exec_prot is also used for views with write watch permissions.
2014-10-13 18:31:14 +09:00
Sebastian Lackner
0cf3d78167
ntdll: Avoid recursive exception handler calls when handling guard pages.
...
The ATL check leads to problems when a page is protected with guard page protection.
raise_segv_exception is called with EXCEPTION_EXECUTE_FAULT. The ATL check tries to
read the memory, and triggers another exception handler. This time the virtual_handle_fault
check is executed, and removes the guard page protection. Afterwards, when the ATL
check returns, the exception is _not_ catched by virtual_handle_fault, but instead
passed to the application.
2014-10-13 18:31:06 +09:00
Sebastian Lackner
9a806d0f1c
kernel32/tests: Add tests for DEP combined with guard pages and write watches.
2014-10-13 18:30:57 +09:00
André Hentschel
8e917352e1
kernel32/tests: Skip on faked version values.
2014-10-09 17:36:22 +02:00
Sebastian Lackner
5272ca241b
ntdll: Set ldr.EntryPoint for main executable.
2014-10-07 20:22:13 +02:00
Sebastian Lackner
9d30002f7d
kernel32/tests: Add tests for K32GetModuleInformation.
2014-10-07 20:22:12 +02:00
Michael Müller
9e69715900
ntdll: Fix handling of page fault if a guard page and write watch is triggered at the same time.
2014-10-07 20:21:56 +02:00
Sebastian Lackner
53611dfbab
kernel32/tests: Add tests for PAGE_GUARD memory protection.
2014-10-07 20:21:54 +02:00
Sebastian Lackner
c9b4344322
kernel32/tests: Add tests for FindFirstFileExA with FIND_FIRST_EX_CASE_SENSITIVE flag.
2014-10-02 20:31:12 +02:00
Sebastian Lackner
20b5c99f11
kernel32/tests: Add tests for FindFirstFileExA with FIND_FIRST_EX_LARGE_FETCH flag.
2014-10-02 20:30:58 +02:00
Frédéric Delanoy
1e214eb5d3
Assorted spelling/grammar fixes.
2014-10-02 16:58:53 +02:00
Alexandre Julliard
5afbb6ba9e
kernel32/tests: Fix overlapped status checks for 64-bit.
2014-10-01 21:22:25 +02:00
Francois Gouget
0dd5cb1cef
Assorted spelling fixes.
2014-09-29 10:36:36 +02:00
Alexandre Julliard
553ba810b8
kernel32: Pass the correct completion values in ReadFileScatter and WriteFileGather.
...
Test case based on a patch by Guo Jian.
2014-09-10 13:49:56 +02:00
Sebastian Lackner
652f5d9b87
kernel32/tests: Add additional tests for multithreaded partial reads from named pipes.
2014-09-04 20:21:03 +02:00
Sebastian Lackner
e65a618538
kernel32/tests: Add tests for partially received pipe messages after calling SetNamedPipeHandleState.
2014-09-04 20:21:03 +02:00
Sebastian Lackner
e4551eee46
kernel32/tests: Add basic tests for partially received pipe messages (ERROR_MORE_DATA).
2014-09-04 20:21:03 +02:00
Sebastian Lackner
36debbe80f
kernel32/tests: Ensure that pipe tests read the full pipe content.
2014-09-04 20:21:03 +02:00
Sebastian Lackner
03f3ed89f3
kernel32/tests: Add some even more basic pipe tests without call to PeekNamedPipe.
2014-09-04 20:21:03 +02:00
Nikolay Sivov
7b7d8374a4
ntdll: NtWaitForMultipleObjects()'s third arguments means 'wait_any', not 'wait_all'.
2014-09-01 13:03:07 +02:00
Sebastian Lackner
8f9df3afde
kernel32/tests: Always allow only one correct test result, add todo_wine where necessary.
2014-08-21 18:02:30 +02:00
Sebastian Lackner
3e23aa5769
kernel32/tests: Add better handling for test failure in test_readfileex_pending.
2014-08-21 18:02:30 +02:00
Sebastian Lackner
55396b7018
kernel32: Implement SetNamedPipeHandleState.
...
Based on a patch by Adam Martinson.
2014-08-21 18:02:29 +02:00
Sebastian Lackner
9e66e97db8
kernel32: Implement GetNamedPipeHandleState.
...
Based on a patch by Adam Martinson.
2014-08-21 18:02:28 +02:00
Nikolay Sivov
509bdae8e2
kernel32/tests: Skip working tests properly.
2014-07-18 19:13:39 +02:00
Nikolay Sivov
ed9e030456
kernel32: Properly implement EnumSystemGeoID().
2014-07-15 15:29:39 +02:00
Nikolay Sivov
17777c8497
kernel32: Implement GEO_PARENT for GetGeoInfo().
2014-07-15 15:29:03 +02:00
Nikolay Sivov
b4acc62e63
kernel32: Partially implement GetGeoInfo().
2014-07-11 12:22:26 +02:00
Nikolay Sivov
3a2db918d9
kernel32: Added support for C3_HIGHSURROGATE/C3_LOWSURROGATE in GetStringTypeW().
2014-06-30 22:04:52 +02:00
Alexandre Julliard
500bbb3e9a
libwine: Update the codepage tables to Unicode 7.0.0.
2014-06-23 16:41:52 +02:00
Sebastian Lackner
c936e505e5
kernel32/tests: Add missing ReleaseActCtx() calls. (Valgrind).
2014-06-23 10:18:13 +02:00
Sebastian Lackner
e5e4ef07b6
kernel32/tests: Add missing HeapFree() in doChildren(). (Valgrind).
2014-06-23 10:12:18 +02:00
Alexandre Julliard
c7eacd9e83
kernel32/tests: Silence some noisy traces.
2014-06-17 10:58:46 +02:00
Sebastian Lackner
270d66efc7
kernel32: Update VirtualAddress of resource section in write_raw_resources.
2014-06-17 09:04:15 +02:00
Akihiro Sagawa
80695cde4f
kernel32: Return correct buffer size when returning DBCS characters.
2014-06-12 18:25:06 +02:00
Michael Müller
9602fa7a93
server: Fix return value for FSCTL_PIPE_WAIT if pipe does not exist.
2014-06-11 13:07:11 +02:00
Nikolay Sivov
5a8d73283c
ntdll: Fix LdrLockLoaderLock()/LdrUnlockLoaderLock() on 64bit.
2014-06-11 13:05:39 +02:00
Jacek Caban
5ceb22714e
ntdll: Use MAP_PRIVATE for copy on write mappings.
2014-05-13 12:27:32 +02:00
Jacek Caban
ea950ac7cf
kernel32/tests: Added more shared memory tests, exposing MAP_PRIVATE mapping for read only mapping problem.
2014-05-08 18:27:51 +02:00
Huw Davies
56019a4dc6
kernel32/tests: Fix test for win8 heap layout.
2014-05-02 13:45:00 +02:00
Frédéric Delanoy
2e5cb7aac8
Assorted spelling/grammar fixes.
2014-04-30 18:34:20 +02:00
Erich E. Hoover
32da6626f5
kernel32: Allow CompareStringEx LINGUISTIC_IGNORECASE flag.
2014-04-17 10:48:07 +02:00
Erich E. Hoover
b0935ab811
kernel32: Allow CompareStringEx NORM_LINGUISTIC_CASING flag.
2014-04-17 10:48:04 +02:00
Erich E. Hoover
4b949510fb
kernel32/tests: Add a variety of tests for CompareStringEx.
2014-04-17 10:47:58 +02:00
Dmitry Timoshkov
e03a3fe509
kernel32: Add a workaround for broken apps that pass negative values to ReadConsole.
2014-04-16 10:54:15 +02:00
Nikolay Sivov
00ff2ed81e
kernel32/tests: Added missing comma (Coverity).
2014-04-15 09:45:18 +02:00
Dmitry Timoshkov
c3ee3da58a
kernel32: Filter out console handles in GetFileSize.
2014-04-14 10:30:30 +02:00
Piotr Caban
4fca169301
server: Don't debug children when DEBUG_PROCESS and DEBUG_ONLY_THIS_PROCESS flags are passed to CreateProcess.
2014-04-09 13:15:58 +02:00
Jacek Caban
e168cd28db
kernel32: Skip reserved TLS tests on WinXP SP1.
2014-03-31 15:28:55 +02:00
Alexandre Julliard
598c5816d9
kernel32: Don't allocate FLS index 0.
2014-03-28 17:46:03 +01:00
Jacek Caban
93920c3893
ntdll: Reserve TLS slot 0 for broken apps that compare index to 0 instead of TLS_OUT_OF_INDEXES.
2014-03-28 16:19:55 +01:00
Alexandre Julliard
7420b7fe73
kernel32/tests: Move allocation tests into heap.c.
2014-03-27 16:16:04 +01:00
Alexandre Julliard
395df1aa2d
ntdll: Heap handles should be 64K-aligned.
2014-03-26 11:24:30 +01:00
Alexandre Julliard
e64189aa55
kernel32/tests: Add more Unicode digit ranges.
2014-03-07 13:37:14 +01:00
Dmitry Timoshkov
6670bbf56f
kernel32/tests: Add a test for CreateFile called with TRUNCATE_EXISTING/FILE_WRITE_DATA parameters.
2014-03-06 13:36:04 +01:00
Dmitry Timoshkov
d97e7baa66
kernel32/tests: Add some tests for CreateFile called on a directory instead of a file.
2014-03-06 13:36:04 +01:00
Francois Gouget
f1087d865b
kernel32/tests: Skip some profile tests if not allowed to create files in the Windows directory.
2014-03-04 17:06:07 +01:00
André Hentschel
7f9756e1ea
kernel32/tests: Remove unused assertion header.
2014-02-26 13:03:59 -06:00
Nikolay Sivov
88fc916442
ntdll: Use case-insensitive matching for typelib flags.
...
Spotted by Austin English.
2014-02-24 09:12:03 -06:00
Alexandre Julliard
ff08cd597d
ntdll: Only allocate TLS data when resolving imports.
2014-02-17 20:16:08 +01:00
Alexandre Julliard
0f0bf58663
ntdll: Don't fixup imports for executables.
2014-02-17 20:15:44 +01:00
Alexandre Julliard
7307298ac3
ntdll: Don't fixup imports when a dll is already loaded.
2014-02-17 20:15:43 +01:00
Alexandre Julliard
a4c8943c70
kernel32/tests: Add some tests for dll import resolution.
2014-02-17 19:10:07 +01:00
Nikolay Sivov
0a20d46801
kernel32/tests: Fix some test failures in older XP/Win2k3 versions.
2014-02-12 19:15:13 +01:00
Nikolay Sivov
ee518b5e36
kernel32/tests: Don't test last error when there's no failure.
2014-02-12 19:15:12 +01:00
Frédéric Delanoy
0f2bed51bd
Assorted spelling fixes.
2014-02-10 15:47:29 +01:00
Piotr Caban
afadda8ff7
kernel32: Handle STD_*_HANDLE in GetFileType.
2014-02-07 16:29:17 +01:00
Dmitry Timoshkov
52bc06af7b
kernel32/tests: Use PROCESS_ALL_ACCESS definition compatible with versions of Windows before Vista.
2014-02-07 16:28:55 +01:00
Dmitry Timoshkov
cdc306651c
kernel32/tests: Use THREAD_ALL_ACCESS definition compatible with versions of Windows before Vista.
2014-02-07 16:28:51 +01:00
Dmitry Timoshkov
448d7770dc
kernel32/tests: Use PROCESS_ALL_ACCESS definition compatible with versions of Windows before Vista.
2014-02-07 16:28:48 +01:00
Frédéric Delanoy
cb167e8e18
kernel32/tests: Remove unused variable.
2014-02-04 11:21:42 +01:00
Marcus Meissner
5d58b92b73
kernel32/tests: Initial threadpool test.
2014-02-04 11:14:52 +01:00
Francois Gouget
bff3d35e20
Assorted spelling fixes.
2014-01-30 15:00:34 +01:00
Frédéric Delanoy
3201f970b6
kernel32/tests: Use common wine_dbgstr_guid implementation from test.h.
2014-01-29 14:50:51 +01:00
Sebastian Lackner
2ff6bd271b
kernel32/tests: Add tests for SleepConditionVariableSRW.
2014-01-27 14:13:50 +01:00
Sebastian Lackner
e7b3a43759
kernel32/tests: Add tests for TryAcquireSRWLockExclusive/Shared.
2014-01-27 14:13:47 +01:00
Dmitry Timoshkov
294adeec4f
kernel32/tests: Don't forget to delete a temporary file.
2014-01-27 14:13:40 +01:00
Dmitry Timoshkov
9703bee560
kernel32/tests: Don't forget to delete temporary manifest files.
2014-01-27 14:13:39 +01:00
Sebastian Lackner
31a283d4da
ntdll: Implement SRWLock functions using keyed events.
2014-01-17 11:26:38 +01:00
Sebastian Lackner
0c77f89f61
kernel32/tests: Add a SRWLock test to simulate a typical use case.
2014-01-14 20:18:28 +01:00
Sebastian Lackner
d7ff42a091
kernel32/tests: Add basic tests for SRWLock commands.
2014-01-14 20:18:27 +01:00
Frédéric Delanoy
7215eb2497
kernel32/tests: Unconstify a character string.
2014-01-10 12:04:10 +01:00
Frédéric Delanoy
91f2435469
Assorted spelling fixes.
2014-01-09 17:39:59 +01:00
Sebastian Lackner
ddc7f300e2
kernel32: Forward condition variable functions to ntdll.
2014-01-08 14:34:14 +01:00
André Hentschel
1c61a53ef6
kernel32/tests: Don't test last error on success.
2014-01-08 11:10:27 +01:00
André Hentschel
29907a2862
kernel32/tests: Add missing last errors for win8.
2014-01-07 10:42:32 +01:00
André Hentschel
6db63a1867
kernel32/tests: Allow more last errors from win8.
2014-01-06 17:16:33 +01:00
Zhenbo Li
767c09f16f
kernel32/tests: Add one more test for FindFirstFileA.
2014-01-02 17:46:00 +01:00
Alexandre Julliard
99ef0d6ff0
makefiles: Get rid of the MAKE_TEST_RULES variable.
2014-01-02 12:13:16 +01:00
Nikolay Sivov
1e1084232d
ntdll: Fix manifest attribute parsing.
2014-01-01 19:32:56 +01:00
Nikolay Sivov
aa4ebeb57c
ntdll: Fix return value when failed to locate resource.
2013-12-30 19:01:45 +01:00
Nikolay Sivov
031c027262
ntdll: Open source file only when needed during context creation.
2013-12-30 19:01:44 +01:00
André Hentschel
a803c496b2
kernel32/tests: Accept more win8 return values.
2013-12-26 13:44:34 +01:00
André Hentschel
5a6d38c2bd
kernel32: Adapt input checking in OpenConsoleW to match win8 behaviour.
2013-12-26 13:42:55 +01:00
Frédéric Delanoy
5f6b0d0027
kernel32/tests: Constify some character strings.
2013-12-24 11:22:52 +01:00
Zhenbo Li
f39c64a85c
kernel32/tests: Add some tests for DeleteFileA.
2013-12-23 18:39:58 +01:00
Frédéric Delanoy
5ba7f79bad
Assorted spelling fixes.
2013-12-03 19:41:53 +01:00
Nikolay Sivov
2ab0002674
kernel32/tests: Test for LoadLibraryEx() with full path without extension.
2013-11-22 16:08:44 +01:00
Nikolay Sivov
48c97ad0bc
kernel32/tests: Some more tests for SearchPath().
2013-11-22 16:08:35 +01:00
Alexandre Julliard
e8eb781327
server: Check PE file architecture at mapping creation time.
2013-11-21 19:39:02 +01:00
Alexandre Julliard
55eb7e56e8
kernel32/tests: Add some tests for invalid image section mappings.
2013-11-21 19:39:02 +01:00
Alexandre Julliard
70d490aa3d
kernel32/tests: Add a helper function for creating a test dll.
2013-11-21 19:39:02 +01:00
Alexandre Julliard
3dc1f20f03
kernel32/tests: Make the page size a global variable.
2013-11-21 19:39:02 +01:00
Frédéric Delanoy
a10dfea044
kernel32/tests: Use BOOL type where appropriate.
2013-11-19 18:47:36 +01:00
Piotr Caban
18f7f637b0
kernel32/tests: Fix IdnToNameprepUnicode tests.
2013-11-18 11:17:51 +01:00
André Hentschel
4ecc9788bd
ntdll: Adjust NtAreMappedFilesTheSame to win8 behaviour.
2013-11-13 11:21:50 +01:00
Dmitry Timoshkov
a890d0f030
server: Make it possible for WaitCommEvent to detect recursive requests.
2013-11-13 11:21:28 +01:00
André Hentschel
c6f70ca853
kernel32/tests: Improved tests for the ResolveDelayLoadedAPI callback.
2013-11-12 12:57:54 +01:00
Daniel Lehman
37dad12971
kernel32: Use ANSI code page if current thread locale has no code page.
2013-11-08 16:29:43 +01:00
Frédéric Delanoy
da6c728195
Assorted spelling fixes.
2013-11-07 19:01:20 +01:00
André Hentschel
cb1806db26
kernel32/tests: Test ResolveDelayLoadedAPI with generated dll.
2013-11-04 19:15:43 +01:00
Francois Gouget
c31280d6e1
kernel32/tests: Check that WaitCommEvent() returns immediately in overlapped mode.
2013-11-01 10:57:14 +01:00
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
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
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
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
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
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
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
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
Dmitry Timoshkov
723d22f6aa
kernel32/tests: Increase time interval that WriteFile could spend for an overlapped IO write.
2013-08-28 11:36:36 +02:00
Dmitry Timoshkov
c7d27e18e5
kernel32/tests: Remove a useless trace.
2013-08-28 11:36:26 +02:00
Alexandre Julliard
b0153951f4
kernel32/tests: Increase some wait timeouts.
2013-08-27 21:29:57 +02:00
Nikolay Sivov
36acd61447
ntdll: Implement compatible typelib section.
2013-08-23 17:56:14 +02:00
Nikolay Sivov
1faebbd202
kernel32/tests: Some tests for typelib sections.
2013-08-23 17:55:18 +02:00
Dmitry Timoshkov
2192745042
kernel32/tests: Revert inadvertent change.
2013-08-21 13:08:35 +02:00
Dmitry Timoshkov
fc2309b84b
kernel32/tests: Add interactive WaitCommEvent tests.
2013-08-15 17:20:07 +02:00
Dmitry Timoshkov
507449ee78
kernel32/tests: Make test_waittxempty() use overlapped IO to avoid waiting forever when a kernel driver doesn't support TIOCGICOUNT/TIOCSERGETLSR ioctl.
...
Most of Linux USB-serial drivers don't support these ioctls.
2013-08-15 17:20:07 +02:00
Dmitry Timoshkov
4654e79776
kernel32/tests: Make serial tests self-contained.
2013-08-15 17:20:07 +02:00
Dmitry Timoshkov
a1b08f39a6
kernel32/tests: Constify test data.
2013-08-15 17:20:07 +02:00
Dmitry Timoshkov
b288f0a879
kernel32/tests: Make ClearCommError very first test since it depends on device queue being empty.
2013-08-15 17:20:07 +02:00
Dmitry Timoshkov
ab7dac6886
kernel32/tests: Fix some typos.
2013-08-15 17:20:07 +02:00
Nikolay Sivov
2a5a8bc4a3
ntdll: Implement compatible section for dll redirects.
2013-08-15 16:21:45 +02:00
Nikolay Sivov
cddea89d22
ntdll: Support optional 'versioned' attribute for windowClass sections.
2013-08-15 16:19:03 +02:00
Nikolay Sivov
5ce01b3597
ntdll: Implement compatible FindActCtxSectionString() for window class section.
2013-08-02 14:36:12 +02:00
Nikolay Sivov
db5d9aa9e6
kernel32/tests: Test for several assemblies in context with window class redirects.
2013-07-31 16:29:49 +02:00
Nikolay Sivov
e8cbae2e49
kernel32/tests: Remove unused helper argument.
2013-07-30 19:12:53 +02:00
Bruno Jesus
95d01f1751
kernel32/tests: Add tests for GetVolumePathNameA().
2013-07-29 14:28:00 +02:00
Dmitry Timoshkov
4cc482bc0d
kernel32: GetShortPathName for a non-existent short file name should fail.
2013-07-22 19:31:13 +02:00
Alexandre Julliard
6cb5cf183a
libwine: Update the codepage tables to Unicode 6.2.0.
2013-07-22 17:16:01 +02:00
Dmitry Timoshkov
3d759a0c69
ntdll: NtAllocateVirtualMemory should fail to commit if an address range is already committed for a memory mapped file.
2013-07-19 14:40:17 +02:00
Nikolay Sivov
bbb7358d1c
kernel32/tests: Some tests for FindActCtxSectionGuid().
2013-07-12 12:14:57 +02:00
Nikolay Sivov
eaf2cce99f
kernel32/tests: Some tests for activation context data structures.
2013-07-11 16:27:16 +02:00
Dmitry Timoshkov
24ab4453d7
kernel32/tests: Add a test for GetShortPathName called for a non-existent short file name.
2013-07-08 15:15:23 +02:00
Dmitry Timoshkov
0fa1877e44
kernel32/tests: Fix compilation with a PSDK compiler.
2013-07-08 15:15:23 +02:00
Dmitry Timoshkov
b0a3d93400
kernel32/tests: Fix a couple of typos.
2013-07-02 10:04:24 +02:00
Dmitry Timoshkov
c69cc5506b
kernel32/tests: Add more VirtualAlloc and VirtualProtect tests.
2013-06-25 12:35:02 +02:00
Dmitry Timoshkov
e5c55c5a5a
kernel32/tests: Add a test for VirtualAlloc called on a mapped PE section.
2013-06-24 23:11:03 +02:00
Alexandre Julliard
28ece74fd8
Use the official Microsoft definitions for Gaelic languages.
2013-06-19 20:09:51 +02:00
Tatyana Fokina
aaed0e81d5
kernel32: Check the size of the string in CompareStringA.
2013-06-11 19:31:45 +02:00
Tatyana Fokina
28951a0922
kernel32/tests: Add test with a large string for CompareStringA.
2013-06-11 19:31:40 +02:00
Hans Leidekker
af7062a94f
kernel32/tests: Avoid test failures when running as an unprivileged user.
2013-06-07 17:12:25 +02:00
Francois Gouget
1e53cb6483
kernel32/tests: Add a trailing '\n' to a skip() call.
2013-06-06 11:46:50 +02:00
Piotr Caban
c9dbef3d96
kernet32: Added DuplicateHandle tests with DUPLICATE_CLOSE_SOURCE flag.
2013-06-05 17:31:40 +02:00
Dmitry Timoshkov
df6c2a8418
server: Mark the process as disconnected from desktop/winstation before closing its handles.
2013-06-03 21:11:38 +02:00
Akihiro Sagawa
9ab603b033
kernel32: Don't move fixed memory area in GlobalReAlloc.
2013-06-03 11:29:55 +02:00
Akihiro Sagawa
1451aa58a6
kernel32: Add more GlobalReAlloc/LocalReAlloc tests.
2013-06-03 11:29:38 +02:00
Dmitry Timoshkov
495c1c0086
kernel32: Fix a typo.
2013-05-29 11:25:21 +02:00
Dan Kegel
073d7212a7
kernel32: Make SetThreadPriorityBoost return success.
2013-05-28 14:54:49 +02:00
Dmitry Timoshkov
d256bf4b5f
kernel32: Add a test to show that a process with a not closed handle to an already terminated thread fails to terminate cleanly.
2013-05-24 11:07:10 +02:00
Dmitry Timoshkov
bfcdf6df8e
kernel32: Terminate threads before unloading DLLs on process exit.
2013-05-17 12:29:41 +02:00
Dmitry Timoshkov
462ad39949
kernel32: Add a test for holding process heap lock before calling ExitProcess.
2013-05-14 11:33:40 +02:00
Dmitry Timoshkov
f435322dfa
kernel32: Actually test normal ExitProcess behaviour.
2013-05-10 17:53:08 +02:00
Dmitry Timoshkov
5cbcbdd8a8
kernel32: Remove todo_wine from the now passing test.
2013-05-08 12:44:56 +02:00
Dmitry Timoshkov
94c7992f86
kernel32: DLL entry point is no longer called with PEB lock held.
2013-05-08 12:44:54 +02:00
Dmitry Timoshkov
094e465790
server: A destroyed process handle table means that the process is terminating.
2013-05-08 12:44:49 +02:00
Dmitry Timoshkov
c79a514fe5
kernel32: Add more remote process tests.
2013-05-08 12:44:42 +02:00
Dmitry Timoshkov
77f222505c
kernel32: Hold PEB lock during process exit.
2013-05-07 11:26:02 +02:00
Dmitry Timoshkov
bac0387d29
server: Fail to set process affinity mask if the process is terminating.
2013-05-07 11:25:54 +02:00
Dmitry Timoshkov
af3d73b035
server: Add a process flag indicating whether the process is terminating, use it to block thread creation in a being terminated process.
2013-05-07 11:25:49 +02:00
Detlef Riekenberg
71cbd277e7
kernel32/tests: Avoid IOCTL_DVD_READ_STRUCTURE test failures.
2013-04-30 11:49:37 +02:00
Dmitry Timoshkov
3de37fefce
kernel32: Add some tests for PEB and loader locks.
2013-04-30 11:47:26 +02:00
Dmitry Timoshkov
fa5c708c41
kernel32/tests: Add some tests for remote process termination.
2013-04-26 11:48:32 +02:00
Dmitry Timoshkov
e54c49d940
kernel32: Test LdrShutdownProcess behaviour only after NtTerminateProcess(0) call.
2013-04-25 11:46:09 +02:00
Dmitry Timoshkov
cd55afec8a
kernel32: Add a test to show that CreateThread is supposed to fail after the NtTerminateProcess call.
2013-04-24 14:34:20 +02:00
Dmitry Timoshkov
59a23fb42f
ntdll: Refuse to create new thread if the target process is being terminated.
2013-04-22 12:37:51 +02:00
Dmitry Timoshkov
7de3f1b5b5
kernel32: Check whether FreeLibrary actually has unloaded the module.
2013-04-19 16:16:18 +02:00
Francois Gouget
2baecad2c5
Assorted spelling fixes.
2013-04-18 19:13:16 +02:00
Dmitry Timoshkov
b632f0966d
kernel32: Count precise amount of child process failures.
2013-04-18 11:54:28 +02:00