summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog5
-rw-r--r--test/rexml/test_document.rb2
2 files changed, 7 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 2dcbacd..5dc0edb 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+Sat Nov 15 20:11:34 2014 Kouhei Sutou <kou@cozmixng.org>
+
+ * test/rexml/test_document.rb (REXMLTests::TestDocument): Group
+ entity expansion limit related tests.
+
Sat Nov 15 20:09:00 2014 Kouhei Sutou <kou@cozmixng.org>
* test/rexml/test_document.rb (REXMLTests::TestDocument::BomTest):
diff --git a/test/rexml/test_document.rb b/test/rexml/test_document.rb
index b99d7b2..33c62ba 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>"