You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by da...@apache.org on 2005/11/03 06:59:42 UTC
svn commit: r330475 - in /webservices/axis2/trunk/c/modules/util/test:
util_hash_test.c util_log_test.c util_stream_test.c
Author: damitha
Date: Wed Nov 2 21:59:35 2005
New Revision: 330475
URL: http://svn.apache.org/viewcvs?rev=330475&view=rev
Log:
changed the env create function according to the new changes in env
Modified:
webservices/axis2/trunk/c/modules/util/test/util_hash_test.c
webservices/axis2/trunk/c/modules/util/test/util_log_test.c
webservices/axis2/trunk/c/modules/util/test/util_stream_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=330475&r1=330474&r2=330475&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 21:59:35 2005
@@ -9,7 +9,7 @@
{
axis2_allocator_t *allocator = axis2_allocator_init (NULL);
axis2_env_t *environment =
- axis2_environment_create (allocator, NULL, NULL, NULL);
+ axis2_environment_create (allocator);
axis2_hash_t *ht;
a *actual, *expected;
Modified: webservices/axis2/trunk/c/modules/util/test/util_log_test.c
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/c/modules/util/test/util_log_test.c?rev=330475&r1=330474&r2=330475&view=diff
==============================================================================
--- webservices/axis2/trunk/c/modules/util/test/util_log_test.c (original)
+++ webservices/axis2/trunk/c/modules/util/test/util_log_test.c Wed Nov 2 21:59:35 2005
@@ -5,7 +5,7 @@
char actual[10];
axis2_allocator_t *allocator = axis2_allocator_init(NULL);
- axis2_env_t *env = axis2_environment_create(allocator, NULL, NULL, NULL);
+ axis2_env_t *env = axis2_environment_create(allocator);
char *expected = strdup("aaaaaaaaa");
AXIS2_STREAM_READ(env->stream, actual, 10);
AXIS2_LOG_WRITE(env->log, actual, 10);
Modified: webservices/axis2/trunk/c/modules/util/test/util_stream_test.c
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/c/modules/util/test/util_stream_test.c?rev=330475&r1=330474&r2=330475&view=diff
==============================================================================
--- webservices/axis2/trunk/c/modules/util/test/util_stream_test.c (original)
+++ webservices/axis2/trunk/c/modules/util/test/util_stream_test.c Wed Nov 2 21:59:35 2005
@@ -4,7 +4,7 @@
char actual[10];
axis2_allocator_t *allocator = axis2_allocator_init(NULL);
- axis2_env_t *env = axis2_environment_create(allocator, NULL, NULL, NULL);
+ axis2_env_t *env = axis2_environment_create(allocator);
char *expected = (char*) strdup("aaaaaaaaa");
AXIS2_STREAM_READ(env->stream, actual, 10);
CuAssertStrEquals(tc, expected, actual);
@@ -14,7 +14,7 @@
char actual[10];
axis2_allocator_t *allocator = axis2_allocator_init(NULL);
- axis2_env_t *env = axis2_environment_create(allocator, NULL, NULL, NULL);
+ axis2_env_t *env = axis2_environment_create(allocator);
char *expected = (char*) strdup("aaaaaaaaa");
AXIS2_STREAM_READ(env->stream, actual, 10);
AXIS2_STREAM_WRITE(env->stream, actual, 10);