Jacek Caban : mshtml: Added get_body test.

Alexandre Julliard julliard at winehq.org
Mon Sep 17 07:59:48 CDT 2007


Module: wine
Branch: master
Commit: d17a1afe8b830a3932d551da1b1cccb80a69ad78
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=d17a1afe8b830a3932d551da1b1cccb80a69ad78

Author: Jacek Caban <jacek at codeweavers.com>
Date:   Sat Sep 15 16:06:10 2007 +0200

mshtml: Added get_body test.

---

 dlls/mshtml/tests/dom.c |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/dlls/mshtml/tests/dom.c b/dlls/mshtml/tests/dom.c
index a264d72..3deac31 100644
--- a/dlls/mshtml/tests/dom.c
+++ b/dlls/mshtml/tests/dom.c
@@ -96,7 +96,10 @@ static void test_doc_elem(IHTMLDocument2 *doc)
     ok(hres == S_OK, "get_documentElement failed: %08x\n", hres);
 
     test_node_name((IUnknown*)elem, "HTML");
+    IHTMLElement_Release(elem);
 
+    hres = IHTMLDocument2_get_body(doc, &elem);
+    test_node_name((IUnknown*)elem, "BODY");
     IHTMLElement_Release(elem);
 }
 




More information about the wine-cvs mailing list