[前][次][番号順一覧][スレッド一覧]

ruby-changes:36358

From: kou <ko1@a...>
Date: Sat, 15 Nov 2014 20:12:28 +0900 (JST)
Subject: [ruby-changes:36358] kou:r48439 (trunk): * test/rexml/test_document.rb (REXMLTests::TestDocument): Group

kou	2014-11-15 20:12:20 +0900 (Sat, 15 Nov 2014)

  New Revision: 48439

  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=48439

  Log:
    * test/rexml/test_document.rb (REXMLTests::TestDocument): Group
      entity expansion limit related tests.

  Modified files:
    trunk/ChangeLog
    trunk/test/rexml/test_document.rb
Index: ChangeLog
===================================================================
--- ChangeLog	(revision 48438)
+++ ChangeLog	(revision 48439)
@@ -1,3 +1,8 @@ https://github.com/ruby/ruby/blob/trunk/ChangeLog#L1
+Sat Nov 15 20:11:34 2014  Kouhei Sutou  <kou@c...>
+
+	* test/rexml/test_document.rb (REXMLTests::TestDocument): Group
+	  entity expansion limit related tests.
+
 Sat Nov 15 20:09:00 2014  Kouhei Sutou  <kou@c...>
 
 	* test/rexml/test_document.rb (REXMLTests::TestDocument::BomTest):
Index: test/rexml/test_document.rb
===================================================================
--- test/rexml/test_document.rb	(revision 48438)
+++ test/rexml/test_document.rb	(revision 48439)
@@ -32,6 +32,7 @@ EOF https://github.com/ruby/ruby/blob/trunk/test/rexml/test_document.rb#L32
       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 https://github.com/ruby/ruby/blob/trunk/test/rexml/test_document.rb#L164
     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>"

--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]