Commit Graph

50 Commits

Author SHA1 Message Date
Owen Rudge 233d8244ae wsdapi/tests: Add test for Publish.
Signed-off-by: Owen Rudge <orudge@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-02-22 14:16:33 +01:00
André Hentschel 748c7b8593 wsdapi/tests: Don't test function directly when reporting WSAGetLastError().
Signed-off-by: André Hentschel <nerv@dawncrow.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-01-02 13:25:20 +01:00
André Hentschel 6762fe8551 wsdapi: Fix WSDXMLGetValueFromAny spec file entry.
Signed-off-by: André Hentschel <nerv@dawncrow.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-01-02 11:10:11 +01:00
Hans Leidekker 1f78cb8f4f wsdapi/tests: Register an exception with the firewall to avoid a dialog.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-12-13 15:52:27 +01:00
Nikolay Sivov b491635f0a wsdapi/tests: Use constants for test strings when possible.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-08-27 07:54:35 +02:00
Nikolay Sivov 3cb938fd4f wsdapi: Fix use-after-free when checking for unique prefix (Valgrind).
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-08-27 07:54:33 +02:00
Francois Gouget 47c90af8d4 wsdapi: Remove WINAPI on static functions where not needed.
Signed-off-by: Francois Gouget <fgouget@free.fr>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-07-06 18:49:38 +02:00
Owen Rudge 28c040c9b0 wsdapi/tests: Add tests for WSDXMLGetValueFromAny.
Signed-off-by: Owen Rudge <orudge@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-07-03 19:34:25 +02:00
Owen Rudge 760190b524 wsdapi: Implement WSDXMLGetValueFromAny.
Signed-off-by: Owen Rudge <orudge@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-07-03 19:34:25 +02:00
Owen Rudge db94c52719 wsdapi: Implement IWSDUdpAddress_Get/SetSockAddr.
Signed-off-by: Owen Rudge <orudge@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-07-03 19:34:25 +02:00
Owen Rudge b724f0b2e3 wsdapi: Implement IWSDUdpAddress_Get/SetMessageType.
Signed-off-by: Owen Rudge <orudge@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-07-03 19:34:24 +02:00
Owen Rudge 52ad4d0e66 wsdapi: Implement IWSDUdpAddress_Get/SetPort.
Signed-off-by: Owen Rudge <orudge@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-07-03 19:34:24 +02:00
Owen Rudge d140cd504a wsdapi: Implement IWSDUdpAddress_GetTransportAddress[Ex].
Signed-off-by: Owen Rudge <orudge@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-07-03 19:34:24 +02:00
Owen Rudge 860deac1c7 wsdapi/tests: Add additional SetTransportAddress tests with port numbers.
Signed-off-by: Owen Rudge <orudge@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-06-28 20:39:44 +02:00
Owen Rudge 4f1dca9db0 wsdapi: Implement IWSDUdpAddress_SetTransportAddress.
Signed-off-by: Owen Rudge <orudge@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-06-28 19:27:43 +02:00
Owen Rudge 4373eb30a4 wsdapi: Implement Get/SetRetransmitParams.
Signed-off-by: Owen Rudge <orudge@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-06-28 19:27:42 +02:00
Owen Rudge 7b3024a255 wsdapi: Implement Get/SetRemoteAddress.
Signed-off-by: Owen Rudge <orudge@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-06-28 19:27:40 +02:00
Owen Rudge 9ce9d73414 wsdapi: Implement Get/SetLocalAddress.
Signed-off-by: Owen Rudge <orudge@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-06-28 19:27:37 +02:00
Owen Rudge 098ffa244d wsdapi/tests: Add tests for Get/SetRetransmitParams.
Signed-off-by: Owen Rudge <orudge@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-06-26 09:32:08 +02:00
Owen Rudge b0fc3197c5 wsdapi/tests: Add tests for Get/SetRemoteAddress.
Signed-off-by: Owen Rudge <orudge@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-06-26 09:32:04 +02:00
Owen Rudge f21d3836a2 wsdapi/tests: Add tests for Get/SetLocalAddress.
Signed-off-by: Owen Rudge <orudge@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-06-26 09:32:01 +02:00
Owen Rudge d0abe77273 wsdapi/tests: Add tests for CreateUdpMessageParameters.
Signed-off-by: Owen Rudge <orudge@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-06-26 09:31:57 +02:00
Owen Rudge 240c703896 wsdapi: Add stub implementation of IWSDUdpMessageParameters and WSDCreateUdpMessageParameters.
Signed-off-by: Owen Rudge <orudge@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-06-26 09:31:45 +02:00
Marcus Meissner f4e2a10973 wsdapi: Fixed memory leak in error path (Coverity).
Signed-off-by: Marcus Meissner <marcus@jet.franken.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-06-20 10:39:23 +02:00
Francois Gouget d65f7c79d8 wsdapi: Add a trailing '\n' to a TRACE() message.
Signed-off-by: Francois Gouget <fgouget@free.fr>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-06-05 13:11:49 +02:00
Owen Rudge 5b57a6a52f wsdapi/tests: Add tests for Get/SetSockaddr.
Signed-off-by: Owen Rudge <orudge@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-06-05 11:28:51 +02:00
Owen Rudge 5296883121 wsdapi/tests: Add tests for Get/SetMessageType.
Signed-off-by: Owen Rudge <orudge@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-06-05 11:28:38 +02:00
Owen Rudge d0291c2726 wsdapi/tests: Add tests for Get/SetPort.
Signed-off-by: Owen Rudge <orudge@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-06-05 11:28:32 +02:00
Owen Rudge a4ee1b2675 wsdapi/tests: Add tests for Get/SetTransportAddress.
Signed-off-by: Owen Rudge <orudge@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-06-05 11:28:21 +02:00
Owen Rudge 30b3563373 wsdapi/tests: Add WSDCreateUdpAddress tests.
Signed-off-by: Owen Rudge <orudge@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-06-05 11:27:24 +02:00
Owen Rudge ac38f7fd93 wsdapi: Add stub implementation of IWSDUdpAddress.
Signed-off-by: Owen Rudge <orudge@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-06-02 13:37:48 +02:00
Owen Rudge 9c9180f606 wsdapi: Create default XML context in WSDCreateDiscoveryPublisher if required.
Signed-off-by: Owen Rudge <orudge@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-06-02 13:37:47 +02:00
Owen Rudge 9bf2f6b2af wsdapi: Implement AddNameToNamespace.
Signed-off-by: Owen Rudge <orudge@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-06-02 13:37:47 +02:00
Owen Rudge bf20953260 wsdapi: Implement AddNamespace.
Signed-off-by: Owen Rudge <orudge@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-06-02 13:37:47 +02:00
André Hentschel d50b3b3e5b wsdapi: Fix WSDXMLBuildAnyForSingleElement spec file entry.
Signed-off-by: André Hentschel <nerv@dawncrow.de>
Signed-off-by: Owen Rudge <orudge@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-05-26 08:05:41 +02:00
Alexandre Julliard 0ad76226cc wsdapi/tests: Remove tests that use uninitialized variables.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-05-19 20:26:34 +02:00
Owen Rudge 8951c03e8e wsdapi/tests: Add tests for IWSDXMLContext_AddNameToNamespace.
Signed-off-by: Owen Rudge <orudge@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-05-19 19:11:21 +02:00
Owen Rudge a34ec80c75 wsdapi/tests: Add tests for IWSDXMLContext_AddNamespace.
Signed-off-by: Owen Rudge <orudge@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-05-19 19:11:01 +02:00
Owen Rudge f4d3dd2cd6 wsdapi: Add initial implementation of IWSDXMLContext and WSDXMLCreateContext.
Signed-off-by: Owen Rudge <orudge@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-05-19 19:09:19 +02:00
Owen Rudge e90aaaabe6 wsdapi/tests: Add tests for WSDXMLAddSibling.
Signed-off-by: Owen Rudge <orudge@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-05-08 16:25:54 -05:00
Owen Rudge 19241ca6f7 wsdapi/tests: Add tests for WSDXMLAddChild.
Signed-off-by: Owen Rudge <orudge@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-05-08 16:25:53 -05:00
Owen Rudge 9445f681b7 wsdapi/tests: Add tests for WSDXMLBuildAnyForSingleElement.
Signed-off-by: Owen Rudge <orudge@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-05-08 16:25:53 -05:00
Owen Rudge e47e132d1b wsdapi: Implement WSDXMLAddChild, Sibling, BuildAnyForSingleElement, CleanupElement.
Signed-off-by: Owen Rudge <orudge@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-05-08 16:25:52 -05:00
Owen Rudge e8f37c7a50 wsdapi: Implement WSD LinkedMemory functions.
Signed-off-by: Owen Rudge <orudge@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-05-04 16:20:51 +02:00
Owen Rudge b57c881fb3 wsdapi/tests: Add tests for Register/UnRegisterNotificationSink.
Signed-off-by: Owen Rudge <orudge@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-04-20 09:53:03 +02:00
Owen Rudge 44048e06ba wsdapi: Implement RegisterNotificationSink and UnRegisterNotificationSink.
Signed-off-by: Owen Rudge <orudge@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-04-20 09:52:56 +02:00
Owen Rudge 85f993ed93 wsdapi/tests: Add initial tests for WSDCreateDiscoveryPublisher.
Signed-off-by: Owen Rudge <orudge@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-04-12 09:47:43 +02:00
Owen Rudge f227d9c7a7 wsdapi: Add implementation of SetAddressFamily.
Signed-off-by: Owen Rudge <orudge@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-04-10 22:00:43 +02:00
Owen Rudge ab326fe56f wsdapi: Add stub implementation of IWSDiscoveryPublisher.
Signed-off-by: Owen Rudge <orudge@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-04-10 22:00:42 +02:00
Owen Rudge 4a3bb0acc5 wsdapi: Add stub DLL.
Signed-off-by: Owen Rudge <orudge@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-04-03 12:09:42 +02:00