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
2c9633f6
Commit
2c9633f6
authored
Jan 27, 2010
by
Nikolay Sivov
Committed by
Alexandre Julliard
Jan 27, 2010
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
xmllite/tests: Fix a typo in macro.
parent
0d770c96
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
+6
-6
reader.c
dlls/xmllite/tests/reader.c
+6
-6
No files found.
dlls/xmllite/tests/reader.c
View file @
2c9633f6
...
...
@@ -249,7 +249,7 @@ static void test_read_state_(IXmlReader *reader, XmlReadState expected,
state_to_str
(
expected
),
state_to_str
(
state
));
}
#define test_read_sate(reader, exp, brk, todo) test_read_state_(reader, exp, brk, todo, __LINE__)
#define test_read_s
t
ate(reader, exp, brk, todo) test_read_state_(reader, exp, brk, todo, __LINE__)
typedef
struct
_testinput
{
...
...
@@ -355,13 +355,13 @@ static void test_reader_create(void)
hr
=
pCreateXmlReader
(
&
IID_IXmlReader
,
(
LPVOID
*
)
&
reader
,
NULL
);
ok
(
hr
==
S_OK
,
"Expected S_OK, got %08x
\n
"
,
hr
);
test_read_sate
(
reader
,
XmlReadState_Closed
,
-
1
,
FALSE
);
test_read_s
t
ate
(
reader
,
XmlReadState_Closed
,
-
1
,
FALSE
);
/* Null input pointer, releases previous input */
hr
=
IXmlReader_SetInput
(
reader
,
NULL
);
ok
(
hr
==
S_OK
,
"Expected S_OK, got %08x
\n
"
,
hr
);
test_read_sate
(
reader
,
XmlReadState_Initial
,
XmlReadState_Closed
,
FALSE
);
test_read_s
t
ate
(
reader
,
XmlReadState_Initial
,
XmlReadState_Closed
,
FALSE
);
/* test input interface selection sequence */
hr
=
testinput_createinstance
((
void
**
)
&
input
);
...
...
@@ -416,7 +416,7 @@ static void test_readerinput(void)
hr
=
IXmlReader_SetInput
(
reader
,
reader_input
);
ok
(
hr
==
S_OK
,
"Expected S_OK, got %08x
\n
"
,
hr
);
test_read_sate
(
reader
,
XmlReadState_Initial
,
-
1
,
FALSE
);
test_read_s
t
ate
(
reader
,
XmlReadState_Initial
,
-
1
,
FALSE
);
/* IXmlReader grabs a IXmlReaderInput reference */
ref
=
IUnknown_AddRef
(
reader_input
);
...
...
@@ -431,7 +431,7 @@ static void test_readerinput(void)
hr
=
IXmlReader_SetInput
(
reader
,
NULL
);
ok
(
hr
==
S_OK
,
"Expected S_OK, got %08x
\n
"
,
hr
);
test_read_sate
(
reader
,
XmlReadState_Initial
,
XmlReadState_Closed
,
FALSE
);
test_read_s
t
ate
(
reader
,
XmlReadState_Initial
,
XmlReadState_Closed
,
FALSE
);
IXmlReader_Release
(
reader
);
...
...
@@ -488,7 +488,7 @@ static void test_readerinput(void)
ok
(
hr
==
E_NOINTERFACE
,
"Expected E_NOINTERFACE, got %08x
\n
"
,
hr
);
ok_iids
(
&
input_iids
,
setinput_readerinput
,
NULL
,
FALSE
);
test_read_sate
(
reader
,
XmlReadState_Closed
,
-
1
,
FALSE
);
test_read_s
t
ate
(
reader
,
XmlReadState_Closed
,
-
1
,
FALSE
);
ref
=
IUnknown_AddRef
(
input
);
ok
(
ref
==
3
,
"Expected 3, got %d
\n
"
,
ref
);
...
...
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