summaryrefslogtreecommitdiffstats
path: root/sca-cpp/branches/lightweight-sca/modules/server/htdocs/test
diff options
context:
space:
mode:
Diffstat (limited to 'sca-cpp/branches/lightweight-sca/modules/server/htdocs/test')
-rw-r--r--sca-cpp/branches/lightweight-sca/modules/server/htdocs/test/entry.xml14
-rw-r--r--sca-cpp/branches/lightweight-sca/modules/server/htdocs/test/feed.xml44
-rw-r--r--sca-cpp/branches/lightweight-sca/modules/server/htdocs/test/json-properties.txt14
-rw-r--r--sca-cpp/branches/lightweight-sca/modules/server/htdocs/test/json-request.txt7
-rw-r--r--sca-cpp/branches/lightweight-sca/modules/server/htdocs/test/json-result.txt4
5 files changed, 83 insertions, 0 deletions
diff --git a/sca-cpp/branches/lightweight-sca/modules/server/htdocs/test/entry.xml b/sca-cpp/branches/lightweight-sca/modules/server/htdocs/test/entry.xml
new file mode 100644
index 0000000000..46053c3138
--- /dev/null
+++ b/sca-cpp/branches/lightweight-sca/modules/server/htdocs/test/entry.xml
@@ -0,0 +1,14 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<entry xmlns="http://www.w3.org/2005/Atom">
+ <title type="text">Item</title>
+ <id>111</id>
+ <content type="application/xml">
+ <item>
+ <name>Apple</name>
+ <currencyCode>USD</currencyCode>
+ <currencySymbol>$</currencySymbol>
+ <price>2.99</price>
+ </item>
+ </content>
+ <link href="111"/>
+</entry>
diff --git a/sca-cpp/branches/lightweight-sca/modules/server/htdocs/test/feed.xml b/sca-cpp/branches/lightweight-sca/modules/server/htdocs/test/feed.xml
new file mode 100644
index 0000000000..337320e4c5
--- /dev/null
+++ b/sca-cpp/branches/lightweight-sca/modules/server/htdocs/test/feed.xml
@@ -0,0 +1,44 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<feed xmlns="http://www.w3.org/2005/Atom">
+ <title type="text">Sample Feed</title>
+ <id>123456789</id>
+ <entry xmlns="http://www.w3.org/2005/Atom">
+ <title type="text">Item</title>
+ <id>111</id>
+ <content type="application/xml">
+ <item>
+ <name>Apple</name>
+ <currencyCode>USD</currencyCode>
+ <currencySymbol>$</currencySymbol>
+ <price>2.99</price>
+ </item>
+ </content>
+ <link href="111"/>
+ </entry>
+ <entry xmlns="http://www.w3.org/2005/Atom">
+ <title type="text">Item</title>
+ <id>222</id>
+ <content type="application/xml">
+ <item>
+ <name>Orange</name>
+ <currencyCode>USD</currencyCode>
+ <currencySymbol>$</currencySymbol>
+ <price>3.55</price>
+ </item>
+ </content>
+ <link href="222"/>
+ </entry>
+ <entry xmlns="http://www.w3.org/2005/Atom">
+ <title type="text">Item</title>
+ <id>333</id>
+ <content type="application/xml">
+ <item>
+ <name>Pear</name>
+ <currencyCode>USD</currencyCode>
+ <currencySymbol>$</currencySymbol>
+ <price>1.55</price>
+ </item>
+ </content>
+ <link href="333"/>
+ </entry>
+</feed>
diff --git a/sca-cpp/branches/lightweight-sca/modules/server/htdocs/test/json-properties.txt b/sca-cpp/branches/lightweight-sca/modules/server/htdocs/test/json-properties.txt
new file mode 100644
index 0000000000..2cff8b7339
--- /dev/null
+++ b/sca-cpp/branches/lightweight-sca/modules/server/htdocs/test/json-properties.txt
@@ -0,0 +1,14 @@
+{
+ "id": "1",
+ "result": {
+ "host": "localhost",
+ "path": [
+ "c",
+ "property-test"
+ ],
+ "query": {
+ "id": "1",
+ "method": "print"
+ }
+ }
+} \ No newline at end of file
diff --git a/sca-cpp/branches/lightweight-sca/modules/server/htdocs/test/json-request.txt b/sca-cpp/branches/lightweight-sca/modules/server/htdocs/test/json-request.txt
new file mode 100644
index 0000000000..b5c2457309
--- /dev/null
+++ b/sca-cpp/branches/lightweight-sca/modules/server/htdocs/test/json-request.txt
@@ -0,0 +1,7 @@
+{
+ "id": 1,
+ "method": "echo",
+ "params": [
+ "Hello"
+ ]
+}
diff --git a/sca-cpp/branches/lightweight-sca/modules/server/htdocs/test/json-result.txt b/sca-cpp/branches/lightweight-sca/modules/server/htdocs/test/json-result.txt
new file mode 100644
index 0000000000..72b27b67db
--- /dev/null
+++ b/sca-cpp/branches/lightweight-sca/modules/server/htdocs/test/json-result.txt
@@ -0,0 +1,4 @@
+{
+ "id": 1,
+ "result": "Hello"
+} \ No newline at end of file