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