From b709c2b62036d710e1aad28ab04e1e1708153994 Mon Sep 17 00:00:00 2001 From: Anas Nashif Date: Wed, 28 May 2008 11:07:06 +0000 Subject: fixed testsuite --- tests/cunit/enumeration.c | 2 +- tests/cunit/pull.c | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/cunit/enumeration.c b/tests/cunit/enumeration.c index a062af5..b0be5bc 100644 --- a/tests/cunit/enumeration.c +++ b/tests/cunit/enumeration.c @@ -264,7 +264,7 @@ static void enumeration_test(void) { options->max_elements = tests[i].max_elements; WsXmlDocH enum_response = wsmc_action_enumerate(cl, - (char *)tests[i].resource_uri, options); + (char *)tests[i].resource_uri, options, NULL); CU_ASSERT_TRUE(wsmc_get_response_code(cl) == tests[i].final_status); if (wsmc_get_response_code(cl) != tests[i].final_status) { diff --git a/tests/cunit/pull.c b/tests/cunit/pull.c index 1e5956b..4aa9014 100644 --- a/tests/cunit/pull.c +++ b/tests/cunit/pull.c @@ -161,7 +161,7 @@ static void pull_test(void) { options->max_elements = pull_tests[i].max_elements; WsXmlDocH enum_response = wsmc_action_enumerate(cl, - (char *)pull_tests[i].resource_uri, options); + (char *)pull_tests[i].resource_uri, options, NULL); CU_ASSERT_TRUE(wsmc_get_response_code(cl) == pull_tests[i].final_status); if (wsmc_get_response_code(cl) != pull_tests[i].final_status) { @@ -182,7 +182,7 @@ static void pull_test(void) { while (enumContext != NULL) { WsXmlDocH docp = wsmc_action_pull(cl, (char *)pull_tests[i].resource_uri, - options, enumContext); + options, NULL, enumContext); CU_ASSERT_PTR_NOT_NULL(docp); if (!docp) { goto RETURN; -- cgit