summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAnas Nashif <nashif@intel.com>2008-05-28 11:07:06 +0000
committerAnas Nashif <nashif@intel.com>2008-05-28 11:07:06 +0000
commitb709c2b62036d710e1aad28ab04e1e1708153994 (patch)
treef598ae16d3d56bbc36112248283baaf94eb719d5
parent12680bc52662b24e0df2829f19d2ea4d03765d2d (diff)
downloadwsmancli-b709c2b62036d710e1aad28ab04e1e1708153994.tar.gz
wsmancli-b709c2b62036d710e1aad28ab04e1e1708153994.tar.xz
wsmancli-b709c2b62036d710e1aad28ab04e1e1708153994.zip
fixed testsuite
-rw-r--r--tests/cunit/enumeration.c2
-rw-r--r--tests/cunit/pull.c4
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;