diff options
| author | nahi <nahi@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2004-01-29 02:54:21 +0000 |
|---|---|---|
| committer | nahi <nahi@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2004-01-29 02:54:21 +0000 |
| commit | 684338c2c2709593adde6afc6fcba164606b991b (patch) | |
| tree | 06e749b6d4def33b1b692192b7c28537a52afda3 /test/rss | |
| parent | 26a05404c54b6e6a7197b2bea0214346bbc57ed9 (diff) | |
| download | ruby-684338c2c2709593adde6afc6fcba164606b991b.tar.gz ruby-684338c2c2709593adde6afc6fcba164606b991b.tar.xz ruby-684338c2c2709593adde6afc6fcba164606b991b.zip | |
* 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: http://svn.ruby-lang.org/repos/ruby/trunk@5574 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/rss')
| -rw-r--r-- | test/rss/test_1.0.rb | 3 | ||||
| -rw-r--r-- | test/rss/test_accessor.rb | 3 | ||||
| -rw-r--r-- | test/rss/test_content.rb | 3 | ||||
| -rw-r--r-- | test/rss/test_dublincore.rb | 3 | ||||
| -rw-r--r-- | test/rss/test_parser.rb | 3 | ||||
| -rw-r--r-- | test/rss/test_syndication.rb | 3 | ||||
| -rw-r--r-- | test/rss/test_trackback.rb | 3 |
7 files changed, 21 insertions, 0 deletions
diff --git a/test/rss/test_1.0.rb b/test/rss/test_1.0.rb index b48e765d0..3f2712ec9 100644 --- a/test/rss/test_1.0.rb +++ b/test/rss/test_1.0.rb @@ -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 diff --git a/test/rss/test_accessor.rb b/test/rss/test_accessor.rb index 4163ff9f1..dd75b69c4 100644 --- a/test/rss/test_accessor.rb +++ b/test/rss/test_accessor.rb @@ -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 diff --git a/test/rss/test_content.rb b/test/rss/test_content.rb index 46a679bdc..d23673d2f 100644 --- a/test/rss/test_content.rb +++ b/test/rss/test_content.rb @@ -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 diff --git a/test/rss/test_dublincore.rb b/test/rss/test_dublincore.rb index b360ee9ca..2ea12633d 100644 --- a/test/rss/test_dublincore.rb +++ b/test/rss/test_dublincore.rb @@ -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 diff --git a/test/rss/test_parser.rb b/test/rss/test_parser.rb index 570141315..a041c538c 100644 --- a/test/rss/test_parser.rb +++ b/test/rss/test_parser.rb @@ -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 diff --git a/test/rss/test_syndication.rb b/test/rss/test_syndication.rb index 80659e1e6..a9e1f45c3 100644 --- a/test/rss/test_syndication.rb +++ b/test/rss/test_syndication.rb @@ -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 diff --git a/test/rss/test_trackback.rb b/test/rss/test_trackback.rb index cd37b70b8..152305e86 100644 --- a/test/rss/test_trackback.rb +++ b/test/rss/test_trackback.rb @@ -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 |
