Commit Graph

22 Commits

Author SHA1 Message Date
Paul Gofman 19c2ffe852 hnetcfg/tests: Don't test removing the same mapping twice.
Signed-off-by: Paul Gofman <pgofman@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-02-03 17:19:41 +01:00
Paul Gofman 69acffb954 hnetcfg/tests: Don't leak IEnumVARIANT reference in test_static_port_mapping_collection().
Signed-off-by: Paul Gofman <pgofman@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-02-03 17:19:41 +01:00
Paul Gofman 8f8fe74f89 hnetcfg: Implement static_ports_Add().
Signed-off-by: Paul Gofman <pgofman@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-02-02 12:28:43 +01:00
Paul Gofman 559b1d2ccf hnetcfg: Implement static_ports_Remove().
Signed-off-by: Paul Gofman <pgofman@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-02-02 12:28:43 +01:00
Paul Gofman de05efdea2 hnetcfg: Implement static_ports__NewEnum().
Signed-off-by: Paul Gofman <pgofman@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-02-02 12:28:43 +01:00
Paul Gofman cbf2ca5774 hnetcfg: Return stub interface from upnpnat_get_StaticPortMappingCollection() if UPNP IGD is found.
Signed-off-by: Paul Gofman <pgofman@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-02-01 18:23:18 +01:00
Paul Gofman 162dc17e09 hnetcfg/tests: Add tests for static port mapping collection.
Signed-off-by: Paul Gofman <pgofman@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-02-01 18:23:18 +01:00
Michael Stefaniuc 07592f7534 hnetcfg/tests: Use wide-char string literals.
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-12-14 12:20:42 +01:00
Vijay Kiran Kamuju 5160c30fa7 hnetcfg: Return S_OK in get_StaticPortMappingCollection.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=49449
Signed-off-by: Vijay Kiran Kamuju <infyquest@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-10-13 11:34:24 +02:00
Gijs Vermeulen 16803516ef hnetcfg: Initialize INetFwRules::get__NewEnum out parameter.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=46906
Signed-off-by: Gijs Vermeulen <gijsvrm@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-26 20:25:24 +01:00
Alistair Leslie-Hughes 13a3302734 hnetcfg: Add test for IProvideClassInfo interface.
Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-10-17 11:10:32 +02:00
Alistair Leslie-Hughes 6670048908 hnetcfg/tests: Add IUPnPNAT interface tests.
Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-10-16 14:01:18 +02:00
Fabian Maurer 7ec1ae2bef hnetcfg/tests: Pass correct parameter to WNetGetUniversalNameW.
Currently a pointer to a local variable is passed,
that causes severe stack corruption.

Signed-off-by: Fabian Maurer <dark.shadow4@web.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-08-14 14:51:01 +02:00
Zebediah Figura e070ff88d6 hnetcfg: Store the long path in INetFwAuthorizedApplication_put_ProcessImageFileName().
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-06-28 18:27:08 +02:00
Zebediah Figura e46f84a86b hnetcfg: Store the full path in INetFwAuthorizedApplication_put_ProcessImageFileName().
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-06-26 13:29:10 +02:00
Marcus Meissner 46c5eb173f hnetcfg: GetModuleFileNameW gets characters, not bytes (Coverity).
Signed-off-by: Marcus Meissner <meissner@suse.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-06-25 18:07:23 +02:00
Zebediah Figura e6fc86e4a0 hnetcfg: Store the UNC path in INetFwAuthorizedApplication_put_ProcessImageFileName().
Fixes test failures when running from virtual drive.

Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-06-19 21:01:48 +02:00
Zebediah Figura 709cce6329 hnetcfg/tests: Fix BSTR usage in test_NetFwAuthorizedApplication().
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-06-19 21:01:46 +02:00
Hans Leidekker 8e29f491c4 hnetcfg/tests: Ignore case when comparing filenames.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-05-10 18:17:42 +02:00
Alistair Leslie-Hughes 9e5145a7fe hnetcfg/tests: Add INetFwAuthorizedApplication tests.
Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-04-23 11:06:03 +02:00
Alistair Leslie-Hughes 19e72fe149 hnetcfg: Implement INetFwPolicy2 get_Rules.
Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-09-27 09:32:19 +02:00
Alistair Leslie-Hughes 7ffb4a912c hnetcfg/tests: Add initial tests.
Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-07-26 20:39:54 +09:00