summaryrefslogtreecommitdiffstats
path: root/tests/cunit/transfer_get.c
diff options
context:
space:
mode:
authorKlaus Kaempf <kkaempf@novell.com>2007-01-10 14:02:32 +0000
committerKlaus Kaempf <kkaempf@novell.com>2007-01-10 14:02:32 +0000
commit934b6b2f306da1a8842bdaf8361526ea5df6544f (patch)
tree29aebfba61e9cb0902b4086f15100e1d4978aef5 /tests/cunit/transfer_get.c
parentd77a968728f2841a47d05ed8050262c65824f04d (diff)
downloadwsmancli-934b6b2f306da1a8842bdaf8361526ea5df6544f.tar.gz
wsmancli-934b6b2f306da1a8842bdaf8361526ea5df6544f.tar.xz
wsmancli-934b6b2f306da1a8842bdaf8361526ea5df6544f.zip
add comments to test data
Diffstat (limited to 'tests/cunit/transfer_get.c')
-rw-r--r--tests/cunit/transfer_get.c25
1 files changed, 13 insertions, 12 deletions
diff --git a/tests/cunit/transfer_get.c b/tests/cunit/transfer_get.c
index b911149..2e4981a 100644
--- a/tests/cunit/transfer_get.c
+++ b/tests/cunit/transfer_get.c
@@ -47,18 +47,19 @@
TestData get_tests[] = {
{
- "Transfer Get without any selectors.",
- "http://schemas.dmtf.org/wbem/wscim/1/cim-schema/2/CIM_ComputerSystem",
- NULL,
- NULL,
- NULL,
- "/s:Envelope/s:Body/s:Fault/s:Code/s:Subcode/s:Value",
- "wsman:InvalidSelectors",
- "/s:Envelope/s:Body/s:Fault/s:Detail/wsman:FaultDetail",
- "http://schemas.dmtf.org/wbem/wsman/1/wsman/faultDetail/InsufficientSelectors",
- 400,
- 0,
- 0
+ "Transfer Get without any selectors.", // explanation
+ "http://schemas.dmtf.org/wbem/wscim/1/cim-schema/2/CIM_ComputerSystem", // resource_uri
+ NULL, // method
+ NULL, // selectors (as URI key=value&key=value ...)
+ NULL, // properties (as URI key=value&key=value ...)
+ "/s:Envelope/s:Body/s:Fault/s:Code/s:Subcode/s:Value", // expr1
+ "wsman:InvalidSelectors", // value1
+ "/s:Envelope/s:Body/s:Fault/s:Detail/wsman:FaultDetail", // expr2
+ "http://schemas.dmtf.org/wbem/wsman/1/wsman/faultDetail/InsufficientSelectors", // value2
+ 400, // final_status
+ 0, // flags
+ 0 // max_elements
+ // char **filters; char **common_filters;
},
{