Commit Graph

68 Commits

Author SHA1 Message Date
Michael Stefaniuc 8445bf3428 shlwapi/tests: Pass the correct buffer size to WideCharToMultiByte().
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-06-27 10:06:00 +02:00
Michael Stefaniuc 3851d97e99 shlwapi/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-27 10:05:50 +02:00
Alistair Leslie-Hughes ee778749e3 shlwapi/tests: Use standard wine_dbgstr_longlong.
Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-07-04 10:47:18 +02:00
Jacek Caban dfb846c214 shlwapi: Fixed error handling in StrRetToBufW.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-02-23 20:12:36 +01:00
Sebastian Lackner 4b33a339cc shlwapi: Add implementation for StrCatChainW.
Based on a patch by Huw Campbell.
2014-12-16 16:32:31 +01:00
Nikolay Sivov 6ebe8d5a2a shlwapi: Use E_NOT_SUFFICIENT_BUFFER definition. 2014-10-08 13:13:37 +02:00
Frédéric Delanoy 36e8004291 shlwapi/tests: Constify some character strings. 2013-12-30 19:01:41 +01:00
Frédéric Delanoy bdce3b9994 shlwapi/tests: Fix StrChrNW prototype. 2013-12-30 19:01:40 +01:00
Nikolay Sivov b70a5d52f1 shlwapi/tests: Compile with -D__WINESRC__. 2013-10-16 11:41:20 +02:00
Francois Gouget 709a0b764d Use the CP_ACP and NULL macros instead of numeric literals when converting strings between ANSI and Unicode. 2012-09-24 22:27:28 +02:00
Carlo Bramini f6524a9f77 shlwapi: Add NULL checks to StrCpyW and StrCatW. 2012-04-19 19:28:12 +02:00
Carlo Bramini a1af839516 shlwapi: Implemented StrToInt64ExA/W. 2012-03-16 13:02:47 +01:00
Francois Gouget 74459389a5 shlwapi/tests: Some tests require that the user interface be in English.
With MUI versions of Windows checking for the default user language id or locale is insufficient.
2011-09-15 15:41:41 +02:00
Francois Gouget 0ae12c4a3b shlwapi/tests: Fix test_StrFromTimeIntervalA() to print the badly formatted string in case of a failure. 2011-09-15 15:41:41 +02:00
Francois Gouget 8973c20f7d Assorted spelling fixes. 2011-09-13 11:27:01 +02:00
Scott Ritchie d38909dade shlwapi/tests: Fix an errant comment. 2011-08-24 13:49:13 +02:00
Austin English a4cc8bc63c shlwapi/tests: Remove win9x hacks. 2011-03-01 13:21:58 +01:00
Detlef Riekenberg 6e079915dd shlwapi/tests: Run more language dependent tests only on English locales. 2010-08-16 15:54:23 +02:00
Andrew Nguyen fdabf10a97 shlwapi/tests: Correct the prototype of the StrRetToBSTR function pointer. 2010-07-20 16:28:17 +02:00
Andrew Nguyen 5709ef1a29 shlwapi/tests: Skip a StrCpyNW test that crashes on older Win9x. 2010-07-20 16:28:16 +02:00
Andrew Nguyen fd9b8c4ac5 shlwapi/tests: Skip StrRStrI tests on older Win9x platforms. 2010-07-20 16:28:16 +02:00
Andrew Nguyen bfcf59631e shlwapi/tests: Skip SHUnicodeToUnicode tests on Win98. 2010-07-20 16:28:16 +02:00
Andrew Nguyen d3e0836435 shlwapi/tests: Skip SHAnsiToAnsi tests on Win98. 2010-07-20 16:28:16 +02:00
Andrew Nguyen f8c88bc3d7 shlwapi/tests: Rename a string variable for clarity. 2010-07-20 16:28:16 +02:00
Andrew Nguyen 15c6057ce1 shlwapi: Implement StrStrNIW. 2010-07-19 16:07:05 +02:00
Andrew Nguyen 9bd13c93ab shlwapi: Implement StrStrNW. 2010-07-19 16:06:55 +02:00
Andrew Nguyen 355057d529 shlwapi/tests: Add tests for StrStrIW. 2010-07-19 15:56:49 +02:00
Andrew Nguyen 1784dbd17a shlwapi/tests: Add tests for StrStrIA. 2010-07-19 15:56:44 +02:00
Andrew Nguyen 9bcdb1c423 shlwapi: Fix handling of an empty search string in StrStrW. 2010-07-19 15:56:39 +02:00
Andrew Nguyen c43bac44ba shlwapi/tests: Add tests for StrStrA. 2010-07-19 15:56:18 +02:00
Andrew Nguyen ec0e9d0df8 shlwapi/tests: Fix Win98 SE test failures for StrFormatKBSizeA/W. 2010-07-19 15:56:07 +02:00
Nikolay Sivov 93b3ba76f6 shlwapi: Fix StrCpyNW to deal with null inputs better, and don't use lstrcpynW. 2010-03-18 17:06:42 +01:00
Detlef Riekenberg 29edebe0cc shlwapi/tests: ChrCmpI* is not present on Win95B (winetestbot). 2010-02-01 12:31:48 +01:00
Aric Stewart 0443f2c7d1 shlwapi: Implement StrChrNW. 2009-09-24 15:13:16 +02:00
Francois Gouget a49dd715a8 shlwapi/tests: Use win_skip() to skip over unimplemented functionality. 2009-02-25 12:49:44 +01:00
Alexandre Julliard ffdf21af0b shlwapi/tests: Avoid printing pointer differences in traces. 2009-01-08 13:02:46 +01:00
Michael Stefaniuc 5f55f154bf shlwapi: Remove superfluous casts of/to void pointers. 2008-11-06 11:09:56 +01:00
Michael Stefaniuc b562a512eb shlwapi/tests: Remove redundant NULL check before SysFreeString (Smatch). 2008-09-25 11:19:01 +02:00
Reece Dunn aa584f146a shlwapi: Fixed the string tests on Vista. 2008-08-05 14:09:34 +02:00
Paul Vriens 64444ebe94 janitorial: Close COM after tests. 2008-05-19 23:10:01 +02:00
Francois Gouget bd4dcad02f shlwapi/tests: Skip the string tests for the functions that are not available on Win9x. 2008-03-05 12:17:54 +01:00
Francois Gouget d573ca8332 shlwapi/tests: The function pointers are global so initialize them on startup, before they are used. 2008-03-05 12:17:38 +01:00
Francois Gouget 34b5e424e0 shlwapi/tests: Add skip statements for missing functions to the string tests. 2008-03-05 12:17:26 +01:00
Alistair Leslie-Hughes 6dd046a61d shlwapi: Fix memory leak in test. 2007-12-11 12:09:14 +01:00
Michael Stefaniuc 0152ec0375 janitorial: Remove superfluous casts of void pointers to other pointer types. 2007-06-27 12:53:50 +02:00
Francois Gouget d9e8a0f63e Remove unneeded checks on the GetModuleHandle() return value for cases where we are linked with the dll. 2007-03-28 12:36:13 +02:00
Stefan Huehner 51a7ca3440 Change some functions arguments from () -> (void). 2007-03-12 12:25:31 +01:00
Mikołaj Zalewski 2270cc2994 shlwapi: Test string functions when buffer is too small. 2007-02-05 14:03:59 +01:00
Alexandre Julliard f662e2548b shlwapi: Fixed string tests for non-English locales. 2006-12-08 12:55:43 +01:00
Francois Gouget 26b2cdf8a0 shlwapi/tests: Remove unneeded NONAMELESS* macros. 2006-11-24 11:49:00 +01:00