Commit Graph

14 Commits

Author SHA1 Message Date
Michael Stefaniuc 4c4ac8a987 combase/tests: Use wide-char string literals.
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-10-05 12:33:31 +02:00
Detlef Riekenberg baac17030c combase/tests: Remove a no longer useful test.
Microsoft changed the behavior from returning NULL into returning a valid pointer.

Signed-off-by: Detlef Riekenberg <wine.dev@web.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-04-04 19:16:53 +02:00
Nikolay Sivov c18fa0eb7f combase/tests: Fix a string leak (Valgrind).
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-12-17 10:08:03 +01:00
Michael Stefaniuc c090aab111 combase/tests: Use the ARRAY_SIZE() macro.
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-11-13 20:54:28 +01:00
Alistair Leslie-Hughes c5c37cf6b3 combase/tests: Add RoGetActivationFactory tests.
Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-05-02 09:56:21 +02:00
Sebastian Lackner d8a2d5eb15 combase/tests: Add tests for WindowsTrimString{Start,End}.
Signed-off-by: Sebastian Lackner <sebastian@fds-team.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-02-11 12:20:14 +09:00
Sebastian Lackner f3827dab8f combase/tests: Add tests for WindowsCompareStringOrdinal.
Signed-off-by: Sebastian Lackner <sebastian@fds-team.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-02-11 12:19:36 +09:00
Sebastian Lackner 55149dc2c4 combase/tests: Add tests for WindowsConcatString.
Signed-off-by: Sebastian Lackner <sebastian@fds-team.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-10-29 21:20:08 +09:00
Martin Storsjo bcac15a56f combase: Fix cornercase error handling in WindowsCreateStringReference.
When WindowsCreateStringReference is given a non-null input string,
the input string must be null terminated at the given length,
even if the input length is zero.

Signed-off-by: Martin Storsjo <martin@martin.st>
Signed-off-by: Sebastian Lackner <sebastian@fds-team.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-10-29 21:20:07 +09:00
Sebastian Lackner bc7809c258 combase/tests: Add tests for WindowsSubstringWithSpecifiedLength.
Signed-off-by: Sebastian Lackner <sebastian@fds-team.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-10-26 23:03:34 +09:00
Thomas Pointhuber ae8be1f84c combase/tests: Add tests for WindowsSubstring.
Signed-off-by: Sebastian Lackner <sebastian@fds-team.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-10-23 13:20:54 +09:00
Martin Storsjo 0d490f3a49 combase: Implement functions for HSTRING_BUFFER. 2014-12-15 16:49:00 +01:00
Martin Storsjo 998006e41d combase: Implement functions for accessing HSTRING objects. 2014-12-15 16:47:38 +01:00
Martin Storsjo e79460cd5c combase: Implement creation and deletion of HSTRING objects. 2014-12-15 16:45:31 +01:00