summaryrefslogtreecommitdiffstats
path: root/tests/cunit/transfer_get.c
diff options
context:
space:
mode:
authorAnas Nashif <nashif@intel.com>2007-05-16 23:55:28 +0000
committerAnas Nashif <nashif@intel.com>2007-05-16 23:55:28 +0000
commit1cc54578baf92beada66be79aecdd0f5341f5cdd (patch)
treeb8e8aec74b508c097ab2d9de59e37185614de184 /tests/cunit/transfer_get.c
parent16803fdddfa698aa7586245d8a48ef25f480635a (diff)
downloadwsmancli-1cc54578baf92beada66be79aecdd0f5341f5cdd.tar.gz
wsmancli-1cc54578baf92beada66be79aecdd0f5341f5cdd.tar.xz
wsmancli-1cc54578baf92beada66be79aecdd0f5341f5cdd.zip
wsman_client -> wsmc
Diffstat (limited to 'tests/cunit/transfer_get.c')
-rw-r--r--tests/cunit/transfer_get.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/tests/cunit/transfer_get.c b/tests/cunit/transfer_get.c
index 539452c..1867e29 100644
--- a/tests/cunit/transfer_get.c
+++ b/tests/cunit/transfer_get.c
@@ -171,16 +171,16 @@ static void transfer_get_test() {
u_strdup_printf(get_tests[i].selectors, host, host, host);
}
- wsman_client_reinit_conn(cl);
- options = wsman_client_options_init();
+ wsmc_reinit_conn(cl);
+ options = wsmc_options_init();
if (get_tests[i].selectors != NULL) {
- wsman_client_add_selectors_from_str (options, get_tests[i].selectors);
+ wsmc_add_selectors_from_str (options, get_tests[i].selectors);
}
- doc = wsman_client_action_get(cl, (char *)get_tests[i].resource_uri, options);
- CU_ASSERT_TRUE(wsman_client_get_response_code(cl) == get_tests[i].final_status);
+ doc = wsmc_action_get(cl, (char *)get_tests[i].resource_uri, options);
+ CU_ASSERT_TRUE(wsmc_get_response_code(cl) == get_tests[i].final_status);
CU_ASSERT_PTR_NOT_NULL(doc);
if (!doc) {
@@ -229,7 +229,7 @@ RETURN:
}
u_free((char *)get_tests[i].selectors);
get_tests[i].selectors = old_selectors;
- wsman_client_options_destroy(options);
+ wsmc_options_destroy(options);
i++; // increase executed test number
}