mshtml/tests: Check the correct variables.
This commit is contained in:
parent
7446af76f4
commit
6034d9dc68
|
@ -4414,7 +4414,7 @@ static void test_default_body(IHTMLBodyElement *body)
|
|||
hres = IHTMLBodyElement_get_text(body, &v);
|
||||
ok(hres == S_OK, "expect S_OK got 0x%08d\n", hres);
|
||||
ok(V_VT(&v) == VT_BSTR, "Expected VT_BSTR got %d\n", V_VT(&v));
|
||||
ok(bstr == NULL, "bstr != NULL\n");
|
||||
ok(V_BSTR(&v) == NULL, "bstr != NULL\n");
|
||||
|
||||
/* get_text - Invalid Text */
|
||||
V_VT(&v) = VT_BSTR;
|
||||
|
|
|
@ -2161,8 +2161,8 @@ static HRESULT WINAPI DocumentSite_ActivateMe(IOleDocumentSite *iface, IOleDocum
|
|||
ok(hres == S_OK, "Could not get IOleInPlaceActiveObject: %08x\n", hres);
|
||||
|
||||
if(activeobj) {
|
||||
IOleInPlaceActiveObject_GetWindow(activeobj, &hwnd);
|
||||
ok(hres == S_OK, "GetWindow failed: %08x\n", hres);
|
||||
hres = IOleInPlaceActiveObject_GetWindow(activeobj, &hwnd);
|
||||
ok(hres == E_FAIL, "GetWindow returned %08x, expected E_FAIL\n", hres);
|
||||
ok(hwnd == NULL, "hwnd=%p, expected NULL\n", hwnd);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue