Alexandre Julliard
3214ca84d0
ntdll/tests: Add tests for RtlFormatMessage().
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-05-13 20:22:26 +02:00
Alexandre Julliard
8045167117
ntdll/tests: Enable RtlDowncaseUnicodeString() test.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-05-11 21:24:58 +02:00
Alexandre Julliard
9bbb66fdf7
ntdll: Use the NLS case mapping table for RtlHashUnicodeString().
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-03-26 18:34:49 +01:00
Alexandre Julliard
4b5c67ee0b
unicode: Remove case mappings that don't round-trip.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-01-23 21:11:29 +01:00
Nikolay Sivov
a5bc81ebe5
ntdll/tests: Enable some more string API tests.
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-12-09 23:47:45 +01:00
Alexandre Julliard
d33504b9bb
kernel32: Use the Rtl UTF8 conversion functions.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-12-04 16:03:48 +01:00
Alexandre Julliard
0b39344ef0
ntdll: Reimplement RtlUnicodeToUTF8N.
...
This avoids relying on wine_utf8_wcstombs().
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-12-04 16:03:48 +01:00
Dmitry Timoshkov
3b2937f7c7
ntdll: Implement RtlUnicodeToUTF8N.
...
Signed-off-by: Dmitry Timoshkov <dmitry@baikal.ru>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-09-12 22:47:45 +02:00
Dmitry Timoshkov
65e1ed3480
ntdll/tests: Fix compilation with PSDK compiler.
...
Signed-off-by: Dmitry Timoshkov <dmitry@baikal.ru>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-09-12 22:47:45 +02:00
Michael Stefaniuc
9ef8fa2a0b
ntdll/tests: Avoid ARRAY_SIZE-like macros.
...
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-06-22 01:01:55 +02:00
Michael Stefaniuc
3400da025e
ntdll/tests: Use the available ARRAY_SIZE() macro.
...
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-06-22 01:01:55 +02:00
Alexandre Julliard
5006040541
ntdll: Implement RtlCompareUnicodeStrings.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-05-03 15:14:20 +09:00
Thomas Faber
2d80ef28d0
ntdll/tests: Add tests for RtlUTF8ToUnicodeN.
2014-04-09 17:31:03 +02:00
Thomas Faber
9694360a27
ntdll/tests: Add tests for RtlUnicodeToUTF8N.
2014-04-09 17:28:37 +02:00
Nikolay Sivov
9e5097187e
ntdll: Implement RtlHashUnicodeString().
2013-07-24 14:35:09 -05:00
Nikolay Sivov
7e136d68f7
ntdll/tests: Properly skip on missing functions.
2013-07-22 19:31:28 +02:00
Nikolay Sivov
173b834b4a
ntdll/tests: Tests for RtlHashUnicodeString().
2013-07-19 11:56:37 +02:00
Francois Gouget
5197ab4e52
ntdll/tests: Fix the spelling of IID_Endianness.
2011-08-24 19:07:45 +02:00
Frédéric Delanoy
760faf01a9
tests: Assorted spelling fixes.
2011-08-04 18:27:37 +02:00
André Hentschel
574a21cc14
ntdll/tests: Fix crash in japanese and chinese test.
2010-11-11 12:22:08 +01:00
Michael Stefaniuc
76c06a6d94
ntdll: Use IsEqualGUID instead of memcmp to compare GUIDs.
2010-07-28 12:22:26 +02:00
Hans Leidekker
d1c8769b64
ntdll: Add some tests for RtlIsTextUnicode.
2010-05-14 18:03:03 +02:00
Michael Stefaniuc
ed1711ec54
ntdll/tests: Avoid using the 'long' types.
2010-04-21 11:57:33 +02:00
Huw Davies
af0bb4a141
ntdll: Only free the string if the test succeeded.
2009-12-08 12:37:24 +01:00
Huw Davies
1cc0dd5c57
ntdll: Fix a few memory leaks in tests.
...
Found by Valgrind.
2009-12-07 14:18:27 +01:00
Huw Davies
fd0e796919
ntdll/tests: Mark RtlUnicodeStringToInteger("", 16) as broken for nt4.
2009-05-19 16:17:57 +02:00
Francois Gouget
d6a9082dc4
ntdll/tests: Replace malloc() with HeapAlloc().
2009-05-13 12:45:36 +02:00
Michael Stefaniuc
d2f6f56873
ntdll: Remove superfluous pointer casts.
2009-03-23 12:40:53 +01:00
James Hawkins
b5812e0013
ntdll: Fix a failing test in NT4.
2008-09-03 14:21:43 +02:00
Alexandre Julliard
fcdce5c6f3
ntdll/tests: Allow alternate results in the string tests to make them pass on Vista.
2008-08-26 12:07:43 +02:00
Zac Brown
8f3ae2011c
ntdll: Implement checking for control characters in RtlIsTextUnicode.
2008-07-01 12:38:34 +02:00
Zac Brown
e24e7e7852
ntdll/tests: Add tests for (Rtl)IsTextUnicode to verify that IS_TEXT_UNICODE_CONTROLS and IS_TEXT_UNICODE_REVERSE_CONTROLS are not mutually exclusive.
2008-06-25 20:23:00 +02:00
James Hawkins
cfce5be4ce
ntdll: Fix a few tests that fail in win2k3.
2008-05-14 21:51:39 +02:00
Austin English
05faae7b5a
Spelling fixes.
2008-04-09 12:07:39 +02:00
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
Marcus Meissner
fa32d53810
ntdll/tests: Fixed WCHAR overflow.
2007-02-13 17:15:24 +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
Michael Stefaniuc
8ddaf6cc21
ntdll/tests: Win64 printf format warning fixes.
2006-10-14 20:17:34 +02:00
Alexandre Julliard
cba2c84741
ntdll/tests: Don't use sizeof in ok() to avoid printf format warnings.
2006-06-13 14:03:19 +02:00
Jonathan Ernst
360a3f9142
Update the address of the Free Software Foundation.
2006-05-23 14:11:13 +02:00
Hans Leidekker
ec6a5175b4
ntdll: The closing brace of a guid string is at index 37.
2006-04-10 12:22:16 +02:00
Ge van Geldorp
1a1583a364
Match PSDK STATUS_* definitions.
2005-11-28 17:32:54 +01:00
Mike McCormack
c8091b3761
Fix warnings in tests, remove pointless comments.
2005-06-13 10:03:33 +00:00
Francois Gouget
4527aae24f
Assorted spelling fixes.
2005-04-19 09:49:38 +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
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