mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
Wrap REXML test classes by REXML module.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46166 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
1c35277c2b
commit
13a8d735d9
39 changed files with 78 additions and 3 deletions
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue