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 sa...@apache.org on 2006/01/18 06:22:38 UTC

svn commit: r370053 - /webservices/axis2/trunk/c/test/core/deployment/test_deployment.c

Author: samisa
Date: Tue Jan 17 21:22:30 2006
New Revision: 370053

URL: http://svn.apache.org/viewcvs?rev=370053&view=rev
Log:
Added testing the svc map count

Modified:
    webservices/axis2/trunk/c/test/core/deployment/test_deployment.c

Modified: webservices/axis2/trunk/c/test/core/deployment/test_deployment.c
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/c/test/core/deployment/test_deployment.c?rev=370053&r1=370052&r2=370053&view=diff
==============================================================================
--- webservices/axis2/trunk/c/test/core/deployment/test_deployment.c (original)
+++ webservices/axis2/trunk/c/test/core/deployment/test_deployment.c Tue Jan 17 21:22:30 2006
@@ -13,6 +13,7 @@
 {
     axis2_dep_engine_t *dep_engine = NULL;
     axis2_conf_t *conf = NULL;
+    axis2_hash_t *svc_map = NULL;
     axis2_array_list_t *in_phases = NULL;
     axis2_char_t *axis2c_home = NULL;
 
@@ -33,6 +34,13 @@
         printf("conf is NULL\n)");
         return -1;
     }
+    
+    svc_map = AXIS2_CONF_GET_SVCS(conf, &env);
+    if (svc_map)
+        printf("svc_map count = %d\n", axis2_hash_count(svc_map));
+    else
+        printf("svc_map count = zero\n");
+    
     in_phases = 
         AXIS2_CONF_GET_IN_PHASES_UPTO_AND_INCLUDING_POST_DISPATCH(
             conf, &env);
@@ -44,6 +52,7 @@
     {
         printf("dep engine load is successfull\n");
     }
+
     return 0;
 }