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
e55cae42
Commit
e55cae42
authored
Nov 15, 2023
by
Daniel Lehman
Committed by
Alexandre Julliard
Nov 20, 2023
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msxml3/tests: Add tests for default namespace.
parent
712b33c1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
0 deletions
+14
-0
domdoc.c
dlls/msxml3/tests/domdoc.c
+14
-0
No files found.
dlls/msxml3/tests/domdoc.c
View file @
e55cae42
...
...
@@ -13676,6 +13676,7 @@ static void test_namespaces_as_attributes(void)
const
char
*
uris
[
3
];
const
char
*
texts
[
3
];
const
char
*
xmls
[
3
];
BOOL
todo
;
};
static
const
struct
test
tests
[]
=
{
{
...
...
@@ -13707,6 +13708,17 @@ static void test_namespaces_as_attributes(void)
{
"nshref"
},
/* text */
{
"xmlns:ns=
\"
nshref
\"
"
},
/* xml */
},
/* default namespace */
{
"<a xmlns=
\"
nshref
\"
/>"
,
1
,
{
"xmlns"
},
/* nodeName */
{
"xmlns"
},
/* prefix */
{
""
},
/* baseName */
{
""
},
/* namespaceURI */
{
"nshref"
},
/* text */
{
"xmlns=
\"
nshref
\"
"
},
/* xml */
TRUE
,
/* todo */
},
/* no properties or namespaces */
{
"<a />"
,
0
,
...
...
@@ -13760,7 +13772,9 @@ static void test_namespaces_as_attributes(void)
{
item
=
NULL
;
hr
=
IXMLDOMNamedNodeMap_get_item
(
map
,
i
,
&
item
);
todo_wine_if
(
test
->
todo
)
ok
(
hr
==
S_OK
,
"Unexpected hr %#lx.
\n
"
,
hr
);
if
(
hr
!=
S_OK
)
continue
;
str
=
NULL
;
hr
=
IXMLDOMNode_get_nodeName
(
item
,
&
str
);
...
...
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