wsdapi/tests: Remove tests that use uninitialized variables.

Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Alexandre Julliard 2017-05-19 20:26:12 +02:00
parent 8951c03e8e
commit 0ad76226cc

View file

@ -117,12 +117,6 @@ static void AddChild_tests(void)
hr = WSDXMLAddChild(NULL, NULL);
ok(hr == E_INVALIDARG, "WSDXMLAddChild failed with %08x\n", hr);
hr = WSDXMLAddChild(parent, NULL);
ok(hr == E_INVALIDARG, "WSDXMLAddChild failed with %08x\n", hr);
hr = WSDXMLAddChild(NULL, child1);
ok(hr == E_INVALIDARG, "WSDXMLAddChild failed with %08x\n", hr);
/* Populate structures */
ns.Uri = uri;
ns.PreferredPrefix = prefix;
@ -208,12 +202,6 @@ static void AddSibling_tests(void)
hr = WSDXMLAddSibling(NULL, NULL);
ok(hr == E_INVALIDARG, "WSDXMLAddSibling failed with %08x\n", hr);
hr = WSDXMLAddSibling(child1, NULL);
ok(hr == E_INVALIDARG, "WSDXMLAddSibling failed with %08x\n", hr);
hr = WSDXMLAddSibling(NULL, child2);
ok(hr == E_INVALIDARG, "WSDXMLAddSibling failed with %08x\n", hr);
/* Populate structures */
ns.Uri = uri;
ns.PreferredPrefix = prefix;