mshtml/tests: Actually test the return of IHTMLTable_get_width().
This commit is contained in:
parent
39f1184ee1
commit
0cce9200d9
|
@ -6823,7 +6823,7 @@ static void test_table_elem(IHTMLElement *elem)
|
|||
hres = IHTMLTable_put_width(table, v);
|
||||
ok(hres == S_OK, "put_width = %08x\n", hres);
|
||||
VariantClear(&v);
|
||||
IHTMLTable_get_width(table, &v);
|
||||
hres = IHTMLTable_get_width(table, &v);
|
||||
ok(hres == S_OK, "get_width = %08x\n", hres);
|
||||
ok(!strcmp_wa(V_BSTR(&v), "11"), "Expected 11, got %s\n", wine_dbgstr_w(V_BSTR(&v)));
|
||||
VariantClear(&v);
|
||||
|
@ -6833,7 +6833,7 @@ static void test_table_elem(IHTMLElement *elem)
|
|||
hres = IHTMLTable_put_width(table, v);
|
||||
ok(hres == S_OK, "put_width = %08x\n", hres);
|
||||
VariantClear(&v);
|
||||
IHTMLTable_get_width(table, &v);
|
||||
hres = IHTMLTable_get_width(table, &v);
|
||||
ok(hres == S_OK, "get_width = %08x\n", hres);
|
||||
ok(!strcmp_wa(V_BSTR(&v), "11"), "Expected 11, got %s\n", wine_dbgstr_w(V_BSTR(&v)));
|
||||
VariantClear(&v);
|
||||
|
@ -6843,7 +6843,7 @@ static void test_table_elem(IHTMLElement *elem)
|
|||
hres = IHTMLTable_put_width(table, v);
|
||||
ok(hres == S_OK, "put_width = %08x\n", hres);
|
||||
VariantClear(&v);
|
||||
IHTMLTable_get_width(table, &v);
|
||||
hres = IHTMLTable_get_width(table, &v);
|
||||
ok(hres == S_OK, "get_width = %08x\n", hres);
|
||||
ok(!strcmp_wa(V_BSTR(&v), "40.2%"), "Expected 40.2%%, got %s\n", wine_dbgstr_w(V_BSTR(&v)));
|
||||
VariantClear(&v);
|
||||
|
@ -6852,7 +6852,7 @@ static void test_table_elem(IHTMLElement *elem)
|
|||
V_I4(&v) = 11;
|
||||
hres = IHTMLTable_put_width(table, v);
|
||||
ok(hres == S_OK, "put_width = %08x\n", hres);
|
||||
IHTMLTable_get_width(table, &v);
|
||||
hres = IHTMLTable_get_width(table, &v);
|
||||
ok(hres == S_OK, "get_width = %08x\n", hres);
|
||||
ok(!strcmp_wa(V_BSTR(&v), "11"), "Expected 11, got %s\n", wine_dbgstr_w(V_BSTR(&v)));
|
||||
VariantClear(&v);
|
||||
|
@ -6861,7 +6861,7 @@ static void test_table_elem(IHTMLElement *elem)
|
|||
V_R8(&v) = 11.9;
|
||||
hres = IHTMLTable_put_width(table, v);
|
||||
ok(hres == S_OK, "put_width = %08x\n", hres);
|
||||
IHTMLTable_get_width(table, &v);
|
||||
hres = IHTMLTable_get_width(table, &v);
|
||||
ok(hres == S_OK, "get_width = %08x\n", hres);
|
||||
ok(!strcmp_wa(V_BSTR(&v), "11"), "Expected 11, got %s\n", wine_dbgstr_w(V_BSTR(&v)));
|
||||
VariantClear(&v);
|
||||
|
|
Loading…
Reference in New Issue