Author: akhaldi
Date: Thu Nov 17 23:31:04 2016
New Revision: 73312
URL:
http://svn.reactos.org/svn/reactos?rev=73312&view=rev
Log:
[XMLLITE_WINETEST] Sync with Wine Staging 1.9.23. CORE-12409
Modified:
trunk/rostests/winetests/xmllite/reader.c
Modified: trunk/rostests/winetests/xmllite/reader.c
URL:
http://svn.reactos.org/svn/reactos/trunk/rostests/winetests/xmllite/reader.…
==============================================================================
--- trunk/rostests/winetests/xmllite/reader.c [iso-8859-1] (original)
+++ trunk/rostests/winetests/xmllite/reader.c [iso-8859-1] Thu Nov 17 23:31:04 2016
@@ -1790,6 +1790,23 @@
IXmlReader_Release(reader);
}
+static void test_reader_properties(void)
+{
+ IXmlReader *reader;
+ HRESULT hr;
+
+ hr = CreateXmlReader(&IID_IXmlReader, (void**)&reader, NULL);
+ ok(hr == S_OK, "S_OK, got %08x\n", hr);
+
+ hr = IXmlReader_SetProperty(reader, XmlReaderProperty_MultiLanguage, 0);
+ ok(hr == S_OK, "SetProperty failed: %08x\n", hr);
+
+ hr = IXmlReader_SetProperty(reader, XmlReaderProperty_MaxElementDepth, 0);
+ ok(hr == S_OK, "SetProperty failed: %08x\n", hr);
+
+ IXmlReader_Release(reader);
+}
+
START_TEST(reader)
{
test_reader_create();
@@ -1807,4 +1824,5 @@
test_read_pending();
test_readvaluechunk();
test_read_xmldeclaration();
-}
+ test_reader_properties();
+}