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
e1c9c259
Commit
e1c9c259
authored
Sep 03, 2008
by
Paul Vriens
Committed by
Alexandre Julliard
Sep 03, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msxml3/tests: Fix a test on win98.
parent
fe360d6a
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
+6
-6
xmlelem.c
dlls/msxml3/tests/xmlelem.c
+6
-6
No files found.
dlls/msxml3/tests/xmlelem.c
View file @
e1c9c259
...
...
@@ -260,13 +260,13 @@ static void test_xmlelem_collection(void)
IXMLElement
*
element
=
NULL
,
*
child
;
IXMLElementCollection
*
collection
=
NULL
;
IEnumVARIANT
*
enumVar
=
NULL
;
CHAR
pathA
[
MAX_PATH
];
WCHAR
path
[
MAX_PATH
];
long
length
,
type
;
ULONG
num_vars
;
VARIANT
var
,
vIndex
,
vName
;
BSTR
url
,
str
;
static
const
WCHAR
szBankXML
[]
=
{
'b'
,
'a'
,
'n'
,
'k'
,
'.'
,
'x'
,
'm'
,
'l'
,
0
};
static
const
CHAR
szBankXML
[]
=
"bank.xml"
;
static
const
WCHAR
szNumber
[]
=
{
'N'
,
'U'
,
'M'
,
'B'
,
'E'
,
'R'
,
0
};
static
const
WCHAR
szName
[]
=
{
'N'
,
'A'
,
'M'
,
'E'
,
0
};
...
...
@@ -278,13 +278,13 @@ static void test_xmlelem_collection(void)
return
;
}
create_xml_file
(
"bank.xml"
);
GetFullPathNameW
(
szBankXML
,
MAX_PATH
,
path
,
NULL
);
create_xml_file
(
szBankXML
);
GetFullPathNameA
(
szBankXML
,
MAX_PATH
,
pathA
,
NULL
);
MultiByteToWideChar
(
CP_ACP
,
0
,
pathA
,
-
1
,
path
,
MAX_PATH
);
url
=
SysAllocString
(
path
);
hr
=
IXMLDocument_put_URL
(
doc
,
url
);
/* Win98 returns ERROR_URL_NOT_FOUND */
ok
(
hr
==
S_OK
||
hr
==
ERROR_URL_NOT_FOUND
,
"Expected S_OK, got 0x%08x
\n
"
,
hr
);
ok
(
hr
==
S_OK
,
"Expected S_OK, got 0x%08x
\n
"
,
hr
);
SysFreeString
(
url
);
if
(
hr
!=
S_OK
)
...
...
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