[PATCH 2/2] wsdapi/tests: Add test for Publish
Owen Rudge
orudge at codeweavers.com
Mon Feb 19 16:30:39 CST 2018
Initial test for the IWSDiscoveryPublisher::Publish function. Further
tests will follow when this is committed.
Due to the nature of the test, this patch includes a fair bit of code
that will also be used by the Wine implementation of this function
(mainly the functions join_multicast_group, set_send_interface,
resolve_address, and with some minor modifications start_listening and
start_listening_on_all_addresses). Would it be acceptable to store this
common code in a header (or .c) file in the top-level wsdapi directory
and #include "../network_common.h" from the tests to avoid duplication,
or is the approach I've taken in this patch of duplicating the code best?
Signed-off-by: Owen Rudge <orudge at codeweavers.com>
---
dlls/wsdapi/tests/Makefile.in | 2 +-
dlls/wsdapi/tests/discovery.c | 358
+++++++++++++++++++++++++++++++++++++++++-
2 files changed, 357 insertions(+), 3 deletions(-)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0002-wsdapi-tests-Add-test-for-Publish.patch
Type: text/x-patch
Size: 14530 bytes
Desc: not available
URL: <http://www.winehq.org/pipermail/wine-devel/attachments/20180219/495db3a3/attachment.bin>
More information about the wine-devel
mailing list