From 358bca1162d0112c8564ec3956a44f1d5adf574e Mon Sep 17 00:00:00 2001 From: John Mark Bell Date: Sun, 4 Nov 2007 02:13:32 +0000 Subject: Fix TestObject after xml binding error changes svn path=/trunk/dom/; revision=3647 --- test/lib/testobject.c | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'test/lib') diff --git a/test/lib/testobject.c b/test/lib/testobject.c index 8f27445..5a20770 100644 --- a/test/lib/testobject.c +++ b/test/lib/testobject.c @@ -46,7 +46,8 @@ TestObject *test_object_create(int argc, char **argv, if (xml_parser_initialised == false) { assert(dom_initialise(myrealloc, NULL) == DOM_NO_ERR); - assert(dom_xml_binding_initialise(myrealloc, NULL) == XML_OK); + assert(dom_xml_binding_initialise(myrealloc, NULL) == + DOM_XML_OK); atexit(test_object_cleanup); @@ -81,7 +82,7 @@ TestObject *test_object_create(int argc, char **argv, fread(buf, 1, CHUNK_SIZE, fp); assert(dom_xml_parser_parse_chunk(ret->parser, buf, - CHUNK_SIZE) == XML_OK); + CHUNK_SIZE) == DOM_XML_OK); len -= CHUNK_SIZE; } @@ -90,12 +91,12 @@ TestObject *test_object_create(int argc, char **argv, fread(buf, 1, len, fp); assert(dom_xml_parser_parse_chunk(ret->parser, buf, - len) == XML_OK); + len) == DOM_XML_OK); len = 0; } - assert(dom_xml_parser_completed(ret->parser) == XML_OK); + assert(dom_xml_parser_completed(ret->parser) == DOM_XML_OK); fclose(fp); -- cgit v1.2.3