msxml3/tests: Actually test the return values (PVS-Studio).
This commit is contained in:
parent
fe61400088
commit
1caf6286f0
|
@ -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 );
|
||||
|
|
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue