Commit Graph

482 Commits

Author SHA1 Message Date
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 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 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
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
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
Jacek Caban 8c810372bc msxml3: Store xmlnode reference in xmlnodemap object.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-03-17 16:23:13 +09:00
Nikolay Sivov 02e0e122a5 msxml3: Fix cloneNode() for document nodes.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-12-30 11:13:05 +01:00
Piotr Caban e2cf78232d msxml3/tests: Use exact comparison in IXMLDOMNode::get_text tests.
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-12-21 19:50:28 +01:00
Piotr Caban 028d5e5179 msxml3: Add support for CDATA nodes in node_get_text.
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-12-21 19:50:28 +01:00
Piotr Caban 900fe6afa6 msxml3: Reimplement node_get_text helper so it uses information about ignorred white space nodes.
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-12-21 19:50:28 +01:00
Piotr Caban 1f2c20cff3 msxml3/tests: Run IXMLDOMNode::get_text whitespace tests on other msxml versions.
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-11-25 01:28:32 +09:00
Piotr Caban ef127caef2 msxml3/tests: Add CDATA block to whitespace trimming tests.
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-11-19 20:55:15 +09:00
Piotr Caban fa01cd0880 msxml3/tests: Show that sub-elements should not be divided with ' ' in IXMLDOMNode_get_text.
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-11-19 20:55:15 +09:00
Piotr Caban 80df8c03e2 msxml3/tests: Add tests for sub-nodes whitespaces trimming while getting node text.
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-11-19 20:55:15 +09:00
Piotr Caban 4386cac6ca msxml3/tests: Add more IXMLDOMNode_get_text tests.
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-11-19 20:55:15 +09:00
Nikolay Sivov 121b859fc5 msxml3/tests: Add missing return value test (PVS-Studio).
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-10-28 12:45:05 +09:00
Daniel Lehman a20d152282 msxml3: Treat namespace as attribute in IXMLDOMElement::getAttribute.
Signed-off-by: Daniel Lehman <dlehman@esri.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-10-08 21:02:38 +09:00
Daniel Lehman 1f7fb03ee9 msxml3: Fix crash when merging Text nodes. 2015-08-18 14:55:24 +09:00
Zhenbo Li 59c2b325ea msxml3: Handle NULL parameter in IXMLDOMElement::get_ownerDocument(). 2015-08-13 15:07:01 +09:00
Michael Stefaniuc 7c4d45c00b msxml3/tests: Merge two adjacent if blocks with identical condition (PVS-Studio). 2015-03-06 20:32:04 +09:00
Michael Stefaniuc 1caf6286f0 msxml3/tests: Actually test the return values (PVS-Studio). 2015-01-19 14:21:00 +01:00
Michael Stefaniuc fe61400088 msxml3/tests: Remove an unused assignment (PVS-Studio). 2015-01-19 14:20:56 +01:00
André Hentschel 1463325797 msxml3/tests: Remove unused code (Clang). 2014-12-02 10:32:13 +01:00
Nikolay Sivov 0430513448 msxml3: Return S_FALSE in getNamedItem() of PI node. 2014-10-30 23:09:20 +09:00
Nikolay Sivov d7eec962e2 msxml3: Implement 'name' and 'nodeName' properties for doctype node. 2014-10-07 20:22:10 +02:00
Marcus Meissner 2c984fc8e2 msxml3: Removed unused allocation (Coverity). 2014-05-20 09:45:11 +02:00
Nikolay Sivov 82bb4f51c1 msxml3: Implement empty tagname case of getElementsByTagName() for document. 2014-05-13 11:45:29 +02:00
Nikolay Sivov 239d8077db msxml3: Support 'any attribute' selection [@*] in XSLPattern predicates. 2014-05-13 11:45:25 +02:00
Nikolay Sivov 9e576e1089 msxml3: Fix some string leaks (Valgrind). 2014-05-06 09:56:24 +02:00
Nikolay Sivov 30410d48fd msxml3/tests: Fix a BSTR leak (Valgrind). 2014-05-05 12:17:52 +02:00
Nikolay Sivov 3b16986a35 msxml3/tests: Fixed attributes map leak (Valgrind). 2014-04-28 14:00:55 +02:00
Nikolay Sivov 039712970b msxml3/tests: Fix enumerator instance leak (Valgrind). 2014-04-25 16:18:16 +02:00
Nikolay Sivov 026c861794 msxml3/tests: Fix accessing released intreface pointer. 2014-04-16 10:53:18 +02:00
Nikolay Sivov 52c6c6a1d1 msxml3: Fix transformation result output for stream and BSTR cases. 2014-04-14 10:25:43 +02:00
Nikolay Sivov db8ff72f00 msxml3: Handle NULL child in appendChild(). 2014-04-03 11:11:16 +02:00
Nikolay Sivov 93bd41c3f7 msxml3/tests: Check return values (Coverity). 2014-03-31 11:46:09 +02:00
Nikolay Sivov c7d45060e5 msxml3: Fix some test failures on Win8.1. 2014-03-13 20:22:20 +01:00
Nikolay Sivov 02af74400f msxml3: Respect stylesheet output mode when dumping resulting document. 2014-03-13 20:22:13 +01:00
Nikolay Sivov 5b43c42c88 msxml3: Remove dynamic properties support. 2014-03-10 10:42:02 +01:00
Nikolay Sivov fa21e6dd7c msxml3/tests: Fix a couple of test failure when msxml4 is actually present. 2014-02-05 13:49:31 +01:00