msxml3/tests: Actually test the return values (PVS-Studio).

This commit is contained in:
Michael Stefaniuc 2015-01-19 12:58:11 +01:00 committed by Alexandre Julliard
parent fe61400088
commit 1caf6286f0
2 changed files with 2 additions and 0 deletions

View File

@ -11085,6 +11085,7 @@ static void test_xmlns_attribute(void)
V_VT(&v) = VT_BSTR;
V_BSTR(&v) = _bstr_("urn:schemas-microsoft-com:datatypes");
hr = IXMLDOMAttribute_put_nodeValue(pAttribute, v);
ok(hr == S_OK, "ret %08x\n", hr );
hr = IXMLDOMElement_setAttributeNode(root, pAttribute, NULL);
ok(hr == S_OK, "ret %08x\n", hr );

View File

@ -1292,6 +1292,7 @@ static void test_XDR_datatypes(void)
VariantClear(&type);
hr = IXMLDOMNode_get_nodeTypedValue(node, &type);
EXPECT_HR(hr, S_OK);
ok(V_VT(&type) == VT_BSTR, "got variant type %i\n", V_VT(&v));
VariantClear(&type);
IXMLDOMNode_Release(node);