Alistair Leslie-Hughes : msxml: Added test for get_text.

Alexandre Julliard julliard at winehq.org
Wed Nov 21 07:47:42 CST 2007


Module: wine
Branch: master
Commit: 9845a9ced4841f7bd4674a53cc58432c3e180e6f
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=9845a9ced4841f7bd4674a53cc58432c3e180e6f

Author: Alistair Leslie-Hughes <leslie_alistair at hotmail.com>
Date:   Tue Nov 20 21:23:35 2007 +1100

msxml: Added test for get_text.

---

 dlls/msxml3/tests/domdoc.c |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/dlls/msxml3/tests/domdoc.c b/dlls/msxml3/tests/domdoc.c
index 60d7acf..bf272ff 100644
--- a/dlls/msxml3/tests/domdoc.c
+++ b/dlls/msxml3/tests/domdoc.c
@@ -1206,6 +1206,10 @@ static void test_get_text(void)
     ok( r == S_OK, "ret %08x\n", r ); 
     IXMLDOMNodeList_Release( node_list );
 
+    /* Invalid output parameter*/
+    r = IXMLDOMNode_get_text( node, NULL );
+    ok( r == E_INVALIDARG, "ret %08x\n", r );
+
     r = IXMLDOMNode_get_text( node, &str );
     ok( r == S_OK, "ret %08x\n", r );
 todo_wine {




More information about the wine-cvs mailing list