aboutsummaryrefslogtreecommitdiffstats
path: root/test/rexml/parser
Commit message (Collapse)AuthorAgeFilesLines
* Add frozen_string_literal: false for all filesnaruse2015-12-163-0/+3
| | | | | | When you change this to true, you may need to add more tests. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53141 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/rexml/: Use REXMLTests as wrapping module for REXML tests.kou2014-05-273-3/+3
| | | | | | | | | | I avoid using the same module for library in test because it provides "include REXML" environment in test. Normally, users don't use REXML on "include REXML" environment. So I don't want to write tests on "include REXML" environment. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46171 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Wrap REXML test classes by REXML module.akr2014-05-273-0/+6
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46166 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/rexml/parsers/ultralightparser.rbkou2013-11-161-0/+67
| | | | | | | | | | | | (REXML::Parsers::UltraLightParser#parse): Fix wrong :start_doctype position. [Bug #9061] [ruby-dev:47778] Patch by Ippei Obayashi. Thanks!!! * test/rexml/parser/test_ultra_light.rb: Add a test for this case. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43693 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/rexml/parser/test_tree.rbkou2013-09-031-1/+1
| | | | | | | | (TestTreeParser::TestInvalid#test_unmatched_close_tag): Compute expected value from test value. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42816 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/rexml/parsers/treeparser.rb (REXML::Parsers::TreeParser#parse):kou2013-09-031-0/+13
| | | | | | | | | | Add source information to parse exception on no close tag error. [Bug #8844] [ruby-dev:47672] Patch by Ippei Obayashi. Thanks!!! * test/rexml/parser/test_tree.rb: Add a test for the above case. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42815 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/rexml/parser/test_tree.rb: Fix test name to describe testkou2013-09-031-1/+1
| | | | | | | content. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42814 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/rexml/parsers/treeparser.rb (REXML::Parsers::TreeParser#parse):kou2013-09-031-0/+27
| | | | | | | | | | Remove needless nested parse exception information. [Bug #8844] [ruby-dev:47672] Reported by Ippei Obayashi. Thanks!!! * test/rexml/parser/test_tree.rb: Add a test for the above case. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42813 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/rexml/parser/test_sax2.rb: Expand abbreviated class name.kou2013-08-111-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42522 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/rexml/sax2listener.rb (REXML::SAX2Listener#notationdecl): Fixkou2013-08-111-0/+51
| | | | | | | | | | | wrong number of arguments in the template listener. [Bug #8731] [ruby-dev:47582] Reported by Ippei Obayashi. * test/rexml/parser/test_sax2.rb: Add tests for parsing notation declarations with SAX2 API. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42521 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/rexml/parsers/sax2parser.rb (REXML::Parsers::SAX2Parser#parse):kou2013-08-111-0/+41
| | | | | | | | Fix wrong "%" position in parameter entity declaration event argument. * test/rexml/parser/test_sax2.rb: Add tests for the above case. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42518 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/rexml/parsers/sax2parser.rb (REXML::Parsers::SAX2Parser#parse):kou2013-08-111-0/+24
| | | | | | | | Support NDATA in external entity declaration. * test/rexml/parser/test_sax2.rb: Add tests for the above case. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42516 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * NEWS (REXML::Parsers::SAX2Parser): Add about this change.kou2013-08-111-2/+29
| | | | | | | | | | | | | | * lib/rexml/parsers/sax2parser.rb (REXML::Parsers::SAX2Parser#parse): Fix wrong number of arguments. Document says "an array of the entity declaration" but it passes two or more arguments. This is a bug but it break backward compatibility. Reported by Ippei Obayashi. [Bug #8731] [ruby-dev:47582] * lib/rexml/sax2listener.rb (REXML::SAX2Listener#entitydecl): ditto. The listener template accepted two arguments. * test/rexml/parser/test_sax2.rb: Add tests for external ID case. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42514 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/rexml/parser/test_sax2.rb: Add SAX2 API test.kou2013-08-111-0/+57
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42512 b2dd03c8-39d4-4d8f-98ff-823fe69b080e