Author: cwittich
Date: Tue Dec 22 11:11:44 2009
New Revision: 44700
URL:
http://svn.reactos.org/svn/reactos?rev=44700&view=rev
Log:
sync msxml3_winetest with wine 1.1.35
Modified:
trunk/rostests/winetests/msxml3/domdoc.c
Modified: trunk/rostests/winetests/msxml3/domdoc.c
URL:
http://svn.reactos.org/svn/reactos/trunk/rostests/winetests/msxml3/domdoc.c…
==============================================================================
--- trunk/rostests/winetests/msxml3/domdoc.c [iso-8859-1] (original)
+++ trunk/rostests/winetests/msxml3/domdoc.c [iso-8859-1] Tue Dec 22 11:11:44 2009
@@ -3085,6 +3085,8 @@
IXMLDOMNode *pNextChild = (IXMLDOMNode *)0x1;
VARIANT var;
+ VariantInit(&var);
+
hr = IXMLDOMCDATASection_QueryInterface(pCDataSec,
&IID_IXMLDOMElement, (LPVOID*)&pElement);
ok(hr == E_NOINTERFACE, "ret %08x\n", hr);
@@ -3155,7 +3157,8 @@
/* test get nodeValue */
hr = IXMLDOMCDATASection_get_nodeValue(pCDataSec, &var);
ok(hr == S_OK, "ret %08x\n", hr );
- ok( !lstrcmpW( str, _bstr_("This &is a ; test <>\\")
), "incorrect text string\n");
+ ok(V_VT(&var) == VT_BSTR, "got vt %04x\n",
V_VT(&var));
+ ok( !lstrcmpW( V_BSTR(&var), _bstr_("This &is a ; test
<>\\") ), "incorrect text string\n");
VariantClear(&var);
/* test get data */