msxml3: Stopped tests from crashing and a Win98 fix.

This commit is contained in:
Alistair Leslie-Hughes 2008-05-24 22:30:41 +10:00 committed by Alexandre Julliard
parent 3c1c617277
commit 6a90c5890c
1 changed files with 1 additions and 5 deletions

View File

@ -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 );