diff options
| author | Anas Nashif <nashif@intel.com> | 2006-11-29 15:28:11 +0000 |
|---|---|---|
| committer | Anas Nashif <nashif@intel.com> | 2006-11-29 15:28:11 +0000 |
| commit | 2d711e038448a59485dc762f5f2aaa49371686e9 (patch) | |
| tree | 8641fe2babe2e3100d4d1d1e7a2056f3d515234a | |
| parent | 85ae713119b53e66618595199c86d2801e2fed28 (diff) | |
| download | wsmancli-2d711e038448a59485dc762f5f2aaa49371686e9.tar.gz wsmancli-2d711e038448a59485dc762f5f2aaa49371686e9.tar.xz wsmancli-2d711e038448a59485dc762f5f2aaa49371686e9.zip | |
removed reference to wsman_config.h
| -rw-r--r-- | tests/cunit/common.c | 2 | ||||
| -rw-r--r-- | tests/cunit/identify.c | 3 | ||||
| -rwxr-xr-x | tests/cunit/invoke.c | 1 | ||||
| -rw-r--r-- | tests/cunit/pull.c | 1 | ||||
| -rw-r--r-- | tests/cunit/transfer_get.c | 1 | ||||
| -rwxr-xr-x | tests/cunit/transfer_put.c | 1 | ||||
| -rw-r--r-- | tests/interop/openwsman.xml | 196 |
7 files changed, 198 insertions, 7 deletions
diff --git a/tests/cunit/common.c b/tests/cunit/common.c index 8887c02..161561a 100644 --- a/tests/cunit/common.c +++ b/tests/cunit/common.c @@ -1,8 +1,6 @@ -#include "wsman_config.h" - #include <stdio.h> #include <stdlib.h> #include <string.h> diff --git a/tests/cunit/identify.c b/tests/cunit/identify.c index 122039e..dcaaf59 100644 --- a/tests/cunit/identify.c +++ b/tests/cunit/identify.c @@ -31,7 +31,8 @@ /** * @author Anas Nashif */ -#include "wsman_config.h" + +#include "config.h" #include <stdio.h> #include <stdlib.h> diff --git a/tests/cunit/invoke.c b/tests/cunit/invoke.c index df816ad..3eebb02 100755 --- a/tests/cunit/invoke.c +++ b/tests/cunit/invoke.c @@ -31,7 +31,6 @@ /** * @author Anas Nashif */ -#include "wsman_config.h" #include <stdio.h> #include <stdlib.h> diff --git a/tests/cunit/pull.c b/tests/cunit/pull.c index bcef3bb..de329d5 100644 --- a/tests/cunit/pull.c +++ b/tests/cunit/pull.c @@ -32,7 +32,6 @@ * @author Anas Nashif * @author Nathan Rakoff */ -#include "wsman_config.h" #include <stdio.h> #include <stdlib.h> diff --git a/tests/cunit/transfer_get.c b/tests/cunit/transfer_get.c index df4d0fa..8c1108f 100644 --- a/tests/cunit/transfer_get.c +++ b/tests/cunit/transfer_get.c @@ -31,7 +31,6 @@ /** * @author Anas Nashif */ -#include "wsman_config.h" #include <stdio.h> #include <stdlib.h> diff --git a/tests/cunit/transfer_put.c b/tests/cunit/transfer_put.c index 924e98e..5de3b99 100755 --- a/tests/cunit/transfer_put.c +++ b/tests/cunit/transfer_put.c @@ -31,7 +31,6 @@ /** * @author Anas Nashif */ -#include "wsman_config.h" #include <stdio.h> #include <stdlib.h> diff --git a/tests/interop/openwsman.xml b/tests/interop/openwsman.xml new file mode 100644 index 0000000..f09c720 --- /dev/null +++ b/tests/interop/openwsman.xml @@ -0,0 +1,196 @@ +<?xml version="1.0" encoding="UTF-8"?>
+<!-- edited with XMLSpy v2006 sp2 U (http://www.altova.com) by Brian Reistad (Microsoft) -->
+<WSManInteropScenarios>
+ <URLs>
+ <HTTP/>
+ <HTTPS/>
+ </URLs>
+ <Credentials SecurityProfile="Basic">
+ <Username>wsman</Username>
+ <Password>secret</Username>
+ </Credentials>
+ <Scenario Description="6.1 Identify" Supported="true"/>
+ <Scenario Description="6.1.1 Anonymous Identify" Supported="false"/>
+ <Scenario Description="6.2 Get" Supported="true">
+ <Input>
+ <ResourceURI>http://schemas.dmtf.org/wbem/wscim/1/cim-schema/2/CIM_ComputerSystem</ResourceURI>
+ <SelectorSet>
+ <Selector Name="CreationClassName">OMC_UnitaryComputerSystem</Selector>
+ <Selector Name="Name">vpro.home.planux.com</Selector>
+ </SelectorSet>
+ </Input>
+ <Response>
+ <!-- output goes here-->
+ </Response>
+ </Scenario>
+ <Scenario Description="6.3 Get failure - invalid resoure URI" Supported="true">
+ <Input>
+ <ResourceURI>http://schemas.dmtf.org/wbem/wscim/1/cim-schema/2/CIM_ComputerSystem</ResourceURI>
+ </Input>
+ </Scenario>
+ <Scenario Description="6.4 Get failure (MaxEnvelop exceeded)" Supported="true">
+ <Input>
+ <ResourceURI/>
+ <SelectorSet/>
+ <MaxEnvelope/>
+ </Input>
+ </Scenario>
+ <Scenario Description="6.5 Get failure - invalid selectors" Supported="true">
+ <Input>
+ <ResourceURI/>
+ <SelectorSet/>
+ </Input>
+ </Scenario>
+ <Scenario Description="6.6 Get failure - operation timeout" Supported="true">
+ <Input>
+ <ResourceURI/>
+ <SelectorSet/>
+ <Timeout/>
+ </Input>
+ </Scenario>
+ <Scenario Description="6.7 Fragment Get" Supported="true">
+ <Input>
+ <ResourceURI/>
+ <SelectorSet/>
+ <Dialect/>
+ <Expression/>
+ </Input>
+ <Response>
+ <w:XmlFragment xmlns:w="http://schemas.dmtf.org/wbem/wsman/1/wsman.xsd">
+ <!-- output goes here -->
+ </w:XmlFragment>
+ </Response>
+ </Scenario>
+ <Scenario Description="7.1 Enumerate" Supported="true">
+ <Input>
+ <ResourceURI/>
+ </Input>
+ <Response>
+ <Item/>
+ <Item/>
+ </Response>
+ </Scenario>
+ <Scenario Description="7.2 Optimized Enumerate" Supported="true">
+ <Input>
+ <!-- data same as for scenario 7.1 -->
+ </Input>
+ </Scenario>
+ <Scenario Description="7.3 Enumerate failure" Supported="true">
+ <Input>
+ <!-- data same as for scenario 7.1 -->
+ </Input>
+ </Scenario>
+ <Scenario Description="7.4 Enumerate ObjectAndEPR" Supported="true">
+ <Input>
+ <ResourceURI/>
+ </Input>
+ <Response>
+ <Item>
+ <Obj/>
+ <EPR/>
+ </Item>
+ <Item>
+ <Obj/>
+ <EPR/>
+ </Item>
+ </Response>
+ </Scenario>
+ <Scenario Description="7.5 Enumerate w/ XPath" Supported="true">
+ <Input>
+ <ResourceURI/>
+ <Expression/>
+ </Input>
+ <Response>
+ <Item/>
+ <Item/>
+ </Response>
+ </Scenario>
+ <Scenario Description="7.6 Enumerate w/ SelectorFilter" Supported="true">
+ <Input>
+ <ResourceURI/>
+ <Expression/>
+ </Input>
+ <Response>
+ <Item/>
+ <Item/>
+ </Response>
+ </Scenario>
+ <Scenario Description="7.7 Enumerate w/ Other Dialect" Supported="true">
+ <Input>
+ <ResourceURI/>
+ <Dialect/>
+ <Expression/>
+ </Input>
+ <Response>
+ <Item/>
+ <Item/>
+ </Response>
+ </Scenario>
+ <Scenario Description="7.8 Enumerate w/ transform and EPR" Supported="true">
+ <Input>
+ <ResourceURI/>
+ <Dialect/>
+ <Expression/>
+ </Input>
+ <Response>
+ <Item>
+ <Obj/>
+ <EPR/>
+ </Item>
+ <Item>
+ <Obj/>
+ <EPR/>
+ </Item>
+ </Response>
+ </Scenario>
+ <Scenario Description="7.9 Enumerate Polymorphism" Supported="true">
+ <Input>
+ <ResourceURI/>
+ </Input>
+ <Response>
+ <Item/>
+ <Item/>
+ </Response>
+ </Scenario>
+ <Scenario Description="8.1 Invoke" Supported="true">
+ <Input>
+ <ResourceURI/>
+ <SelectorSet/>
+ <MethodName/>
+ <InputMsg/>
+ </Input>
+ <Response>
+ <OutputMsg/>
+ </Response>
+ </Scenario>
+ <Scenario Description="9.1 Put " Supported="true">
+ <Input>
+ <ResourceURI/>
+ <SelectorSet/>
+ <PropertyName/>
+ <NewValue/>
+ </Input>
+ </Scenario>
+ <Scenario Description="9.2 Fragment Put" Supported="true">
+ <Input>
+ <ResourceURI/>
+ <SelectorSet/>
+ <Dialect/>
+ <Expression/>
+ <InputMsg>
+
+</InputMsg>
+ </Input>
+ </Scenario>
+ <Scenario Description="10 Eventing" Supported="true">
+ <Input>
+ <ResourceURI/>
+ <Dialect/>
+ <Expression/>
+ </Input>
+ <Response>
+ <Event/>
+ <Event/>
+ </Response>
+ </Scenario>
+</WSManInteropScenarios>
|
