aboutsummaryrefslogtreecommitdiffstats
path: root/test/rexml
diff options
context:
space:
mode:
authorkou <kou@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2014-11-15 11:12:20 +0000
committerkou <kou@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2014-11-15 11:12:20 +0000
commitf2588e1c8ef6d6cbb75f68fbf32cb3c62bd5a677 (patch)
tree7eba2721d9f3bd4b571f84ab712cd2beb8f08d03 /test/rexml
parent1e326bb0e55d823ff2ead9d3f1e3638bec6c825a (diff)
downloadruby-f2588e1c8ef6d6cbb75f68fbf32cb3c62bd5a677.tar.gz
* test/rexml/test_document.rb (REXMLTests::TestDocument): Group
entity expansion limit related tests. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48439 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/rexml')
-rw-r--r--test/rexml/test_document.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/rexml/test_document.rb b/test/rexml/test_document.rb
index b99d7b225e..33c62bacc5 100644
--- a/test/rexml/test_document.rb
+++ b/test/rexml/test_document.rb
@@ -32,6 +32,7 @@ EOF
assert_equal("Hello world!", doc.root.children.first.value)
end
+ class EntityExpansionLimitTest < Test::Unit::TestCase
XML_WITH_NESTED_ENTITY = <<EOF
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE member [
@@ -163,6 +164,7 @@ EOF
ensure
REXML::Security.entity_expansion_limit = 10000
end
+ end
def test_tag_in_cdata_with_not_ascii_only_but_ascii8bit_encoding_source
tag = "<b>...</b>"