msxml3/tests: Added test for getContentHandler with NULL argument.

This commit is contained in:
Piotr Caban 2008-07-11 00:36:38 +02:00 committed by Alexandre Julliard
parent b3da220229
commit f216514dd5
1 changed files with 3 additions and 0 deletions

View File

@ -212,6 +212,9 @@ static void test_saxreader(void)
return;
}
hr = ISAXXMLReader_getContentHandler(reader, NULL);
ok(hr == E_POINTER, "Expected E_POINTER, got %08x\n", hr);
hr = ISAXXMLReader_getContentHandler(reader, &lpContentHandler);
ok(hr == S_OK, "Expected S_OK, got %08x\n", hr);
ok(lpContentHandler == NULL, "Expected %p, got %p\n", NULL, lpContentHandler);