Commit Graph

69 Commits

Author SHA1 Message Date
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
Zebediah Figura c2953ba457 hlink: Implement 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-10 10:19:57 +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
Alexandre Julliard 99ef0d6ff0 makefiles: Get rid of the MAKE_TEST_RULES variable. 2014-01-02 12:13:16 +01:00
Frédéric Delanoy 4849e57866 hlink/tests: Constify some character strings. 2013-12-23 11:54:31 +01:00
Nikolay Sivov ba40bbfcbf hlink: Implement IHlinkBrowseContext_GetHlink(). 2013-03-26 12:10:57 +01:00
Nikolay Sivov a083415dbc hlink: Add link stack to browser context. 2013-03-26 12:10:51 +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 5c1febe68e hlink: Remove win9x hacks. 2011-07-27 12:16:34 +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
Nikolay Sivov e871d5ec37 hlink/tests: Fix interface leak (Valgrind). 2011-01-17 12:50:42 +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
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
Andrew Eikum cb5eb33159 hlink: Implement HLINKGETREF flags handling. 2010-08-17 11:56:13 +02:00
Alexandre Julliard b86d515ed6 dlls: Remove explicit imports of kernel32 and ntdll. 2010-07-21 17:38:36 +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
Francois Gouget da00e1558e hlink/tests: Add a trailing '\n' to an ok() call. 2010-03-22 10:48:35 +01:00
Andrew Eikum 94edcc1d88 hlink: Implement IHlinkBrowseContext::GetBrowseWindowInfo. 2010-03-17 10:59:08 +01: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
Alexandre Julliard bef5645eb1 makefiles: Remove the no longer needed explicit separators for dependencies. 2010-03-16 13:28:19 +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
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
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 ff13146e92 hlink/tests: Repair test to work as intended. 2009-12-29 11:08:59 +01:00
Paul Vriens 62bb1eb2a4 hlink/tests: Fix a test failure on Win9x/WinMe. 2009-12-24 17:01:27 +01:00
Andrew Eikum 7255944064 hlink: Add tests for IHlinkBrowseContext::SetInitialHlink. 2009-12-23 14:27:30 +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