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