Commit Graph

244 Commits

Author SHA1 Message Date
Paul Vriens 99deb5ca2c shlwapi/tests: Fix another test on Vista. 2008-06-25 10:39:35 +02:00
Paul Vriens f88a3c569e shlwapi/tests: Fix a test on Vista. 2008-06-25 10:39:31 +02:00
Petr Dlouhý 283012cc95 shlwapi: UrlCanonicalize will canonize address in format "file://localhost/c:/" correctly. 2008-06-21 11:36:29 +02:00
Paul Vriens c81c11f72d shlwapi/tests: Don't create testfile at a fixed location. 2008-06-11 11:27:39 +02:00
Paul Vriens 6689994362 shlwapi/tests: Don't create testfile at a fixed location. 2008-06-06 15:27:01 +02:00
Paul Vriens 64444ebe94 janitorial: Close COM after tests. 2008-05-19 23:10:01 +02:00
Alexandre Julliard dad21bbcbf makefiles: List the static libraries as normal imports instead of extra libs. 2008-04-30 14:23:55 +02:00
Reece Dunn 48f39dc995 shlwapi/tests: Add 'res:' protocol tests for UrlCanonicalize. 2008-04-24 11:49:26 +02:00
Reece Dunn eb139e44a7 shlwapi/tests: Improve the way that the UrlCanonicalize tests report failure. 2008-04-23 14:32:16 +02:00
Reece Dunn cd16e22252 shlwapi/tests: Fix the return codes for Windows 2000 (without IE6 installed). 2008-04-21 12:10:36 +02:00
Reece Dunn fa7f16562e shlwapi/tests: Enumerate the STGM sharing modes in the SHCreateStreamOnFile tests. 2008-04-17 13:13:06 +02:00
Reece Dunn 8ea25acd73 shlwapi: Fixed the todo blocks in the SHCreateStreamOnFile tests. 2008-04-17 13:13:06 +02:00
Reece Dunn 33f788f7cb shlwapi/tests: Fixed the wide-character strings. 2008-04-04 11:04:49 +02:00
Paul Vriens 428543d9ea shlwapi/tests: Turn printf into trace or skip. 2008-04-02 19:54:56 +02:00
Reece Dunn 47abba0257 shlwapi/tests: Loop over the STGM access modes when testing the SHCreateStreamOnFile methods. 2008-04-01 13:16:17 +02:00
Reece Dunn de3c19c2f0 shlwapi: Added basic tests for the SHCreateStreamOnFile IStream implementation. 2008-03-27 17:47:38 +01:00
Reece Dunn 2679453f04 shlwapi: Added STGM_TRANSACTED tests for SHCreateStreamOnFileA/W/Ex. 2008-03-27 17:47:31 +01:00
Reece Dunn 404a51b455 shlwapi: Added SHCreateStreamOnFileEx tests. 2008-03-25 11:20:51 +01:00
Reece Dunn fe829db189 shlwapi: Added SHCreateStreamOnFileW tests. 2008-03-25 11:20:38 +01:00
Reece Dunn d2e1e5bfaf shlwapi: Added SHCreateStreamOnFileA tests. 2008-03-25 11:20:22 +01: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
Marcus Meissner 088a33729a shlwapi: Handle buffer overflow on A->W converter. 2008-03-03 11:59:11 +01:00
Jacek Caban d1ae63b0d6 shlwapi: Added more tests. 2008-02-28 10:45:03 +01:00
Maarten Lankhorst b254b407a4 shlwapi: Don't add a trailing slash in the case that nothing has to be appended to relative, with testcase. 2008-02-27 14:52:25 +01:00
Francois Gouget f6fab295f3 Fix spelling error in the generated conformance test files. 2008-01-16 12:46:18 +01:00
Lei Zhang ea05a257df shlwapi: Fix a return value in UrlEscapeA. 2008-01-10 11:37:57 +01:00
Lei Zhang 43bff70a22 shlwapi: Check more arguments to UrlEscapeA. 2008-01-10 11:37:48 +01:00
Lei Zhang 32fda2113d shlwapi: Check an argument to UrlEscapeA. 2008-01-10 11:37:31 +01:00
Lei Zhang 0da7c8f444 shlwapi: Additional UrlEscapeA tests. 2008-01-10 11:37:24 +01:00
Alistair Leslie-Hughes 6dd046a61d shlwapi: Fix memory leak in test. 2007-12-11 12:09:14 +01:00
Jacek Caban 114e8485de shlwapi: Added SHPackDispParams test. 2007-11-12 12:15:29 +01:00
Gerald Pfeifer e3b8e2f2dd shlwapi/tests: Remove overly aggressive const declaration for TEST_URL_UNESCAPE. 2007-10-29 13:06:38 +01:00
Alexandre Julliard 6d6b9a381a shlwapi/tests: Make local variables static and const. 2007-10-16 13:58:09 +02:00
Detlef Riekenberg f05b840ac4 shlwapi/test: Test dwSize for UrlCanonicalizeA/W. 2007-10-16 13:55:48 +02:00
Detlef Riekenberg d9a33f3c17 shlwapi/tests: Move URL testing functions from path.c to url.c. 2007-10-16 13:55:41 +02:00
Rob Shearman acfc1175a2 shlwapi: Fix UrlCombineW for absolute URLs without slashes. 2007-08-23 20:18:32 +02:00
Paul Vriens 3de1c55dc6 shlwapi/tests: Use GetModuleHandleA instead of LoadLibraryA. 2007-08-08 15:31:59 +02: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 96c337f0a1 Assorted spelling fixes. 2007-06-07 19:24:32 +02:00
Francois Gouget 40838cec78 shlwapi/tests: The PSDK does not define IID_IDelayedRelease anymore. 2007-05-29 13:17:54 +02:00
Damjan Jovanovic 3ceaaae3d7 shlwapi: Fix UrlCanonicalizeW's handling of filesystem paths. 2007-05-11 11:19:46 +02:00
Mikołaj Zalewski 7370a93b52 shlwapi: Fix the handling of overflows in PathCombine[AW]. 2007-04-24 10:19:44 +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
Jacek Caban 961627d344 shlwapi: Fix handling mk URLs. 2007-02-12 12:40:01 +01:00
Mikołaj Zalewski 2270cc2994 shlwapi: Test string functions when buffer is too small. 2007-02-05 14:03:59 +01:00
Jacek Caban dae390d90b shlwapi: Don't unescape url in UrlCombineW with URL_FILE_USE_PATHURL flag. 2007-02-05 12:24:08 +01:00
Francois Gouget 052104b9e4 shlwapi/tests: Print GetLastError() in decimal with '%u'. 2007-01-09 12:48:44 +01:00
Jacek Caban d159b33228 shlwapi: Forward CLSIDFromProgIDWrap to ole32 (with test). 2007-01-08 11:46:05 +01:00
Louis Lenders dff271df3e shlwapi: Fix a failing test. 2006-12-24 15:12:48 +01:00
Paul Vriens bed868c681 shlwapi/tests: Fix typos. 2006-12-15 12:18:20 +01:00
Francois Gouget c1e7d16f40 shlwapi/tests: Replace some '#if 0's with 'if (0)'s. 2006-12-14 20:24:44 +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
Hans Leidekker bc2e37ba44 shlwapi: UrlEscapeA should fail with E_POINTER when querying the buffer size. 2006-11-13 12:48:15 +01:00
Andrey Turkin 5151c81a23 shlwapi: Implement GetShellSecurityDescriptor and test for it. 2006-11-08 15:49:33 +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
Alexandre Julliard 6a9222fc39 Fixed some printf warnings caused by using sizeof. 2006-10-12 14:58:25 +02:00
Ge van Geldorp d642e11438 winapi_test: Regenerate tests.
Remove structs from test list which have preprocessor directives in
their definitions (winapi_test can't handle that).
2006-10-11 12:12:21 +02:00
Paul Vriens b5728948d5 shlwapi: Cast-qual warnings fix. 2006-10-10 17:00:07 +02:00
Hans Leidekker a8ccd5816a shlwapi/tests: Win64 printf format warning fixes. 2006-10-07 18:05:16 +02:00
Michael Stefaniuc 85ce5117c5 Add a WINE_NO_LONG_INT define to many makefiles to ease the transition of DWORD/LONG/ULONG from long to int. 2006-09-29 16:08:30 +02:00
Paul Vriens 2ade49bf08 url: Fixed wrong argument (Coverity). 2006-09-20 12:25:29 +02:00
Alexandre Julliard 32ab895e46 makefiles: Generate the dependencies line to avoid some code duplication. 2006-09-14 09:38:16 +02:00
Louis. Lenders 531ee64e79 shlwapi: Simple test for UrlCanonicalizeA. 2006-09-07 13:44:24 +02:00
Huw Davies 0476397387 shlwapi: Add tests for PathUnquoteSpaces. 2006-08-09 17:12:21 +02:00
Andrew Talbot 5f2558f506 shlwapi/tests: Write-strings warnings fix. 2006-08-09 11:20:12 +02:00
Jacek Caban 5d1b0d89b4 shlwapi: Change file path to URL in UrlCanonicalize. 2006-07-31 10:49:35 +02:00
Jacek Caban fddd703b38 shlwapi: Change '/'->'\' only for file protocol in UrlCanonicalize. 2006-07-27 11:42:49 +02:00
James Hawkins c70bf5aaab shlwapi: Add tests for PathCommonPrefixA. 2006-07-13 13:48:27 +02:00
James Hawkins a6f4ede255 shlwapi: Add tests for PathBuildRootA. 2006-07-13 13:48:19 +02:00
Alexandre Julliard 0fa8baafcb make_dlls: Recursively ignore .ok files in all tests directories. 2006-07-10 21:26:50 +02:00
Alexandre Julliard edd100b899 make_dlls: Recursively ignore testlist.c in all tests directories. 2006-07-10 21:19:42 +02:00
Alexandre Julliard cc2b3b48e6 Take advantage of the recursive nature of .gitignore for Makefile entries.
Prefix other entries with '/' to make them non-recursive.
2006-07-10 20:47:54 +02:00
James Hawkins ad064915c9 shlwapi: Add tests for PathFindExtensionA. 2006-06-30 20:43:18 +02:00
James Hawkins b333f0c4d2 shlwapi: Add tests for PathCanonicalize. 2006-06-30 20:43:09 +02:00
James Hawkins 3a1a607a00 shlwapi: Add tests for PathAppendA. 2006-06-28 15:40:38 +02:00
Andrey Turkin a7d008f51b shlwapi: Test for UrlGetPart in case of file name. 2006-06-27 11:50:21 +02:00
James Hawkins 251d76888d shlwapi: Add tests for PathAddBackslash. 2006-06-27 11:14:58 +02:00
James Hawkins 7412bddd36 shlwapi: Add tests for PathCombineA. 2006-06-27 11:14:43 +02:00
Paul Vriens a796b8a3f7 shlwapi: PathCombineW should return NULL on invalid parameters. 2006-06-26 12:56:47 +02:00
Alexandre Julliard 0cbd0a367d shlwapi/tests: Use lstrlenA instead of strlen in ok() to avoid printf format warnings. 2006-06-13 13:57:59 +02:00
Alexandre Julliard 23f9e358ad Tests should not use wine/unicode.h. 2006-05-24 18:05:09 +02:00
Jonathan Ernst 360a3f9142 Update the address of the Free Software Foundation. 2006-05-23 14:11:13 +02:00
Peter Oberndorfer ac0bee4bf2 shlwapi: Ignore leading spaces in PathMatchSpec. 2006-04-12 11:17:12 +02:00
Peter Oberndorfer 759324a20c shlwapi: Add tests for PathMatchSpec. 2006-04-12 11:16:58 +02:00
Hans Leidekker 7c9918338a shlwapi: Fix parameter check for UrlUnescapeA.
NULL pszUnescaped is okay if URL_UNESCAPE_INPLACE is set.
Add a corresponding test for UrlUnescape{A,W}.
2006-02-16 12:08:48 +01:00
Jacek Caban 11a0c8cd39 shlwapi: UrlCanonicalize: fix URL_DONT_SIMPLIFY.
- URL_DONT_SIMPLIFY should change '/' <-> '\'
- Better '/' / '\' handling
2006-01-11 21:15:31 +01:00
Jacek Caban bb8a7478bc shlwapi: Fix UrlCanonicalize.
- Added support for URL_FILE_USE_PATHURL.
- Fix handling of '/' and '\'.
2005-12-26 12:58:28 +01:00
Alexandre Julliard 0ec7e1a591 Renamed all .cvsignore files to .gitignore. 2005-11-26 13:10:33 +01:00
Francois Gouget 0edbaf7e80 Remove spaces before '\n' in traces. 2005-11-10 12:14:56 +00:00
Stefan Leichter e1cf3392cb Stop PathIsValidCharW tests after 100 failing tests. 2005-10-31 10:02:24 +00:00
Alexandre Julliard 7c1925a0f3 Remove the 'L' suffix on a number of constants to avoid comparison
errors on 64-bit platforms.
2005-09-13 15:00:32 +00:00
Alexandre Julliard cc4da88563 Explicitly import kernel32 in tests that use it. 2005-08-27 09:27:09 +00:00
Richard Cohen 3ca45f8e89 Blame ExpandEnvironmentStringsA for the failing NT4 test. 2005-08-12 15:51:22 +00:00