summaryrefslogtreecommitdiff
path: root/test/rss
diff options
context:
space:
mode:
authornaruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2013-02-24 13:10:46 +0000
committernaruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2013-02-24 13:10:46 +0000
commitef339580947c7df1281263ccfb99718887e5378d (patch)
tree49b17e75bae90e436884ade206c10209db785884 /test/rss
parent66f913572682f54eda3b0d4b78c5e9cef08043dd (diff)
Use require_relative to require local library
* from 1.9 require relative path from the file must use require_relative. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39476 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/rss')
-rw-r--r--test/rss/rss-testcase.rb2
-rw-r--r--test/rss/test_1.0.rb2
-rw-r--r--test/rss/test_2.0.rb2
-rw-r--r--test/rss/test_accessor.rb2
-rw-r--r--test/rss/test_atom.rb2
-rw-r--r--test/rss/test_content.rb2
-rw-r--r--test/rss/test_dublincore.rb2
-rw-r--r--test/rss/test_image.rb2
-rw-r--r--test/rss/test_inherit.rb2
-rw-r--r--test/rss/test_itunes.rb2
-rw-r--r--test/rss/test_maker_0.9.rb2
-rw-r--r--test/rss/test_maker_1.0.rb2
-rw-r--r--test/rss/test_maker_2.0.rb2
-rw-r--r--test/rss/test_maker_atom_entry.rb2
-rw-r--r--test/rss/test_maker_atom_feed.rb2
-rw-r--r--test/rss/test_maker_content.rb2
-rw-r--r--test/rss/test_maker_dc.rb2
-rw-r--r--test/rss/test_maker_image.rb2
-rw-r--r--test/rss/test_maker_itunes.rb2
-rw-r--r--test/rss/test_maker_slash.rb2
-rw-r--r--test/rss/test_maker_sy.rb2
-rw-r--r--test/rss/test_maker_taxo.rb2
-rw-r--r--test/rss/test_maker_trackback.rb2
-rw-r--r--test/rss/test_maker_xml-stylesheet.rb2
-rw-r--r--test/rss/test_parser.rb2
-rw-r--r--test/rss/test_parser_1.0.rb2
-rw-r--r--test/rss/test_parser_2.0.rb2
-rw-r--r--test/rss/test_parser_atom_entry.rb2
-rw-r--r--test/rss/test_parser_atom_feed.rb2
-rw-r--r--test/rss/test_setup_maker_0.9.rb2
-rw-r--r--test/rss/test_setup_maker_1.0.rb2
-rw-r--r--test/rss/test_setup_maker_2.0.rb2
-rw-r--r--test/rss/test_setup_maker_atom_entry.rb2
-rw-r--r--test/rss/test_setup_maker_atom_feed.rb2
-rw-r--r--test/rss/test_setup_maker_itunes.rb2
-rw-r--r--test/rss/test_setup_maker_slash.rb2
-rw-r--r--test/rss/test_slash.rb2
-rw-r--r--test/rss/test_syndication.rb2
-rw-r--r--test/rss/test_taxonomy.rb2
-rw-r--r--test/rss/test_to_s.rb2
-rw-r--r--test/rss/test_trackback.rb2
-rw-r--r--test/rss/test_version.rb2
-rw-r--r--test/rss/test_xml-stylesheet.rb2
43 files changed, 43 insertions, 43 deletions
diff --git a/test/rss/rss-testcase.rb b/test/rss/rss-testcase.rb
index 4943fc9..2e39433 100644
--- a/test/rss/rss-testcase.rb
+++ b/test/rss/rss-testcase.rb
@@ -1,7 +1,7 @@
require "erb"
require "test/unit"
-require 'rss-assertions'
+require_relative 'rss-assertions'
require "rss"
diff --git a/test/rss/test_1.0.rb b/test/rss/test_1.0.rb
index cb9f715..758eecf 100644
--- a/test/rss/test_1.0.rb
+++ b/test/rss/test_1.0.rb
@@ -1,6 +1,6 @@
require "rexml/document"
-require "rss-testcase"
+require_relative "rss-testcase"
require "rss/1.0"
diff --git a/test/rss/test_2.0.rb b/test/rss/test_2.0.rb
index 5695110..37285ce 100644
--- a/test/rss/test_2.0.rb
+++ b/test/rss/test_2.0.rb
@@ -1,6 +1,6 @@
require "rexml/document"
-require "rss-testcase"
+require_relative "rss-testcase"
module RSS
class TestRSS20Core < TestCase
diff --git a/test/rss/test_accessor.rb b/test/rss/test_accessor.rb
index f2b8508..ea15316 100644
--- a/test/rss/test_accessor.rb
+++ b/test/rss/test_accessor.rb
@@ -1,4 +1,4 @@
-require "rss-testcase"
+require_relative "rss-testcase"
require "rss/1.0"
require "rss/2.0"
diff --git a/test/rss/test_atom.rb b/test/rss/test_atom.rb
index e0ae108..557cb80 100644
--- a/test/rss/test_atom.rb
+++ b/test/rss/test_atom.rb
@@ -1,6 +1,6 @@
require "rexml/document"
-require "rss-testcase"
+require_relative "rss-testcase"
require "rss/atom"
diff --git a/test/rss/test_content.rb b/test/rss/test_content.rb
index f59b0c8..13f22a2 100644
--- a/test/rss/test_content.rb
+++ b/test/rss/test_content.rb
@@ -1,7 +1,7 @@
require "cgi"
require "rexml/document"
-require "rss-testcase"
+require_relative "rss-testcase"
require "rss/content"
diff --git a/test/rss/test_dublincore.rb b/test/rss/test_dublincore.rb
index dcafdd3..eb03d84 100644
--- a/test/rss/test_dublincore.rb
+++ b/test/rss/test_dublincore.rb
@@ -1,7 +1,7 @@
require "cgi"
require "rexml/document"
-require "rss-testcase"
+require_relative "rss-testcase"
require "rss/1.0"
require "rss/dublincore"
diff --git a/test/rss/test_image.rb b/test/rss/test_image.rb
index 101b7ff..d8f0b26 100644
--- a/test/rss/test_image.rb
+++ b/test/rss/test_image.rb
@@ -1,7 +1,7 @@
require "cgi"
require "rexml/document"
-require "rss-testcase"
+require_relative "rss-testcase"
require "rss/1.0"
require "rss/image"
diff --git a/test/rss/test_inherit.rb b/test/rss/test_inherit.rb
index f73096f..8b640dc 100644
--- a/test/rss/test_inherit.rb
+++ b/test/rss/test_inherit.rb
@@ -1,4 +1,4 @@
-require "rss-testcase"
+require_relative "rss-testcase"
require "rss/1.0"
diff --git a/test/rss/test_itunes.rb b/test/rss/test_itunes.rb
index 283459d..ec06337 100644
--- a/test/rss/test_itunes.rb
+++ b/test/rss/test_itunes.rb
@@ -1,7 +1,7 @@
require "cgi"
require "rexml/document"
-require "rss-testcase"
+require_relative "rss-testcase"
require "rss/2.0"
require "rss/itunes"
diff --git a/test/rss/test_maker_0.9.rb b/test/rss/test_maker_0.9.rb
index c36a0be..f6e39c6 100644
--- a/test/rss/test_maker_0.9.rb
+++ b/test/rss/test_maker_0.9.rb
@@ -1,4 +1,4 @@
-require "rss-testcase"
+require_relative "rss-testcase"
require "rss/maker"
diff --git a/test/rss/test_maker_1.0.rb b/test/rss/test_maker_1.0.rb
index b465556..b31abb9 100644
--- a/test/rss/test_maker_1.0.rb
+++ b/test/rss/test_maker_1.0.rb
@@ -1,4 +1,4 @@
-require "rss-testcase"
+require_relative "rss-testcase"
require "rss/maker"
diff --git a/test/rss/test_maker_2.0.rb b/test/rss/test_maker_2.0.rb
index 530c3cc..48c0f91 100644
--- a/test/rss/test_maker_2.0.rb
+++ b/test/rss/test_maker_2.0.rb
@@ -1,4 +1,4 @@
-require "rss-testcase"
+require_relative "rss-testcase"
require "rss/maker"
diff --git a/test/rss/test_maker_atom_entry.rb b/test/rss/test_maker_atom_entry.rb
index 4275bdc..9618723 100644
--- a/test/rss/test_maker_atom_entry.rb
+++ b/test/rss/test_maker_atom_entry.rb
@@ -1,4 +1,4 @@
-require "rss-testcase"
+require_relative "rss-testcase"
require "rss/maker"
diff --git a/test/rss/test_maker_atom_feed.rb b/test/rss/test_maker_atom_feed.rb
index 58a55c4..d866001 100644
--- a/test/rss/test_maker_atom_feed.rb
+++ b/test/rss/test_maker_atom_feed.rb
@@ -1,4 +1,4 @@
-require "rss-testcase"
+require_relative "rss-testcase"
require "rss/maker"
diff --git a/test/rss/test_maker_content.rb b/test/rss/test_maker_content.rb
index 393adcb..ba884f1 100644
--- a/test/rss/test_maker_content.rb
+++ b/test/rss/test_maker_content.rb
@@ -1,4 +1,4 @@
-require "rss-testcase"
+require_relative "rss-testcase"
require "rss/maker"
diff --git a/test/rss/test_maker_dc.rb b/test/rss/test_maker_dc.rb
index 626ec8d..977350c 100644
--- a/test/rss/test_maker_dc.rb
+++ b/test/rss/test_maker_dc.rb
@@ -1,4 +1,4 @@
-require "rss-testcase"
+require_relative "rss-testcase"
require "rss/maker"
diff --git a/test/rss/test_maker_image.rb b/test/rss/test_maker_image.rb
index 4fba2cf..d01654c 100644
--- a/test/rss/test_maker_image.rb
+++ b/test/rss/test_maker_image.rb
@@ -1,4 +1,4 @@
-require "rss-testcase"
+require_relative "rss-testcase"
require "rss/maker"
diff --git a/test/rss/test_maker_itunes.rb b/test/rss/test_maker_itunes.rb
index 21a4dd1..f19e30d 100644
--- a/test/rss/test_maker_itunes.rb
+++ b/test/rss/test_maker_itunes.rb
@@ -1,4 +1,4 @@
-require "rss-testcase"
+require_relative "rss-testcase"
require "rss/maker"
diff --git a/test/rss/test_maker_slash.rb b/test/rss/test_maker_slash.rb
index f2fbf9a..ea95a99 100644
--- a/test/rss/test_maker_slash.rb
+++ b/test/rss/test_maker_slash.rb
@@ -1,4 +1,4 @@
-require "rss-testcase"
+require_relative "rss-testcase"
require "rss/maker"
diff --git a/test/rss/test_maker_sy.rb b/test/rss/test_maker_sy.rb
index 3f026b5..7117e3a 100644
--- a/test/rss/test_maker_sy.rb
+++ b/test/rss/test_maker_sy.rb
@@ -1,4 +1,4 @@
-require "rss-testcase"
+require_relative "rss-testcase"
require "rss/maker"
diff --git a/test/rss/test_maker_taxo.rb b/test/rss/test_maker_taxo.rb
index c5cf18a..4c4c2e3 100644
--- a/test/rss/test_maker_taxo.rb
+++ b/test/rss/test_maker_taxo.rb
@@ -1,4 +1,4 @@
-require "rss-testcase"
+require_relative "rss-testcase"
require "rss/maker"
diff --git a/test/rss/test_maker_trackback.rb b/test/rss/test_maker_trackback.rb
index d9fe2ad..411bf31 100644
--- a/test/rss/test_maker_trackback.rb
+++ b/test/rss/test_maker_trackback.rb
@@ -1,4 +1,4 @@
-require "rss-testcase"
+require_relative "rss-testcase"
require "rss/maker"
diff --git a/test/rss/test_maker_xml-stylesheet.rb b/test/rss/test_maker_xml-stylesheet.rb
index c1dd6f7..4f7c62a 100644
--- a/test/rss/test_maker_xml-stylesheet.rb
+++ b/test/rss/test_maker_xml-stylesheet.rb
@@ -1,4 +1,4 @@
-require "rss-testcase"
+require_relative "rss-testcase"
require "rss/maker"
diff --git a/test/rss/test_parser.rb b/test/rss/test_parser.rb
index e9ab668..833146b 100644
--- a/test/rss/test_parser.rb
+++ b/test/rss/test_parser.rb
@@ -1,6 +1,6 @@
require "tempfile"
-require "rss-testcase"
+require_relative "rss-testcase"
require "rss/1.0"
require "rss/dublincore"
diff --git a/test/rss/test_parser_1.0.rb b/test/rss/test_parser_1.0.rb
index dca10e6..2efecda 100644
--- a/test/rss/test_parser_1.0.rb
+++ b/test/rss/test_parser_1.0.rb
@@ -1,4 +1,4 @@
-require "rss-testcase"
+require_relative "rss-testcase"
require "rss/1.0"
require "rss/dublincore"
diff --git a/test/rss/test_parser_2.0.rb b/test/rss/test_parser_2.0.rb
index 249347d..68c7d1c 100644
--- a/test/rss/test_parser_2.0.rb
+++ b/test/rss/test_parser_2.0.rb
@@ -1,4 +1,4 @@
-require "rss-testcase"
+require_relative "rss-testcase"
require "rss/2.0"
diff --git a/test/rss/test_parser_atom_entry.rb b/test/rss/test_parser_atom_entry.rb
index c2572d7..352fbbe 100644
--- a/test/rss/test_parser_atom_entry.rb
+++ b/test/rss/test_parser_atom_entry.rb
@@ -1,4 +1,4 @@
-require "rss-testcase"
+require_relative "rss-testcase"
require "rss/atom"
diff --git a/test/rss/test_parser_atom_feed.rb b/test/rss/test_parser_atom_feed.rb
index 4358cc8..a5731b2 100644
--- a/test/rss/test_parser_atom_feed.rb
+++ b/test/rss/test_parser_atom_feed.rb
@@ -1,4 +1,4 @@
-require "rss-testcase"
+require_relative "rss-testcase"
require "rss/atom"
diff --git a/test/rss/test_setup_maker_0.9.rb b/test/rss/test_setup_maker_0.9.rb
index 0bcb0cb..2714b9c 100644
--- a/test/rss/test_setup_maker_0.9.rb
+++ b/test/rss/test_setup_maker_0.9.rb
@@ -1,4 +1,4 @@
-require "rss-testcase"
+require_relative "rss-testcase"
require "rss/maker"
diff --git a/test/rss/test_setup_maker_1.0.rb b/test/rss/test_setup_maker_1.0.rb
index 9f7bb1c..0408ca9 100644
--- a/test/rss/test_setup_maker_1.0.rb
+++ b/test/rss/test_setup_maker_1.0.rb
@@ -1,4 +1,4 @@
-require "rss-testcase"
+require_relative "rss-testcase"
require "rss/maker"
diff --git a/test/rss/test_setup_maker_2.0.rb b/test/rss/test_setup_maker_2.0.rb
index 17a066a..fcf1f57 100644
--- a/test/rss/test_setup_maker_2.0.rb
+++ b/test/rss/test_setup_maker_2.0.rb
@@ -1,4 +1,4 @@
-require "rss-testcase"
+require_relative "rss-testcase"
require "rss/maker"
diff --git a/test/rss/test_setup_maker_atom_entry.rb b/test/rss/test_setup_maker_atom_entry.rb
index 6f3df65..ec9df5e 100644
--- a/test/rss/test_setup_maker_atom_entry.rb
+++ b/test/rss/test_setup_maker_atom_entry.rb
@@ -1,4 +1,4 @@
-require "rss-testcase"
+require_relative "rss-testcase"
require "rss/maker"
diff --git a/test/rss/test_setup_maker_atom_feed.rb b/test/rss/test_setup_maker_atom_feed.rb
index 978b3cf..ad2c693 100644
--- a/test/rss/test_setup_maker_atom_feed.rb
+++ b/test/rss/test_setup_maker_atom_feed.rb
@@ -1,4 +1,4 @@
-require "rss-testcase"
+require_relative "rss-testcase"
require "rss/maker"
diff --git a/test/rss/test_setup_maker_itunes.rb b/test/rss/test_setup_maker_itunes.rb
index 1f0372d..509d94f 100644
--- a/test/rss/test_setup_maker_itunes.rb
+++ b/test/rss/test_setup_maker_itunes.rb
@@ -1,4 +1,4 @@
-require "rss-testcase"
+require_relative "rss-testcase"
require "rss/maker"
diff --git a/test/rss/test_setup_maker_slash.rb b/test/rss/test_setup_maker_slash.rb
index 07fa5bb..cd12db9 100644
--- a/test/rss/test_setup_maker_slash.rb
+++ b/test/rss/test_setup_maker_slash.rb
@@ -1,4 +1,4 @@
-require "rss-testcase"
+require_relative "rss-testcase"
require "rss/maker"
diff --git a/test/rss/test_slash.rb b/test/rss/test_slash.rb
index aec0a86..757e787 100644
--- a/test/rss/test_slash.rb
+++ b/test/rss/test_slash.rb
@@ -1,7 +1,7 @@
require "cgi"
require "rexml/document"
-require "rss-testcase"
+require_relative "rss-testcase"
require "rss/1.0"
require "rss/slash"
diff --git a/test/rss/test_syndication.rb b/test/rss/test_syndication.rb
index 69d6f44..17875f1 100644
--- a/test/rss/test_syndication.rb
+++ b/test/rss/test_syndication.rb
@@ -1,7 +1,7 @@
require "cgi"
require "rexml/document"
-require "rss-testcase"
+require_relative "rss-testcase"
require "rss/1.0"
require "rss/syndication"
diff --git a/test/rss/test_taxonomy.rb b/test/rss/test_taxonomy.rb
index 0370555..34937e4 100644
--- a/test/rss/test_taxonomy.rb
+++ b/test/rss/test_taxonomy.rb
@@ -1,6 +1,6 @@
require "cgi"
-require "rss-testcase"
+require_relative "rss-testcase"
require "rss/1.0"
require "rss/2.0"
diff --git a/test/rss/test_to_s.rb b/test/rss/test_to_s.rb
index 4b38737..4ef83ce 100644
--- a/test/rss/test_to_s.rb
+++ b/test/rss/test_to_s.rb
@@ -1,6 +1,6 @@
require "rexml/document"
-require "rss-testcase"
+require_relative "rss-testcase"
require "rss/maker"
require "rss/1.0"
diff --git a/test/rss/test_trackback.rb b/test/rss/test_trackback.rb
index 433e884..8560c25 100644
--- a/test/rss/test_trackback.rb
+++ b/test/rss/test_trackback.rb
@@ -1,7 +1,7 @@
require "cgi"
require "rexml/document"
-require "rss-testcase"
+require_relative "rss-testcase"
require "rss/1.0"
require "rss/2.0"
diff --git a/test/rss/test_version.rb b/test/rss/test_version.rb
index 1767901..d2175ab 100644
--- a/test/rss/test_version.rb
+++ b/test/rss/test_version.rb
@@ -1,4 +1,4 @@
-require "rss-testcase"
+require_relative "rss-testcase"
module RSS
class TestVersion < TestCase
diff --git a/test/rss/test_xml-stylesheet.rb b/test/rss/test_xml-stylesheet.rb
index 6edafae..c67922f 100644
--- a/test/rss/test_xml-stylesheet.rb
+++ b/test/rss/test_xml-stylesheet.rb
@@ -1,6 +1,6 @@
require "rexml/document"
-require "rss-testcase"
+require_relative "rss-testcase"
require "rss/1.0"
require "rss/xml-stylesheet"