mirror of
				https://github.com/ruby/ruby.git
				synced 2022-11-09 12:17:21 -05:00 
			
		
		
		
	* test/xmlrpc: Wrap definitions by TestXMLRPC module.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43518 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
		
							parent
							
								
									438a91c072
								
							
						
					
					
						commit
						ddf1d3aaed
					
				
					 8 changed files with 18 additions and 0 deletions
				
			
		|  | @ -1,3 +1,7 @@ | |||
| Sun Nov  3 20:41:17 2013  Tanaka Akira  <akr@fsij.org> | ||||
| 
 | ||||
| 	* test/xmlrpc: Wrap definitions by TestXMLRPC module. | ||||
| 
 | ||||
| Sun Nov  3 20:23:38 2013  Tanaka Akira  <akr@fsij.org> | ||||
| 
 | ||||
| 	* test/xmlrpc/webrick_testing.rb (stop_server): Don't try to shutdown | ||||
|  |  | |||
|  | @ -5,6 +5,7 @@ require_relative 'webrick_testing' | |||
| 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 | |||
|     assert_equal("Hello", @s.call("test.require_authenticate_echo", "Hello")) | ||||
|   end | ||||
| end | ||||
| end | ||||
|  |  | |||
|  | @ -1,6 +1,7 @@ | |||
| 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::TestCase | |||
|   end | ||||
| 
 | ||||
| end | ||||
| end | ||||
|  |  | |||
|  | @ -3,6 +3,7 @@ require "xmlrpc/create" | |||
| 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::TestCase | |||
|   end | ||||
| 
 | ||||
| end | ||||
| end | ||||
|  |  | |||
|  | @ -1,6 +1,7 @@ | |||
| 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::TestCase | |||
|   end | ||||
| 
 | ||||
| end | ||||
| end | ||||
|  |  | |||
|  | @ -3,6 +3,7 @@ require 'xmlrpc/datetime' | |||
| 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 do |parser| | |||
|     end | ||||
|   } | ||||
| end | ||||
| end | ||||
|  |  | |||
|  | @ -7,6 +7,7 @@ require "xmlrpc/server" | |||
| 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::TestCase | |||
|     assert_equal "あいうえおかきくけこ", @s.call('test.add', "あいうえお", "かきくけこ") | ||||
|   end | ||||
| end | ||||
| end | ||||
|  |  | |||
|  | @ -1,5 +1,6 @@ | |||
| require 'timeout' | ||||
| 
 | ||||
| module TestXMLRPC | ||||
| module WEBrick_Testing | ||||
|   class DummyLog < WEBrick::BasicLog | ||||
|     def initialize() super(self) end | ||||
|  | @ -43,3 +44,4 @@ module WEBrick_Testing | |||
|     @__server = nil | ||||
|   end | ||||
| end | ||||
| end | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 akr
						akr