mshtml/tests: Check the correct variables.

This commit is contained in:
Michael Stefaniuc 2012-05-22 11:37:38 +02:00 committed by Alexandre Julliard
parent 7446af76f4
commit 6034d9dc68
2 changed files with 3 additions and 3 deletions

View File

@ -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;

View File

@ -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);
}