Austin English
aab8fae59a
Spelling fixes.
2008-04-21 14:25:05 +02:00
James Hawkins
bfaed5e7fa
ntdll: Fix a few tests that fail in win2k.
2008-04-11 11:16:24 +02:00
Austin English
05faae7b5a
Spelling fixes.
2008-04-09 12:07:39 +02:00
Alexandre Julliard
902aef85c0
ntdll: Add test cases for the direction flag.
2008-03-20 14:27:35 +01:00
Paul Vriens
af7172c186
ntdll/tests: ProcessImageFileName is not supported before XP.
2008-03-10 11:22:49 +01:00
Francois Gouget
369f4ccdfe
ntdll/tests: Don't use 0x55/0xaa to avoid any confusion when running with +heap.
2008-03-05 12:19:25 +01:00
James Hawkins
00394486df
janitorial: Remove links to any microsoft site.
2008-03-01 12:03:59 +01:00
Alexandre Julliard
05c7174909
tests: Add a helper routine to wait for a child process and propagate its result correctly.
2008-02-07 12:56:00 +01:00
Francois Gouget
f6fab295f3
Fix spelling error in the generated conformance test files.
2008-01-16 12:46:18 +01:00
Rob Shearman
526cb8c375
ntdll: Fix NtQueryValueKey for KeyValueBasicInformation.
...
Add some tests for this.
2008-01-07 21:17:10 +01:00
Rob Shearman
e958a570e5
ntdll: Fix the Data and Name returned by NtQueryValueKey for KeyValueFullInformation.
2008-01-07 21:17:10 +01:00
Rob Shearman
edab3a6ff1
ntdll: Add tests for the data and name returned by NtQueryValueKey.
2008-01-07 21:17:10 +01:00
Rob Shearman
ec3448ff8c
ntdll: Set the DataLength field of the information field in NtQueryValueKey to how much data should be returned, not what was actually returned.
2007-12-31 17:29:47 +01:00
Rob Shearman
05fbee5e2d
ntdll: Add some tests for NtQueryValueKey.
2007-12-31 17:29:44 +01:00
Andrey Turkin
3afbee5218
server: Store I/O completion information in async structure.
...
This is to allow completions to be sent on handle close. Also this can
be helpful for AcceptEx/TransmitFile implementation.
2007-12-18 14:25:43 +01:00
Andrey Turkin
f1dcf4bf3a
server: I/O completion ports can only be used with overlapped I/O.
2007-12-17 11:49:32 +01:00
Francois Gouget
10e738f236
ntdll/tests: Fix compilation on systems that don't support nameless unions.
2007-11-20 16:44:58 +01:00
Rob Shearman
bf2a35b78d
server: Change the get_dll_info server request to allow retrieving the image file name of a process.
...
Implement NtQueryInformationProcess(ProcessImageFileName).
2007-11-20 14:29:09 +01:00
Andrey Turkin
7a9210fa85
server: Pass Information field from async I/O APCs.
2007-11-15 14:24:50 +01:00
Andrey Turkin
793453f768
ntdll: Make async i/o functions generate completion messages.
2007-11-15 14:23:37 +01:00
Andrey Turkin
074281ff6c
ntdll: Add some I/O completion tests.
2007-11-15 14:18:41 +01:00
Peter Beutner
db28edc790
ntdll: Better trap exception handling.
2007-11-12 14:14:28 +01:00
Rob Shearman
6c8ed9efbe
ntdll: Initialise the part of the buffer to be written to a file in the file test.
2007-11-12 12:55:13 +01:00
Dmitry Timoshkov
4009de3662
ntdll: Use symbolic names when possible.
2007-10-24 14:12:04 +02:00
Lionel Debroux
8f49ea21d4
ntdll/tests: Fix memory leaks (found by Smatch) and fix a message.
2007-10-22 15:58:41 +02:00
Mikolaj Zalewski
370b881fcd
ntdll: Avoid setting IS_TEXT_UNICODE_NUL_BYTES for the last byte of an ANSI string.
2007-10-17 13:42:14 +02:00
Mikolaj Zalewski
323f09b022
ntdll: Add some tests for RtlIsTextUnicode.
2007-10-17 13:42:07 +02:00
Alexandre Julliard
088e27c849
ntdll/tests: Skip the debugger test if the child process is not loaded at the right address.
2007-09-20 17:01:31 +02:00
Paul Vriens
efc001a21f
ntdll/tests: Fix typos.
2007-08-22 12:18:59 +02:00
Paul Vriens
d1b5f309f5
ntdll/tests: Use skip instead of trace.
2007-08-21 13:00:53 +02:00
Paul Vriens
9783ce360e
ntdll/tests: Do GetModuleHandle only once and add a few skip's.
2007-08-21 13:00:50 +02:00
Paul Vriens
8d80b1323a
ntdll/tests: Make tests run again on win95.
2007-08-14 12:46:43 +02:00
Alexandre Julliard
5817e36634
ntdll: Improved the stub behavior of NtQuerySystemInformation(SystemModuleInformation).
2007-06-19 16:58:42 +02:00
Francois Gouget
e4a98928ab
ntdll/tests: Remove an inappropriate const qualifier.
2007-05-29 13:46:27 +02:00
Peter Oberndorfer
eab168cf9e
ntdll: Fix up instruction pointer in context inside raise_exception.
2007-05-23 12:50:57 +02:00
Peter Oberndorfer
849a0fcf97
ntdll: Use correct prototype for thread function.
2007-05-11 11:20:42 +02:00
Michael Stefaniuc
5f62da109e
janitorial: Pass HEAP_ZERO_MEMORY as flag to HeapAlloc() instead of zeroing out the allocated memory in a later call.
2007-04-25 12:26:07 +02:00
Alexandre Julliard
a6ecf0a7a5
ntdll: Add some test cases for asynchronous I/O.
2007-04-09 12:23:13 +02:00
Paul Vriens
f5678a4d38
ntdll/tests: Use GetModuleHandle and skip.
2007-04-05 11:56:18 +02:00
Peter Beutner
86cbbaf930
ntdll: Remove one exception test.
2007-04-05 10:53:36 +02:00
Rob Shearman
20171ac200
ntdll: Pass the correct value to NtClose in the tests.
2007-04-04 12:39:09 +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
Alexandre Julliard
cdb833bf33
ntdll: Fixed some exception codes and parameters.
2007-03-14 12:02:43 +01:00
Alexandre Julliard
0963b84603
ntdll/tests: Mask reserved bits before testing dr7.
...
Also some spelling fixes.
2007-03-14 12:01:12 +01:00
Stefan Huehner
4d1d01f266
Mark several functions as static.
2007-03-13 13:35:12 +01:00
Dmitry Timoshkov
4b2ba3e113
ntdll: Make the error test pass under XP.
2007-03-12 12:08:37 +01:00
Peter Beutner
f09f9ef5e1
ntdll: Testcase for handling SIMD exceptions.
2007-03-09 11:53:16 +01:00
Peter Oberndorfer
1bfbcefb60
ntdll: Make exception test not hang when creating process fails.
2007-03-05 12:06:56 +01:00
Jeff Latimer
8b2a86a892
ntdll: Test object attributes in NtCreateMailslotFile.
2007-02-28 13:31:26 +01:00
Jeff Latimer
74db5a192e
ntdll: Set default timeout in NtCreateMailslotFile if parameter is NULL.
2007-02-28 13:29:53 +01:00
Jeff Latimer
cb489f7a25
ntdll: Check for passing a NULL handle to NtCreateMailslotFile and add a test.
2007-02-28 13:29:16 +01:00
Jeff Latimer
2775db3b79
ntdll: Framework for NtCreateMailslotFile tests.
2007-02-28 13:28:58 +01:00
Peter Oberndorfer
ce6f221db8
ntdll: Extend debugger tests.
...
Shows that second chance handler gets the same modified context as the exception handlers.
2007-02-27 13:15:09 +01:00
Peter Oberndorfer
647d0d9b88
ntdll/tests: Add a debugger around the exceptions.
...
Shows that the first chance handler gets a unmodified context.
Shows that changing the context has no effect when exception is not handled by debugger.
2007-02-27 13:14:39 +01:00
Peter Oberndorfer
a30bc5808e
ntdll: Add a vectored exception handling test to the existing RtlRaiseException test.
...
Show that context changes in vectored handler also affect stack handlers.
Show that vectored handlers also get the changed context.Eip value.
2007-02-16 12:30:54 +01:00
Marcus Meissner
fa32d53810
ntdll/tests: Fixed WCHAR overflow.
2007-02-13 17:15:24 +01:00
Peter Oberndorfer
b54cecab40
ntdll: Test that shows RtlRaiseException with EXCEPTION_BREAKPOINT mangles Eip of context.
2007-02-13 12:19:32 +01:00
Paul Vriens
cbf9fde47a
ntdll: Extra check for ObjectAttributes (Coverity).
2007-01-22 12:09:17 +01:00
Francois Gouget
fb6569a720
ntdll/tests: Use '%u' to print GetLastError().
2007-01-18 12:55:21 +01:00
Paul Vriens
06a14de18b
ntdll/tests: Skip some tests on Windows Vista.
2007-01-10 11:58:36 +01:00
Alexandre Julliard
e4bd0d889e
ntdll/tests: Fix exception test for CPUs that do segment limit checks differently.
2007-01-10 11:58:16 +01:00
Alexandre Julliard
56407742b5
ntdll/tests: Don't bother testing the port functions if creating the port failed.
2007-01-10 11:30:47 +01:00
Michael Stefaniuc
22684cc767
janitorial: Remove stray '\' at end of lines.
2007-01-09 12:04:26 +01:00
Francois Gouget
97422b1576
ntdll/tests: Replace an '#if 0' with an 'if (0)'.
...
Fix the code so it compiles without warnings.
2007-01-08 12:09:02 +01:00
Rob Shearman
40b39b06d4
ntdll: Fix some test failures of RtlGUIDFromString and RtlStringFromGUID
...
by setting the length correctly and by doing a case-insentive compare
on the GUID string that is returned.
2007-01-04 21:13:28 +01:00
Rob Shearman
5398e17d0a
ntdll: RtlInitUnicodeString on a string too long to fit in a UNICODE_STRING
...
should set the it to have the maximum possible length and size rather
than a modulus of the actual length.
Fix test failures for RtlInitUnicodeString on Windows XP upwards.
2007-01-04 21:13:17 +01:00
Andrew Talbot
9cf1579aad
ntdll/tests: Cast-qual warning fix.
2006-12-13 11:49:01 +01:00
Paul Vriens
fd15939497
ntdll/tests: Fix typo.
2006-12-07 11:23:50 +01:00
Peter Beutner
6f88a7b7d4
ntdll: Fix single stepping over popf instruction.
2006-12-04 12:23:20 +01:00
Peter Beutner
6c9af2bdcb
ntdll: Add more exception tests.
2006-12-01 12:28:24 +01:00
Peter Beutner
b7393f29a4
ntdll: Run exception tests from executable memory.
2006-12-01 12:28:05 +01:00
Peter Beutner
94b548fd62
ntdll: Simplify exception tests.
...
- create helper function to setup exception frame and run the test
- lookup function ptr only once
- make "code data" const
- reuse global exception counter
- change alignment test to use stack address to generate an alignment exception. This avoids
the need to pass an argument, so it can use the created helper function.
(as the stack is (at least) 4 byte aligned, this works equally well)
2006-12-01 12:27:25 +01:00
Paul Vriens
b75f36595f
ntdll: Remove unused variables.
2006-11-21 12:39:29 +01:00
Paul Vriens
d2218eb998
ntdll: Use intended variable.
2006-11-21 12:39:23 +01:00
Paul Vriens
8896cb8e37
ntdll: Remove tests that crash on XP and W2K3.
2006-11-21 12:39:16 +01:00
Paul Vriens
b3df6da417
ntdll: Remove unused variables.
2006-11-21 12:39:09 +01:00
Paul Vriens
409b7e3edf
ntdll: Remove tests that crash on XP and W2K3.
2006-11-21 12:39:02 +01:00
Michael Stefaniuc
8ddaf6cc21
ntdll/tests: Win64 printf format warning fixes.
2006-10-14 20:17:34 +02:00
Ge van Geldorp
d642e11438
winapi_test: Regenerate tests.
...
Remove structs from test list which have preprocessor directives in
their definitions (winapi_test can't handle that).
2006-10-11 12:12:21 +02:00
Marcus Meissner
ef5f360163
ntdll: More tests for exception handling.
...
- Check if we really set the debug register.
- Added unaligned access exception check.
- Added single step exception check.
2006-10-03 20:20:40 +02:00
Francois Gouget
17aa2c82d2
Add missing '\n's to ok() calls.
2006-10-03 15:56:16 +02:00
Dmitry Timoshkov
66da242bfe
ntdll: Make test_debug_regs() print the actual Dr7 value it got.
2006-10-03 15:56:07 +02:00
Peter Oberndorfer
78f6032264
ntdll: Add a test for NtReadVirtualMemory.
2006-10-02 21:37:22 +02:00
Marcus Meissner
3a6d53e5d0
ntdll: Added debug registers test case.
2006-10-02 14:25:17 +02:00
Michael Stefaniuc
85ce5117c5
Add a WINE_NO_LONG_INT define to many makefiles to ease the transition of DWORD/LONG/ULONG from long to int.
2006-09-29 16:08:30 +02:00
Paul Vriens
e94df274ce
ntdll: Fixed conditional expression (Coverity).
2006-09-20 20:03:27 +02:00
Alexandre Julliard
32ab895e46
makefiles: Generate the dependencies line to avoid some code duplication.
2006-09-14 09:38:16 +02:00
Stefan Leichter
97f85e497a
ntdll/tests: Print 64bit integers as two 32 bit integers.
2006-09-08 12:47:11 +02:00
Stefan Leichter
0e592aa9bd
ntdll/tests: Print 64bit integers as two 32 bit integers.
2006-08-23 12:00:15 +02:00
Paul Vriens
54f18be44d
ntdll: Fix failing test on windows.
2006-08-18 20:56:19 +02:00
Alexandre Julliard
0fa8baafcb
make_dlls: Recursively ignore .ok files in all tests directories.
2006-07-10 21:26:50 +02:00
Alexandre Julliard
edd100b899
make_dlls: Recursively ignore testlist.c in all tests directories.
2006-07-10 21:19:42 +02:00
Alexandre Julliard
cc2b3b48e6
Take advantage of the recursive nature of .gitignore for Makefile entries.
...
Prefix other entries with '/' to make them non-recursive.
2006-07-10 20:47:54 +02:00
Paul Vriens
b872d83115
ntdll/tests: Added some NULL testing.
2006-07-10 11:53:31 +02:00
Paul Vriens
8a42a8c11a
ntdll: Fix return codes for NtCreateKey (with tests).
2006-06-30 20:43:41 +02:00
Vitaliy Margolen
27e3b82d49
ntdll: Fix 2 failing test on native. Change Wine accordingly.
2006-06-27 11:50:08 +02:00
Alexandre Julliard
cba2c84741
ntdll/tests: Don't use sizeof in ok() to avoid printf format warnings.
2006-06-13 14:03:19 +02:00
Alexandre Julliard
8e5eaaad1b
ntdll/tests: Use lstrlenA instead of strlen in ok() to avoid printf format warnings.
2006-06-13 13:57:40 +02:00
Alexandre Julliard
23f9e358ad
Tests should not use wine/unicode.h.
2006-05-24 18:05:09 +02:00
Jonathan Ernst
360a3f9142
Update the address of the Free Software Foundation.
2006-05-23 14:11:13 +02:00
Paul Vriens
c2a2687dd8
ntdll/tests: Don't fail if a process is not available.
2006-05-17 10:42:04 +02:00
Stefan Leichter
5996ef7f8e
ntdll: Fix endless loop in port test for users without admin rights.
2006-05-15 11:47:32 +02:00
James Hawkins
86a32784e2
ntdll: Add initial tests for the NT Ports API.
2006-05-10 19:37:10 +02:00
Hans Leidekker
ec6a5175b4
ntdll: The closing brace of a guid string is at index 37.
2006-04-10 12:22:16 +02:00
Aric Stewart
d7187d79bd
ntdll: gcc 2.95 compile fixes.
2006-02-10 14:54:04 +01:00
Eric Pouech
e66e227dbe
Fixes for missing prototypes warnings.
2006-02-06 13:13:28 +01:00
Mike McCormack
bad5f92f54
ntdll: Add some more tests for NtNotifyChangeDirectoryFile.
2006-02-06 11:59:01 +01:00
Eric Pouech
dccd41a88a
kernel: Fixed regression in atom handling.
...
Added proper tests (local & global functions).
2006-02-06 11:26:57 +01:00
Eric Pouech
e0cffe355f
Fix a couple of bugs spotted by valgrind.
2006-01-27 16:18:05 +01:00
Alexandre Julliard
8b0feb253b
server: Make the FILE_SHARE_DELETE sharing checks depend on DELETE
...
access instead of on the FILE_DELETE_ON_CLOSE flag (based on a patch
by Mike McCormack).
2006-01-27 15:50:38 +01:00
Mike McCormack
08351071fd
server: Fix the file notification interface to use directory handles.
2006-01-27 12:13:56 +01:00
Mike McCormack
2e32a425db
ntdll: Add a test for NtNotifyChangeDirectoryFile.
2006-01-17 13:13:29 +01:00
Detlef Riekenberg
1be185f76e
ntdll/tests: Skip tests if NtCurrentTeb doesn't exist.
2006-01-12 13:29:49 +01:00
Eric Pouech
b7607aebdc
ntdll: Correct implementation for atom query functions.
2006-01-03 17:34:43 +01:00
Alexandre Julliard
f54a59c072
ntdll/tests: Try to fail more gracefully on win9x.
...
Link to NtCurrentTeb dynamically.
2005-12-31 13:24:02 +01:00
Alexandre Julliard
07f84d0458
ntdll: More compatible exception information for protection faults.
...
Added a bunch of test cases.
2005-12-16 16:27:39 +01:00
Vitaliy Margolen
babfa79436
Move named pipe objects into directory name space.
...
Change tests accordingly.
Add small test for WaitNamedPipe.
2005-12-05 13:09:35 +01:00
Vitaliy Margolen
f676bc8d85
Move event and mutex objects into directory name space.
2005-12-02 15:55:48 +01:00
Vitaliy Margolen
80444dfe51
Implement symbolic link object in wineserver.
...
Implement Nt[Create|Open|Query]SymbolicLinkObject.
Change tests accordingly.
2005-11-30 19:22:57 +01:00
Vitaliy Margolen
3c6bdcce53
Implement directory object in wineserver.
...
Implement Nt[Create|Open]DirectoryObject.
Change tests accordingly.
2005-11-29 17:21:05 +01:00
Ge van Geldorp
1a1583a364
Match PSDK STATUS_* definitions.
2005-11-28 17:32:54 +01:00
Alexandre Julliard
0ec7e1a591
Renamed all .cvsignore files to .gitignore.
2005-11-26 13:10:33 +01:00
Vitaliy Margolen
893987b871
Return correct error on name collision when creating new named
...
objects.
Check for correct error in affected places.
2005-11-21 16:27:03 +00:00
Vitaliy Margolen
6d905e81e1
More Object Manager tests.
2005-11-21 15:18:10 +00:00
Dmitry Timoshkov
adf48a3cc7
Add a test for RtlAllocateAndInitializeSid, make it pass under Wine.
2005-11-15 12:03:46 +00:00
Vitaliy Margolen
f2686d4620
Fix error returned when opening nonexistent pipes.
2005-11-02 14:15:09 +00:00
Vitaliy Margolen
ecca104869
Fix error returned when exceeding allowed instances.
2005-11-01 21:37:30 +00:00
Vitaliy Margolen
1ca6e899ec
- Use OBJ_CASE_INSENSITIVE in object lookup.
...
- Remove case_sensitive flag from namespace.
- Remove todo_wine from now succeeding tests.
2005-11-01 10:22:38 +00:00
Vitaliy Margolen
6613580ea9
Add a few tests for object manager.
2005-09-30 10:33:54 +00:00
Mike McCormack
b5bd4a101a
Fix gcc 4.0 warnings.
2005-09-02 14:47:36 +00:00
Francois Gouget
03ede20086
Fix a couple of MSVC signed/unsigned warnings.
2005-08-17 09:53:39 +00:00
Francois Gouget
1b4e18fee7
Define WIN32_NO_STATUS so we don't get 'duplicate macro' errors when
...
compiling with the PSDK and MSVC.
Add some types that are not defined by the PSDK.
2005-08-11 17:04:07 +00:00
Francois Gouget
46940ac99e
Remove unneeded wine/library.h include.
...
Use lstrlenW() instead of the Wine-specific strlenW(). This also lets
us get rid of the wine/unicode.h include.
Define the InitializeObjectAttributes() macro if not using Wine's
winternl.h header.
2005-08-11 10:29:03 +00:00
Francois Gouget
023bd5358a
Define RTL_HANDLE and RTL_HANDLE_TABLE if not using Wine's winternl.h
...
header. Fixes the compilation with the PSDK.
2005-08-10 15:00:32 +00:00
Paul Vriens
b7fcecca3e
Use current process if assigned process cannot be opened.
2005-07-22 19:48:16 +00:00
Aric Stewart
4b9f3728e0
Both wcschr and wcsrchr should be able to find the terminating
...
character.
2005-07-12 19:28:04 +00:00
Francois Gouget
c7dcf642ea
Add trailing '\n's to ok() calls.
2005-07-06 15:46:47 +00:00
Paul Vriens
1943208eec
Added some tests for other information classes.
...
Correct comment for test 0x3.
2005-07-05 11:46:53 +00:00
Mike McCormack
b8fc783be2
Avoid warnings in generated tests by casting sizeof(x) to an int.
2005-07-03 11:23:30 +00:00
Stefan Huehner
ffe53258aa
Fix some -Wstrict-prototypes warnings.
2005-06-27 09:57:28 +00:00
Alexandre Julliard
b9a3f8fabf
RtlGetFullPathName_U should remove the trailing dot on directory
...
names.
2005-06-24 11:55:28 +00:00
Paul Vriens
138934129c
NT4 doesn't support ProcessIoCounters.
2005-06-23 09:47:31 +00:00
Paul Vriens
fbf0aeaa43
Change ProcessBasicInformation to the same behavior as the rest.
...
Use KERNEL_USER_TIMES for ProcessTimes.
Add tests for vm, io, times and handlecount info classes.
Fixes for -Wstrict-prototypes warnings.
2005-06-21 20:22:01 +00:00
Stefan Huehner
ac6f562b52
Fix more -Wstrict-prototypes warnings.
2005-06-20 14:18:03 +00:00
Francois Gouget
b80fbbb85d
Remove an unneeded variable in test_query_timeofday().
...
Rename a variable to 'is_nt' to make its meaning clearer.
2005-06-17 20:55:40 +00:00
Stefan Huehner
712087700e
Fix some -Wstrict-prototypes warnings.
2005-06-16 15:52:44 +00:00
Paul Vriens
62441145b6
W2K3 returns STATUS_INVALID_HANDLE instead of STATUS_ACCESS_VIOLATION.
2005-06-16 09:43:59 +00:00
Paul Vriens
7691aca10c
Only exact buffer size gives STATUS_SUCCESS.
2005-06-15 10:19:34 +00:00
Paul Vriens
93f887250a
Return STATUS_INVALID_INFO_CLASS for non-implemented classes.
...
Return STATUS_ACCESS_VIOLATION if no buffer given.
Added tests for ProcessBasicInformation.
2005-06-14 12:25:02 +00:00
Paul Vriens
5e5008502e
Fixed size of our SYSTEM_TIMEOFDAY_INFORMATION struct.
...
Fixed return codes and ReturnLength/buffer for
SystemTimeOfDayInformation.
Added tests for SystemTimeOfDayInformation.
2005-06-13 11:34:56 +00:00
Mike McCormack
c8091b3761
Fix warnings in tests, remove pointless comments.
2005-06-13 10:03:33 +00:00
Paul Vriens
50d1e4f0bf
Fixed ReturnLength of SystemCpuInformation.
...
Added first test for SystemCpuInformation.
2005-06-10 19:52:32 +00:00
Paul Vriens
c5e9809242
Added test for SystemProcessInformation.
2005-06-09 10:03:25 +00:00
Eric Pouech
b168f478be
Some tests for NTDLL atom support (by György 'Nog' Jeney).
2005-05-11 15:56:09 +00:00
Paul Vriens
7464134919
Added SystemHandleInformation tests.
...
Removed HeapAlloc in test_basic.
Renamed test_basic to test_query_basic.
2005-05-10 13:16:36 +00:00
Francois Gouget
4527aae24f
Assorted spelling fixes.
2005-04-19 09:49:38 +00:00
Paul Vriens
a9cbabc03c
Start of unit tests for *Info* functions.
...
Check needed length regardless of given length.
Return STATUS_INVALID_INFO_CLASS for non-implemented classes.
Return STATUS_ACCESS_VIOLATION if no buffer given.
2005-04-15 14:12:54 +00:00
Paul Vriens
b4db6533a0
Flags should be or-ed.
2005-04-11 14:21:33 +00:00
Jacek Caban
e594762ad3
Fixed ntdll:reg test on win9x.
2005-03-29 11:30:32 +00:00
Saulius Krasuckas
cf25b683ba
Fix an error code for ME.
2005-03-28 10:00:13 +00:00
Jakob Eriksson
a4fe0d6003
More trace info.
2005-03-22 18:18:14 +00:00
Dmitry Timoshkov
0497af09a7
Match RaiseException and EXCEPTION_RECORD to SDK definitions.
2005-02-24 13:15:36 +00:00
Ivan Leo Puoti
54d42573b1
Move Rtl*Registry* structs, defines and prototypes to winternl.h.
...
Fix two function declarations.
2005-02-15 20:47:24 +00:00
Alexandre Julliard
a9a1d61038
Brad DeMorrow
...
Tests for the ntdll registry functions.
2005-02-14 21:08:56 +00:00
Francois Gouget
dd073bbb3f
Cast the GetProcAddress() return value to avoid warnings about the
...
function pointer being of the wrong type.
Fix assorted signed/unsigned comparison warnings.
2005-02-14 21:04:45 +00:00
Francois Gouget
6fb1a20020
Assorted spelling fixes.
2004-12-20 19:27:06 +00:00
Jon Griffiths
49e13df700
Remove unneeded headers to reduce unneeded rebuilds.
2004-12-17 19:09:29 +00:00
Robert Shearman
ee6982eeae
Implement handle tables and add tests for them.
2004-12-07 14:47:13 +00:00
Rein Klazes
dceae02d73
- RtlTimeFieldsToTime should not normalize the time fields
...
structure. Instead return error when it is given an unormalized
date.
- Use better algorithms for RtlTimeToTimeFields and
RtlTimeFieldsToTime. RtlTimeToTimeFields is about 3 times faster.
- Add tests for RtlTimeFieldsToTime.
- SystemTimeToFileTime must fail if RtlTimeFieldsToTime fails. Users
of SystemTimeToFileTime must do likewise.
- Remove a todo_wine from SystemTimeToFileTime tests.
- Since msvcrt.mktime must accept unnormalized dates, it cannot use
SystemTimeToFileTime and do the calculations itself.
- Add some tests for mktime accepting unnormalized dates.
2004-11-06 03:53:53 +00:00
Francois Gouget
f7478816d4
#ifdef out the tests if compiling with the Platform SDK headers since
...
they are missing TIME_FIELDS.
2004-10-30 02:10:38 +00:00
Rein Klazes
149f70b369
Correct the calculation of the year for the 31'st of December of 2000
...
and every 400 years after that. Add a test used to find this bug.
2004-10-22 19:54:17 +00:00
Francois Gouget
ab1866be52
Test some more ntdll types.
...
tests.dat: Remove types that don't exist, whether in the Windows or
Wine headers.
2004-09-06 21:26:57 +00:00
Francois Gouget
5512ae2685
Disable MSVC warning 4116 to avoid the 'unnamed type definition in
...
parentheses' warning caused by TYPE_ALIGNMENT().
2004-09-06 20:29:53 +00:00
Francois Gouget
614e4e4a31
Fix/update the TOKEN_STATISTICS check.
2004-09-01 04:53:36 +00:00
Francois Gouget
8bc2fdb3f9
Disable the RtlBitMap tests if compiling with the Microsoft headers as
...
they are missing critical structure and API declarations.
2004-09-01 01:29:18 +00:00
Francois Gouget
20b8b56d5f
Enable the disabled tests in tests.data or add a comment describing
...
why the type cannot be tested.
Update the generated files, they compile and run successfully both on
Windows (with the Windows headers) and in Wine.
2004-08-25 00:42:50 +00:00
Francois Gouget
2e360b3ee4
Fix alignment issues for MEMORYSTATUSEX, WIN32_STREAM_ID and
...
IO_COUNTERS. The corresponding tests now succeed both when compiled
with the Windows headers and when compiled with the Wine headers.
2004-08-24 20:16:25 +00:00
Francois Gouget
61d21ce706
Update RTL_BITMAP and RTL_BITMAP_RUN to match the 2000 DDK.
...
Only test the Rtl{Initialize,SetAll,ClearAll}Bits macros if they are
defined.
2004-08-23 18:52:54 +00:00
Francois Gouget
6b1e83281b
Update FPO_DATA and IMAGE_LOAD_CONFIG_DIRECTORY to match the latest
...
platform SDK. This helps compile the ntdll tests on Windows.
2004-08-22 22:28:53 +00:00
Francois Gouget
493cf88bb6
Remove these Wine-only types:
...
EnumICMProfilesProcCallback
PEXCEPTION_REGISTRATION_RECORD
Don't test these Wine-only types:
EMRSETTEXTJUSTIFICATION
EXCEPTION_REGISTRATION_RECORD
Remove EXCEPTION_FRAME, it doesn't exist at all.
2004-08-22 02:07:13 +00:00
Francois Gouget
68232c6c2f
Remove types that don't exist from tests.dat.
...
Don't test types that have a platform dependent layout.
Don't test Wine-only types.
Helps get the generated tests compiling on Windows.
2004-08-19 20:34:42 +00:00
Francois Gouget
a625761eb9
Avoid annoying 'macro redefinition' warnings by defining
...
WIN32_NO_STATUS at the right time.
Define _WIN32_WINNT otherwise we are missing some symbols with the
Windows headers.
2004-08-14 00:42:12 +00:00
Francois Gouget
870f55fefc
Fix the PSID and PSECURITY_DESCRIPTOR types.
...
Add PISID and PISECURITY_DESCRIPTOR.
2004-08-13 23:55:43 +00:00
Francois Gouget
6f902f16fb
The Windows headers don't define PEXCEPTION_REGISTRATION_RECORD.
...
Remove it.
2004-08-13 23:22:30 +00:00
Francois Gouget
9b0136fbff
Rename ResourceHandle to Reserved in the IMAGE_RESOURCE_DATA_ENTRY
...
structure to match the Windows headers.
2004-08-13 19:46:28 +00:00
Francois Gouget
3e3ba437ee
Replace strcasecmp() with lstrcmpiA() to help compilation with Windows
...
headers.
2004-08-11 18:51:25 +00:00
Francois Gouget
f8e01efb3d
Assorted spelling fixes.
2004-07-23 23:02:09 +00:00
Alexandre Julliard
63a5d81cfa
Better fix for removing trailing spaces in RtlGetFullPathName_U.
...
Need to remove trailing dots too (reported by Ken Belleau).
2004-05-14 22:10:24 +00:00
Alexandre Julliard
c00b0b029a
Remove trailing spaces from the filename in RtlGetFullPathName_U.
2004-05-13 05:21:23 +00:00
Francois Gouget
4e5b9efcf0
We should not make deststring static since we count on it being fresh
...
and clean when entering test_RtlCopyString().
2004-05-05 01:38:24 +00:00
Alexandre Julliard
a11b2bbafb
Updated the auto-generated tests.
2004-05-04 00:41:11 +00:00
Francois Gouget
52c0832161
Make Unicode strings static const.
2004-04-20 01:12:17 +00:00
Uwe Bonnes
d81e8db382
Added some tests for RtlGetFullPathName_U.
2004-03-22 23:00:13 +00:00
Alexandre Julliard
589e115233
We no longer use the .exe.spec.c files.
2004-03-02 21:16:37 +00:00
Francois Gouget
ad5ff7ceeb
Assorted spelling and case fixes.
2004-02-09 22:07:42 +00:00
Francois Gouget
39081ddcd8
Add trailing '\n's to ok() calls.
2004-02-07 01:03:17 +00:00
Francois Gouget
f083d70024
Add trailing '\n's to ok() calls.
...
Spelling fixes in the ok() messages.
2004-02-07 01:02:48 +00:00
Francois Gouget
7494b5b980
Add trailing '\n's to ok() calls.
...
Check whether _MSC_VER is defined.
2004-01-23 02:11:12 +00:00
Vincent Béron
6f2b7a5663
Remove a "\" from a multiline string constant by splitting it in two.
2004-01-13 04:57:57 +00:00
Hans Leidekker
73593d7eed
Check if a function exists before testing it.
2003-12-15 20:18:50 +00:00
Jon Griffiths
ae0ca56453
Added RtlNtStatusToDosErrorNoTeb, RtlGet/Set/RestoreLastWin32Error,
...
RtlGUIDFromString, RtlStringFromGUID.
2003-12-12 05:56:44 +00:00
Dimitrie O. Paun
c762f5d7af
RtlHeapReAllocate() should not allocate memory.
...
Add small test to make sure it doesn't return.
Don't import ntdll for tests, we need to load it dynamically.
2003-11-25 01:02:02 +00:00
Daniel Marmier
0348649853
Fixed warnings with gcc option "-Wwrite-strings".
2003-10-06 21:03:32 +00:00
Michael Günnewig
4d375d1b8b
Fixed warnings with gcc option "-Wwrite-strings".
2003-10-04 03:04:45 +00:00
Jon Griffiths
90535ce905
Various test fixes for XP/msvc.
2003-09-25 20:29:40 +00:00
Alexandre Julliard
e37c6e18d0
Fixed header dependencies to be fully compatible with the Windows
...
headers (with help from Dimitrie O. Paun).
2003-09-05 23:08:26 +00:00
Alexandre Julliard
d7fca891e9
Avoid non-portable long long constants.
2003-08-06 22:09:11 +00:00
Jon Griffiths
3c95046d03
Fix -W warnings.
2003-07-19 03:06:03 +00:00
Jon Griffiths
b62fb40f54
Added some new Rtl* tests.
2003-07-18 22:55:15 +00:00
Eric Pouech
9d0fa2f02e
- kernel32's environment tests: a few more tests now succeed
...
- added some console related tests to process creation
- added a few more test cases to the ntdll environment tests
2003-06-18 03:24:20 +00:00
Eric Pouech
f06a996a07
Enhanced test for queries, added tests for expansion.
2003-05-13 04:46:05 +00:00
Eric Pouech
3a10bf5890
Added environment tests.
2003-05-08 03:47:24 +00:00
Thomas Mertes
4f6caf6ca3
Tests for RtlDuplicateUnicodeString, RtlFindCharInUnicodeString,
...
RtlInitUnicodeStringEx.
2003-05-06 18:28:02 +00:00
Alexandre Julliard
d6da1f33ab
Implemented RtlIsNameLegalDOS8Dot3 (based on a patch by Eric Pouech).
...
Implemented RtlUpcaseUnicodeStringToCountedOemString.
2003-04-16 23:15:29 +00:00
Alexandre Julliard
aa94a5ad1a
Implemented RtlDetermineDosPathNameType_U and RtlIsDosDeviceName_U.
2003-04-12 00:10:13 +00:00
Thomas Mertes
b5763feb55
Tests for RtlUlonglongByteSwap, RtlRandom, RtlAreAllAccessesGranted,
...
RtlAreAnyAccessesGranted, RtlUnicodeStringToAnsiString,
RtlAppendAsciizToString, RtlAppendStringToString,
RtlAppendUnicodeToString and RtlAppendUnicodeStringToString.
2003-04-08 00:56:01 +00:00
Thomas Mertes
83ee8478d4
Tests for RtlCompareMemoryUlong, RtlUniform, RtlDowncaseUnicodeString,
...
RtlAppendUnicodeStringToString.
2003-03-22 00:21:35 +00:00
Alexandre Julliard
c85f61b189
Avoid explicit long long constants.
2003-03-18 20:01:45 +00:00
Thomas Mertes
93189f2395
Tests for _itoa, _ltoa, _ultoa, _i64toa, _ui64toa, _itow, _ltow,
...
_ultow, _i64tow, _ui64tow, _atoi64, _wtoi, _wtol, _wtoi64.
2003-03-18 18:27:19 +00:00
Thomas Mertes
9f5f86e3a3
Tests for RtlCharToInteger, RtlExtendedMagicDivide, RtlUpperChar,
...
RtlInt64ToUnicodeString, RtlIntegerToChar, RtlIntegerToUnicodeString,
RtlLargeIntegerToChar, RtlUnicodeStringToInteger and
RtlUpcaseUnicodeChar.
2003-02-19 03:40:14 +00:00
Thomas Mertes
38012942f8
- Fix small bug in RtlFindMostSignificantBit. It returned sometimes
...
wrong results if more then one bit was set.
- Update the test cases as well.
2003-02-18 23:22:49 +00:00
Francois Gouget
e1685e6bf5
ok() does not support '%S'. Store the Ansi version, convert to Unicode
...
when needed, and print the Ansi version using ok().
Fix 'value is so large it is unsigned' warnings.
2003-01-16 00:11:32 +00:00
Francois Gouget
e0af6d0218
Call lstrcmpW rather than wcscmp.
2003-01-03 03:02:15 +00:00
Francois Gouget
dadbce9a44
Fix mapping of STATUS_DEVICE_NOT_CONNECTED to match XP.
...
Fixed the prototype of statustodoserror to make the test work on NT4.
Added alternate return values to make the test work on Win98.
Check whether RtlNtStatusToDosError ismissing to make the test work on
Win95.
Added a strict option to cause the test to only accept the standard
mapping.
2003-01-02 17:50:48 +00:00
Alexandre Julliard
ea2b6df7f6
Avoid some warnings.
2002-12-19 21:15:41 +00:00
Robert Shearman
bd4a385c7e
First of tests for the Rtl* string manipulation functions.
2002-11-12 02:18:10 +00:00
Patrik Stridvall
9398d9c129
Updated the generated tests.
2002-11-12 01:13:10 +00:00
Patrik Stridvall
74476416b0
Updated the generated tests.
2002-11-06 21:59:15 +00:00
Patrik Stridvall
df7ffb8017
Updated the generated tests.
2002-11-04 22:40:40 +00:00
Patrik Stridvall
7d226139e9
Updated the generated tests.
2002-10-29 21:24:09 +00:00
Patrik Stridvall
ab974c310c
Updated the generated tests.
2002-10-23 18:45:15 +00:00
Patrik Stridvall
ebf582cd48
Updated the generated tests.
2002-10-15 01:53:45 +00:00
Francois Gouget
de0f015df0
Move all STATUS_* and RPC_NT_* to ntstatus.h as per Windows SDK.
...
Add some missing constants.
Include ntstatus.h in winnt.h.
2002-09-17 00:03:39 +00:00
Patrik Stridvall
9c1de6de30
Moved all the content of the DDK files ntdef.h and ntddk.h to
...
winternl.h.
2002-09-12 22:07:02 +00:00
Andriy Palamarchuk
442f5f56d1
RtlNtStatusToDosError: Added new NT status to error codes mapping,
...
added missed definitions of the used constants, created unit test for
subset of the mappings.
2002-09-09 19:25:29 +00:00
Jon Griffiths
1da297178a
Implement and test rtl bitmap functions.
...
Add a couple of other misc rtl functions.
2002-08-15 22:08:40 +00:00