Commit Graph

312 Commits

Author SHA1 Message Date
Alexandre Julliard a3dd2967ca shlwapi/tests: SHLWAPI.23 apparently returns an HRESULT on Vista. 2008-09-17 16:23:49 +02:00
Reece Dunn 261a39a008 shlwapi: Fixed the url tests on Vista. 2008-09-08 14:09:09 +02:00
Alexandre Julliard b63c648656 shlwapi/tests: Avoid sizeof in traces. 2008-09-05 11:25:21 +02:00
James Hawkins 3e76eacbfd shlwapi: Fix a few failing tests in Vista. 2008-09-03 13:14:51 +02:00
Paul Vriens cea45c5339 shlwapi/tests: Don't test unimplemented functions. 2008-09-02 13:28:39 +02:00
Louis Lenders 58efbe97ec shlwapi: Fix UrlUnEscape to expand URLs in-place even if the output buffer is NULL. 2008-08-28 13:15:27 +02:00
Louis Lenders d571636dbc shlwapi: Add test showing UrlUnEscape should convert the url in place when URL_UNESCAPE_INPLACE is set. 2008-08-28 13:12:53 +02:00
Detlef Riekenberg a34f4ae848 shlwapi/tests: Add tests for UrlApplyScheme. 2008-08-27 13:21:23 +02:00
Paul Vriens 0bafb78755 shlwapi/tests: Fix a test on Vista. 2008-08-27 13:21:20 +02:00
Reece Dunn aa584f146a shlwapi: Fixed the string tests on Vista. 2008-08-05 14:09:34 +02:00
Detlef Riekenberg 139c214661 shlwapi/tests: Fix istream tests on win9x (GetTempPathW). 2008-08-04 14:21:54 +02:00
Detlef Riekenberg 63b8624a05 shlwapi/tests: Fix a buffer overflow that results in a crash on Win9x. 2008-07-28 14:27:28 +02:00
Alistair Leslie-Hughes d2cce3284a shlwapi: Fix tests under w2k8. 2008-07-10 20:21:21 +02:00
Jacek Caban c086429465 shlwapi: Fixed handling mk protocol URLs in UrlCombineW. 2008-07-10 12:17:51 +02:00
Jacek Caban a4ea1c608a shlwapi: Fixed UrlCanonicalizeW for URLs without slashes after scheme. 2008-07-10 12:17:44 +02:00
Alexandre Julliard 79c64acc7b tests: Don't depend on the static uuid libraries in the tests.
This avoids trouble with the broken MingW libraries when
cross-compiling the tests.
2008-07-08 17:51:45 +02:00
Hans Leidekker 96b89623af shlwapi: Add a couple of tests for UrlUnescape. 2008-06-30 15:09:20 +02:00
Mikołaj Zalewski 9c030d4660 shlwapi: UrlCanonicalize should strip all the characters <= 32 from the end of the string. 2008-06-30 13:26:40 +02:00
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
Huw Davies 34f36f662b Implement and add tests for the FDSA functions. 2005-08-09 10:21:35 +00:00
Mike McCormack 82434be6a9 gcc 4.0 warning fixes. 2005-07-29 14:15:31 +00:00
Mike McCormack bda7ace2e9 Interlocked LONG* gcc warning fixes. 2005-07-13 11:59:15 +00:00
Mike McCormack b8fc783be2 Avoid warnings in generated tests by casting sizeof(x) to an int. 2005-07-03 11:23:30 +00:00
Stefan Huehner ffe53258aa Fix some -Wstrict-prototypes warnings. 2005-06-27 09:57:28 +00:00
Stefan Huehner 863a4b1488 Fix some more -Wstrict-prototypes warnings. 2005-06-21 20:53:13 +00:00
Stefan Huehner ac6f562b52 Fix more -Wstrict-prototypes warnings. 2005-06-20 14:18:03 +00:00
Mike McCormack 9f92ead47f Fixes for -Wmissing-declaration and -Wwrite-string warnings. 2005-06-14 17:21:18 +00:00
Uwe Bonnes 3655187fd0 Test cases for URL_UNESCAPE and small fix. 2005-05-23 16:23:02 +00:00
Pierre d'Herbemont 342da59b0c Remove stdlib.h inclusion if winsock.h is included. 2005-05-18 15:33:20 +00:00
Jakob Eriksson 461c830745 Eliminate HeapAlloc casts. 2005-03-22 18:26:06 +00:00
Jakob Eriksson a4fe0d6003 More trace info. 2005-03-22 18:18:14 +00:00
Troy Rollo 085f95ec3a Corrections to UrlIsW and UrlIsA.
URL_IS_OPAQUE results depend only on the scheme, not on the URL.
URL_IS_FILEURL also only depends on the scheme ("file:").
2005-03-21 10:54:35 +00:00
Jon Griffiths 86ad22bf9b Fix two failures and (hopefully) a crash with early versions. 2005-03-16 19:47:37 +00:00
Jon Griffiths db66ec0e55 Tests and small fix for PathMakePretty().
Fix a crash and test failure with early native dlls.
2005-03-14 10:09:53 +00:00
Francois Gouget 4d801b66e6 Assorted spelling fixes. 2005-02-10 19:19:35 +00:00
Paul Vriens 0543774845 Use aliases for calls to ordinals. 2005-02-10 17:10:43 +00:00
Paul Vriens 89330709b7 More verbosity of errors. 2005-02-03 19:38:58 +00:00
Hans Leidekker 80829db067 Implement and test PathIsValidChar{A,W}. 2005-02-03 13:34:05 +00:00
Paul Vriens a3d0eeb9f6 - new test
- changed test to reflect windows results
2005-01-31 11:29:59 +00:00
Hans Leidekker aaa5921ff8 StrIsIntlEqual and IntlStrEqWorker may be absent. 2005-01-25 10:56:23 +00:00
Paul Vriens 14b96358f8 - More verbose output of errors.
- Bail out if first test fails (produce one error only).
2005-01-21 16:18:00 +00:00
Paul Vriens 361ee299ac Use a registry key for copying, that's known on every system. 2005-01-17 15:45:44 +00:00
Paul Vriens 7e8c096a26 Change the order of Src and Dst in CopyKey calls/functions. 2005-01-17 15:33:00 +00:00
Paul Vriens 4064e74fc3 Use Interlocked* functions in AddRef and Release. 2005-01-17 13:42:13 +00:00
Hans Leidekker 8310bd5328 Implement and test URLIS_URL flag in UrlIs(). 2005-01-03 17:08:40 +00:00
Jon Griffiths bcf439261a Use Ascii functions explicitly. 2005-01-03 14:36:47 +00:00
Rein Klazes 3714a39867 Correct cases where arguments of ok() calls depend on the order in
which they are evaluated.
2004-12-27 17:26:37 +00:00
Jon Griffiths 49e13df700 Remove unneeded headers to reduce unneeded rebuilds. 2004-12-17 19:09:29 +00:00
Stefan Leichter 64b4d5a40f Fixed tests of GetAcceptLanguagesA for win98. 2004-12-15 10:50:21 +00:00
Jon Griffiths 1f79d57d3a Use the A version of calls when passing ASCII strings. 2004-12-15 10:50:01 +00:00
Stefan Leichter 77928370a5 Fixed tests of GetAcceptLanguagesA for win9x/ME. 2004-12-08 13:52:02 +00:00