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