summaryrefslogtreecommitdiff
path: root/test/rexml/test_core.rb
AgeCommit message (Collapse)Author
2013-02-24Use require_relative to require local librarynaruse
* from 1.9 require relative path from the file must use require_relative. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39476 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-12-07test: remove or replace trailing spacesnobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38253 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-11-03Revert r37439 and r37441kou
r37439: * lib/rexml/xmldecl.rb (REXML::XMLDecl): Stop using REXML::Encoding module because XMLDecl doesn't convert encoding. This causes removing XML encoding name normalization (encoding.upcase). Encoding name in XML declaration is what user specifies. I think this is reasonable change. * test/rexml/test_xml_declaration.rb: Add tests for the above change. r37441: * test/rexml/test_core.rb (Tester#test_ticket_88): Follow the change that encoding name in XML declaration isn't normalized. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37446 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-11-03* test/rexml/test_core.rb (Tester#test_ticket_88): Follow thekou
change that encoding name in XML declaration isn't normalized. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37441 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-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-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
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-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/: 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