Commit Graph

204 Commits

Author SHA1 Message Date
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