Sven Baars
f3c8eb386f
wsdapi/tests: Fix a memory leak (Valgrind).
...
Signed-off-by: Sven Baars <sven.wine@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-12-24 14:55:38 +01:00
Owen Rudge
ed3670eef0
wsdapi: Send Probe Matches message via UDP unicast.
...
Signed-off-by: Owen Rudge <orudge@codeweavers.com>
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-09-20 12:33:28 +02:00
Owen Rudge
0ed2af4f12
wsdapi: Implement generation of ProbeMatches message.
...
Signed-off-by: Owen Rudge <orudge@codeweavers.com>
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-09-20 12:33:26 +02:00
Francois Gouget
ad54573351
wsdapi/tests: Avoid calls to malloc() and free().
...
Signed-off-by: Francois Gouget <fgouget@free.fr>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-08-23 20:01:56 +02:00
Owen Rudge
718c34b0d4
wsdapi/tests: Add tests for MatchProbeEx.
...
Signed-off-by: Owen Rudge <orudge@codeweavers.com>
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-06-22 12:45:18 +02:00
Owen Rudge
297570894b
wsdapi/tests: Add tests for AppSequence in Probe message.
...
Signed-off-by: Owen Rudge <orudge@codeweavers.com>
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-06-19 20:51:35 +02:00
Owen Rudge
c6a2afc8b2
wsdapi: Build types list when parsing Probe message.
...
Signed-off-by: Owen Rudge <orudge@codeweavers.com>
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-06-14 09:53:38 +02:00
Owen Rudge
767eeb7078
wsdapi: Implement probe message parsing.
...
Signed-off-by: Owen Rudge <orudge@codeweavers.com>
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-06-14 09:53:36 +02:00
Owen Rudge
098a99fc41
wsdapi: Return "any" headers in read_message.
...
Signed-off-by: Owen Rudge <orudge@codeweavers.com>
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-06-14 09:53:33 +02:00
Owen Rudge
254203a45e
wsdapi: Add initial support for reading messages; identify Probe message.
...
Signed-off-by: Owen Rudge <orudge@codeweavers.com>
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-06-14 09:53:31 +02:00
Francois Gouget
50ca2aa786
wsdapi/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>
2018-06-01 19:43:11 +02:00
Owen Rudge
e207300b44
wsdapi/tests: Expand ProbeHandler tests.
...
Signed-off-by: Owen Rudge <orudge@codeweavers.com>
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-05-30 22:26:49 +02:00
Owen Rudge
5cefe40f54
wsdapi/tests: Ensure probe message is given unique GUID.
...
This patch fixes a potential issue on the Wine test VMs where messages
can be received by other VMs before they are ready to process them.
wsdapi.dll then filters out the subsequent duplicate messages from the
correct VM and the test fails. Avoid this by not using a hard-coded GUID.
Signed-off-by: Owen Rudge <orudge@codeweavers.com>
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-05-30 22:26:49 +02:00
Owen Rudge
a055b68fcf
wsdapi/tests: Add initial test for receiving probe messages.
...
Signed-off-by: Owen Rudge <orudge@codeweavers.com>
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-05-10 18:17:29 +02:00
Owen Rudge
a910526907
wsdapi/tests: Add tests for UnPublish.
...
Signed-off-by: Owen Rudge <orudge@codeweavers.com>
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-04-27 10:24:26 +02:00
Owen Rudge
7b6b34d0c9
wsdapi: Add support for sending reference parameters in the Hello message.
...
Signed-off-by: Owen Rudge <orudge@codeweavers.com>
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-04-26 11:55:04 +02:00
Owen Rudge
d11a18383b
wsdapi: Add MetadataVersion to Hello message.
...
Signed-off-by: Owen Rudge <orudge@codeweavers.com>
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-04-24 10:32:30 +02:00
Owen Rudge
6b8e853e94
wsdapi/tests: Add tests for Scopes and XAddrs lists.
...
Signed-off-by: Owen Rudge <orudge@codeweavers.com>
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-04-24 10:32:28 +02:00
Owen Rudge
03c7cae0c6
wsdapi/tests: Add tests for Types list.
...
Signed-off-by: Owen Rudge <orudge@codeweavers.com>
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-04-24 10:32:23 +02:00
Owen Rudge
e7a5fc50dc
wsdapi/tests: Add test for endpoint reference "any" parameter.
...
Signed-off-by: Owen Rudge <orudge@codeweavers.com>
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-04-24 10:32:19 +02:00
Owen Rudge
7a04404797
wsdapi: Write EndPointReference section in Hello message body.
...
Signed-off-by: Owen Rudge <orudge@codeweavers.com>
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-04-24 10:32:12 +02:00
Owen Rudge
74fe8303fb
wsdapi/tests: Add test for Hello message Any body element.
...
Signed-off-by: Owen Rudge <orudge@codeweavers.com>
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-04-19 12:51:21 +02:00
Owen Rudge
86515b390e
wsdapi: Create Body and Hello elements in Hello message.
...
Signed-off-by: Owen Rudge <orudge@codeweavers.com>
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-04-19 12:51:21 +02:00
Owen Rudge
21fe96a820
wsdapi: Add support for custom elements in SOAP header.
...
Signed-off-by: Owen Rudge <orudge@codeweavers.com>
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-04-10 11:14:49 +02:00
Owen Rudge
9c7d128020
wsdapi/tests: Add test for Hello message Any header element.
...
Signed-off-by: Owen Rudge <orudge@codeweavers.com>
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-04-03 18:22:36 +02:00
Michael Stefaniuc
c15bbce2e5
wsdapi/tests: Remove redundant NULL checks before heap_free().
...
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-04-02 12:28:12 +02:00
Owen Rudge
dead047bdb
wsdapi: Add SequenceId to SOAP header, add test.
...
Signed-off-by: Owen Rudge <orudge@codeweavers.com>
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-03-28 19:37:27 +02:00
Owen Rudge
5df08c9de4
wsdapi: Add InstanceId and MessageNumber to SOAP header.
...
Signed-off-by: Owen Rudge <orudge@codeweavers.com>
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-03-28 19:37:27 +02:00
Owen Rudge
14466ec6c2
wsdapi/tests: Add tests for EndpointReference, AppSequence, MetadataVersion in Hello message.
...
Signed-off-by: Owen Rudge <orudge@codeweavers.com>
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-03-28 19:37:27 +02:00
Owen Rudge
402fce1579
wsdapi: Store discovered namespaces and write xmlns attributes for them.
...
Signed-off-by: Owen Rudge <orudge@codeweavers.com>
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-03-20 11:39:28 +01:00
Owen Rudge
09612dd54d
wsdapi: Add support for sending messages via UDP multicast.
...
Signed-off-by: Owen Rudge <orudge@codeweavers.com>
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-03-20 11:39:03 +01:00
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
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
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
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
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