You are viewing a plain text version of this content. The canonical link for it is here.
Posted to axis-cvs@ws.apache.org by sa...@apache.org on 2005/10/04 07:32:38 UTC

svn commit: r293538 - /webservices/axis2/trunk/c/modules/xml/om/test/om_test.c

Author: samisa
Date: Mon Oct  3 22:32:33 2005
New Revision: 293538

URL: http://svn.apache.org/viewcvs?rev=293538&view=rev
Log:
changed the node name stuff

Modified:
    webservices/axis2/trunk/c/modules/xml/om/test/om_test.c

Modified: webservices/axis2/trunk/c/modules/xml/om/test/om_test.c
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/c/modules/xml/om/test/om_test.c?rev=293538&r1=293537&r2=293538&view=diff
==============================================================================
--- webservices/axis2/trunk/c/modules/xml/om/test/om_test.c (original)
+++ webservices/axis2/trunk/c/modules/xml/om/test/om_test.c Mon Oct  3 22:32:33 2005
@@ -1,18 +1,18 @@
 #include <CuTest.h>
 #include <string.h>
 #include <stdio.h>
-#include <axis2_node.h>
+#include <axis2_om_node.h>
 
 void Testnode_detach(CuTest *tc) {
-	axis2_om_node_t* parent = axis2_node_create();
-    axis2_om_node_t* prev_sibling = axis2_node_create();
-    axis2_node_add_child(parent, prev_sibling);
-    axis2_om_node_t* test_node = axis2_node_create();
-    axis2_node_add_child(parent, test_node);
-    axis2_om_node_t* next_sibling = axis2_node_create();
-    axis2_node_add_child(parent, next_sibling);
+	axis2_om_node_t* parent = axis2_om_node_create();
+    axis2_om_node_t* prev_sibling = axis2_om_node_create();
+    axis2_om_node_add_child(parent, prev_sibling);
+    axis2_om_node_t* test_node = axis2_om_node_create();
+    axis2_om_node_add_child(parent, test_node);
+    axis2_om_node_t* next_sibling = axis2_om_node_create();
+    axis2_om_node_add_child(parent, next_sibling);
         
-    axis2_om_node_t* temp_parent = axis2_node_detach(test_node);
+    axis2_om_node_t* temp_parent = axis2_om_node_detach(test_node);
     puts("came");
     if(0 == temp_parent) puts("parent is null\n");
     axis2_om_node_t* expected = temp_parent->first_child;