Commit Graph

203 Commits

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