1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

* test/*: remove $: trick. [ruby-dev:22763] use test/runner.rb to

run test.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5580 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
nahi 2004-01-29 13:22:27 +00:00
parent 0ae750341e
commit 04b5228aba
23 changed files with 10 additions and 56 deletions

View file

@ -1,3 +1,8 @@
Thu Jan 29 22:19:51 2004 NAKAMURA, Hiroshi <nakahiro@sarion.co.jp>
* test/*: remove $: trick. [ruby-dev:22763] use test/runner.rb to
run test.
Thu Jan 29 19:28:16 2004 Minero Aoki <aamine@loveruby.net>
* lib/net/http.rb (Request#initialize): reject only when a path is

View file

@ -1,4 +1,3 @@
$:.unshift(File.dirname(File.expand_path(__FILE__)))
require 'drbtest'
class TestDRbCore < Test::Unit::TestCase

View file

@ -1,4 +1,3 @@
$:.unshift(File.dirname(File.expand_path(__FILE__)))
require 'drbtest'
begin

View file

@ -1,4 +1,3 @@
$:.unshift(File.dirname(File.expand_path(__FILE__)))
require 'drbtest'
begin

View file

@ -2,8 +2,6 @@
# test/fileutils/test_fileutils.rb
#
$:.unshift File.dirname(__FILE__)
require 'fileutils'
require 'fileasserts'
require 'pathname'

View file

@ -2,8 +2,6 @@
# test/fileutils/test_nowrite.rb
#
$:.unshift File.dirname(__FILE__)
require 'fileutils'
require 'fileasserts'
require 'tmpdir'

View file

@ -4,10 +4,7 @@ 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

View file

@ -4,10 +4,7 @@ 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

View file

@ -6,10 +6,7 @@ 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

View file

@ -6,10 +6,7 @@ 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

View file

@ -3,10 +3,7 @@
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

View file

@ -6,10 +6,7 @@ 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

View file

@ -6,10 +6,7 @@ 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

View file

@ -1,6 +1,5 @@
require 'test/unit'
require 'tempfile'
$:.replace([File.dirname(File.expand_path(__FILE__))] | $:)
require 'envutil'
class TestBeginEndBlock < Test::Unit::TestCase

View file

@ -1,6 +1,5 @@
require 'test/unit'
require 'tempfile'
$:.replace([File.dirname(File.expand_path(__FILE__))] | $:)
require 'ut_eof'
$KCODE = 'none'

View file

@ -1,5 +1,4 @@
require 'test/unit'
$:.replace([File.dirname(File.expand_path(__FILE__))] | $:)
require 'ut_eof'
require 'envutil'

View file

@ -1,5 +1,4 @@
require 'test/unit'
$:.replace([File.dirname(File.expand_path(__FILE__))] | $:)
require 'envutil'
$KCODE = 'none'

View file

@ -1,10 +1,6 @@
require 'test/unit'
require 'soap/rpc/driver'
dir = File.dirname(File.expand_path(__FILE__))
$:.push(dir)
require 'server.rb'
$:.delete(dir)
module SOAP

View file

@ -1,10 +1,6 @@
require 'test/unit'
require 'soap/rpc/driver'
dir = File.dirname(File.expand_path(__FILE__))
$:.push(dir)
require 'server2.rb'
$:.delete(dir)
module SOAP

View file

@ -1,10 +1,6 @@
require 'test/unit'
require 'soap/rpc/driver'
dir = File.dirname(File.expand_path(__FILE__))
$:.push(dir)
require 'hw_s.rb'
$:.delete(dir)
module SOAP

View file

@ -3,6 +3,7 @@ require 'soap/processor'
require 'soap/mapping'
require 'soap/rpc/element'
require 'wsdl/importer'
require 'itemList.rb'
module WSDL
@ -10,10 +11,6 @@ module WSDL
class TestAxisArray < Test::Unit::TestCase
def setup
dir = File.dirname(File.expand_path(__FILE__))
$:.push(dir)
require 'itemList.rb'
$:.delete(dir)
@xml =<<__EOX__
<?xml version="1.0" encoding="UTF-8"?>
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">

View file

@ -1,5 +1,6 @@
require 'test/unit'
require 'soap/wsdlDriver'
require 'DatetimeService.rb'
module WSDL
@ -17,9 +18,6 @@ class TestDatetime < Test::Unit::TestCase
end
def setup_server
$:.push(DIR)
require File.join(DIR, 'DatetimeService.rb')
$:.delete(DIR)
@server = DatetimePortTypeApp.new('Datetime server', nil, '0.0.0.0', Port)
@server.level = Logger::Severity::ERROR
@t = Thread.new {

View file

@ -1,5 +1,8 @@
require 'test/unit'
require 'soap/wsdlDriver'
require 'RAA.rb'
require 'RAAServant.rb'
require 'RAAService.rb'
module WSDL
@ -17,11 +20,6 @@ class TestRAA < Test::Unit::TestCase
end
def setup_server
$:.push(DIR)
require File.join(DIR, 'RAA.rb')
require File.join(DIR, 'RAAServant.rb')
require File.join(DIR, 'RAAService.rb')
$:.delete(DIR)
@server = App.new('RAA server', nil, '0.0.0.0', Port)
@server.level = Logger::Severity::ERROR
@t = Thread.new {