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
2c1ce1a0
Commit
2c1ce1a0
authored
Feb 15, 2017
by
Hans Leidekker
Committed by
Alexandre Julliard
Feb 15, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
webservices/tests: Add more tests for WsReadEnvelopeStart.
Signed-off-by:
Hans Leidekker
<
hans@codeweavers.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
a0ea3bd7
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
19 additions
and
0 deletions
+19
-0
msg.c
dlls/webservices/tests/msg.c
+19
-0
No files found.
dlls/webservices/tests/msg.c
View file @
2c1ce1a0
...
...
@@ -912,6 +912,7 @@ static void test_WsReadEnvelopeStart(void)
WS_MESSAGE
*
msg
,
*
msg2
;
WS_XML_READER
*
reader
;
WS_MESSAGE_STATE
state
;
const
WS_XML_NODE
*
node
;
HRESULT
hr
;
hr
=
WsReadEnvelopeStart
(
NULL
,
NULL
,
NULL
,
NULL
,
NULL
);
...
...
@@ -946,6 +947,24 @@ static void test_WsReadEnvelopeStart(void)
ok
(
hr
==
S_OK
,
"got %08x
\n
"
,
hr
);
ok
(
state
==
WS_MESSAGE_STATE_READING
,
"got %u
\n
"
,
state
);
hr
=
WsGetReaderNode
(
reader
,
&
node
,
NULL
);
ok
(
hr
==
S_OK
,
"got %08x
\n
"
,
hr
);
ok
(
node
->
nodeType
==
WS_XML_NODE_TYPE_END_ELEMENT
,
"got %u
\n
"
,
node
->
nodeType
);
hr
=
WsReadEndElement
(
reader
,
NULL
);
ok
(
hr
==
S_OK
,
"got %08x
\n
"
,
hr
);
hr
=
WsGetReaderNode
(
reader
,
&
node
,
NULL
);
ok
(
hr
==
S_OK
,
"got %08x
\n
"
,
hr
);
ok
(
node
->
nodeType
==
WS_XML_NODE_TYPE_END_ELEMENT
,
"got %u
\n
"
,
node
->
nodeType
);
hr
=
WsReadEndElement
(
reader
,
NULL
);
ok
(
hr
==
S_OK
,
"got %08x
\n
"
,
hr
);
hr
=
WsGetReaderNode
(
reader
,
&
node
,
NULL
);
ok
(
hr
==
S_OK
,
"got %08x
\n
"
,
hr
);
ok
(
node
->
nodeType
==
WS_XML_NODE_TYPE_EOF
,
"got %u
\n
"
,
node
->
nodeType
);
WsFreeMessage
(
msg
);
WsFreeMessage
(
msg2
);
WsFreeReader
(
reader
);
...
...
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