msxml3/tests: Fix a couple of test failure when msxml4 is actually present.
This commit is contained in:
parent
6e2de14df1
commit
fa21e6dd7c
|
@ -9807,6 +9807,8 @@ static void test_mxnamespacemanager(void)
|
||||||
EXPECT_REF(mgr2, 2);
|
EXPECT_REF(mgr2, 2);
|
||||||
prefixes = NULL;
|
prefixes = NULL;
|
||||||
hr = IVBMXNamespaceManager_getDeclaredPrefixes(mgr2, &prefixes);
|
hr = IVBMXNamespaceManager_getDeclaredPrefixes(mgr2, &prefixes);
|
||||||
|
todo_wine
|
||||||
|
ok(hr == S_OK, "got 0x%08x\n", hr);
|
||||||
if (hr == S_OK)
|
if (hr == S_OK)
|
||||||
{
|
{
|
||||||
IDispatchEx *dispex;
|
IDispatchEx *dispex;
|
||||||
|
@ -9841,8 +9843,9 @@ static void test_mxnamespacemanager(void)
|
||||||
V_DISPATCH(&ret) = (void*)0x1;
|
V_DISPATCH(&ret) = (void*)0x1;
|
||||||
hr = IDispatchEx_Invoke(dispex, DISPID_VALUE, &IID_NULL, 0, DISPATCH_METHOD, &dispparams, &ret, NULL, NULL);
|
hr = IDispatchEx_Invoke(dispex, DISPID_VALUE, &IID_NULL, 0, DISPATCH_METHOD, &dispparams, &ret, NULL, NULL);
|
||||||
ok(hr == S_OK, "got 0x%08x\n", hr);
|
ok(hr == S_OK, "got 0x%08x\n", hr);
|
||||||
ok(V_VT(&ret) == VT_DISPATCH, "got %d\n", V_VT(&ret));
|
ok(V_VT(&ret) == VT_BSTR, "got %d\n", V_VT(&ret));
|
||||||
ok(V_DISPATCH(&ret) == NULL, "got %p\n", V_DISPATCH(&ret));
|
ok(V_BSTR(&ret) != NULL, "got %p\n", V_BSTR(&ret));
|
||||||
|
VariantClear(&ret);
|
||||||
|
|
||||||
IDispatchEx_Release(dispex);
|
IDispatchEx_Release(dispex);
|
||||||
IMXNamespacePrefixes_Release(prefixes);
|
IMXNamespacePrefixes_Release(prefixes);
|
||||||
|
|
Loading…
Reference in New Issue