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
b1d7517a
Commit
b1d7517a
authored
Mar 14, 2013
by
Nikolay Sivov
Committed by
Alexandre Julliard
Mar 14, 2013
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
xmllite: Implement ReadValueChunk().
parent
0a3cc8b8
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 addition
and
5 deletions
+1
-5
reader.c
dlls/xmllite/reader.c
+0
-0
reader.c
dlls/xmllite/tests/reader.c
+1
-5
No files found.
dlls/xmllite/reader.c
View file @
b1d7517a
This diff is collapsed.
Click to expand it.
dlls/xmllite/tests/reader.c
View file @
b1d7517a
...
...
@@ -1288,23 +1288,20 @@ static void test_readvaluechunk(void)
c
=
0
;
b
=
0
;
hr
=
IXmlReader_ReadValueChunk
(
reader
,
&
b
,
1
,
&
c
);
todo_wine
{
ok
(
hr
==
S_OK
,
"got %08x
\n
"
,
hr
);
ok
(
c
==
1
,
"got %u
\n
"
,
c
);
ok
(
b
==
' '
,
"got %x
\n
"
,
b
);
}
/* portion read as chunk is skipped from resulting node value */
value
=
NULL
;
hr
=
IXmlReader_GetValue
(
reader
,
&
value
,
NULL
);
ok
(
hr
==
S_OK
,
"got %08x
\n
"
,
hr
);
todo_wine
ok
(
value
[
0
]
==
'c'
,
"got %s
\n
"
,
wine_dbgstr_w
(
value
));
/* once value is returned/allocated it's not possible to read by chunk */
c
=
0
;
b
=
0
;
hr
=
IXmlReader_ReadValueChunk
(
reader
,
&
b
,
1
,
&
c
);
todo_wine
ok
(
hr
==
S_FALSE
,
"got %08x
\n
"
,
hr
);
ok
(
c
==
0
,
"got %u
\n
"
,
c
);
ok
(
b
==
0
,
"got %x
\n
"
,
b
);
...
...
@@ -1312,7 +1309,6 @@ todo_wine
value
=
NULL
;
hr
=
IXmlReader_GetValue
(
reader
,
&
value
,
NULL
);
ok
(
hr
==
S_OK
,
"got %08x
\n
"
,
hr
);
todo_wine
ok
(
value
[
0
]
==
'c'
,
"got %s
\n
"
,
wine_dbgstr_w
(
value
));
IXmlReader_Release
(
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