summaryrefslogtreecommitdiff
path: root/test/xmlrpc
AgeCommit message (Collapse)Author
2012-03-06* lib/xmlrpc/client.rb: assume servers that do not send a Content-Typetenderlove
header are sending 'text/xml'. Thanks Nathan Leavitt! [ruby-core:41204] [Bug #5660] * test/xmlrpc/test_client.rb: supporting test git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34935 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-03-06* test/xmlrpc/test_client.rb: adding a test for performing an XMLRPCtenderlove
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
2012-03-02* lib/xmlrpc/client.rb (new2): use URI for uri parsing.tenderlove
* test/xmlrpc/test_client.rb: test that query params are passed to the client constructor. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34884 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-03-02* lib/xmlrpc/client.rb (new2): raises an ArgumentError on badtenderlove
arguments. * test/xmlrpc/test_client.rb: tests for bad uris git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34883 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-03-02* lib/xmlrpc/client.rb (new2): fix custom port specification when antenderlove
SSL uri is used. * test/xmlrpc/test_client.rb: tests for XMLRPC::Client.new2 git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34882 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-08-05* lib/xmlrpc/client.rb, lib/xmlrpc/server.rb: should useshugo
String#bytesize instead of String#size. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32856 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-08-03Cosmetic change of Hash literal.nahi
'BindAddress: var' => ':BindAddress => var' according to other configurations. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32828 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-08-03* test/xmlrpc/webrick_testing.rb (WEBrick_Testing#start_server):shyouhei
Like r32795, bind address should be specified. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32824 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-08-01* test/xmlrpc/test_webrick_server.rb (Test_Webrick#setup_http_server):shyouhei
XMLRPC::Client.new3(), when called without host: argument, tries to connect to a host where "localhost" resolves to. On the other hand a WEBrick::HTTPServer.new(), when called without BindAddress: argument, tries to listen all the address where getaddrinfo(AF_UNSPEC) resolves to. This is a mismatch because "localhost" might not resolve to one of those listening sockets. We would better explicitly specify "localhost" here and if failed, just skip the whole test. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32795 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-07-25* forgot to add a test fixture file in r32666.nahi
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32667 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-07-25* lib/xmlrpc/client.rb: Fix possible HTTP header formatting failure bynahi
'Basic' header. Long username caused the base64 String truncation in HTTP header which is not allowed. See #5046. * test/xmlrpc/test_webrick_server.rb: test it. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32666 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-05-26* lib/xmlrpc/parser.rb (FaultException): fix to_s and inspectshyouhei
* test/xmlrpc/parser.rb: test for the above Signed-off-by: URABE, Shyouhei <shyouhei@ruby-lang.org> git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31736 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-04-22* lib/xmlrpc/create.rb (XMLRPC::Create#conv2value):naruse
XML-RPC's int is 32bit int, and Fixnum also may be beyond 32bit. * lib/xmlrpc/create.rb (XMLRPC::Create#conv2value): XML-RPC doesn't allow Infinity and NaN. http://www.xmlrpc.com/spec git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31319 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-02-13* test/xmlrpc/webrick_testing.rb (WEBrick_Testing#start_server):nobu
catch IOError when server socket was closed. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30858 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-02-02use require_relative.akr
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26542 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-01-25supress warnings.akr
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26418 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-03-06* {ext,lib,test}/**/*.rb: removed trailing spaces.nobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22784 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-09-24* test: assert_raises has been deprecated since a long time ago.nobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19536 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-04-15* lib/xmlrpc/client.rb: fix cookie handling. [ruby-dev:34403]kou
* test/xmlrpc/test_cookie.rb: add a test for the above fix. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@16042 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-12-15* test/xmlrpc/webrick_testing.rb: join webrick server thread.akr
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14245 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-02-14* test/fileutils/test_fileutils.rb (check_singleton): fix to useko1
symbole instead of string. * test/io/nonblock/test_flush.rb: enable tests. * test/xmlrpc/test_webrick_server.rb: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11743 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-12-31 * Merge YARVko1
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11439 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-10-05* range.c (rb_range_beg_len): should return Qfalse for non-rangematz
object. * pack.c (EXTEND16): [ruby-dev:27383] * eval.c (set_trace_func): add rb_secure(4) to prevent adding tracing function. * lib/delegate.rb: document update from James Edward Gray II <james@grayproductions.net>. [ruby-core:05942] * process.c (proc_daemon): should restrict execution on levels higher than $SAFE=2. suggested by URABE Shyouhei <shyouhei@ice.uec.ac.jp>. * lib/forwardable.rb: replaced by new implementation from <Daniel.Berger@qwest.com>. [ruby-core:05899] * file.c (path_check_0): disallow sticky world writable directory in PATH (and $LOAD_PATH). [ruby-dev:27226] * numeric.c (fix_idiv): 1.div(1.0) should return integer value. [ruby-dev:27235] * lib/yaml.rb: require 'yaml/constants'. [ruby-core:5776] * lib/xmlrpc/client.rb (XMLRPC::Client::do_rpc): add charset information to content-type header.[ruby-core:5127] * lib/xmlrpc/server.rb (CGIServer::serve): ditto. * lib/xmlrpc/server.rb (ModRubyServer::serve): ditto. * lib/xmlrpc/server.rb (WEBrickServlet::service): ditto. * test/dbm/test_dbm.rb (TestDBM::test_s_open_error): remove test_s_open_error test to detect duplicate open. [ruby-dev:27202] * eval.c (splat_value): use to_a to splat non Array object. * object.c (nil_to_a): remove nil.to_a. [experimental] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9349 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-09-19* test/xmlrpc/test_webrick_server.rb (setup_http_server):ocean
should not include 'webrick/https' unless 'use_ssl' because it fails where openssl is not installed. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9240 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-12-21* lib/xmlrpc/client.rb: use "" instead of "." if prefix argument ismneumann
nil in proxy methods. nil is default value. * test/xmlrpc/test_webrick_server.rb, test/xmlrpc/webrick_testing.rb: use threads instead of forking. this should fix issue #1208 (http://rubyforge.org/tracker/?func=detail&atid=1698&aid=1208&group_id=426). removed testing of SSL enabled servlet as this hangs. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7630 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-12-02* test/xmlrpc/test_parser.rb, test/xmlrpc/data/*.expected: Expectedmneumann
values are now stored in YAML instead of using #inspect. This fixes false hash order. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7441 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-11-19* test/xmlrpc/test_webrick_server.rb : move `requrie "webrick/https"'eban
into #setup_http_server mohtod to avoid soap test errors. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7324 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-11-17* lib/xmlrpc/parser.rb, test/xmlrpc/test_features.rb: fixed "assinging to ↵mneumann
constants" warnings git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7300 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-11-16added new test case (which spawn off a webrick XML-RPC server)mneumann
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7286 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-11-16* fixed test cases so that they can be run from any directorymneumann
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7284 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-11-16* applied patch by MoonWolf <moonwolf@moonwolf.com> to allow parsingmneumann
datetime.iso8601 (e.g. 20041105T01:15:23Z). * added test case git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7276 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-11-15* imported and refactored original test casesmneumann
* added methods XMLRPC::XMLParser.each_installed_parser and XMLRPC::XMLWriter.each_installed_writer to simply original test cases * use Object#allocate instead of defining an empty #initialize * module XMLRPC::Marshallable is now only used for tagging git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7274 b2dd03c8-39d4-4d8f-98ff-823fe69b080e