diff options
| author | Anas Nashif <nashif@intel.com> | 2007-05-16 23:37:32 +0000 |
|---|---|---|
| committer | Anas Nashif <nashif@intel.com> | 2007-05-16 23:37:32 +0000 |
| commit | 16803fdddfa698aa7586245d8a48ef25f480635a (patch) | |
| tree | bff0e93234fc949d6cfdb95df998f55b13170fe6 /tests/cunit | |
| parent | 6d02c9a6c69c7aeafdb0c55e5d70ffb5f0b06230 (diff) | |
| download | wsmancli-16803fdddfa698aa7586245d8a48ef25f480635a.tar.gz wsmancli-16803fdddfa698aa7586245d8a48ef25f480635a.tar.xz wsmancli-16803fdddfa698aa7586245d8a48ef25f480635a.zip | |
more API changes
Diffstat (limited to 'tests/cunit')
| -rw-r--r-- | tests/cunit/enumeration.c | 2 | ||||
| -rwxr-xr-x | tests/cunit/invoke.c | 4 | ||||
| -rw-r--r-- | tests/cunit/pull.c | 2 | ||||
| -rw-r--r-- | tests/cunit/transfer_get.c | 2 | ||||
| -rwxr-xr-x | tests/cunit/transfer_put.c | 4 |
5 files changed, 7 insertions, 7 deletions
diff --git a/tests/cunit/enumeration.c b/tests/cunit/enumeration.c index d689dcd..b0a04c5 100644 --- a/tests/cunit/enumeration.c +++ b/tests/cunit/enumeration.c @@ -272,7 +272,7 @@ static void enumeration_test() { if (tests[i].selectors) { selectors = u_strdup_printf(tests[i].selectors, host, host, host); - wsman_add_selectors_from_query_string(options, selectors); + wsman_client_add_selectors_from_str(options, selectors); } options->max_elements = tests[i].max_elements; diff --git a/tests/cunit/invoke.c b/tests/cunit/invoke.c index 78e13a6..60650f5 100755 --- a/tests/cunit/invoke.c +++ b/tests/cunit/invoke.c @@ -200,10 +200,10 @@ static void invoke_test() { wsman_client_reinit_conn(cl); if (selectors != NULL) { - wsman_add_selectors_from_query_string (options, selectors); + wsman_client_add_selectors_from_str (options, selectors); } if (invoke_tests[i].properties != NULL) { - wsman_add_properties_from_query_string (options, + wsman_client_add_prop_from_str (options, invoke_tests[i].properties); } options->flags = invoke_tests[i].flags; diff --git a/tests/cunit/pull.c b/tests/cunit/pull.c index 71dcb54..6fdd13d 100644 --- a/tests/cunit/pull.c +++ b/tests/cunit/pull.c @@ -165,7 +165,7 @@ static void pull_test() { options->flags = pull_tests[i].flags; if (pull_tests[i].selectors != NULL) - wsman_add_selectors_from_query_string(options, pull_tests[i].selectors); + wsman_client_add_selectors_from_str(options, pull_tests[i].selectors); options->max_elements = pull_tests[i].max_elements; WsXmlDocH enum_response = wsman_client_action_enumerate(cl, diff --git a/tests/cunit/transfer_get.c b/tests/cunit/transfer_get.c index 5a17e3e..539452c 100644 --- a/tests/cunit/transfer_get.c +++ b/tests/cunit/transfer_get.c @@ -175,7 +175,7 @@ static void transfer_get_test() { options = wsman_client_options_init(); if (get_tests[i].selectors != NULL) { - wsman_add_selectors_from_query_string (options, get_tests[i].selectors); + wsman_client_add_selectors_from_str (options, get_tests[i].selectors); } diff --git a/tests/cunit/transfer_put.c b/tests/cunit/transfer_put.c index 9b25a4c..b7c1714 100755 --- a/tests/cunit/transfer_put.c +++ b/tests/cunit/transfer_put.c @@ -184,10 +184,10 @@ static void transfer_put_test() { options = wsman_client_options_init(); if (put_tests[i].selectors != NULL) { - wsman_add_selectors_from_query_string (options, selectors); + wsman_client_add_selectors_from_str (options, selectors); } if (put_tests[i].properties != NULL) { - wsman_add_properties_from_query_string (options, + wsman_client_add_prop_from_str (options, put_tests[i].properties); } options->flags = put_tests[i].flags; |
