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 da...@apache.org on 2006/01/31 05:59:32 UTC
svn commit: r373704 - /webservices/axis2/trunk/c/test/util/test_util.c
Author: damitha
Date: Mon Jan 30 20:59:28 2006
New Revision: 373704
URL: http://svn.apache.org/viewcvs?rev=373704&view=rev
Log:
updated log tests
Modified:
webservices/axis2/trunk/c/test/util/test_util.c
Modified: webservices/axis2/trunk/c/test/util/test_util.c
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/c/test/util/test_util.c?rev=373704&r1=373703&r2=373704&view=diff
==============================================================================
--- webservices/axis2/trunk/c/test/util/test_util.c (original)
+++ webservices/axis2/trunk/c/test/util/test_util.c Mon Jan 30 20:59:28 2006
@@ -27,6 +27,7 @@
#include <axis2_log.h>
#include <axis2_dir_handler.h>
#include <axis2_file.h>
+#include "axis2_log.h"
typedef struct a
{
@@ -256,15 +257,15 @@
printf("cannot create error\n");
return;
}
- axis2_log_t *log = axis2_log_create (allocator, NULL);
- if (!log)
+ axis2_log_t *log22 = axis2_log_create (allocator, NULL);
+ if (!log22)
{
printf("cannot create log\n");
return;
}
- log->level = AXIS2_LOG_LEVEL_DEBUG;
+ log22->level = AXIS2_LOG_LEVEL_DEBUG;
- axis2_env_t *env = axis2_env_create_with_error_log(allocator, error, log);
+ axis2_env_t *env = axis2_env_create_with_error_log(allocator, error, log22);
if (!env)
{
printf("cannot create env with error and log\n");
@@ -290,7 +291,7 @@
test_env_null();
test_array_list(env);
test_uuid_gen(env);
- test_log_write();
+ run_test_log();
test_axis2_dir_handler_list_service_or_module_dirs();
return 0;
}