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
6002cb06
Commit
6002cb06
authored
Jun 14, 2010
by
Andrew Nguyen
Committed by
Alexandre Julliard
Jun 14, 2010
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msxml3/tests: Correct the sense of a few test failure messages.
parent
9f1fb465
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
8 deletions
+8
-8
domdoc.c
dlls/msxml3/tests/domdoc.c
+8
-8
No files found.
dlls/msxml3/tests/domdoc.c
View file @
6002cb06
...
...
@@ -563,11 +563,11 @@ if (0)
/* try some stupid things */
r
=
IXMLDOMDocument_loadXML
(
doc
,
NULL
,
NULL
);
ok
(
r
==
S_FALSE
,
"loadXML
fail
ed
\n
"
);
ok
(
r
==
S_FALSE
,
"loadXML
succeed
ed
\n
"
);
b
=
VARIANT_TRUE
;
r
=
IXMLDOMDocument_loadXML
(
doc
,
NULL
,
&
b
);
ok
(
r
==
S_FALSE
,
"loadXML
fail
ed
\n
"
);
ok
(
r
==
S_FALSE
,
"loadXML
succeed
ed
\n
"
);
ok
(
b
==
VARIANT_FALSE
,
"failed to load XML string
\n
"
);
/* try to load a document from a nonexistent file */
...
...
@@ -578,16 +578,16 @@ if (0)
V_BSTR
(
&
var
)
=
str
;
r
=
IXMLDOMDocument_load
(
doc
,
var
,
&
b
);
ok
(
r
==
S_FALSE
,
"load
(from file) fail
ed
\n
"
);
ok
(
b
==
VARIANT_FALSE
,
"
failed to load XML file
\n
"
);
ok
(
r
==
S_FALSE
,
"load
XML succeed
ed
\n
"
);
ok
(
b
==
VARIANT_FALSE
,
"
succeeded in loading XML string
\n
"
);
SysFreeString
(
str
);
/* try load an empty document */
b
=
VARIANT_TRUE
;
str
=
SysAllocString
(
szEmpty
);
r
=
IXMLDOMDocument_loadXML
(
doc
,
str
,
&
b
);
ok
(
r
==
S_FALSE
,
"loadXML
fail
ed
\n
"
);
ok
(
b
==
VARIANT_FALSE
,
"
failed to load
XML string
\n
"
);
ok
(
r
==
S_FALSE
,
"loadXML
succeed
ed
\n
"
);
ok
(
b
==
VARIANT_FALSE
,
"
succeeded in loading
XML string
\n
"
);
SysFreeString
(
str
);
r
=
IXMLDOMDocument_get_async
(
doc
,
&
b
);
...
...
@@ -609,8 +609,8 @@ if (0)
b
=
VARIANT_TRUE
;
str
=
SysAllocString
(
szIncomplete
);
r
=
IXMLDOMDocument_loadXML
(
doc
,
str
,
&
b
);
ok
(
r
==
S_FALSE
,
"loadXML
fail
ed
\n
"
);
ok
(
b
==
VARIANT_FALSE
,
"
failed to load
XML string
\n
"
);
ok
(
r
==
S_FALSE
,
"loadXML
succeed
ed
\n
"
);
ok
(
b
==
VARIANT_FALSE
,
"
succeeded in loading
XML string
\n
"
);
SysFreeString
(
str
);
/* check that there's no document element */
...
...
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