Commit Graph

479 Commits

Author SHA1 Message Date
Nikolay Sivov 762aa854ca shlwapi: Fix window style set with SHSetParentHwnd(). 2011-10-24 11:17:57 +02:00
Dan Kegel 876d551911 shlwapi/tests: Initialize size parameter in test_SHGetShellKey. 2011-10-14 20:26:44 +02:00
Jacek Caban 4a39433eae shlwapi: Make sure we don't write anything to output buffer if its size is too small to store the whole result. 2011-10-14 20:26:44 +02:00
Francois Gouget bd7b345b26 Assorted spelling fixes & co. 2011-09-27 11:00:13 +02:00
Francois Gouget 3de330db54 tests: Remove unneeded assert.h includes. 2011-09-27 10:59:56 +02:00
Francois Gouget fcb351b40f shlwapi/tests: Skip some tests if not allowed to modify the registry. 2011-09-21 11:35:43 +02: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
Francois Gouget 77f68e30f5 shlwapi/tests: Fix the spelling of IID_Endianness. 2011-08-24 19:07:45 +02:00
Scott Ritchie d38909dade shlwapi/tests: Fix an errant comment. 2011-08-24 13:49:13 +02:00
Frédéric Delanoy 760faf01a9 tests: Assorted spelling fixes. 2011-08-04 18:27:37 +02:00
André Hentschel 787ab4572d shlwapi/tests: Don't access memory when the allocation failed. 2011-07-28 11:28:16 +02:00
Sergey Khodych 26541471ab shlwapi: Implement URL_APPLY_GUESSFILE in UrlApplyScheme. 2011-05-17 11:45:49 +02:00
Sergey Khodych 2e1bec528f shlwapi: Don't copy valid scheme in UrlApplySchemeW. 2011-05-17 11:45:47 +02:00
Thomas Mullaly 65d3eab864 shlwapi: Improved UrlGetPart support when parsing host names. 2011-03-28 17:21:56 +02:00
Austin English a4cc8bc63c shlwapi/tests: Remove win9x hacks. 2011-03-01 13:21:58 +01:00
Austin English 92f48ef6ec shlwapi/tests: Remove useless assignments (LLVM/Clang). 2011-02-11 14:49:54 +01:00
Austin English 757aaecc83 shlwapi/tests: Don't check return values inside of if(0) (LLVM/Clang). 2011-02-10 09:58:38 -06:00
Austin English 92cb70e97c shlwapi/tests: Don't check return values inside of if(0) (LLVM/Clang). 2011-02-09 09:26:13 -06:00
Nikolay Sivov 219f477a05 shlwapi/tests: Reset cookie after service revoked (Valgrind). 2011-01-31 12:28:38 +01:00
Greg Geldorp f64a800fd9 shlwapi/tests: Don't assume date/time are separated by comma. 2011-01-14 18:26:19 +01:00
Michael Stefaniuc 213532a260 shlwapi/tests: Finish the COM cleanup in ordinal.c. 2011-01-13 15:22:00 +01:00
Michael Stefaniuc 3b2b23d808 shlwapi/tests: COM cleanup for thread.c. 2011-01-07 10:22:36 +01:00
André Hentschel 503934a67d shlwapi/tests: Fix typo. 2010-12-30 15:01:18 +01:00
André Hentschel d037b40995 shlwapi/tests: Don't test function directly when reporting GetLastError(). 2010-12-30 15:00:44 +01:00
André Hentschel c063e5ccdd shlwapi/tests: Allow Win7 behaviour for SHFormatDateTimeW. 2010-12-22 14:16:31 +01:00
Michael Stefaniuc 26de0e6202 shlwapi/tests: Standardize the COM usage in ordinal.c. 2010-12-14 12:33:00 +01:00
Piotr Caban 5024a05780 shlwapi: Improved UrlCombineW implementation. 2010-11-08 13:30:23 +01:00
David Hedberg 6b897513ff shlwapi: Fix UrlGetPart to also return unknown schemes. 2010-10-26 15:25:19 +02:00
Piotr Caban fd10f47de4 shlwapi/tests: Add more tests. 2010-10-12 17:38:01 +02:00
Piotr Caban c2f25a2206 shlwapi: Improved SHGetShellKey implementation. 2010-10-12 17:37:51 +02:00
Andrew Eikum 6525d89c95 shlwapi: Handle URL_WININET_COMPATIBILITY flag in UrlCanonicalize. 2010-10-12 12:17:38 +02:00
Jacek Caban a839e2ec45 shlwapi: Skip more tests on too old shlwapi.dll. 2010-10-11 12:54:17 +02:00
Andrew Eikum 1a7c76c7b0 shlwapi/tests: Don't run tests on old shlwapi versions. 2010-10-08 11:05:02 +02:00
Alexandre Julliard eb2d556ec8 shlwapi/tests: Make some variables static. 2010-10-01 13:37:34 +02:00
Alexandre Julliard 81b8ee863e makefiles: Add a standard header for all makefiles to replace the common variable initializations. 2010-09-19 12:36:48 +02:00
Piotr Caban f0bc60324a shlwapi: Improved UrlEscapeW implementation. 2010-09-07 11:29:55 +02:00
Piotr Caban 8b7fae35e4 shlwapi: Improved UrlCanonicalize implementation. 2010-09-07 11:29:33 +02:00
Detlef Riekenberg 6e079915dd shlwapi/tests: Run more language dependent tests only on English locales. 2010-08-16 15:54:23 +02:00
Nikolay Sivov 93985e70a8 shlwapi/tests: Fix some test failures on RTL enabled boxes. 2010-07-30 14:59:41 +02:00
Nikolay Sivov e7395e09e1 shlwapi: Partially implement SHGetShellKey. 2010-07-29 10:30:40 +02:00
Nikolay Sivov b684c60a10 shlwapi/tests: Fix some test failures on Win2000. 2010-07-29 10:29:50 +02:00
Paul Vriens eaa6376e64 shlwapi/tests: Load shell32 explicitly. 2010-07-22 16:27:13 +02:00
Piotr Caban b7c68573ae shlwapi: Improved UrlCanonicalizeW implementation. 2010-07-22 13:54:57 +02:00
Andrew Eikum ab418fc258 shlwapi: Implement SHSetIniStringW. 2010-07-22 10:13:03 +02:00
Andrew Eikum ef8cf0fdf2 shlwapi: Implement SHGetIniStringW. 2010-07-22 10:12:57 +02:00
Alexandre Julliard b86d515ed6 dlls: Remove explicit imports of kernel32 and ntdll. 2010-07-21 17:38:36 +02:00
Andrew Eikum d6a827d083 shlwapi: Be less strict on which type of IShellFolder can be enumerated. 2010-07-21 09:33:35 +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
André Hentschel f42ede788e shlwapi/tests: Fix GLE for SHFormatDateTimeA. 2010-07-20 14:40:32 +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
Aric Stewart d9d6e49f36 shlwapi: Correct slash/backslashs in UrlCanonicalize. 2010-07-08 17:33:37 +02:00
Aric Stewart ea029bd2fb shlwapi: URL_FILE_USE_PATHURL flag only unescapes file urls in UrlCanonicalize. 2010-06-23 15:26:48 +02:00
Francois Gouget aebbbcb06b shlwapi/tests: Make the XXX_Construct() functions static. 2010-06-22 20:03:54 +02:00
Piotr Caban ee2abe7f82 shlwapi: Added more UrlCanonicalizeA tests. 2010-05-08 18:14:49 +02:00
Detlef Riekenberg 1b67da3566 shlwapi/tests: Add tests for SHCreateThreadRef. 2010-04-20 16:21:37 +02:00
André Hentschel 38e800f7c4 shlwapi: Fix comment typo. 2010-04-20 11:14:20 +02:00
Detlef Riekenberg a9ac4a119a shlwapi: Fix broken NULL checks (with tests). 2010-04-19 15:34:20 +02:00
Detlef Riekenberg 324783ad09 shlwapi/tests: Add tests for SHSetThreadRef. 2010-04-19 15:34:13 +02:00
Detlef Riekenberg 261bc3859f shlwapi/tests: Add initial test for SHGetThreadRef. 2010-04-19 15:33:56 +02:00
Andrew Eikum 4811167410 shlwapi: Check for NULL string in UrlIs. 2010-04-12 11:29:16 +02:00
Alexandre Julliard a8e86e35dd winapi: Generate the 64-bit variant of structure size/alignment tests. 2010-04-07 18:03:00 +02:00
Alexandre Julliard 2083aa3d68 shlwapi/tests: Fix some pointer conversion warnings on 64-bit. 2010-04-07 14:25:09 +02:00
Alexandre Julliard 86860cc976 shlwapi: Fix SHCreateWorkerWindowA for 64-bit. 2010-04-02 15:22:53 +02:00
Nikolay Sivov 803dea3326 shlwapi: Some SHCreateWorkerWindowA tests. 2010-03-30 17:23:43 +02:00
Nikolay Sivov df04c25a86 shlwapi/tests: Use a single trace call variable for all tests. 2010-03-29 11:47:52 +02:00
Nikolay Sivov 43a92c6610 shlwapi: Added IUnknown_ProfferService implementation with tests. 2010-03-26 10:31:14 +01:00
Nikolay Sivov c9f2007e72 shlwapi: Implement IUnknown_QueryServiceExec with tests. 2010-03-25 15:10:04 +01:00
Francois Gouget 3428b94a8d Assorted spelling and case fixes. 2010-03-22 10:49:13 +01:00
Andrew Eikum 594a19645e shlwapi: Only skip 'localhost' in file URLs in UrlCanonicalize. 2010-03-19 17:10:10 +01:00
Alexandre Julliard 82e7a6e52a shlwapi/tests: Avoid size_t in a trace. 2010-03-19 17:04:02 +01: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
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