Commit Graph

122 Commits

Author SHA1 Message Date
Martin Storsjo 68b654ad2f kernel32: Implement a few more classes in GetFileInformationByHandleEx. 2015-05-21 14:26:34 +09:00
Sebastian Lackner 7ebe22e99c kernel32/tests: Add tests for delete behaviour of CopyFileEx. 2015-05-19 19:24:20 +09:00
Sebastian Lackner 10ee3f44b1 kernel32/tests: Add tests for deleting readonly files with NtCreateFile.
Wine currently implements DeleteFile based on NtCreateFile with access mask
GENERIC_READ | GENERIC_WRITE | DELETE, but this is wrong. This test shows that
NtCreateFile with FILE_DELETE_ON_CLOSE should also fail without explicitly
requesting read/write access.
2015-04-30 19:58:01 +09:00
Michael Müller 8f0d5a37a3 kernel32/tests: Add tests for GetFinalPathNameByHandleA/W. 2015-03-27 00:11:36 +09:00
André Hentschel 3135b02546 kernel32/tests: Remove unused strings (Clang). 2014-12-02 10:30:48 +01:00
Sebastian Lackner a10a4538b7 kernel32/tests: Add tests for FindFirstFileExW level FindExInfoBasic. 2014-11-04 16:12:37 +09: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
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
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
Piotr Caban afadda8ff7 kernel32: Handle STD_*_HANDLE in GetFileType. 2014-02-07 16:29:17 +01:00
Dmitry Timoshkov 294adeec4f kernel32/tests: Don't forget to delete a temporary file. 2014-01-27 14:13:40 +01:00
Frédéric Delanoy 91f2435469 Assorted spelling fixes. 2014-01-09 17:39:59 +01:00
Zhenbo Li 767c09f16f kernel32/tests: Add one more test for FindFirstFileA. 2014-01-02 17:46:00 +01:00
Zhenbo Li f39c64a85c kernel32/tests: Add some tests for DeleteFileA. 2013-12-23 18:39:58 +01:00
Frédéric Delanoy f56e9ebe38 kernel32/tests: Use BOOL type where appropriate. 2013-10-24 10:49:53 +02:00
Dmitry Timoshkov 8014c7cbbb kernel32/tests: Fix file tests compilation with __WINESRC__ defined. 2013-10-21 20:23:54 +02:00
Dmitry Timoshkov aa8546ecc2 ntdll: Add support for FILE_APPEND_DATA to NtWriteFile. 2013-10-07 14:44:35 +02:00
Dmitry Timoshkov b4e375ecf4 kernel32/tests: Add DuplicateHandle test to the file access tests. 2013-09-25 11:50:03 +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
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 33f61eccfa kernel32/tests: Some tests for CopyFile2(). 2013-09-12 11:03:39 +02:00
Hans Leidekker af7062a94f kernel32/tests: Avoid test failures when running as an unprivileged user. 2013-06-07 17:12:25 +02:00
André Hentschel 56dbef9b19 kernel32/tests: Remove SPARC support. 2013-03-05 11:01:16 +01:00
Charles Davis 5a3ff7ccc1 kernel32: Make CopyFile(Ex)() succeed even if the source file is delete-locked. 2013-01-18 13:29:01 +01:00
André Hentschel 1b440629a6 kernel32/tests: Add ARM64 support. 2013-01-16 12:52:26 +01:00
André Hentschel e431d89ed2 kernel32/tests: Don't test function directly when reporting GetLastError(). 2012-12-20 12:00:26 +01:00
Hans Leidekker c019083240 kernel32: Implement SetFileValidData. 2012-12-04 14:42:28 +01:00
Francois Gouget ed9e745580 Assorted spelling tweaks and fixes. 2012-10-22 12:21:55 +02:00
Marcus Meissner 0a8df5ef26 kernel32: Buffer size is in characters (Coverity). 2012-10-15 13:31:04 +02:00
Vincas Miliūnas aba4619dfe kernel32: Added implementation for OpenFileById. 2012-10-12 13:20:40 +02:00
Vincas Miliūnas be1c0edfcf kernel32/tests: Added tests for OpenFileById. 2012-10-12 13:20:39 +02:00
Vincas Miliūnas 6314cf0295 kernel32: Added implementation of FileIdBothDirectoryInfo for GetFileInformationByHandleEx. 2012-10-12 13:14:43 +02:00
Vincas Miliūnas 9cec60bb1e kernel32/tests: Added tests of FileIdBothDirectoryInfo for GetFileInformationByHandleEx. 2012-10-12 13:13:06 +02:00
André Hentschel 538a0abbd7 include: Rename IMAGE_FILE_MACHINE_ARMV7 to IMAGE_FILE_MACHINE_ARMNT. 2012-08-17 10:45:17 +02:00
Dmitry Timoshkov 68ffbaa718 kernel32: Add a test for deleting a file opened for reading. 2012-06-22 14:09:49 +02:00
Alexandre Julliard 5d770503b9 kernel32/tests: Avoid a non-portable printf format. 2012-05-14 14:15:53 +02:00
Dmitry Timoshkov 7a9fce25ec kernel32: Add some CreateFile disposition and access tests. 2012-03-09 11:30:39 +01:00
Dmitry Timoshkov 75209ffdaf kernel32: Fix file test compilation with PSDK headers. 2012-03-09 11:30:21 +01:00
André Hentschel 8f369c9edb kernel32/tests: Use ARMv7 for PE images. 2011-11-01 16:45:33 +01:00
Alexander Morozov d0451f6b3f server: Fix overlapping shared and exclusive locks support. 2011-10-12 17:10:54 +02:00
Alexander Morozov b2a302b667 kernel32/tests: Shared lock can overlap exclusive if handles are equal. 2011-10-11 20:01:56 +02:00
Thomas Faber bcbaefe8b5 kernel32/tests: Fix MSVC build in file.c and pipe.c. 2011-10-04 17:31:08 -05:00
André Hentschel 0ba0f505af kernel32/tests: Don't test function directly when reporting GetLastError(). 2011-09-26 18:16:03 +02:00
Bernhard Loos c19d166529 kernel32: CreateFile uses an nonalertable io mode. 2011-08-23 16:53:55 +02:00
Alexandre Julliard 7654688886 kernel32/tests: Add tests for file sharing with file-specific access bits. 2011-07-01 18:33:37 +02:00
Alexandre Julliard d0f3d06172 kernel32/tests: Get rid of the Win9x support in the file sharing tests. 2011-07-01 18:33:37 +02:00
Alexandre Julliard d4b7888dbf kernel32/tests: Delete some temporary files. 2011-05-26 13:28:55 +02:00