From 9cd2c02fb760c5bc18f04575f91f28952a1cf16e Mon Sep 17 00:00:00 2001 From: Li Zhenbo Date: Sun, 9 Mar 2014 17:25:39 +0800 Subject: [PATCH 10/10] mshtml/tests: Added IHTMLTableRow::get_sectionRowIndex tests. --- dlls/mshtml/tests/dom.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/dlls/mshtml/tests/dom.c b/dlls/mshtml/tests/dom.c index 4566df7..895edd0 100644 --- a/dlls/mshtml/tests/dom.c +++ b/dlls/mshtml/tests/dom.c @@ -5623,6 +5623,11 @@ static void test_tr_elem(IHTMLElement *elem) ok(hres == S_OK, "get_rowIndex failed: %08x\n", hres); ok(lval == 1, "get_rowIndex returned %d\n", lval); + lval = 0xdeadbeef; + hres = IHTMLTableRow_get_sectionRowIndex(row, &lval); + ok(hres == S_OK, "get_sectionRowIndex failed: %08x\n", hres); + ok(lval == 1, "get_sectionRowIndex returned %d\n", lval); + IHTMLTableRow_Release(row); } -- 1.8.3.1