summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authordmitry.mikulin <dmitry.mikulin>2008-05-12 15:28:04 +0000
committerdmitry.mikulin <dmitry.mikulin>2008-05-12 15:28:04 +0000
commitc00d540add15438b2f6ef67f327d70d17aa7052f (patch)
tree0a81cc0f71eacb543c83ee10225e7644fc8c63d6 /test
parent7437c8822f5f0acd236240e881f258fe1fb40f6a (diff)
downloadtog-pegasus-c00d540add15438b2f6ef67f327d70d17aa7052f.zip
tog-pegasus-c00d540add15438b2f6ef67f327d70d17aa7052f.tar.gz
tog-pegasus-c00d540add15438b2f6ef67f327d70d17aa7052f.tar.xz
BUG#: 7649
TITLE: PEP 311: various enhancements. DESCRIPTION: Added full support for WS-Man date/time formats; enhanced handling of floating point formats to allow NaN, INF and -INF; added sorting of properties in output instance XML to comply with the spec; added xsi:type to embedded instance declarations; added more tests to cover the changes;
Diffstat (limited to 'test')
-rw-r--r--test/wetest/wsman/Get/Get_Success01rspgood.xml54
-rw-r--r--test/wetest/wsman/HttpHeader/ContentTypeTextXml01rspgood.xml54
-rw-r--r--test/wetest/wsman/HttpHeader/Http1_0Post01rspgood.xml54
-rw-r--r--test/wetest/wsman/HttpHeader/Http1_1MPost01rspgood.xml54
-rw-r--r--test/wetest/wsman/HttpHeader/SOAPActionCorrect01rspgood.xml54
-rw-r--r--test/wetest/wsman/HttpHeader/SOAPActionCorrectQuoted01rspgood.xml54
6 files changed, 162 insertions, 162 deletions
diff --git a/test/wetest/wsman/Get/Get_Success01rspgood.xml b/test/wetest/wsman/Get/Get_Success01rspgood.xml
index f846c6d..7e28344 100644
--- a/test/wetest/wsman/Get/Get_Success01rspgood.xml
+++ b/test/wetest/wsman/Get/Get_Success01rspgood.xml
@@ -22,12 +22,33 @@ PG_TestPropertyTypes
<class:InstanceId>
1
</class:InstanceId>
+<class:PropertyBoolean>
+true
+</class:PropertyBoolean>
+<class:PropertyDatetime>
+P20010515DT10H43M54S
+</class:PropertyDatetime>
+<class:PropertyReal32>
+1.1234567165374756e+00
+</class:PropertyReal32>
+<class:PropertyReal64>
+1.1234567890654321e+00
+</class:PropertyReal64>
+<class:PropertySint16>
+-1600
+</class:PropertySint16>
+<class:PropertySint32>
+-3200
+</class:PropertySint32>
+<class:PropertySint64>
+-6400
+</class:PropertySint64>
+<class:PropertySint8>
+-120
+</class:PropertySint8>
<class:PropertyString>
PG_TestPropertyTypes_Instance1
</class:PropertyString>
-<class:PropertyUint8>
-120
-</class:PropertyUint8>
<class:PropertyUint16>
1600
</class:PropertyUint16>
@@ -37,30 +58,9 @@ PG_TestPropertyTypes_Instance1
<class:PropertyUint64>
6400
</class:PropertyUint64>
-<class:PropertySint8>
--120
-</class:PropertySint8>
-<class:PropertySint16>
--1600
-</class:PropertySint16>
-<class:PropertySint32>
--3200
-</class:PropertySint32>
-<class:PropertySint64>
--6400
-</class:PropertySint64>
-<class:PropertyBoolean>
-true
-</class:PropertyBoolean>
-<class:PropertyReal32>
-1.1234567165374756e+00
-</class:PropertyReal32>
-<class:PropertyReal64>
-1.1234567890654321e+00
-</class:PropertyReal64>
-<class:PropertyDatetime>
-20010515104354.000000:000
-</class:PropertyDatetime>
+<class:PropertyUint8>
+120
+</class:PropertyUint8>
</class:PG_TestPropertyTypes>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
diff --git a/test/wetest/wsman/HttpHeader/ContentTypeTextXml01rspgood.xml b/test/wetest/wsman/HttpHeader/ContentTypeTextXml01rspgood.xml
index 2df6daf..67e4de5 100644
--- a/test/wetest/wsman/HttpHeader/ContentTypeTextXml01rspgood.xml
+++ b/test/wetest/wsman/HttpHeader/ContentTypeTextXml01rspgood.xml
@@ -22,12 +22,33 @@ PG_TestPropertyTypes
<class:InstanceId>
1
</class:InstanceId>
+<class:PropertyBoolean>
+true
+</class:PropertyBoolean>
+<class:PropertyDatetime>
+P20010515DT10H43M54S
+</class:PropertyDatetime>
+<class:PropertyReal32>
+1.1234567165374756e+00
+</class:PropertyReal32>
+<class:PropertyReal64>
+1.1234567890654321e+00
+</class:PropertyReal64>
+<class:PropertySint16>
+-1600
+</class:PropertySint16>
+<class:PropertySint32>
+-3200
+</class:PropertySint32>
+<class:PropertySint64>
+-6400
+</class:PropertySint64>
+<class:PropertySint8>
+-120
+</class:PropertySint8>
<class:PropertyString>
PG_TestPropertyTypes_Instance1
</class:PropertyString>
-<class:PropertyUint8>
-120
-</class:PropertyUint8>
<class:PropertyUint16>
1600
</class:PropertyUint16>
@@ -37,30 +58,9 @@ PG_TestPropertyTypes_Instance1
<class:PropertyUint64>
6400
</class:PropertyUint64>
-<class:PropertySint8>
--120
-</class:PropertySint8>
-<class:PropertySint16>
--1600
-</class:PropertySint16>
-<class:PropertySint32>
--3200
-</class:PropertySint32>
-<class:PropertySint64>
--6400
-</class:PropertySint64>
-<class:PropertyBoolean>
-true
-</class:PropertyBoolean>
-<class:PropertyReal32>
-1.1234567165374756e+00
-</class:PropertyReal32>
-<class:PropertyReal64>
-1.1234567890654321e+00
-</class:PropertyReal64>
-<class:PropertyDatetime>
-20010515104354.000000:000
-</class:PropertyDatetime>
+<class:PropertyUint8>
+120
+</class:PropertyUint8>
</class:PG_TestPropertyTypes>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
diff --git a/test/wetest/wsman/HttpHeader/Http1_0Post01rspgood.xml b/test/wetest/wsman/HttpHeader/Http1_0Post01rspgood.xml
index 673cb70..0a0860e 100644
--- a/test/wetest/wsman/HttpHeader/Http1_0Post01rspgood.xml
+++ b/test/wetest/wsman/HttpHeader/Http1_0Post01rspgood.xml
@@ -22,12 +22,33 @@ PG_TestPropertyTypes
<class:InstanceId>
1
</class:InstanceId>
+<class:PropertyBoolean>
+true
+</class:PropertyBoolean>
+<class:PropertyDatetime>
+P20010515DT10H43M54S
+</class:PropertyDatetime>
+<class:PropertyReal32>
+1.1234567165374756e+00
+</class:PropertyReal32>
+<class:PropertyReal64>
+1.1234567890654321e+00
+</class:PropertyReal64>
+<class:PropertySint16>
+-1600
+</class:PropertySint16>
+<class:PropertySint32>
+-3200
+</class:PropertySint32>
+<class:PropertySint64>
+-6400
+</class:PropertySint64>
+<class:PropertySint8>
+-120
+</class:PropertySint8>
<class:PropertyString>
PG_TestPropertyTypes_Instance1
</class:PropertyString>
-<class:PropertyUint8>
-120
-</class:PropertyUint8>
<class:PropertyUint16>
1600
</class:PropertyUint16>
@@ -37,30 +58,9 @@ PG_TestPropertyTypes_Instance1
<class:PropertyUint64>
6400
</class:PropertyUint64>
-<class:PropertySint8>
--120
-</class:PropertySint8>
-<class:PropertySint16>
--1600
-</class:PropertySint16>
-<class:PropertySint32>
--3200
-</class:PropertySint32>
-<class:PropertySint64>
--6400
-</class:PropertySint64>
-<class:PropertyBoolean>
-true
-</class:PropertyBoolean>
-<class:PropertyReal32>
-1.1234567165374756e+00
-</class:PropertyReal32>
-<class:PropertyReal64>
-1.1234567890654321e+00
-</class:PropertyReal64>
-<class:PropertyDatetime>
-20010515104354.000000:000
-</class:PropertyDatetime>
+<class:PropertyUint8>
+120
+</class:PropertyUint8>
</class:PG_TestPropertyTypes>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
diff --git a/test/wetest/wsman/HttpHeader/Http1_1MPost01rspgood.xml b/test/wetest/wsman/HttpHeader/Http1_1MPost01rspgood.xml
index de2a50d..9fa085a 100644
--- a/test/wetest/wsman/HttpHeader/Http1_1MPost01rspgood.xml
+++ b/test/wetest/wsman/HttpHeader/Http1_1MPost01rspgood.xml
@@ -22,12 +22,33 @@ PG_TestPropertyTypes
<class:InstanceId>
1
</class:InstanceId>
+<class:PropertyBoolean>
+true
+</class:PropertyBoolean>
+<class:PropertyDatetime>
+P20010515DT10H43M54S
+</class:PropertyDatetime>
+<class:PropertyReal32>
+1.1234567165374756e+00
+</class:PropertyReal32>
+<class:PropertyReal64>
+1.1234567890654321e+00
+</class:PropertyReal64>
+<class:PropertySint16>
+-1600
+</class:PropertySint16>
+<class:PropertySint32>
+-3200
+</class:PropertySint32>
+<class:PropertySint64>
+-6400
+</class:PropertySint64>
+<class:PropertySint8>
+-120
+</class:PropertySint8>
<class:PropertyString>
PG_TestPropertyTypes_Instance1
</class:PropertyString>
-<class:PropertyUint8>
-120
-</class:PropertyUint8>
<class:PropertyUint16>
1600
</class:PropertyUint16>
@@ -37,30 +58,9 @@ PG_TestPropertyTypes_Instance1
<class:PropertyUint64>
6400
</class:PropertyUint64>
-<class:PropertySint8>
--120
-</class:PropertySint8>
-<class:PropertySint16>
--1600
-</class:PropertySint16>
-<class:PropertySint32>
--3200
-</class:PropertySint32>
-<class:PropertySint64>
--6400
-</class:PropertySint64>
-<class:PropertyBoolean>
-true
-</class:PropertyBoolean>
-<class:PropertyReal32>
-1.1234567165374756e+00
-</class:PropertyReal32>
-<class:PropertyReal64>
-1.1234567890654321e+00
-</class:PropertyReal64>
-<class:PropertyDatetime>
-20010515104354.000000:000
-</class:PropertyDatetime>
+<class:PropertyUint8>
+120
+</class:PropertyUint8>
</class:PG_TestPropertyTypes>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
diff --git a/test/wetest/wsman/HttpHeader/SOAPActionCorrect01rspgood.xml b/test/wetest/wsman/HttpHeader/SOAPActionCorrect01rspgood.xml
index f1633d3..3eae0c9 100644
--- a/test/wetest/wsman/HttpHeader/SOAPActionCorrect01rspgood.xml
+++ b/test/wetest/wsman/HttpHeader/SOAPActionCorrect01rspgood.xml
@@ -22,12 +22,33 @@ PG_TestPropertyTypes
<class:InstanceId>
1
</class:InstanceId>
+<class:PropertyBoolean>
+true
+</class:PropertyBoolean>
+<class:PropertyDatetime>
+P20010515DT10H43M54S
+</class:PropertyDatetime>
+<class:PropertyReal32>
+1.1234567165374756e+00
+</class:PropertyReal32>
+<class:PropertyReal64>
+1.1234567890654321e+00
+</class:PropertyReal64>
+<class:PropertySint16>
+-1600
+</class:PropertySint16>
+<class:PropertySint32>
+-3200
+</class:PropertySint32>
+<class:PropertySint64>
+-6400
+</class:PropertySint64>
+<class:PropertySint8>
+-120
+</class:PropertySint8>
<class:PropertyString>
PG_TestPropertyTypes_Instance1
</class:PropertyString>
-<class:PropertyUint8>
-120
-</class:PropertyUint8>
<class:PropertyUint16>
1600
</class:PropertyUint16>
@@ -37,30 +58,9 @@ PG_TestPropertyTypes_Instance1
<class:PropertyUint64>
6400
</class:PropertyUint64>
-<class:PropertySint8>
--120
-</class:PropertySint8>
-<class:PropertySint16>
--1600
-</class:PropertySint16>
-<class:PropertySint32>
--3200
-</class:PropertySint32>
-<class:PropertySint64>
--6400
-</class:PropertySint64>
-<class:PropertyBoolean>
-true
-</class:PropertyBoolean>
-<class:PropertyReal32>
-1.1234567165374756e+00
-</class:PropertyReal32>
-<class:PropertyReal64>
-1.1234567890654321e+00
-</class:PropertyReal64>
-<class:PropertyDatetime>
-20010515104354.000000:000
-</class:PropertyDatetime>
+<class:PropertyUint8>
+120
+</class:PropertyUint8>
</class:PG_TestPropertyTypes>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
diff --git a/test/wetest/wsman/HttpHeader/SOAPActionCorrectQuoted01rspgood.xml b/test/wetest/wsman/HttpHeader/SOAPActionCorrectQuoted01rspgood.xml
index 72402a0..631f512 100644
--- a/test/wetest/wsman/HttpHeader/SOAPActionCorrectQuoted01rspgood.xml
+++ b/test/wetest/wsman/HttpHeader/SOAPActionCorrectQuoted01rspgood.xml
@@ -22,12 +22,33 @@ PG_TestPropertyTypes
<class:InstanceId>
1
</class:InstanceId>
+<class:PropertyBoolean>
+true
+</class:PropertyBoolean>
+<class:PropertyDatetime>
+P20010515DT10H43M54S
+</class:PropertyDatetime>
+<class:PropertyReal32>
+1.1234567165374756e+00
+</class:PropertyReal32>
+<class:PropertyReal64>
+1.1234567890654321e+00
+</class:PropertyReal64>
+<class:PropertySint16>
+-1600
+</class:PropertySint16>
+<class:PropertySint32>
+-3200
+</class:PropertySint32>
+<class:PropertySint64>
+-6400
+</class:PropertySint64>
+<class:PropertySint8>
+-120
+</class:PropertySint8>
<class:PropertyString>
PG_TestPropertyTypes_Instance1
</class:PropertyString>
-<class:PropertyUint8>
-120
-</class:PropertyUint8>
<class:PropertyUint16>
1600
</class:PropertyUint16>
@@ -37,30 +58,9 @@ PG_TestPropertyTypes_Instance1
<class:PropertyUint64>
6400
</class:PropertyUint64>
-<class:PropertySint8>
--120
-</class:PropertySint8>
-<class:PropertySint16>
--1600
-</class:PropertySint16>
-<class:PropertySint32>
--3200
-</class:PropertySint32>
-<class:PropertySint64>
--6400
-</class:PropertySint64>
-<class:PropertyBoolean>
-true
-</class:PropertyBoolean>
-<class:PropertyReal32>
-1.1234567165374756e+00
-</class:PropertyReal32>
-<class:PropertyReal64>
-1.1234567890654321e+00
-</class:PropertyReal64>
-<class:PropertyDatetime>
-20010515104354.000000:000
-</class:PropertyDatetime>
+<class:PropertyUint8>
+120
+</class:PropertyUint8>
</class:PG_TestPropertyTypes>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>