axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sam...@apache.org
Subject svn commit: r330429 - /webservices/axis2/trunk/c/modules/util/test/util_hash_test.c
Date Thu, 03 Nov 2005 03:38:34 GMT
Author: samisa
Date: Wed Nov  2 19:38:29 2005
New Revision: 330429

URL: http://svn.apache.org/viewcvs?rev=330429&view=rev
Log:
hash test changed according to changes in axis2_hash

Modified:
    webservices/axis2/trunk/c/modules/util/test/util_hash_test.c

Modified: webservices/axis2/trunk/c/modules/util/test/util_hash_test.c
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/c/modules/util/test/util_hash_test.c?rev=330429&r1=330428&r2=330429&view=diff
==============================================================================
--- webservices/axis2/trunk/c/modules/util/test/util_hash_test.c (original)
+++ webservices/axis2/trunk/c/modules/util/test/util_hash_test.c Wed Nov  2 19:38:29 2005
@@ -1,5 +1,5 @@
 #include "util_hash_test.h"
-
+#include "axis2_string.h"
 typedef struct a
 {
     char *value;
@@ -22,14 +22,14 @@
     actual = (a *) AXIS2_MALLOC(environment->allocator, sizeof (a));
 
 
-    actual->value = axis2_strdup("value1");
+    actual->value = strdup("value1");
 
 
-    ht = axis2_hash_make (environment);
+    ht = axis2_hash_make (&environment);
 
     axis2_hash_set (ht, key1, AXIS2_HASH_KEY_STRING, actual);
 
-    for (i = axis2_hash_first (ht, environment); i; i = axis2_hash_next (environment, i))
+    for (i = axis2_hash_first (ht, &environment); i; i = axis2_hash_next (&environment,
i))
     {
 
         axis2_hash_this (i, NULL, NULL, &v);



Mime
View raw message