Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
0cce9200
Commit
0cce9200
authored
Mar 25, 2015
by
Michael Stefaniuc
Committed by
Alexandre Julliard
Mar 25, 2015
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mshtml/tests: Actually test the return of IHTMLTable_get_width().
parent
39f1184e
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
dom.c
dlls/mshtml/tests/dom.c
+5
-5
No files found.
dlls/mshtml/tests/dom.c
View file @
0cce9200
...
...
@@ -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
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment