summaryrefslogtreecommitdiffstats
path: root/test/core
diff options
context:
space:
mode:
Diffstat (limited to 'test/core')
-rw-r--r--test/core/clientapi/test_clientapi.c4
-rw-r--r--test/core/deployment/test_deployment.c8
-rw-r--r--test/core/description/test_description.c5
-rw-r--r--test/core/transport/http/test_http_transport.c2
4 files changed, 8 insertions, 11 deletions
diff --git a/test/core/clientapi/test_clientapi.c b/test/core/clientapi/test_clientapi.c
index ccd8709..04650f4 100644
--- a/test/core/clientapi/test_clientapi.c
+++ b/test/core/clientapi/test_clientapi.c
@@ -94,7 +94,7 @@ build_om_payload_for_echo_svc(
const axis2_char_t * echo_text)
{
axiom_node_t *echo_om_node = NULL;
- axiom_element_t *echo_om_ele = NULL;
+ /*axiom_element_t *echo_om_ele = NULL; */
axiom_node_t *text_om_node = NULL;
axiom_element_t *text_om_ele = NULL;
axiom_namespace_t *ns1 = NULL;
@@ -102,7 +102,7 @@ build_om_payload_for_echo_svc(
ns1 =
axiom_namespace_create(env, "http://ws.apache.org/axis2/c/samples",
"ns1");
- echo_om_ele =
+ /*echo_om_ele =*/
axiom_element_create(env, NULL, "echoString", ns1, &echo_om_node);
text_om_ele =
axiom_element_create(env, echo_om_node, "text", NULL, &text_om_node);
diff --git a/test/core/deployment/test_deployment.c b/test/core/deployment/test_deployment.c
index 761f398..2f0d765 100644
--- a/test/core/deployment/test_deployment.c
+++ b/test/core/deployment/test_deployment.c
@@ -153,16 +153,14 @@ axis2_test_transport_sender_load(axutil_env_t *env
{
axutil_dll_desc_t *dll_desc = NULL;
axis2_char_t *dll_name = NULL;
- axis2_transport_sender_t *transport_sender = NULL;
+ /*axis2_transport_sender_t *transport_sender = NULL;*/
axutil_param_t *impl_info_param = NULL;
axis2_char_t *axis2c_home = NULL;
- axis2_msg_ctx_t *msg_ctx = NULL;
printf("******************************************\n");
printf("testing axis2_transport_sender load\n");
printf("******************************************\n");
- msg_ctx = (axis2_msg_ctx_t *) AXIS2_MALLOC(env->allocator, 5);
dll_desc = axutil_dll_desc_create(env);
axis2c_home = AXIS2_GETENV("AXIS2C_HOME");
@@ -173,8 +171,8 @@ axis2_test_transport_sender_load(axutil_env_t *env
impl_info_param = axutil_param_create(env, NULL, NULL);
axutil_param_set_value(impl_info_param, env, dll_desc);
axutil_class_loader_init(env);
- transport_sender =
- (axis2_transport_sender_t *) axutil_class_loader_create_dll(env,
+ /* transport_sender =
+ (axis2_transport_sender_t *) */axutil_class_loader_create_dll(env,
impl_info_param);
AXIS2_FREE(env->allocator, dll_name);
diff --git a/test/core/description/test_description.c b/test/core/description/test_description.c
index f3ce7d3..53c0c34 100644
--- a/test/core/description/test_description.c
+++ b/test/core/description/test_description.c
@@ -122,18 +122,17 @@ axis2_test_svc_get_op(axutil_env_t *env
struct axutil_qname *qname = NULL;
struct axutil_hash_t *ops = NULL;
struct axis2_op *op = NULL;
- axis2_status_t status = AXIS2_SUCCESS;
qname = axutil_qname_create(env, "op1", NULL, NULL);
op = axis2_op_create_with_qname(env, qname);
qname = axutil_qname_create(env, "svc1", NULL, NULL);
svc = axis2_svc_create_with_qname(env, qname);
- status = axis2_svc_add_op(svc, env, op);
+ axis2_svc_add_op(svc, env, op);
qname = axutil_qname_create(env, "op2", NULL, NULL);
op = axis2_op_create_with_qname(env, qname);
- status = axis2_svc_add_op(svc, env, op);
+ axis2_svc_add_op(svc, env, op);
ops = axis2_svc_get_all_ops(svc, env);
CUT_ASSERT(ops != NULL);
diff --git a/test/core/transport/http/test_http_transport.c b/test/core/transport/http/test_http_transport.c
index bee1068..0416da8 100644
--- a/test/core/transport/http/test_http_transport.c
+++ b/test/core/transport/http/test_http_transport.c
@@ -182,7 +182,7 @@ test_http_client(
printf("Status code :%d\n", status);
body_bytes_len =
axis2_http_simple_response_get_body_bytes(response, env, &body_bytes);
- printf("body :%s\n", body_bytes);
+ printf("body :%s\n%d", body_bytes , body_bytes_len);
axis2_http_client_free(client, env);
axis2_http_simple_request_free(request, env);