Commit Graph

598 Commits

Author SHA1 Message Date
Alexandre Julliard af89610364 kernel32/tests: Add more tests for the InitOnce functions. 2013-08-28 16:14:34 +02:00
Alexandre Julliard 54017b0fac ntdll/tests: Add a number of tests for keyed events. 2013-08-28 11:04:06 +02:00
Andrew Cook cdfee68be1 ntdll: Implement NtQueryEvent. 2013-08-26 14:27:56 +02:00
Dmitry Timoshkov 0b4c9cb533 server: Store full-sized completion information on the server side. 2013-08-23 20:15:43 +02:00
Dmitry Timoshkov 42cad0ebb1 ntdll/tests: Use WAIT_OBJECT_0 instead of 0. 2013-08-23 10:42:39 +02:00
Dmitry Timoshkov b126d7c7ce ntdll/tests: Fix one more place regarding temp path usage. 2013-08-23 10:42:36 +02:00
Dmitry Timoshkov 8eb9ffb3fa ntdll/tests: Mark the NtReadFile call which doesn't return STATUS_PENDING for an overlapped IO call as broken, and don't test returned values in broken case. 2013-08-23 10:42:21 +02:00
Dmitry Timoshkov 49e31d29ca ntdll/tests: Add some tests for FILE_USE_FILE_POINTER_POSITION. 2013-08-23 10:42:16 +02:00
Dmitry Timoshkov aa14c2daa5 ntdll/tests: Add the tests for some error cases. 2013-08-21 13:08:35 +02:00
Dmitry Timoshkov 8ec8d70ada ntdll/tests: Use NtWriteFile instead of WriteFile in order to detect broken overlapped IO implementation. 2013-08-21 13:08:35 +02:00
Dmitry Timoshkov b45ec4607b ntdll/tests: Fix the typos. 2013-08-21 13:08:35 +02:00
Dmitry Timoshkov fbe4012eaf ntdll/tests: Add a bunch of overlapped IO tests for files. 2013-08-20 20:52:18 +02:00
Dmitry Timoshkov fca3231914 ntdll/tests: Use official path for temporary files instead of current directory. 2013-08-20 20:52:18 +02:00
Dmitry Timoshkov 87db683aad ntdll/tests: Check WriteFile return values. 2013-08-20 20:52:18 +02:00
Dmitry Timoshkov 7cab2e99c3 ntdll: Last parameter of NtSetIoCompletion is 64-bit on 64-bit platforms. 2013-08-20 20:52:18 +02:00
Francois Gouget 1dbc3d0924 ntdll/tests: Add a trailing '\n' to an ok() call. 2013-08-19 12:53:20 +02:00
Andrey Turkin 2df4caa6a1 ntdll/tests: Test FileDispositionInformation file class. 2013-08-16 11:55:23 +02:00
Nikolay Sivov 9e5097187e ntdll: Implement RtlHashUnicodeString(). 2013-07-24 14:35:09 -05:00
Nikolay Sivov 7e136d68f7 ntdll/tests: Properly skip on missing functions. 2013-07-22 19:31:28 +02:00
Nikolay Sivov 173b834b4a ntdll/tests: Tests for RtlHashUnicodeString(). 2013-07-19 11:56:37 +02:00
Alexandre Julliard 4142fc9b52 ntdll/tests: Don't test . and .. masks, they don't work on Windows. 2013-07-02 10:03:50 +02:00
Alexandre Julliard 641e1bee02 ntdll/tests: Add some tests for NtQueryDirectoryFile with a non-wildcard mask. 2013-07-01 19:51:21 +02:00
André Hentschel d53a55ea88 ntdll: Improve stub for FileFsAttributeInformation in NtQueryVolumeInformationFile. 2013-03-26 16:36:42 +01:00
Detlef Riekenberg 3e162934d1 ntdll/tests: Fix SYSTEM_CACHE_INFORMATION failures. 2013-01-17 12:18:54 +01:00
André Hentschel 7f74df0224 ntdll/tests: Fix check for PAGE_READWRITE. 2012-12-03 18:24:39 +01:00
Akihiro Sagawa bb4a31a8ed ntdll: Calculate SystemProcessInformation's ReturnLength and return it. 2012-10-24 14:19:47 +02:00
Akihiro Sagawa 3fc4e88473 ntdll: Add ReturnLength test for NtQuerySystemInformation with SystemProcessInformation. 2012-10-24 14:19:35 +02:00
André Hentschel 48ce2cc282 ntdll/tests: Remove duplicate function prototypes (coverity). 2012-10-24 11:31:04 +02:00
Alexandre Julliard be2b45ce0a ntdll/tests: Fix some test failures on Windows. 2012-10-12 11:47:01 +02:00
André Hentschel 0da26cfc4c ntdll/tests: Fix test failure on win8. 2012-09-25 11:19:35 +02:00
Francois Gouget 709a0b764d Use the CP_ACP and NULL macros instead of numeric literals when converting strings between ANSI and Unicode. 2012-09-24 22:27:28 +02:00
Michael Stefaniuc dfd4191de4 ntdll/tests: Fix a memory leak (Smatch). 2012-09-17 12:05:48 +02:00
James Eder fbd5a9aaff ntdll/tests: Add test for ProcessorInformation case of NtPowerInformation. 2012-09-13 16:55:33 +02:00
Piotr Caban 67920ea6dd ntdll/tests: Added basic NtQuerySystemInformation(SystemLogicalProcessorInformation) tests. 2012-09-04 16:15:55 +02:00
André Hentschel aac478f51b ntdll: Catch bad pointers in RtlWow64EnableFsRedirectionEx. 2012-08-22 12:11:19 +02:00
Thomas Faber a7e95a27fb ntdll/tests: Add test for RtlIpv4StringToAddress. 2012-07-10 11:17:30 -05:00
Gerald Pfeifer 80d078d071 ntdll: Omit unused typedef in test_query_process_basic. 2012-07-09 09:59:46 -04:00
Gerald Pfeifer 0016d8a2dd ntdll: Omit unused typedef in test_query_process. 2012-06-21 08:36:38 +02:00
Erich Hoover e7dbb212a2 server: Access the completion from the file descriptor instead of the async object. 2012-06-06 13:47:28 +02:00
Gerald Pfeifer 43923decba ntdll: Omit unused typedef in test_query_timeofday. 2012-06-05 19:58:12 +02:00
Detlef Riekenberg 0e235e5dc6 ntdll/tests: Add tests for NtGetCurrentProcessorNumber. 2012-05-21 11:33:40 +02:00
Michael Stefaniuc 6ea39eed8d ntdll/tests: Avoid casting zero. 2012-04-16 12:07:05 +02:00
Ken Thomases 97645d7a1a ntdll: Fix status returned for too-long registry value names. 2012-03-13 10:28:10 +01:00
André Hentschel 0fb4cba77f ntdll/tests: Fix some typos. 2012-02-13 18:37:35 +01:00
André Hentschel cc50de1156 ntdll/tests: Add optional return value for some win7 machines. 2012-01-03 19:25:44 +01:00
Francois Gouget 51a256e65f Assorted spelling fixes and wording tweaks. 2011-11-28 16:40:50 +01:00
Dmitry Timoshkov 277259157b ntdll: Change the virtual memory test to accept both READWRITE and WRITECOPY protections. 2011-11-23 14:14:17 +01:00
Frédéric Delanoy ea67d804f3 ntdll/tests: Avoid harcoding array lengths. 2011-11-21 11:05:00 +01:00
Alexandre Julliard 9801818ff4 ntdll/tests: Clear the full atom structure before every test. 2011-10-20 12:50:06 +02:00
Thomas Faber 385b8c3988 ntdll/tests: Fix build with MSVC. 2011-10-17 17:45:03 +02:00
Bernhard Loos cf14ccc886 ntdll/tests: FILE_OVERWRITE and FILE_OVERWRITE_IF aren't legal for NtCreateNamedPipeFile. 2011-10-13 19:57:19 +02:00
Bernhard Loos 07b681e04a ntdll: Implement the NamedPipeConfiguration value for the FilePipeLocalInformation class of NtQueryInformationFile. 2011-10-08 19:56:08 +02:00
Bernhard Loos 9034e694a3 server: Correctly implement permission checking for named pipes. 2011-10-08 19:55:35 +02:00
Bernhard Loos e4c2a6d1cd server: It's possible to call NtQueryInformationFile on a pipe if it was opened with access 0. 2011-10-08 19:55:19 +02:00
Bernhard Loos bded698462 server: Sharing 0 is not allowed for named pipes. 2011-09-27 16:54:00 +02:00
André Hentschel 55542281f5 ntdll/tests: Don't test function directly when reporting GetLastError(). 2011-09-26 18:16:13 +02:00
Francois Gouget 344ef82b68 ntdll/tests: Skip some tests if not allowed to modify image file execution options. 2011-09-19 17:56:04 +02:00
Frédéric Delanoy a5229fc51f ntdll: Add NtCreateFile tests for invalid chars in file/dir name. 2011-09-12 16:49:56 +02:00
André Hentschel ca8d7652f6 ntdll/tests: Tests for _wcslwr and _wcsupr. 2011-09-08 11:17:09 +02:00
André Hentschel 94a9db6383 ntdll/tests: Run the execution test only on x86 platforms. 2011-09-08 11:13:36 +02:00
Alexandre Julliard bfb98ace57 ntdll/tests: Wait for async I/O to complete when the result is STATUS_PENDING. 2011-08-26 11:59:49 +02:00
Francois Gouget 5197ab4e52 ntdll/tests: Fix the spelling of IID_Endianness. 2011-08-24 19:07:45 +02:00
Grazvydas Ignotas 006413afe4 ntdll: Use swapping method to return . and .. as first entries. 2011-08-24 13:56:37 +02:00
Grazvydas Ignotas fbf537fb60 ntdll/tests: Test NtQueryDirectoryFile with different ReturnSingleEntry and RestartScan flags. 2011-08-24 13:54:41 +02:00
Frédéric Delanoy 760faf01a9 tests: Assorted spelling fixes. 2011-08-04 18:27:37 +02:00
Francois Gouget 209acc5c89 ntdll/tests: Fix compilation on systems that don't support nameless unions. 2011-08-01 11:04:48 +02:00
Bernhard Loos e0f54d1b20 ntdll/tests: Add a number of named pipe tests using the nt api and ioctls. 2011-07-27 17:04:57 +02:00
Austin English 5a56fba741 ntdll/tests: Remove a dead assignment (LLVM/Clang). 2011-07-26 10:20:55 +02:00
Bernhard Loos 070cbfc412 ntdll/tests: Add a test for STATUS_OBJECT_TYPE_MISMATCH. 2011-07-20 19:23:04 +02:00
Grazvydas Ignotas 5ae558bac7 ntdll/tests: Test NtQueryDirectoryFile with RestartScan set to FALSE. 2011-07-19 18:26:22 +02:00
Grazvydas Ignotas 2cc56f379c server: Set debug enable bits briefly to commit the addresses to kernel. 2011-07-18 16:23:30 +02:00
Grazvydas Ignotas fa179b1c26 server: Set RW and LEN bits of DR7 before setting DR0-DR3. 2011-07-18 16:23:30 +02:00
Grazvydas Ignotas 382d953872 ntdll/tests: Add more debug register tests. 2011-07-18 16:23:30 +02:00
Austin Lund 55946e3cce ntdll/tests: Added tests for ObjectTypeInformation class in NtQueryObject. 2011-07-07 14:46:15 +02:00
Dmitry Timoshkov f834d23197 server: FILE_OVERWRITE and FILE_OVERWRITE_IF need the FILE_WRITE_ATTRIBUTES permission. 2011-03-30 15:10:20 +02:00
Dmitry Timoshkov 0cc619ccc5 ntdll: Add more NtCreateFile tests. 2011-03-30 15:10:12 +02:00
Steven Wallace b3369e06c7 ntdll: implemented ProcessDebugFlags in NtQueryInformationProcess. 2011-03-30 15:10:01 +02:00
Dmitry Timoshkov 3998820497 ntdll: Add a bunch of NtCreateFile tests. 2011-03-29 12:21:32 +02:00
Dmitry Timoshkov bfd69719a6 ntdll: Use an NtWriteFile pointer instead of a static import. 2011-03-28 17:08:53 +02:00
Austin English fe9544abd2 ntdll/tests: Make sure return values are used (LLVM/Clang). 2011-02-14 13:33:33 +01:00
Austin English c57c9ce3d1 ntdll/tests: Don't check return values inside of if(0) (LLVM/Clang). 2011-02-14 13:33:32 +01:00
Austin English 39ef0b9d12 ntdll/tests: Make sure a return value is used (LLVM/Clang). 2011-02-11 14:50:17 +01:00
Austin English c549e34255 ntdll/tests: Make sure return value is used (LLVM/Clang). 2011-02-10 10:27:59 -06:00
Austin English 3dd514cee7 ntdll/tests: Make sure return values are used (LLVM/Clang). 2011-02-08 13:42:14 -06:00
Andrew Nguyen f7385699a9 ntdll/tests: Avoid casting away const in comparison functions. 2011-02-01 12:38:57 +01:00
Alexandre Julliard 852d9675bc ntdll/tests: Avoid sizeof in a trace. 2011-01-31 15:36:32 +01:00
Francois Gouget 2df9129c52 ntdll/tests: Fix compilation on systems that don't support nameless unions. 2011-01-17 12:51:15 +01:00
Matteo Bruni eb11dee4fc ntdll/tests: Add a FILE_APPEND_DATA test. 2011-01-12 18:12:48 +01:00
André Hentschel ba1f962d10 ntdll/tests: Don't test function directly when reporting GetLastError(). 2010-12-29 11:59:33 +01:00
Greg Geldorp 3e6d91280d ntdll/tests: Add alternative results for overlong instructions. 2010-12-22 14:30:37 +01:00
André Hentschel 74fecb3513 ntdll: Fix test failure on some NT4 machines. 2010-12-13 17:30:44 +01:00
Francois Gouget 036909e838 ntdll/tests: Add a trailing '\n' to an ok() call. 2010-12-03 16:08:25 +01:00
Gerald Pfeifer 8c7164603f ntdll/tests: Remove unused variable from test_query_volume_information_file. 2010-11-24 12:07:04 +01:00
Louis Lenders 5eac14f11c ntdll/tests: Add tests for NtQueryVolumeInformationFile with FileFsVolumeInformation class. 2010-11-23 14:19:08 +01:00
Marcus Meissner da8c179d61 ntdll: Fixed file view mapping in regards to no-exec. 2010-11-15 13:20:09 +01:00
André Hentschel 574a21cc14 ntdll/tests: Fix crash in japanese and chinese test. 2010-11-11 12:22:08 +01:00
Marcus Meissner 2e7dc35786 ntdll: Check and fix PE header protections. 2010-11-08 18:12:57 +01:00
Alexandre Julliard 4a1379d804 include: The FLOATING_SAVE_AREA type is i386-specific. 2010-10-20 18:37:09 +02:00
Stefan Oberhumer 024530133c ntdll/tests: Add some more tests for qsort(). 2010-10-05 15:16:39 +02:00
Alexandre Julliard be94563670 ntdll/tests: Make some variables static. 2010-10-01 13:37:03 +02:00