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 2005/12/13 09:11:40 UTC

svn commit: r356506 - in /webservices/axis2/trunk/c/test/unit/core/description: Makefile.am test_svc.c test_svc.h

Author: damitha
Date: Tue Dec 13 00:11:29 2005
New Revision: 356506

URL: http://svn.apache.org/viewcvs?rev=356506&view=rev
Log:
added two new unit test files

Added:
    webservices/axis2/trunk/c/test/unit/core/description/test_svc.c
    webservices/axis2/trunk/c/test/unit/core/description/test_svc.h
Modified:
    webservices/axis2/trunk/c/test/unit/core/description/Makefile.am

Modified: webservices/axis2/trunk/c/test/unit/core/description/Makefile.am
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/c/test/unit/core/description/Makefile.am?rev=356506&r1=356505&r2=356506&view=diff
==============================================================================
--- webservices/axis2/trunk/c/test/unit/core/description/Makefile.am (original)
+++ webservices/axis2/trunk/c/test/unit/core/description/Makefile.am Tue Dec 13 00:11:29 2005
@@ -3,7 +3,8 @@
 prglib_LTLIBRARIES = libtest_description.la
 AM_CPPFLAGS = $(CPPFLAGS)
 libtest_description_la_SOURCES = description_test.c \
-                                    test_op.c
+                                    test_op.c \
+                                    test_svc.c
 
 include_HEADERS=$(top_builddir)/test/unit/core/description/*.h
 

Added: webservices/axis2/trunk/c/test/unit/core/description/test_svc.c
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/c/test/unit/core/description/test_svc.c?rev=356506&view=auto
==============================================================================
--- webservices/axis2/trunk/c/test/unit/core/description/test_svc.c (added)
+++ webservices/axis2/trunk/c/test/unit/core/description/test_svc.c Tue Dec 13 00:11:29 2005
@@ -0,0 +1,18 @@
+#include "test_svc.h"
+
+void Testaxis2_svc_add_module_ops(CuTest *tc)
+{
+    
+
+}
+
+struct axis2_module_desc *create_module_desc(axis2_env_t **env) 
+{
+    struct axis2_op *op = NULL;
+    struct axis2_wsdl_op *wsdl_op = NULL;
+    axis2_qname_t *op_qname = NULL;
+    
+    wsdl_op = axis2_wsdl_op_create(env);
+    op_qname = axis2_qname_create(env, "op_name", NULL, NULL);
+    op = axis2_op_create_with_name(env, op_qname);
+}

Added: webservices/axis2/trunk/c/test/unit/core/description/test_svc.h
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/c/test/unit/core/description/test_svc.h?rev=356506&view=auto
==============================================================================
--- webservices/axis2/trunk/c/test/unit/core/description/test_svc.h (added)
+++ webservices/axis2/trunk/c/test/unit/core/description/test_svc.h Tue Dec 13 00:11:29 2005
@@ -0,0 +1,25 @@
+#ifndef TEST_SVC_H
+#define TEST_SVC_H
+
+#include <string.h>
+#include <stdio.h>
+#include <CuTest.h>
+#include <axis2_allocator.h>
+#include <axis2_env.h>
+#include <axis2_hash.h>
+#include <axis2_string.h>
+#include <axis2_op.h>
+#include <axis2_module_desc.h>
+#include <axis2_op.h>
+#include <axis2_flow.h>
+#include <axis2_wsdl_op.h>
+
+struct axis2_svc;
+struct axis2_op;
+struct axis2_module_desc;
+struct axis2_wsdl_op;
+
+
+void Testaxis2_svc_add_module_ops(CuTest *tc);
+
+#endif /* TEST_SVC_H*/