Commit Graph

396 Commits

Author SHA1 Message Date
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
Paul Vriens 5f6962c7fc shlwapi/tests: Fix some test failures on Vista+. 2010-03-17 13:38:51 +01:00
Paul Vriens 33b45cf98d shlwapi/tests: Fix some test failures on XP/Vista. 2010-03-17 10:07:27 +01:00
Alexandre Julliard bef5645eb1 makefiles: Remove the no longer needed explicit separators for dependencies. 2010-03-16 13:28:19 +01:00
Andrew Eikum e60b2ec907 shlwapi: Improve error handling in UrlGetPart. 2010-03-15 15:08:26 +01:00
Nikolay Sivov 533f7558aa shlwapi: Partially implement SHGetObjectCompatFlags with tests. 2010-03-15 14:18:06 +01:00
Paul Vriens 2448b8da9b shlwapi/tests: Fix a test failure on NT4. 2010-03-15 13:28:26 +01:00
Paul Vriens fc47c7d1d7 shlwapi/tests: Fix some test failures on Win9x/WinMe. 2010-03-05 12:46:14 +01:00
Paul Vriens e271ac6f26 shlwapi/tests: Skip some tests on Win9x/WinMe. 2010-03-05 12:46:08 +01:00
Nikolay Sivov 2d76bf2e69 shlwapi/tests: Some tests for PathGetDriveNumber. 2010-03-03 11:54:52 +01:00
Andrew Eikum 386cb659df shlwapi: Ignore the hash of HTML URLs in UrlCombine. 2010-03-01 14:27:27 +01:00
Nikolay Sivov cf663d17e7 shlwapi: Implement SHFormatDateTimeA/SHFormatDateTimeW with tests. 2010-03-01 12:05:52 +01:00
Nikolay Sivov 5d74e5753f shlwapi: Fix mask usage in SHSetWindowBits with tests. 2010-03-01 12:05:52 +01:00
Reece Dunn 1571337c03 shlwapi/tests: Skip SHCreateStreamOnFileA/W configurations not supported on Win98 SE. 2010-02-23 12:10:06 +01:00
Alexandre Julliard 6164ce2d82 makefiles: Use the standard C_SRCS variable as the list of test files.
This enables it to be auto-updated by make_makefiles.
2010-02-22 10:47:11 +01:00
Vincent Povirk 90b7ccc36a shlwapi: GetUrlPart can get the scheme of url's without a ://. 2010-02-16 10:45:10 +01:00
Detlef Riekenberg c723015fdc shlwapi/tests: Use defined settings when testing GetAcceptLanguages. 2010-02-15 16:11:04 +01:00
Detlef Riekenberg 7aac2c070d shlwapi/tests: Remove GetLastError tests for GetAcceptLanguages, which uses HRESULT. 2010-02-12 15:52:25 +01:00
Detlef Riekenberg c318f4f76b shlwapi/tests: UrlUnescape* is not present on Win95B (winetestbot). 2010-02-01 12:35:09 +01:00
Detlef Riekenberg ce7eb256bc shlwapi/tests: UrlIs* is not present on Win95B (winetestbot). 2010-02-01 12:35:00 +01:00
Detlef Riekenberg 4f4a47a1c9 shlwapi/tests: UrlHash* is not present on Win95B (winetestbot). 2010-02-01 12:34:52 +01:00
Detlef Riekenberg fb81d89a81 shlwapi/tests: UrlGetPart* is not present on Win95B (winetestbot). 2010-02-01 12:34:44 +01:00
Detlef Riekenberg 5d1820e70e shlwapi/tests: UrlEscape* is not present on Win95B (winetestbot). 2010-02-01 12:34:36 +01:00
Detlef Riekenberg cbcdd6c846 shlwapi/tests: UrlCreateFromPath* is not present on Win95B (winetestbot). 2010-02-01 12:34:27 +01:00
Detlef Riekenberg 10abf0fb2f shlwapi/tests: UrlCombine* is not present on Win95B (winetestbot). 2010-02-01 12:34:16 +01:00
Detlef Riekenberg 2cd5b05d49 shlwapi/tests: UrlCanonicalize* is not present on Win95B (winetestbot). 2010-02-01 12:34:07 +01:00
Detlef Riekenberg 4c6a4f66bd shlwapi/tests: UrlApplyScheme* is not present on Win95B (winetestbot). 2010-02-01 12:34:01 +01:00
Detlef Riekenberg e3b3b1e27d shlwapi/tests: PathCreateFromUrl* is not present on Win95B (winetestbot). 2010-02-01 12:33:21 +01:00
Detlef Riekenberg cb3e537b03 shlwapi/tests: HashData is not present on Win95B (winetestbot). 2010-02-01 12:31:52 +01:00
Detlef Riekenberg 29edebe0cc shlwapi/tests: ChrCmpI* is not present on Win95B (winetestbot). 2010-02-01 12:31:48 +01:00
Piotr Caban 17736b90e7 shlwapi: Invoke RegGetValue on SHRegGetValue call. 2010-02-01 12:10:01 +01:00
Andrew Nguyen 20ac06134e shlwapi/tests: Add tests for HashData. 2010-01-26 12:08:41 +01:00
Andrew Nguyen b2b8770b02 shlwapi: Change a magic HRESULT value to the appropriate name. 2010-01-25 14:05:26 +01:00
Piotr Caban 190645e5c5 shlwapi: Improved res protocol handling in UrlCanonicalizeW. 2010-01-21 09:05:57 +01:00
Rob Shearman 7da10bca33 shlwapi: Initialise id field of ConPt object in connection point tests. 2009-12-30 16:16:13 +01:00
Alexandre Julliard 875f726077 shlwapi/tests: Remove empty traces. 2009-12-23 14:27:31 +01:00
Piotr Caban 8de69a174a shlwapi: Added special case for URL_PART_HOSTNAME in UrlGetPart. 2009-12-16 13:04:34 +01:00
Piotr Caban 1e0827f645 shlwapi: Allow ' ' in hostname and password in UrlGetPart. 2009-12-16 13:04:34 +01:00
Aric Stewart 0a59c65e74 shlwapi: Implement SHPropertyBag_ReadLONG. 2009-12-15 11:43:36 +01:00
Francois Gouget 5a2d9e8e5f shlwapi/tests: Make test_IConnectionPoint() static. 2009-12-14 12:04:04 +01:00
Aric Stewart 23cea50db2 shlwapi/tests: Testing framework and IConnection point tests. 2009-12-11 12:16:05 +01:00
Alexandre Julliard 321292a26c shlwapi/tests: Avoid size_t in traces. 2009-12-09 12:19:43 +01:00
Jacek Caban 82cb0fc7e0 shlwapi: Added ParseURL[AW] tests. 2009-10-19 11:44:00 +02:00
Jacek Caban 4d592ae84f shlwapi: Make more strict restriction for URL scheme and fix error handling in ParseURLW. 2009-10-19 11:43:53 +02:00
Ge van Geldorp c93c68b0f4 shlwapi/tests: Add acceptable error code for Win7 clist test. 2009-10-06 12:00:07 +02:00
Aric Stewart 0443f2c7d1 shlwapi: Implement StrChrNW. 2009-09-24 15:13:16 +02:00
Ge van Geldorp 87cf6b36e5 shlwapi/tests: Fix tests on Win7. 2009-09-11 13:09:45 +02:00
Ge van Geldorp d4ebffd24e shlwapi/tests: Remove test that crashes on Win7. 2009-08-25 10:23:38 +02:00
Ge van Geldorp 2245e2c17e shlwapi/tests: Prevent buffer overflow. 2009-08-24 16:41:22 +02:00
Alistair Leslie-Hughes 31dab8f0db shlwapi: Correct AssocCreate tests. 2009-08-05 15:30:16 +02:00
Alistair Leslie-Hughes ffd2e69f53 shlwapi: Correct AssocCreate and tests. 2009-08-04 13:47:06 +02:00
Aric Stewart 9339be641c shlwapi: Simplify UrlCombine case 2 with tests. 2009-06-03 11:20:37 +02:00
Alexandre Julliard f702885e63 shlwapi/tests: Don't test uninitialized parts of the variant. 2009-04-06 13:52:01 +02:00
Paul Vriens 6c62a107a2 shlwapi/tests: Fix failures on systems with IE5.5 or earlier. 2009-03-09 13:31:36 +01:00
Paul Vriens 630c43ab28 shlwapi/tests: Don't crash on IE5. 2009-03-09 12:05:10 +01:00
Paul Vriens a86566cb91 shlwapi/tests: Fix some typos. 2009-03-04 11:48:12 +01:00
Paul Vriens 1b4e61c07a shlwapi/tests: Fix a typo. 2009-03-03 12:36:32 +01:00
Paul Vriens 11b44f8363 shlwapi/tests: Fix remaining test failures on several platforms. 2009-02-26 15:13:25 +01:00
Paul Vriens 9fd4f8738b shlwapi/tests: Fix a few test failures on Win95 and some W2K. 2009-02-25 16:06:22 +01:00
Francois Gouget a49dd715a8 shlwapi/tests: Use win_skip() to skip over unimplemented functionality. 2009-02-25 12:49:44 +01:00
Michael Stefaniuc 08e3742f37 shlwapi: Remove superfluous pointer casts. 2009-01-22 12:04:57 +01:00
Alexandre Julliard ffdf21af0b shlwapi/tests: Avoid printing pointer differences in traces. 2009-01-08 13:02:46 +01:00
Francois Gouget 581e390115 winapi_test: The tests don't support WIN64 yet so disable them there. 2009-01-08 12:47:22 +01:00
Francois Gouget 411f5d22c0 winapi_test: The real tests are done at compile time so use C_ASSERT() instead of ok(). Do only one test per line so one can know exactly what went wrong. 2009-01-08 12:46:39 +01:00
Francois Gouget 9f62c9b7a8 winapi_test: Fix TEST_FIELD() so it correctly tests the field size. 2009-01-08 12:44:49 +01:00
Francois Gouget 43c18c1321 winapi_test: FIELD_ALIGNMENT() is redundant so remove it. 2009-01-08 12:43:15 +01:00
Francois Gouget 2e668d2572 winapi_test: Updated so the generated tests work. 2009-01-08 12:42:12 +01:00
Paul Vriens 05988f4fbc shlwapi/tests: Fix some test failures on Vista. 2008-12-17 15:29:26 +01:00
Paul Vriens 8fc42993a1 shlwapi/tests: Use a codepage that is supported on all platforms. 2008-12-05 12:36:49 +01:00
Detlef Riekenberg 4621210b59 shlwapi/tests: Add more entries for PathIsURL. 2008-11-10 11:07:38 +01:00
Michael Stefaniuc 5f55f154bf shlwapi: Remove superfluous casts of/to void pointers. 2008-11-06 11:09:56 +01:00
Paul Vriens d64f8a887f shlwapi/tests: Fix a failure on Win9x and NT4. 2008-11-05 10:54:45 +01:00
Paul Vriens 6fd4c62802 shlwapi/tests: Fix some failures on XP and W2K3. 2008-11-04 14:08:47 +01:00
Francois Gouget 88a883dfc3 shlwapi/tests: AssocQueryStringA/W() are missing on Windows 98. 2008-11-03 13:34:12 +01:00
Paul Vriens c5866d3696 shlwapi/tests: Fix failures on multiple platforms. 2008-10-24 14:24:59 +02:00
Detlef Riekenberg 40d7448895 shlwapi/tests: Replace RegDeleteTreeW to run the tests again. 2008-10-20 13:43:49 +02:00
Lei Zhang dc9eeb75ba shlwapi: Properly handle pszExtra in IQueryAssociations_GetString. 2008-10-15 14:02:01 +02:00
Lei Zhang 57122e4daa shlwapi: Handle ASSOCSTR_FRIENDLYAPPNAME in IQueryAssociations_GetString. 2008-10-14 13:41:57 +02:00
Lei Zhang 3684009b6e shlwapi: Handle ASSOCSTR_EXECUTABLE in IQueryAssociations_GetString. 2008-10-13 11:49:53 +02:00
Lei Zhang db08d6e807 shlwapi: Fix AssocQueryStringW parameter checking. 2008-10-13 11:49:06 +02:00
Lei Zhang 0c568c2ae8 shlwapi: Add some tests for AssocQueryStringW. 2008-10-13 11:48:36 +02:00
Paul Vriens b1105d49f6 shlwapi/tests: Don't crash on NT4. 2008-10-09 12:14:33 +02:00
Hans Leidekker a14e967135 shlwapi: Fix PathIsValidChar tests that fail on some versions of Windows. 2008-09-29 17:25:42 -05:00
Michael Stefaniuc b562a512eb shlwapi/tests: Remove redundant NULL check before SysFreeString (Smatch). 2008-09-25 11:19:01 +02:00
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