Michael Stefaniuc
8b8460de07
msxml3/tests: Just use a wchar string literal instead of _bstr_().
...
lstrcmpW and memcmp can deal just fine with WCHAR* and don't need
a BSTR.
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-02-18 20:29:09 +01:00
Michael Stefaniuc
077224622d
msxml3/tests: Get rid of a2bstr().
...
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-02-18 20:29:07 +01:00
Jacek Caban
c041605b00
guiddef.h: Remove GUID_NULL declaration.
...
It's declared in cguid.h with proper extern "C".
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-02-04 21:30:27 +01:00
Daniel Lehman
e31469eb58
msxml3/tests: Fix copy & paste in traces.
...
Signed-off-by: Daniel Lehman <dlehman25@gmail.com>
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-01-24 17:15:54 +01:00
Francois Gouget
280cbcb28a
msxml3: Fix the spelling of some comments.
...
Signed-off-by: Francois Gouget <fgouget@free.fr>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-12-12 23:17:05 +01:00
Francois Gouget
a245084ae8
msxml3/tests: Avoid an unneeded lstrlenW() call.
...
This being a test we have to assume IXMLElement_get_text() could return
a NULL string.
Signed-off-by: Francois Gouget <fgouget@free.fr>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-12-10 22:15:05 +01:00
Damjan Jovanovic
e2f2ad0e81
msxml3: All string passed to IXMLDOMDocument_load() need to be URL-unescaped.
...
msxml3 allows URL escape sequences even for C:\ style paths.
eg. C:\Program%20Files\...
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=48242
Signed-off-by: Damjan Jovanovic <damjan.jov@gmail.com>
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-12-09 23:47:45 +01:00
Alexandre Julliard
f077f8b08d
msxml3/tests: Avoid winetest_strcmpW.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-11-29 13:57:51 +01:00
Piotr Caban
78259fceb3
msxml3: Don't return NULL namespace and local name in saxreader callbacks.
...
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-09-27 22:42:50 +02:00
Jacek Caban
73af53c4bc
msxml3: Fix string length handling in I[VB]SAXContentHandler::characters.
...
Windows crashes when -1 length is passed. Escaping should just copy
embedded null bytes.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-07-02 20:43:37 +02:00
Michael Stefaniuc
94e76b1b3c
msxml3/tests: Floating point numeric constants are by default doubles.
...
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-02-20 09:18:48 +01:00
Michael Stefaniuc
c743b72d25
msxml3/tests: Use the ARRAY_SIZE() macro.
...
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-11-20 20:23:36 +01:00
Daniel Lehman
c1d21f1ae4
msxml3: Return URL from get_namespaceURI from attributes for MSXML6.
...
Signed-off-by: Daniel Lehman <dlehman25@gmail.com>
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-10-22 09:52:50 +02:00
Daniel Lehman
f95a111608
msxml3/tests: Add some more namespaces tests.
...
Signed-off-by: Daniel Lehman <dlehman25@gmail.com>
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-10-22 09:52:49 +02:00
Daniel Lehman
4460cb3377
msxml3: Treat namespaces as floating attributes.
...
Signed-off-by: Daniel Lehman <dlehman25@gmail.com>
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-10-22 09:52:45 +02:00
Francois Gouget
ed42959693
msxml3/tests: Make test_namespaces_as_attributes() static.
...
Signed-off-by: Francois Gouget <fgouget@free.fr>
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-09-17 15:37:49 +02:00
Daniel Lehman
9b950387e5
msxml3/tests: Add test for treating namespaces as attributes.
...
Signed-off-by: Daniel Lehman <dlehman25@gmail.com>
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-08-31 09:05:20 +02:00
Alistair Leslie-Hughes
8ad509ed70
msxml3: Accept NormalizeAttributeValues property.
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-08-14 12:06:56 +02:00
Michael Stefaniuc
39bd2c96ba
msxml3/tests: Use the available ARRAY_SIZE() macro.
...
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-06-13 22:13:27 +02:00
Jacek Caban
35bd57ec5e
msxml3/tests: Added invalid host XHR tests.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-03-28 10:19:20 +02:00
Jacek Caban
f6b5b31083
msxml3/tests: Added IServerXMLHTTPRequest tests.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-03-28 10:19:18 +02:00
Nikolay Sivov
a62bed3bb8
msxml3/saxreader: Allow setting default value for schema-validation feature.
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-02-27 09:01:26 +01:00
Nikolay Sivov
1d78226f51
msxml3/saxreader: Accept disabled "exhaustive-errors" property.
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-02-27 09:01:21 +01:00
Alex Henrie
f9e1dbb83d
msxml3: Remove CRs in domtext_put_data and add them in domtext_get_xml.
...
Signed-off-by: Alex Henrie <alexhenrie24@gmail.com>
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-02-22 21:46:28 +01:00
Nikolay Sivov
75782e7cc3
msxml3/tests: Use the global HeapAlloc() helpers.
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-02-06 14:28:10 +01:00
Nikolay Sivov
cdaf5625d1
msxml3: Use IUri API to load documents.
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-01-23 11:32:12 +01:00
Nikolay Sivov
cefe6e8de5
msxml3/tests: Use temporary user directory for test files.
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-01-12 15:02:49 +01:00
Alex Henrie
53a55fbdb1
msxml3/tests: Make put_data_types const.
...
Signed-off-by: Alex Henrie <alexhenrie24@gmail.com>
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-01-10 18:48:49 +01:00
Alex Henrie
b8711196b1
msxml3/tests: Add missing return value checks to domdoc tests (Coverity).
...
Signed-off-by: Alex Henrie <alexhenrie24@gmail.com>
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-01-10 18:48:45 +01:00
Nikolay Sivov
3e8acbac87
msxml3/tests: Simplify test error path.
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-01-08 22:47:24 +01:00
Nikolay Sivov
f3693d2b46
msxml3/tests: Add missing return value test (Coverity).
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-12-26 10:12:36 +01:00
Nikolay Sivov
41365ce72c
msxml3: Partially implement transformNodeToObject().
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-10-23 10:33:54 +02:00
Nikolay Sivov
af07789cdc
msxml3/httpreq: Added ISupportErrorInfo stub.
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-09-29 18:08:00 +02:00
Nikolay Sivov
79f11f2282
msxml3/httpreq: Support HEAD request.
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-09-08 18:54:11 +02:00
Alistair Leslie-Hughes
2ccf4ab8ed
msxml3/tests: Use standard wine_dbgstr_longlong.
...
Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-08-02 13:52:37 +02:00
Nikolay Sivov
870de39ca4
msxml3/tests: Initialize string pointer on default case too (Coverity).
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-05-01 10:05:37 +02:00
Nikolay Sivov
b565149104
msxml3/tests: Consistently use non-null pointer value.
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-05-01 10:05:33 +02:00
Nikolay Sivov
cebed397c3
msxml3: Added support for setting IResponse as xsl processor output.
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-03-28 10:26:14 +02:00
Nikolay Sivov
d1f1731960
msxml3/tests: Added a test for IResponse processor output.
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-03-28 10:26:12 +02:00
Nikolay Sivov
ea9b797409
msxml3: Support IPersistStream* as IXSLProcessor output.
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-03-27 10:57:38 +02:00
Daniel Lehman
cf08ea1b3a
msxml3/tests: Free ready state BSTR (Valgrind).
...
Signed-off-by: Daniel Lehman <dlehman25@gmail.com>
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-03-23 17:08:00 +01:00
Nikolay Sivov
ba018b5253
msxml3/saxreader: Handle NULL interface input in parse().
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-03-17 09:54:12 +01:00
Nikolay Sivov
2656f73817
msxml3/tests: A bit more tests for IPersist* interfaces.
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-03-16 15:03:14 +01:00
Daniel Lehman
8bc68f3491
msxml3: Don't QI for IPersistStream in internal_parse.
...
Signed-off-by: Daniel Lehman <dlehman@esri.com>
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-03-16 10:30:36 +01:00
Jacek Caban
6e94b955c2
mshtml: Added support for COM aggregation in HTMLDocument object.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-02-02 20:40:13 +01:00
Huw Davies
5124eb99fe
msxml3/tests: Windows 10 no longer supports variants by reference, so pass it directly.
...
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-01-18 16:03:35 +01:00
Alistair Leslie-Hughes
a9115b36c6
msxml3: Implement IXMLParser GetParserState.
...
Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-07-29 20:17:31 +09:00
Andrey Gusev
73152bd347
msxml3/tests: Fix a typo in variable name.
...
Signed-off-by: Andrey Gusev <andrey.goosev@gmail.com>
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-05-25 15:43:29 +09:00
Nikolay Sivov
11a01849e8
msxml3/tests: Simplify refcount checks.
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-05-18 10:36:16 +09:00
Nikolay Sivov
3e96f98cda
msxml3/tests: Remove duplicated test check.
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-04-04 13:17:34 +09:00