mirror of
git://source.winehq.org/git/wine.git
synced 2024-11-05 18:01:34 +00:00
msxml3/tests: Fix failure messages.
This commit is contained in:
parent
428eb3e87c
commit
2dcf0b5872
1 changed files with 4 additions and 4 deletions
|
@ -13765,12 +13765,12 @@ static void test_namespaces_as_attributes(void)
|
|||
hr = IXMLDOMNode_get_prefix(item, &str);
|
||||
if (test->prefixes[i])
|
||||
{
|
||||
ok(hr == S_OK, "Failed to get node name, hr %#lx.\n", hr);
|
||||
ok(hr == S_OK, "Failed to get prefix, hr %#lx.\n", hr);
|
||||
ok(!lstrcmpW(str, _bstr_(test->prefixes[i])), "got %s\n", wine_dbgstr_w(str));
|
||||
SysFreeString(str);
|
||||
}
|
||||
else
|
||||
ok(hr == S_FALSE, "Failed to get node name, hr %#lx.\n", hr);
|
||||
ok(hr == S_FALSE, "Unexpected hr %#lx.\n", hr );
|
||||
|
||||
str = NULL;
|
||||
hr = IXMLDOMNode_get_baseName(item, &str);
|
||||
|
@ -13782,7 +13782,7 @@ static void test_namespaces_as_attributes(void)
|
|||
hr = IXMLDOMNode_get_namespaceURI(item, &str);
|
||||
if (test->uris[i])
|
||||
{
|
||||
ok(hr == S_OK, "Failed to get node name, hr %#lx.\n", hr);
|
||||
ok(hr == S_OK, "Failed to get namespace URI, hr %#lx.\n", hr);
|
||||
if (test->prefixes[i] && !strcmp(test->prefixes[i], "xmlns"))
|
||||
ok(!lstrcmpW(str, _bstr_(entry->xmlns_uri)), "got %s\n", wine_dbgstr_w(str));
|
||||
else
|
||||
|
@ -13790,7 +13790,7 @@ static void test_namespaces_as_attributes(void)
|
|||
SysFreeString(str);
|
||||
}
|
||||
else
|
||||
ok(hr == S_FALSE, "Failed to get node name, hr %#lx.\n", hr);
|
||||
ok(hr == S_FALSE, "Unexpected hr %#lx.\n", hr );
|
||||
|
||||
str = NULL;
|
||||
hr = IXMLDOMNode_get_text(item, &str);
|
||||
|
|
Loading…
Reference in a new issue