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
James Hawkins
0bd19bb11d
Make four shreg tests pass on XP.
2004-11-19 17:56:08 +00:00
James Hawkins
0fec65d6a7
Use SHDeleteKey to remove leftover keys from the shreg tests.
2004-11-10 01:30:59 +00:00
Stefan Leichter
092c965444
Fixed tests of GetAcceptLanguagesA for platfoms 98,ME,NT4.
2004-11-09 20:11:18 +00:00
Stefan Leichter
4408b91174
Fixed GetAcceptLanguagesA tests for Win98.
2004-10-27 21:18:21 +00:00
Stefan Leichter
97f4a203b2
Fixed GetAcceptLanguagesA tests for WinXP.
2004-10-22 19:54:28 +00:00
Bill Medland
3f3e29254b
Fix SHDeleteKey so that it will handle deleting a key with more than
...
one subkey. Also includes test.
2004-10-14 00:25:29 +00:00
Huw Davies
f3a56591ec
Tests for PathCreateFromUrl, PathIsURL, UrlCreateFromPath and
...
UrlUnescape.
2004-10-05 18:31:58 +00:00
Huw Davies
7458de56ce
UrlEscape has different rules depending on the protocol.
...
Added a load of tests.
2004-10-04 19:08:50 +00:00
Huw Davies
91704df4f3
Implement PathSearchAndQualify.
2004-09-25 00:29:47 +00:00
Jon Griffiths
68ddf16a1c
Implement SHSimulateDrop, MIME_GetExtensionA/W, StrCpyNXA/W,
...
SHAnsiToAnsi, SHUnicodeToUnicode.
2004-09-13 18:11:56 +00:00
Francois Gouget
5512ae2685
Disable MSVC warning 4116 to avoid the 'unnamed type definition in
...
parentheses' warning caused by TYPE_ALIGNMENT().
2004-09-06 20:29:53 +00:00
Stefan Leichter
d3a1480f6b
Fixed test of GetAcceptLanguagesA on NT4.
2004-09-03 17:28:09 +00:00
Francois Gouget
3e2868b457
Don't export the shell32 SHAllocShared functions by name.
...
Implement them by calling out their shlwapi equivalent (which had a
much more complete implementation anyway).
Fix the prototype of shlwapi's SHAllocShared().
Don't crash if lpvData is NULL in SHAllocShared().
Add a conformance test to shlwapi.
2004-08-31 17:38:59 +00:00
Francois Gouget
96a5c44233
Fix packing of shlwapi.h
...
Add a DECLSPEC_ALIGN(8) to force DLLVERSIONINFO2 to have the correct
alignment.
2004-08-19 19:59:41 +00:00
Stefan Leichter
fcf16e3715
Fixed tests of GetAcceptLanguagesA for win2k and win XP.
2004-08-18 23:50:22 +00:00
Hans Leidekker
dbb3e14748
Fix signed/unsigned comparison warnings.
2004-08-09 18:52:18 +00:00
Alexandre Julliard
400b34493c
Fixed flags handling in StrIsIntlEqualA/W (spotted by James Hawkins).
2004-07-21 03:12:16 +00:00
Stefan Leichter
3f7749a6dd
Removed the crosscalls (unicode to ascii) from GetAcceptLanguagesW.
...
Removed todo_wine from GetAcceptLanguagesA tests.
2004-07-16 02:31:41 +00:00
Stefan Leichter
8d34b14f0b
Skip tests of GetAcceptLanguagesA if a correct call to the function
...
does not return anything useful.
2004-06-28 20:29:54 +00:00
Stefan Leichter
5a86e5dc5b
Add logging to the GetAcceptLanguagesA tests.
2004-06-18 19:31:25 +00:00
Stefan Leichter
1d9672ec61
Added tests for GetAcceptLanguagesA.
2004-06-17 04:24:31 +00:00
Jakob Eriksson
3d38e72d89
Windows 95 has no StrRetToBSTR, add dynamic lookup to avoid blocking
...
dialog.
2004-05-05 01:07:41 +00:00
Alexandre Julliard
a11b2bbafb
Updated the auto-generated tests.
2004-05-04 00:41:11 +00:00
Kevin Koltzau
759aff6a23
Allow UrlCombine to calculate size of required buffer.
2004-04-27 23:29:01 +00:00
Jon Griffiths
7a7be05081
Test SHSearchMapInt.
2004-03-22 20:40:03 +00:00
Uwe Bonnes
69cf835ce0
UrlCanonicalizeW: Remove \r and \n at the end of lpszUrlCpy, with test
...
cases.
2004-03-16 01:07:28 +00:00
Kevin Koltzau
8ac9773e3b
Fix UrlCanonicalize and add regression test.
2004-03-03 20:11:46 +00:00
Alexandre Julliard
589e115233
We no longer use the .exe.spec.c files.
2004-03-02 21:16:37 +00:00
Robert Shearman
780deecfd7
- Add IntlStrEqWorkerA/W.
...
- StrCmp tests.
2004-02-17 20:24:50 +00:00
Jon Griffiths
03ecb16eae
Test StrRetToBSTR.
2004-02-10 02:22:53 +00:00
Francois Gouget
ce7c3b50ac
Add trailing '\n's to ok() calls.
2004-01-27 20:13:03 +00:00
Francois Gouget
7494b5b980
Add trailing '\n's to ok() calls.
...
Check whether _MSC_VER is defined.
2004-01-23 02:11:12 +00:00
Francois Gouget
449b92595a
MSVC does not want 'extern' variables to be initialized inside
...
functions.
2004-01-16 02:02:03 +00:00
Alexandre Julliard
5f8223670a
Porting fixes.
2003-11-28 23:19:30 +00:00
Dmitry Timoshkov
33f9dcb1f9
Move CompareString implementation to libwine_unicode, add a bunch of
...
CompareString tests.
2003-11-22 00:00:53 +00:00
Alexandre Julliard
b83789fdc3
Updated some of the generated tests.
2003-10-24 04:45:35 +00:00
Daniel Marmier
7e0ddbc60f
Fixed warnings with gcc option "-Wwrite-strings".
2003-10-07 22:54:17 +00:00
Jon Griffiths
d3863cfbf8
New tests for shlwapi string and clsid functions.
2003-10-01 03:10:56 +00:00
Jon Griffiths
90535ce905
Various test fixes for XP/msvc.
2003-09-25 20:29:40 +00:00
Alexandre Julliard
e37c6e18d0
Fixed header dependencies to be fully compatible with the Windows
...
headers (with help from Dimitrie O. Paun).
2003-09-05 23:08:26 +00:00
Francois Gouget
2ec955c93f
Change the #include order so the test compiles with the MSVC headers.
...
Fix a few signed/unsigned warnings.
2003-05-13 00:29:34 +00:00
Jon Griffiths
7bac7e8ed7
Correct behaviour for some error conditions.
...
Documentation updates.
2003-03-15 19:40:11 +00:00
Matthew Mastracci
4caf4bf877
Add implementation for PathCreateFromUrlW and add the start for some
...
URL unit tests.
2003-01-09 00:50:17 +00:00
Francois Gouget
23aa0f64a2
Fix signed/unsigned warnings.
2002-12-18 20:50:49 +00:00
Francois Gouget
d2667a4ce3
Removed unnecessary HANDLE typecasts.
2002-12-02 18:10:57 +00:00
Patrik Stridvall
9398d9c129
Updated the generated tests.
2002-11-12 01:13:10 +00:00
Francois Gouget
bba4bb1bc4
Remove references to PCVOID and LPUINT.
...
Remove types that don't exist on Windows.
2002-09-17 01:35:09 +00:00
Francois Gouget
3a8601948d
NetpGetComputerName, SHCopyKeyA and SHRegGetPathA don't exist on all
...
Windows platforms -> use GetModuleHandle + GetProcAddress.
2002-09-16 22:45:22 +00:00
Alexandre Julliard
3507999f3d
Delete registry key at exit.
2002-09-12 22:29:58 +00:00
Patrik Stridvall
7e252cb5ef
Fixed C++ comments.
2002-09-12 20:45:22 +00:00
Jon Griffiths
f5b34b5b69
Implementation and test for SHCopyKeyA/W.
2002-09-12 18:02:14 +00:00
Alexandre Julliard
edeee89c3e
Create separate makefiles for tests for more flexibility.
2002-08-09 01:22:40 +00:00
Alexandre Julliard
63d29eb79b
Fixed string lengths to do the right thing for all platforms.
2002-08-09 01:14:23 +00:00
Jon Griffiths
9797a38b1c
Implement SHCreateStreamOnFileA/W/Ex, ordinals @166,184,212-214.
2002-07-16 01:21:52 +00:00
Jon Griffiths
2d990806ec
Implement/document @17,18,19,20,21,22 (Compact list API).
2002-07-09 02:01:56 +00:00
Eric Pouech
f320e74c59
No longer depends on external env strings values.
2002-06-28 17:35:20 +00:00
Alexandre Julliard
75de8fe16c
Added printf format checking to the ok() and trace() macros, and fixed
...
the resulting warnings.
2002-06-22 00:08:10 +00:00
Vincent Béron
9a62491660
Removed trailing whitespace.
2002-05-31 23:06:46 +00:00
Francois Gouget
4c314000b9
Make the tests compile with Visual C++.
2002-05-23 02:40:07 +00:00
Alexandre Julliard
cc2ee7636d
Renamed Winelib apps to .exe.so to follow the dll naming convention.
2002-05-21 19:42:29 +00:00
Alexandre Julliard
67371bcc8d
Added -res option to specify resources on winebuild command-line.
...
Added -exe mode to generate a .spec.c for an exe without having to
provide a .spec.
Removed some no longer needed spec files.
Removed .dll extension in makefiles import specifications.
2002-05-11 23:06:32 +00:00
Juergen Schmied
c74a791a0d
Added some tests.
2002-05-09 19:48:07 +00:00