mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* test/rss/test_*: do $: trick while searching a module in the current
directory. * test/xsd/test_xmlschemaparser.rb, test/wsdl/test_emptycomplextype.rb, test/soap/helloworld/test_helloworld.rb, test/soap/calc/{test_calc.rb,test_calc2.rb}: do File.expand_path before using __FILE__. * test/yaml/test_yaml.rb: assert_equals -> assert_equal. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5574 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
877408163a
commit
a84fc19203
14 changed files with 39 additions and 6 deletions
12
ChangeLog
12
ChangeLog
|
@ -1,3 +1,15 @@
|
|||
Thu Jan 29 11:32:14 2004 NAKAMURA, Hiroshi <nakahiro@sarion.co.jp>
|
||||
|
||||
* test/rss/test_*: do $: trick while searching a module in the current
|
||||
directory.
|
||||
|
||||
* test/xsd/test_xmlschemaparser.rb, test/wsdl/test_emptycomplextype.rb,
|
||||
test/soap/helloworld/test_helloworld.rb,
|
||||
test/soap/calc/{test_calc.rb,test_calc2.rb}: do File.expand_path
|
||||
before using __FILE__.
|
||||
|
||||
* test/yaml/test_yaml.rb: assert_equals -> assert_equal.
|
||||
|
||||
Thu Jan 29 01:56:02 2004 why the lucky stiff <why@ruby-lang.org>
|
||||
|
||||
* ext/syck/rubyext.c: usec round-tripping skew. [ruby-core:2305]
|
||||
|
|
|
@ -4,7 +4,10 @@ require "test/unit"
|
|||
require "rexml/document"
|
||||
|
||||
require "rss/1.0"
|
||||
dir = File.dirname(File.expand_path(__FILE__))
|
||||
$:.push(dir)
|
||||
require "common"
|
||||
$:.delete(dir)
|
||||
|
||||
class TestCore < Test::Unit::TestCase
|
||||
|
||||
|
|
|
@ -4,7 +4,10 @@ require "test/unit"
|
|||
require "rss/parser"
|
||||
require "rss/1.0"
|
||||
require "rss/2.0"
|
||||
dir = File.dirname(File.expand_path(__FILE__))
|
||||
$:.push(dir)
|
||||
require "common"
|
||||
$:.delete(dir)
|
||||
|
||||
class TestAccessor < Test::Unit::TestCase
|
||||
include TestRSSMixin
|
||||
|
|
|
@ -6,7 +6,10 @@ require "rexml/document"
|
|||
|
||||
require "rss/parser"
|
||||
require "rss/content"
|
||||
dir = File.dirname(File.expand_path(__FILE__))
|
||||
$:.push(dir)
|
||||
require "common"
|
||||
$:.delete(dir)
|
||||
|
||||
class TestContent < Test::Unit::TestCase
|
||||
include TestRSSMixin
|
||||
|
|
|
@ -6,7 +6,10 @@ require "rexml/document"
|
|||
|
||||
require "rss/parser"
|
||||
require "rss/dublincore"
|
||||
dir = File.dirname(File.expand_path(__FILE__))
|
||||
$:.push(dir)
|
||||
require "common"
|
||||
$:.delete(dir)
|
||||
|
||||
class TestDublinCore < Test::Unit::TestCase
|
||||
include TestRSSMixin
|
||||
|
|
|
@ -3,7 +3,10 @@
|
|||
require "test/unit"
|
||||
require "rss/parser"
|
||||
require "rss/1.0"
|
||||
dir = File.dirname(File.expand_path(__FILE__))
|
||||
$:.push(dir)
|
||||
require "common"
|
||||
$:.delete(dir)
|
||||
|
||||
class TestParser < Test::Unit::TestCase
|
||||
include TestRSSMixin
|
||||
|
|
|
@ -6,7 +6,10 @@ require "rexml/document"
|
|||
|
||||
require "rss/parser"
|
||||
require "rss/syndication"
|
||||
dir = File.dirname(File.expand_path(__FILE__))
|
||||
$:.push(dir)
|
||||
require "common"
|
||||
$:.delete(dir)
|
||||
|
||||
class TestSyndication < Test::Unit::TestCase
|
||||
include TestRSSMixin
|
||||
|
|
|
@ -6,7 +6,10 @@ require "rexml/document"
|
|||
|
||||
require "rss/parser"
|
||||
require "rss/trackback"
|
||||
dir = File.dirname(File.expand_path(__FILE__))
|
||||
$:.push(dir)
|
||||
require "common"
|
||||
$:.delete(dir)
|
||||
|
||||
class TestTrackBack < Test::Unit::TestCase
|
||||
include TestRSSMixin
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
require 'test/unit'
|
||||
require 'soap/rpc/driver'
|
||||
|
||||
dir = File.dirname(__FILE__)
|
||||
dir = File.dirname(File.expand_path(__FILE__))
|
||||
$:.push(dir)
|
||||
require 'server.rb'
|
||||
$:.delete(dir)
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
require 'test/unit'
|
||||
require 'soap/rpc/driver'
|
||||
|
||||
dir = File.dirname(__FILE__)
|
||||
dir = File.dirname(File.expand_path(__FILE__))
|
||||
$:.push(dir)
|
||||
require 'server2.rb'
|
||||
$:.delete(dir)
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
require 'test/unit'
|
||||
require 'soap/rpc/driver'
|
||||
|
||||
dir = File.dirname(__FILE__)
|
||||
dir = File.dirname(File.expand_path(__FILE__))
|
||||
$:.push(dir)
|
||||
require 'hw_s.rb'
|
||||
$:.delete(dir)
|
||||
|
|
|
@ -7,7 +7,7 @@ module WSDL
|
|||
|
||||
class TestWSDL < Test::Unit::TestCase
|
||||
def setup
|
||||
@file = File.join(File.dirname(__FILE__), 'emptycomplextype.wsdl')
|
||||
@file = File.join(File.dirname(File.expand_path(__FILE__)), 'emptycomplextype.wsdl')
|
||||
end
|
||||
|
||||
def test_wsdl
|
||||
|
|
|
@ -7,7 +7,7 @@ module XSD
|
|||
|
||||
class TestXMLSchemaParser < Test::Unit::TestCase
|
||||
def setup
|
||||
@file = File.join(File.dirname(__FILE__), 'xmlschema.xml')
|
||||
@file = File.join(File.dirname(File.expand_path(__FILE__)), 'xmlschema.xml')
|
||||
end
|
||||
|
||||
def test_wsdl
|
||||
|
|
|
@ -1191,7 +1191,7 @@ EOY
|
|||
require 'yaml'
|
||||
t = Time.now
|
||||
5.times do
|
||||
assert_equals( t, YAML.load( YAML.dump( t ) ) )
|
||||
assert_equal( t, YAML.load( YAML.dump( t ) ) )
|
||||
end
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in a new issue