summaryrefslogtreecommitdiff
path: root/test/xmlrpc/data
diff options
context:
space:
mode:
authortenderlove <tenderlove@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2012-03-06 22:40:38 +0000
committertenderlove <tenderlove@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2012-03-06 22:40:38 +0000
commit1ac1163f562cc026199c81abefe4c8f9ab840b24 (patch)
tree3dcf5d3269c06331b58a8b112f070401bd314fbb /test/xmlrpc/data
parent2fbc01fb56332d5a611984570ff7346acd844eeb (diff)
* test/xmlrpc/test_client.rb: adding a test for performing an XMLRPC
call. * test/xmlrpc/data/blog.xml: supporting XML document for the response. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34933 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/xmlrpc/data')
-rw-r--r--test/xmlrpc/data/blog.xml18
1 files changed, 18 insertions, 0 deletions
diff --git a/test/xmlrpc/data/blog.xml b/test/xmlrpc/data/blog.xml
new file mode 100644
index 00000000000..cb325f1803f
--- /dev/null
+++ b/test/xmlrpc/data/blog.xml
@@ -0,0 +1,18 @@
+<?xml version="1.0"?>
+<methodResponse>
+ <params>
+ <param>
+ <value>
+ <array><data>
+ <value><struct>
+ <member><name>isAdmin</name><value><boolean>1</boolean></value></member>
+ <member><name>url</name><value><string>http://tenderlovemaking.com/</string></value></member>
+ <member><name>blogid</name><value><string>1</string></value></member>
+ <member><name>blogName</name><value><string>Tender Lovemaking</string></value></member>
+ <member><name>xmlrpc</name><value><string>http://tenderlovemaking.com/xmlrpc.php</string></value></member>
+</struct></value>
+</data></array>
+ </value>
+ </param>
+ </params>
+</methodResponse>