Commit Graph

59 Commits

Author SHA1 Message Date
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
Mikołaj Zalewski 7b170df2ee shlwapi: Test and fix StrRStrI[AW]. 2006-10-23 15:16:05 +02:00
Mikołaj Zalewski ef8151b379 shlwapi/tests: Disable the StrFromTimeInterval tests as they are language-dependent. 2006-10-23 15:15:02 +02:00
Mikołaj Zalewski 5f5c662a67 shlwapi/tests: Enable the locale-dependent tests if the delimiters are correct. 2006-10-23 15:14:39 +02:00
Mikołaj Zalewski bd35b0a122 shlwapi/tests: Make the string.c tests compile in Visual C++. 2006-10-23 15:14:29 +02:00
Hans Leidekker a8ccd5816a shlwapi/tests: Win64 printf format warning fixes. 2006-10-07 18:05:16 +02:00
Jonathan Ernst 360a3f9142 Update the address of the Free Software Foundation. 2006-05-23 14:11:13 +02:00
Stefan Huehner ffe53258aa Fix some -Wstrict-prototypes warnings. 2005-06-27 09:57:28 +00:00
Mike McCormack 9f92ead47f Fixes for -Wmissing-declaration and -Wwrite-string warnings. 2005-06-14 17:21:18 +00:00
Pierre d'Herbemont 342da59b0c Remove stdlib.h inclusion if winsock.h is included. 2005-05-18 15:33:20 +00:00