diff options
author | akr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2014-05-27 10:21:10 +0000 |
---|---|---|
committer | akr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2014-05-27 10:21:10 +0000 |
commit | 13a8d735d9de444d08e6cfaf61e5a765d6d7ec7a (patch) | |
tree | 6989084700fb465f04dc4e54ce803649dbb24e08 /test/rexml/parser | |
parent | 1c35277c2bfecaf1128f05d8644b247fbd5ef461 (diff) | |
download | ruby-13a8d735d9de444d08e6cfaf61e5a765d6d7ec7a.tar.gz |
Wrap REXML test classes by REXML module.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46166 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/rexml/parser')
-rw-r--r-- | test/rexml/parser/test_sax2.rb | 2 | ||||
-rw-r--r-- | test/rexml/parser/test_tree.rb | 2 | ||||
-rw-r--r-- | test/rexml/parser/test_ultra_light.rb | 2 |
3 files changed, 6 insertions, 0 deletions
diff --git a/test/rexml/parser/test_sax2.rb b/test/rexml/parser/test_sax2.rb index f836c060c8..c417d4b29d 100644 --- a/test/rexml/parser/test_sax2.rb +++ b/test/rexml/parser/test_sax2.rb @@ -2,6 +2,7 @@ require "test/unit" require "rexml/parsers/sax2parser" require "rexml/sax2listener" +module REXML class TestSAX2Parser < Test::Unit::TestCase class TestDocumentTypeDeclaration < self private @@ -198,3 +199,4 @@ class TestSAX2Parser < Test::Unit::TestCase end end end +end diff --git a/test/rexml/parser/test_tree.rb b/test/rexml/parser/test_tree.rb index c1a1dbb580..b63722dd49 100644 --- a/test/rexml/parser/test_tree.rb +++ b/test/rexml/parser/test_tree.rb @@ -2,6 +2,7 @@ require "test/unit" require "rexml/document" require "rexml/parsers/treeparser" +module REXML class TestTreeParser < Test::Unit::TestCase class TestInvalid < self def test_unmatched_close_tag @@ -38,3 +39,4 @@ Last 80 unconsumed characters: end end end +end diff --git a/test/rexml/parser/test_ultra_light.rb b/test/rexml/parser/test_ultra_light.rb index 852aa5bf6d..a9706858d8 100644 --- a/test/rexml/parser/test_ultra_light.rb +++ b/test/rexml/parser/test_ultra_light.rb @@ -1,6 +1,7 @@ require "test/unit" require "rexml/parsers/ultralightparser" +module REXML class TestUltraLightParser < Test::Unit::TestCase class TestDocumentTypeDeclaration < self def test_entity_declaration @@ -65,3 +66,4 @@ class TestUltraLightParser < Test::Unit::TestCase end end end +end |