summaryrefslogtreecommitdiff
path: root/test/rexml
AgeCommit message (Collapse)Author
2012-10-12merge revision(s) 33215:usa
* test/rexml/test_encoding.rb: Add require 'require 'rexml/document' git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@37152 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-04-17merge revision(s) 34419: [Backport #6307]naruse
* lib/rexml/parsers/baseparser.rb, test/rexml/test_namespace.rb: fix the default xml namespace URI validation. [ruby-dev:45169] [Bug #5956] Reported by Miho Hiramatsu. Thanks!!! git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@35365 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-02-10merge revision(s) 33981: [Backport #5792]naruse
* test/rexml/test_order.rb (OrderTester#test_more_ordering): use GZip::GzReader.open instead of GZip::GzReader.new with File.new. fixed a test error on Windows introduced at r33946. fixed test errors on Windows introduced at r33953. fixed test errors on Windows introduced at r33947. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@34545 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-01-03merge revision(s) 33343:ayumin
* test/rexml/test_sax.rb: add require rexml/document. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@34200 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-06-11* lib/rexml/formatters/pretty.rbkou
(REXML::Formatters::Pretty#write_text), test/rexml/test_core.rb (Tester#test_pretty_format_long_text_finite): don't ignore 'width' parameter in pretty formatter. fixes #4498 Reported by Michael Frasca. Thanks!!! git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31997 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-06-11* test/rexml/test_core.rbkou
(Tester#test_pretty_format_long_text_finite): remove needless assert_nothing_raised. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31996 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-06-11* lib/rexml/parsers/xpathparser.rbkou
(REXML::Parsers::XPathParser#parse), test/rexml/test_elements.rb (ElementsTester::test_each_with_frozen_condition): don't modify original XPath. fixes #4164 Reported by Pavel Shved. Thanks!!! git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31995 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-06-11* test/rexml/test_elements.rb (ElementsTester): remove needlesskou
prefix from test name. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31994 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-05-27* test/rexml/test_core.rb (Tester::test_text_frozen): split frozenkou
string test. refs #4783 git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31752 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-05-27prevent an error when passing a frozen string to REXML::Text.newshyouhei
dup the string passed in instead of cloning so that it's frozen state is ignored Signed-off-by: URABE, Shyouhei <shyouhei@ruby-lang.org> git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31744 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-05-15* remove trailing spaces.nobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31573 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-03-02* lib/rexml/encoding.rb (REXML::Encoding#encoding=): store @encodingnaruse
a String which means the name of the encoding. this partially revert r29646. * lib/rexml/document.rb: follow above. * lib/rexml/output.rb: ditto. * lib/rexml/parsers/baseparser.rb: ditto. * lib/rexml/source.rb: ditto. * lib/rexml/xmldecl.rb: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31008 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-02-19Fix tests.naruse
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30915 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-12-20* test/rexml/test_contrib.rb (ContribTester#test_pos): should notnobu
use fixed path name for tests. [ruby-dev:42827] * test/rexml/test_sax.rb (SAX2Tester#test_socket): should not use fixed port for tests. [ruby-dev:42828] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30284 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-12-07* test/rexml/test_light.rb: really suppress a warning.kou
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30116 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-12-07* test/rexml/test_light.rb: suppress a warning.kou
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30115 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-12-07* lib/rexml/doctype.rb, test/rexml/test_doctype.rb: suppress warnings.kou
[ruby-core:33305] Reported by Aaron Patterson. Thanks!!! git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30113 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-12-07* test/rexml/test_doctype.rb: add Accessor to test case name.kou
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30111 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-12-07* test/rexml/test_doctype.rb: Doctype -> DocType.kou
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30110 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-12-07* test/rexml/test_doctype_mixin.rb: rename to ...kou
* test/rexml/test_doctype.rb: ... this to remove needless name. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30109 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-11-19* test/rexml/test_core.rbkou
(Tester#test_pretty_format_long_text_finite): skip a test that uses long string on small memory system. [ruby-dev:42599] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29835 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-11-18* lib/rexml/formatters/pretty.rb (REXML::Formatters::Pretty#wrap):kou
REXML::Formatters::Pretty#wrap used a recursive method call to format text. This switches it to use an iterative approach. [ruby-core:33245] Patch by Jeremy Evans. Thanks!!! * test/rexml/test_core.rb: add a test for it. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29827 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-10-30* lib/rexml/encoding.rb: use Ruby native encoding mechnism. [ruby-dev:42464]kou
* lib/rexml/encodings/: remove. * lib/rexml/document.rb, lib/rexml/formatters/default.rb, lib/rexml/output.rb, lib/rexml/parseexception.rb, lib/rexml/parsers/baseparser.rb, lib/rexml/source.rb, lib/rexml/xmldecl.rb: use Ruby's native Encoding object. * test/rexml/, test/rss/: follow the above encoding chagnes. * NEWS: add REXML's incompatible change about encoding. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29646 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-09-24Refix to give the encoding of gzfile.naruse
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29329 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-09-19Specify external encoding.naruse
When external encoding is not specified, it uses default external encoding. But it depends the environment. So specify as UTF-8 for environments whose locale is not UTF-8. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29302 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-09-18* properties.nobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29291 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-09-17* lib/rexml/xpath_parser.rb, test/rexml/test_xpath.rb:kou
add missing method availability check. [ruby-core:32447] Reported by Wiebe Cazemier. Thanks!!! git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29288 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-09-17* test/rexml/test_sax.rb: don't use thread and sleep to avoid slow test.kou
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29287 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-09-17* test/rexml/test_core.rb: enable.kou
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29286 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-09-17* test/rexml/: untabify.kou
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29285 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-09-17* test/rexml/: fix fixture data path. All REXML tests are worked.kou
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29284 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-09-17* test/rexml/test_listener.rb: remove needless codes.kou
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29283 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-09-17* test/rexml/: import REXML tests fromkou
http://www.germane-software.com/repos/rexml/trunk/test/. Many tests are failed temporary. I'll fix them quickly. Sorry. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29282 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-04-14* lib/rexml/source.rb: force_encoding("UTF-8") when the inputnaruse
is already UTF-8. patched by Kouhei Sutou [ruby-core:23404] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27342 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-12-29* lib/rexml/parsers/baseparser.rb (REXML::Parsers::BaseParser::STANDALONE):nobu
any number spaces can be placed between equal-sign and the value. patch from Ed Howland in [ruby-core:27345]. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26193 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-11-28* lib/rexml/formatters/default.rb (write_attribute): fix antenderlove
exception when printing a document when duplicate namespaced attributes exist. Thanks, Alexey Froloff [ruby-core:2389] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25956 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-11-06* lib/rexml/entity.rb (unnormalized): do not callshugo
document.record_entity_expansion if document is nil. see <http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=502535>. Thanks, Naohisa Goto. * test/rexml/test_document.rb: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20120 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-09-13* test/rexml/test_document.rb: removed garbage.shugo
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19318 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-09-13* text/rexml/test_document.rb (test_entity_expansion_limit): added tests.shugo
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19317 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-09-01* lib/rexml/document.rb: limit entity expansion.shugo
* lib/rexml/entity.rb: ditto. * test/rexml/test_document.rb: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19033 b2dd03c8-39d4-4d8f-98ff-823fe69b080e