aboutsummaryrefslogtreecommitdiffstats
path: root/test/rexml/parser
diff options
context:
space:
mode:
authorkou <kou@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2014-05-27 12:07:40 +0000
committerkou <kou@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2014-05-27 12:07:40 +0000
commit28e78bf7f2ff7a5b3b168b77ca297d8ed475675d (patch)
tree2603da6363f88cecc09059778a020c9f11db8416 /test/rexml/parser
parenteffcb9a712ead5e0cb0e30a42fff263b44cb0752 (diff)
downloadruby-28e78bf7f2ff7a5b3b168b77ca297d8ed475675d.tar.gz
* test/rexml/: Use REXMLTests as wrapping module for REXML tests.
I avoid using the same module for library in test because it provides "include REXML" environment in test. Normally, users don't use REXML on "include REXML" environment. So I don't want to write tests on "include REXML" environment. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46171 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/rexml/parser')
-rw-r--r--test/rexml/parser/test_sax2.rb2
-rw-r--r--test/rexml/parser/test_tree.rb2
-rw-r--r--test/rexml/parser/test_ultra_light.rb2
3 files changed, 3 insertions, 3 deletions
diff --git a/test/rexml/parser/test_sax2.rb b/test/rexml/parser/test_sax2.rb
index c417d4b29d..dba5eab033 100644
--- a/test/rexml/parser/test_sax2.rb
+++ b/test/rexml/parser/test_sax2.rb
@@ -2,7 +2,7 @@ require "test/unit"
require "rexml/parsers/sax2parser"
require "rexml/sax2listener"
-module REXML
+module REXMLTests
class TestSAX2Parser < Test::Unit::TestCase
class TestDocumentTypeDeclaration < self
private
diff --git a/test/rexml/parser/test_tree.rb b/test/rexml/parser/test_tree.rb
index b63722dd49..fa010f6975 100644
--- a/test/rexml/parser/test_tree.rb
+++ b/test/rexml/parser/test_tree.rb
@@ -2,7 +2,7 @@ require "test/unit"
require "rexml/document"
require "rexml/parsers/treeparser"
-module REXML
+module REXMLTests
class TestTreeParser < Test::Unit::TestCase
class TestInvalid < self
def test_unmatched_close_tag
diff --git a/test/rexml/parser/test_ultra_light.rb b/test/rexml/parser/test_ultra_light.rb
index a9706858d8..4960fc16dc 100644
--- a/test/rexml/parser/test_ultra_light.rb
+++ b/test/rexml/parser/test_ultra_light.rb
@@ -1,7 +1,7 @@
require "test/unit"
require "rexml/parsers/ultralightparser"
-module REXML
+module REXMLTests
class TestUltraLightParser < Test::Unit::TestCase
class TestDocumentTypeDeclaration < self
def test_entity_declaration