Alistair Leslie-Hughes : msxml3: Stopped tests from crashing and a Win98 fix.
Alexandre Julliard
julliard at winehq.org
Mon May 26 13:12:39 CDT 2008
Module: wine
Branch: master
Commit: 6a90c5890c10c10e3a1bc879657f193477fd2264
URL: http://source.winehq.org/git/wine.git/?a=commit;h=6a90c5890c10c10e3a1bc879657f193477fd2264
Author: Alistair Leslie-Hughes <leslie_alistair at hotmail.com>
Date: Sat May 24 22:30:41 2008 +1000
msxml3: Stopped tests from crashing and a Win98 fix.
---
dlls/msxml3/tests/domdoc.c | 6 +-----
1 files changed, 1 insertions(+), 5 deletions(-)
diff --git a/dlls/msxml3/tests/domdoc.c b/dlls/msxml3/tests/domdoc.c
index bd45a77..cd50215 100644
--- a/dlls/msxml3/tests/domdoc.c
+++ b/dlls/msxml3/tests/domdoc.c
@@ -477,10 +477,6 @@ static void test_domdoc( void )
ok( b == VARIANT_TRUE, "failed to load XML string\n");
SysFreeString( str );
- /* try with a null out pointer */
- r = IXMLDOMDocument_get_documentElement( doc, NULL );
- ok( r == E_INVALIDARG, "should be no document element\n");
-
/* check if nodename is correct */
r = IXMLDOMDocument_get_nodeName( doc, NULL );
ok ( r == E_INVALIDARG, "get_nodeName (NULL) wrong code\n");
@@ -937,7 +933,7 @@ static void test_domnode( void )
V_I4(&var) = 0x1234;
r = IXMLDOMElement_getAttribute( element, str, &var );
ok( r == E_FAIL, "getAttribute ret %08x\n", r );
- ok( V_VT(&var) == VT_NULL, "vt = %x\n", V_VT(&var));
+ ok( V_VT(&var) == VT_NULL || V_VT(&var) == VT_EMPTY, "vt = %x\n", V_VT(&var));
VariantClear(&var);
SysFreeString( str );
More information about the wine-cvs
mailing list