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 sa...@apache.org on 2005/10/28 05:43:01 UTC
svn commit: r329065 - in /webservices/axis2/trunk/c/modules/util/test:
util_log_test.c util_stream_test.c
Author: samisa
Date: Thu Oct 27 20:42:55 2005
New Revision: 329065
URL: http://svn.apache.org/viewcvs?rev=329065&view=rev
Log:
small modification done
Modified:
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_log_test.c
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/c/modules/util/test/util_log_test.c?rev=329065&r1=329064&r2=329065&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 Thu Oct 27 20:42:55 2005
@@ -6,8 +6,8 @@
char actual[10];
axis2_allocator_t *allocator = axis2_allocator_init(NULL);
axis2_environment_t *env = axis2_environment_create(allocator, NULL, NULL, NULL, NULL);
+ char *expected = strdup("aaaaaaaaa");
axis2_stream_read(env->stream, actual, 10);
axis2_log_write(env->log, actual, 10);
- char *expected = strdup("aaaaaaaaa");
CuAssertStrEquals(tc, expected, actual);
}
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=329065&r1=329064&r2=329065&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 Thu Oct 27 20:42:55 2005
@@ -5,8 +5,8 @@
char actual[10];
axis2_allocator_t *allocator = axis2_allocator_init(NULL);
axis2_environment_t *env = axis2_environment_create(allocator, NULL, NULL, NULL, NULL);
- axis2_stream_read(env->stream, actual, 10);
char *expected = strdup("aaaaaaaaa");
+ axis2_stream_read(env->stream, actual, 10);
CuAssertStrEquals(tc, expected, actual);
}
@@ -15,8 +15,9 @@
char actual[10];
axis2_allocator_t *allocator = axis2_allocator_init(NULL);
axis2_environment_t *env = axis2_environment_create(allocator, NULL, NULL, NULL, NULL);
+ char *expected = strdup("aaaaaaaaa");
axis2_stream_read(env->stream, actual, 10);
axis2_stream_write(env->stream, actual, 10);
- char *expected = strdup("aaaaaaaaa");
+
CuAssertStrEquals(tc, expected, actual);
}