aboutsummaryrefslogtreecommitdiffstats
path: root/test
Commit message (Collapse)AuthorAgeFilesLines
* combinational tests for printf.akr2008-01-251-0/+300
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15227 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* add a test for Regexp.union.akr2008-01-251-0/+4
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15225 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/ruby/test_m17n.rb: commit miss.usa2008-01-241-0/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15219 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/ruby/test_m17n.rb: follow to the following changes.usa2008-01-241-10/+8
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15218 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * sprintf.c (remove_sign_bits): returns pointer to the first char tonobu2008-01-241-6/+6
| | | | | | | | | | be used, instead of copying. * sprintf.c (rb_str_format): negative indicator dots should come before sign digits always. [ruby-dev:33224] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15215 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* fix last commit.akr2008-01-241-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15211 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* add a test for [ruby-dev:33224].akr2008-01-241-0/+8
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15207 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* add a test for [ruby-dev:33264].akr2008-01-241-0/+10
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15205 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * string.c (rb_enc_cr_str_buf_cat): ASCII incompatible encoding isakr2008-01-241-0/+8
| | | | | | | not compatible with any other encoding. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15202 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/rexml/text.rb, lib/rubygems/open-uri.rb, lib/open-uri.rb,naruse2008-01-232-2/+2
| | | | | | | test/logger/test_logger.rb, test/ruby/test_regexp.rb: fix tests. [ruby-dev:33336] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15200 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* add a test for String#end_with?.akr2008-01-231-0/+4
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15198 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* fix previous change.akr2008-01-231-2/+3
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15192 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* test refined.akr2008-01-231-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15190 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/ruby/test_struct.rb: add tests to achieve over 90% testmame2008-01-233-6/+403
| | | | | | | | | coverage of struct.c. * test/ruby/test_sprintf.rb: ditto for sprintf.c. * test/ruby/test_math.rb: ditto for math.c. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15189 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* add a test.akr2008-01-232-35/+109
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15187 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* add a test.akr2008-01-231-0/+7
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15186 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* change class name.akr2008-01-231-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15184 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* split UTF-16 tests.akr2008-01-232-42/+68
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15183 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* add a test.akr2008-01-231-0/+3
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15182 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * string.c (str_make_independent): should set length.nobu2008-01-231-0/+14
| | | | | | | | | | | | * string.c (rb_str_associate): hide associated array from ObjectSpace. * string.c (rb_str_associated): return associated array with freezing instead of false. [ruby-dev:33282] * string.c (rb_str_freeze): freeze associated array together. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15180 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* add a test.akr2008-01-231-0/+3
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15179 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/ruby/test_bignum.rb: change some tests because rationalmame2008-01-221-3/+12
| | | | | | | redefines Bignum#quo and Bignum#**. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15174 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in (MINIRUBY): remove -I$(EXTOUT)/$(arch) frommatz2008-01-221-9/+100
| | | | | | | | | | | | | | | MINIRUBY since miniruby might not be able to load DLL. * test/ruby/test_m17n.rb: move tests from bootstrap test. * encoding.c (enc_find): should check name if ASCII compatible. * string.c (rb_str_end_with): should check character boundary. * encoding.c (rb_enc_compatible): encoding must be ASCII compatible before checking ENC_CODERANGE_7BIT. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15167 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/rdoc/ri/formatter.rb: Indent labeled lists like note lists.drbrain2008-01-222-6/+290
| | | | | | | | | | * test/rdoc/test_rdoc_ri_overstrike_formatter.rb: Added. * test/rdoc/test_rdoc_ri_formatter.rb: Added tests. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15164 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/ruby/test_bignum.rb: add tests for bignum.c.mame2008-01-211-0/+252
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15161 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Mon Jan 21 19:42:42 2008 Martin Duerst <duerst@it.aoyama.ac.jp>duerst2008-01-211-0/+59
| | | | | | | | | * transcode.c, enc/trans/utf_16_32.c, test/ruby/test_transcode.rb: added UTF-32BE and UTF-32LE conversions. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15156 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* add a test.akr2008-01-201-0/+9
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15146 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* add a test for each_char.akr2008-01-201-0/+6
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15145 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Sun Jan 20 20:00:20 2008 Martin Duerst <duerst@it.aoyama.ac.jp>duerst2008-01-201-45/+50
| | | | | | | | | | | * transcode.c, enc/trans/utf_16_32.c, test/ruby/test_transcode.rb: added UTF-16LE conversions. * fixed changelog for last commit git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15144 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Sun Jan 20 15:08:08 2008 Martin Duerst <duerst@it.aoyama.ac.jp>duerst2008-01-201-3/+52
| | | | | | | | | | | | | | | * enc/trans/utf_16_32.c: new file, currently implementing UTF-16BE conversions only. * test/ruby/test_transcode.rb: Added tests for UTF-16BE; made check_both_ways() use force_encoding differently. * transcode_data.h, transcode.c: Support for more conversion functions. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15142 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* add a test.akr2008-01-201-0/+4
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15139 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* add a assertion message.akr2008-01-201-1/+3
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15138 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* add a test.akr2008-01-201-5/+16
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15137 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* update encdump for UTF-16.akr2008-01-191-2/+8
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15133 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* fix a test.akr2008-01-191-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15132 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* add a test.akr2008-01-191-0/+4
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15131 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/win32ole/win32ole.c (ole_set_safe_array): should not usesuke2008-01-191-0/+8
| | | | | | | | | recursive calling. * test/win32ole/test_win32ole_variant.rb: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15121 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/rdoc/markup: Remove ListBase and Line constants.drbrain2008-01-195-59/+182
| | | | | | | | | | | | | | | | | | | | * lib/rdoc/ri: Allow output IO to be specified. * test/rdoc/parser/test_parse_c.rb: Move up one level, fixed. * test/rdoc/parser/test_rdoc_markup_attribute_manager.rb: Renamed to match new class name, updated to match new classes. * test/rdoc/test_rdoc_ri_formatter.rb: Start of RI formatting tests. * test/rdoc/test_rdoc_ri_attribute_manager.rb: Start of RDoc::RI::AttributeManager tests. * test/rdoc/test_simple_markup.rb: Moved to match new class name. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15120 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * thread.c (thread_create_core): prohibit thread creation in thematz2008-01-181-0/+33
| | | | | | | | | | frozen thread group. a patch in [ruby-dev:33176] from sheepman <sheepman AT sheepman.sakura.ne.jp>. * thread.c (thread_create_core): should inherit ThreadGroup from the current thread. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15118 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * sprintf.c (rb_str_format): set result encoding for wider width.nobu2008-01-181-0/+32
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15117 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/ruby/test_m17n.rb (test_str_dump): added test forkazu2008-01-181-0/+38
| | | | | | | String#dump. [ruby-dev:33142] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15109 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test_m17n.rb: Regexp switch `s' should mean Windows-31J, as wells asusa2008-01-181-12/+12
| | | | | | | `-Ks'. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15102 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/test_delegate.rb: add new test file for delegate.rb.usa2008-01-161-0/+15
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15077 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* add tests.akr2008-01-111-0/+10
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14988 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* add a test.akr2008-01-101-0/+4
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14979 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* make a test locale independent.akr2008-01-101-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14978 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * io.c (rb_io_binmode): should not alter encoding. [ruby-dev:32918]matz2008-01-091-1/+1
| | | | | | | * io.c (io_read_encoding): need not to return ASCII-8BIT for binary IO. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14972 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/webrick/httprequest.rb: supprt X-Forwarded-* header fields.gotoyuzo2008-01-091-0/+67
| | | | | | | | | | | | | | WEBrick::HTTPRequest#{host,port,request_uri} is derived having regards to X-Forwarded-Proto and X-Forwarded-Host. * lib/webrick/httprequest.rb (WEBrick::HTTPRequest#server_name?): new method. (WEBrick::HTTPRequest#remote_ip?): new method. (WEBrick::HTTPRequest#ssl?): new method. * string.c (rb_enc_cr_str_buf_cat): fix self appending. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14968 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * string.c (rb_str_buf_append): fix append itself.akr2008-01-071-0/+6
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14941 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* add tests.akr2008-01-072-0/+27
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14937 b2dd03c8-39d4-4d8f-98ff-823fe69b080e