[前][次][番号順一覧][スレッド一覧]

ruby-changes:31439

From: akr <ko1@a...>
Date: Sun, 3 Nov 2013 20:41:59 +0900 (JST)
Subject: [ruby-changes:31439] akr:r43518 (trunk): * test/xmlrpc: Wrap definitions by TestXMLRPC module.

akr	2013-11-03 20:41:53 +0900 (Sun, 03 Nov 2013)

  New Revision: 43518

  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=43518

  Log:
    * test/xmlrpc: Wrap definitions by TestXMLRPC module.

  Modified files:
    trunk/ChangeLog
    trunk/test/xmlrpc/test_cookie.rb
    trunk/test/xmlrpc/test_datetime.rb
    trunk/test/xmlrpc/test_features.rb
    trunk/test/xmlrpc/test_marshal.rb
    trunk/test/xmlrpc/test_parser.rb
    trunk/test/xmlrpc/test_webrick_server.rb
    trunk/test/xmlrpc/webrick_testing.rb
Index: ChangeLog
===================================================================
--- ChangeLog	(revision 43517)
+++ ChangeLog	(revision 43518)
@@ -1,3 +1,7 @@ https://github.com/ruby/ruby/blob/trunk/ChangeLog#L1
+Sun Nov  3 20:41:17 2013  Tanaka Akira  <akr@f...>
+
+	* test/xmlrpc: Wrap definitions by TestXMLRPC module.
+
 Sun Nov  3 20:23:38 2013  Tanaka Akira  <akr@f...>
 
 	* test/xmlrpc/webrick_testing.rb (stop_server): Don't try to shutdown
Index: test/xmlrpc/test_features.rb
===================================================================
--- test/xmlrpc/test_features.rb	(revision 43517)
+++ test/xmlrpc/test_features.rb	(revision 43518)
@@ -3,6 +3,7 @@ require "xmlrpc/create" https://github.com/ruby/ruby/blob/trunk/test/xmlrpc/test_features.rb#L3
 require "xmlrpc/parser"
 require "xmlrpc/config"
 
+module TestXMLRPC
 class Test_Features < Test::Unit::TestCase
 
   def setup
@@ -46,3 +47,4 @@ class Test_Features < Test::Unit::TestCa https://github.com/ruby/ruby/blob/trunk/test/xmlrpc/test_features.rb#L47
   end
 
 end
+end
Index: test/xmlrpc/webrick_testing.rb
===================================================================
--- test/xmlrpc/webrick_testing.rb	(revision 43517)
+++ test/xmlrpc/webrick_testing.rb	(revision 43518)
@@ -1,5 +1,6 @@ https://github.com/ruby/ruby/blob/trunk/test/xmlrpc/webrick_testing.rb#L1
 require 'timeout'
 
+module TestXMLRPC
 module WEBrick_Testing
   class DummyLog < WEBrick::BasicLog
     def initialize() super(self) end
@@ -43,3 +44,4 @@ module WEBrick_Testing https://github.com/ruby/ruby/blob/trunk/test/xmlrpc/webrick_testing.rb#L44
     @__server = nil
   end
 end
+end
Index: test/xmlrpc/test_marshal.rb
===================================================================
--- test/xmlrpc/test_marshal.rb	(revision 43517)
+++ test/xmlrpc/test_marshal.rb	(revision 43518)
@@ -1,6 +1,7 @@ https://github.com/ruby/ruby/blob/trunk/test/xmlrpc/test_marshal.rb#L1
 require 'test/unit'
 require "xmlrpc/marshal"
 
+module TestXMLRPC
 class Test_Marshal < Test::Unit::TestCase
   # for test_parser_values
   class Person
@@ -106,3 +107,4 @@ class Test_Marshal < Test::Unit::TestCas https://github.com/ruby/ruby/blob/trunk/test/xmlrpc/test_marshal.rb#L107
   end
 
 end
+end
Index: test/xmlrpc/test_cookie.rb
===================================================================
--- test/xmlrpc/test_cookie.rb	(revision 43517)
+++ test/xmlrpc/test_cookie.rb	(revision 43518)
@@ -5,6 +5,7 @@ require_relative 'webrick_testing' https://github.com/ruby/ruby/blob/trunk/test/xmlrpc/test_cookie.rb#L5
 require "xmlrpc/server"
 require 'xmlrpc/client'
 
+module TestXMLRPC
 class TestCookie < Test::Unit::TestCase
   include WEBrick_Testing
 
@@ -94,3 +95,4 @@ class TestCookie < Test::Unit::TestCase https://github.com/ruby/ruby/blob/trunk/test/xmlrpc/test_cookie.rb#L95
     assert_equal("Hello", @s.call("test.require_authenticate_echo", "Hello"))
   end
 end
+end
Index: test/xmlrpc/test_datetime.rb
===================================================================
--- test/xmlrpc/test_datetime.rb	(revision 43517)
+++ test/xmlrpc/test_datetime.rb	(revision 43518)
@@ -1,6 +1,7 @@ https://github.com/ruby/ruby/blob/trunk/test/xmlrpc/test_datetime.rb#L1
 require 'test/unit'
 require "xmlrpc/datetime"
 
+module TestXMLRPC
 class Test_DateTime < Test::Unit::TestCase
 
   def test_new
@@ -157,3 +158,4 @@ class Test_DateTime < Test::Unit::TestCa https://github.com/ruby/ruby/blob/trunk/test/xmlrpc/test_datetime.rb#L158
   end
 
 end
+end
Index: test/xmlrpc/test_parser.rb
===================================================================
--- test/xmlrpc/test_parser.rb	(revision 43517)
+++ test/xmlrpc/test_parser.rb	(revision 43518)
@@ -3,6 +3,7 @@ require 'xmlrpc/datetime' https://github.com/ruby/ruby/blob/trunk/test/xmlrpc/test_parser.rb#L3
 require "xmlrpc/parser"
 require 'yaml'
 
+module TestXMLRPC
 module GenericParserTest
   def datafile(base)
     File.join(File.dirname(__FILE__), "data", base)
@@ -89,3 +90,4 @@ XMLRPC::XMLParser.each_installed_parser https://github.com/ruby/ruby/blob/trunk/test/xmlrpc/test_parser.rb#L90
     end
   }
 end
+end
Index: test/xmlrpc/test_webrick_server.rb
===================================================================
--- test/xmlrpc/test_webrick_server.rb	(revision 43517)
+++ test/xmlrpc/test_webrick_server.rb	(revision 43518)
@@ -7,6 +7,7 @@ require "xmlrpc/server" https://github.com/ruby/ruby/blob/trunk/test/xmlrpc/test_webrick_server.rb#L7
 require 'xmlrpc/client'
 require 'logger'
 
+module TestXMLRPC
 class Test_Webrick < Test::Unit::TestCase
   include WEBrick_Testing
 
@@ -132,3 +133,4 @@ class Test_Webrick < Test::Unit::TestCas https://github.com/ruby/ruby/blob/trunk/test/xmlrpc/test_webrick_server.rb#L133
     assert_equal "", @s.call('test.add', ", "")
   end
 end
+end

--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]