Commit f216514d authored by Piotr Caban's avatar Piotr Caban Committed by Alexandre Julliard

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

parent b3da2202
......@@ -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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment