From 8ca22b63ea10c7ee25f96bcdbc3236619dd11ef8 Mon Sep 17 00:00:00 2001 From: Li Zhenbo Date: Sun, 9 Mar 2014 17:09:33 +0800 Subject: [PATCH 06/10] mshtml/tests: Added IHTMLTableRow::vAlign tests. --- dlls/mshtml/tests/dom.c | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/dlls/mshtml/tests/dom.c b/dlls/mshtml/tests/dom.c index 2da1761..1aa8273 100644 --- a/dlls/mshtml/tests/dom.c +++ b/dlls/mshtml/tests/dom.c @@ -5605,6 +5605,18 @@ static void test_tr_elem(IHTMLElement *elem) ok(!strcmp_wa(bstr, "left"), "get_align returned %s\n", wine_dbgstr_w(bstr)); SysFreeString(bstr); + bstr = a2bstr("top"); + hres = IHTMLTableRow_put_vAlign(row, bstr); + ok(hres == S_OK, "set_valign failed: %08x\n", hres); + SysFreeString(bstr); + + bstr = NULL; + hres = IHTMLTableRow_get_vAlign(row, &bstr); + ok(hres == S_OK, "get_valign failed: %08x\n", hres); + ok(bstr != NULL, "get_valign returned NULL\n"); + ok(!strcmp_wa(bstr, "top"), "get_valign returned %s\n", wine_dbgstr_w(bstr)); + SysFreeString(bstr); + IHTMLTableRow_Release(row); } -- 1.8.3.1