Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
1fdbc87e
Commit
1fdbc87e
authored
May 07, 2010
by
Jacek Caban
Committed by
Alexandre Julliard
May 07, 2010
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mshtml: Added IHTMLInputElement::get_type tests.
parent
09bdb5fb
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
0 deletions
+13
-0
dom.c
dlls/mshtml/tests/dom.c
+13
-0
No files found.
dlls/mshtml/tests/dom.c
View file @
1fdbc87e
...
...
@@ -2033,6 +2033,18 @@ static void _test_img_name(unsigned line, IUnknown *unk, const char *pValue)
}
#define test_input_type(i,t) _test_input_type(__LINE__,i,t)
static
void
_test_input_type
(
unsigned
line
,
IHTMLInputElement
*
input
,
const
char
*
extype
)
{
BSTR
type
;
HRESULT
hres
;
hres
=
IHTMLInputElement_get_type
(
input
,
&
type
);
ok_
(
__FILE__
,
line
)
(
hres
==
S_OK
,
"get_type failed: %08x
\n
"
,
hres
);
ok_
(
__FILE__
,
line
)
(
!
strcmp_wa
(
type
,
extype
),
"type=%s, expected %s
\n
"
,
wine_dbgstr_w
(
type
),
extype
);
SysFreeString
(
type
);
}
#define test_input_get_disabled(i,b) _test_input_get_disabled(__LINE__,i,b)
static
void
_test_input_get_disabled
(
unsigned
line
,
IHTMLInputElement
*
input
,
VARIANT_BOOL
exb
)
{
...
...
@@ -5701,6 +5713,7 @@ static void test_elems(IHTMLDocument2 *doc)
test_elem3_set_disabled
((
IUnknown
*
)
input
,
VARIANT_FALSE
);
test_input_get_disabled
(
input
,
VARIANT_FALSE
);
test_elem_client_size
((
IUnknown
*
)
elem
);
test_input_type
(
input
,
"text"
);
test_node_get_value_str
((
IUnknown
*
)
elem
,
NULL
);
test_node_put_value_str
((
IUnknown
*
)
elem
,
"test"
);
...
...
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