Commit Graph

57 Commits

Author SHA1 Message Date
Eric Pouech 47212b3939 hlink/tests: Enable compilation with long types.
Signed-off-by: Eric Pouech <eric.pouech@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-02-28 10:31:50 +01:00
Fabian Maurer ca87f03a66 hlink/tests: Avoid "misleading indentation" warnings.
Signed-off-by: Fabian Maurer <dark.shadow4@web.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-01-27 21:09:19 +01:00
Andrey Gusev 58980a4e20 hlink/tests: Fix a typo in a comment.
Signed-off-by: Andrey Gusev <andrey.goosev@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-12-14 12:15:44 +01:00
Zebediah Figura 46c4b4700a hlink/tests: Add some tests for asynchronous binding.
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-11-21 17:05:25 +01:00
Michael Stefaniuc c13145af39 hlink/tests: Use the available ARRAY_SIZE() macro.
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-06-04 14:22:41 +02:00
André Hentschel 93aabab60d hlink/tests: Fix save data test on newer Windows 10.
Signed-off-by: André Hentschel <nerv@dawncrow.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-04-04 22:04:27 +02:00
Zebediah Figura 13e0671959 hlink: Directly check for S_OK from IHlinkBrowseContext_GetObject().
Fixes a regression introduced by 00aca1476e

Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-01-29 20:29:00 +01:00
Nikolay Sivov 2bde3e203b hlink/tests: Check return value (Coverity).
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-12-26 10:12:10 +01:00
Zebediah Figura 00aca1476e hlink: Better handle the IBrowseContext parameter in IHlink::Navigate().
Query it for an IHlinkTarget object. Also, use ShellExecute() only if the
parameter is NULL.

Signed-off-by: Zebediah Figura <zfigura@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-11-30 19:08:14 +01:00
Zebediah Figura 46aba95642 hlink/tests: Add tests for navigating from a string reference.
Signed-off-by: Zebediah Figura <zfigura@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-11-30 19:08:12 +01:00
Francois Gouget d5485d6ebb hlink/tests: Add a trailing '\n' to an ok() call.
Signed-off-by: Francois Gouget <fgouget@free.fr>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-01-09 12:10:27 +01:00
André Hentschel b5ad6a4480 hlink/tests: Test skipped data.
Signed-off-by: André Hentschel <nerv@dawncrow.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-01-04 18:35:03 +01:00
André Hentschel 00c47a2a09 hlink/tests: Ignore single character fails on Win10.
Signed-off-by: André Hentschel <nerv@dawncrow.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-12-23 11:53:36 +01:00
Michael Stefaniuc fdb1f48a22 hlink/tests: Use wine_dbgstr_guid() to print a REFIID.
Signed-off-by: Michael Stefaniuc <mstefani@redhat.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-07-20 22:54:05 +09:00
Andrey Gusev b9bbce9c74 hlink/tests: Fix a typo in ok() messages.
Signed-off-by: Andrey Gusev <andrey.goosev@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-06-03 12:30:48 +09:00
Piotr Caban 049f08f4cd hlink: Improve file protocol handling in HlinkParseDisplayName. 2014-03-04 19:24:29 +01:00
Frédéric Delanoy 3e8fa4c764 hlink/tests: Use common wine_dbgstr_guid implementation from test.h. 2014-01-28 11:45:09 +01:00
Frédéric Delanoy 4849e57866 hlink/tests: Constify some character strings. 2013-12-23 11:54:31 +01:00
Nikolay Sivov c5a73badad hlink: Implement HlinkUpdateStackItem(). 2013-03-26 12:10:16 +01:00
Piotr Caban 0159558560 hlink: Added basic Hlink::Navigate tests. 2013-02-26 18:19:08 +01:00
Andrew Eikum d1f6a5a376 hlink: Don't query the IHlinkSite if the IMoniker is a system moniker. 2012-02-06 10:19:31 -06:00
Jacek Caban 28c94f5a53 hlink: Added TargetFrameName tests. 2011-10-21 16:47:11 +02:00
Austin English 5cce62a8f4 hlink/tests: Remove win9x hacks. 2011-02-28 13:11:50 +01:00
Austin English f41a70133a hlink/tests: Don't check results in disabled tests (LLVM/Clang). 2011-02-08 14:45:54 -06:00
Reece Dunn 365ae23e46 hlink/tests: Add hres checks for the IHlink_GetMonikerReference calls (clang). 2011-01-25 12:37:51 +01:00
Andrew Eikum a8e39c66f7 hlink: Site data should only be set if the hlink has an HlinkSite. 2010-11-02 11:15:08 +01:00
Andrew Eikum 5c5e53ae21 hlink: Implement HlinkClone. 2010-11-02 11:15:05 +01:00
Andrew Eikum cb5eb33159 hlink: Implement HLINKGETREF flags handling. 2010-08-17 11:56:13 +02:00
Austin English 82868174bc Remove references to wineprefixcreate. 2010-07-20 12:35:40 +02:00
Alexandre Julliard 2a26e954ec hlink/tests: Comment out a test for an uninitialized return value. 2010-06-21 11:49:07 +02:00
Andrew Eikum 3e041586a6 hlink: Split target at hash in HlinkCreateFromString. 2010-03-17 10:59:02 +01:00
Andrew Eikum a8183a6317 hlink: Set hlink's location to NULL if the empty string is given. 2010-03-17 10:58:56 +01:00
Reece Dunn a2ae7a2b3d hlink/tests: Add more tests to show a difference in string and moniker hlinks. 2010-03-02 11:12:26 +01:00
Andrew Eikum 4fec073d49 hlink/tests: Fix some memory leaks (valgrind). 2010-01-04 11:41:27 +01:00
Andrew Eikum 57a47b0833 hlink: String target reference is actually moniker target's display name.
The original implementation treated the string target in IHlink as a
separate entity from the moniker target.  In reality, the string target 
is just the moniker target's display name and setting one reference also
sets the other.
2009-12-31 12:12:16 +01:00
Andrew Eikum fc4a9e2e69 hlink: Add tests and fix error handling in IHlink::{Get, Set}StringReference. 2009-12-23 14:27:30 +01:00
Rob Shearman 74e5e0b33f hlink: Fix more memory leaks in tests. 2009-12-07 09:32:22 +01:00
Rob Shearman b84201dca5 hlink: Fix memory leaks in test. 2009-12-02 16:08:52 +01:00
Andrew Eikum a4b5ccfc29 hlink: Use HLINKSETF flags in Hlink::fnSetMonikerReference. 2009-10-21 16:05:56 +02:00
Alexandre Julliard f3664e9bc3 hlink/tests: Use the global wine_dbgstr_w instead of a local variant. 2009-08-19 13:36:27 +02:00
Austin English 5f9e19b4fd hlink/tests: Sign compare fix. 2009-05-11 12:47:55 +02:00
Paul Vriens d127bbd5db hlink/tests: Fix some failures on Win9x and WinMe. 2008-12-05 12:37:32 +01:00
Alistair Leslie-Hughes 522b515b54 hlink: Mark Get/Set AdditionalParams as Unimplemented. 2008-09-11 12:38:36 +02:00
Reece Dunn c722cca599 hlink: Fix the tests for IE7. 2008-09-08 14:08:49 +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
Jacek Caban 5a03ea8914 hlink: Added HlinkResolveMonikerForData tests. 2008-02-04 11:29:33 +01:00
Jacek Caban 13c4b62a64 hlink: Added HlinkParseDisplayName tests. 2008-02-04 11:29:11 +01:00
Dan Kegel 39f3e15bb4 hlink/tests: Skip tests if hlink couldn't be created. 2008-01-14 13:11:02 +01:00
Rob Shearman 126e5d2cb1 hlink: Fix some memory leaks in the tests. 2007-12-17 11:59:40 +01:00
Jacek Caban d371b8b5f0 hlink: Added IHttpNegotiate interface to ExtensionService. 2007-12-06 14:52:51 +01:00