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 du...@apache.org on 2007/12/14 09:40:20 UTC
svn commit: r604130 - in /webservices/axis2/trunk/c/util/test/util:
create_env.c create_env.h
Author: dushshantha
Date: Fri Dec 14 00:40:19 2007
New Revision: 604130
URL: http://svn.apache.org/viewvc?rev=604130&view=rev
Log:
added test cases
Added:
webservices/axis2/trunk/c/util/test/util/create_env.c
webservices/axis2/trunk/c/util/test/util/create_env.h
Added: webservices/axis2/trunk/c/util/test/util/create_env.c
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/util/test/util/create_env.c?rev=604130&view=auto
==============================================================================
--- webservices/axis2/trunk/c/util/test/util/create_env.c (added)
+++ webservices/axis2/trunk/c/util/test/util/create_env.c Fri Dec 14 00:40:19 2007
@@ -0,0 +1,17 @@
+#include "create_env.h"
+
+axutil_env_t * create_environment()
+{
+ axutil_allocator_t *allocator = NULL;
+ axutil_log_t *log = NULL;
+ axutil_error_t *error = NULL;
+ axutil_env_t *env = NULL;
+ allocator = axutil_allocator_init(NULL);
+ log = axutil_log_create(allocator, NULL, NULL);
+
+ error = axutil_error_create(allocator);
+ env = axutil_env_create_with_error_log(allocator, error, log);
+ return env;
+}
+
+
Added: webservices/axis2/trunk/c/util/test/util/create_env.h
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/util/test/util/create_env.h?rev=604130&view=auto
==============================================================================
--- webservices/axis2/trunk/c/util/test/util/create_env.h (added)
+++ webservices/axis2/trunk/c/util/test/util/create_env.h Fri Dec 14 00:40:19 2007
@@ -0,0 +1,10 @@
+#include <axutil_log_default.h>
+#include <axutil_error_default.h>
+#include <stdio.h>
+#include <axutil_env.h>
+
+axutil_env_t * create_environment();
+
+
+
+
---------------------------------------------------------------------
To unsubscribe, e-mail: axis-cvs-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-cvs-help@ws.apache.org