aboutsummaryrefslogtreecommitdiffstats
path: root/test
Commit message (Collapse)AuthorAgeFilesLines
* * ext/strscan/strscan.c (str_new): new function for allocate an stringakr2007-12-281-4/+9
| | | | | | | | | | | | with encoding propagation. (extract_range): use str_new. (extract_beg_len): ditto. (strscan_peek): ditto. (strscan_rest): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14772 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Fri Dec 28 01:55:04 2007 Martin Duerst <duerst@it.aoyama.ac.jp>duerst2007-12-281-0/+3
| | | | | | | | | | | | | | | | | | | | | * transcode.c (transcode_dispatch): reverted some of the changes in r14746. * transcode.c, enc/trans/single_byte.c: Added conversions to/from US-ASCII and ASCII-8BIT (using data tables). * enc/trans/single_byte.c: Some spacing/ordering changes due to automatic data file generation. * transcode_data.h, transcode.c: Preliminary code for using micro-conversion functions. * test/ruby/test_transcode.rb: Added some tests for US-ASCII and ASCII-8BIT conversions. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14766 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Sort methods in TestSimpleMarkupAttributeManagerdrbrain2007-12-281-22/+22
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14759 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Move RDoc tests out of lib/drbrain2007-12-282-0/+649
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14757 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/rss/rss.rb, test/rss/test_version.rb: 0.2.2 -> 0.2.3.kou2007-12-282-1/+13
| | | | | | | | * lib/rss/parser.rb, test/rss/test_parser.rb: supported "-" in tag name. Reported by Ray Chen. Thanks. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14752 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* add a test.akr2007-12-261-0/+12
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14712 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/ruby/test_io_m17n.rb: fix testsmatz2007-12-251-4/+4
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14675 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/csv.rb: Fixed test failures caused by changes to Ruby.jeg22007-12-253-4/+4
| | | | | | | | | * test/csv/tc_serialization, test/csv/tc_csv_parsing, test/csv/tc_features: Fixed test failures caused by changes to Ruby. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14662 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/rinda/test_rinda.rb (MockClock#{_forward, forwrd, sleep}):naruse2007-12-251-3/+3
| | | | | | | | Change default value of n as @reso from nil. If default value is nil, n.+ is not defined. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14660 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/ruby/test_io_m17n.rb (test_pipe): fixed.akr2007-12-251-1/+1
| | | | | | | [ruby-dev:32743] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14659 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/ruby/test_io_m17n.rb (test_write_noenc): don't mix text andakr2007-12-251-2/+2
| | | | | | | binary mode. [ruby-dev:32743] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14656 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/csv.rb: Import the FasterCSV source as the new CSV class.jeg22007-12-2511-0/+2048
| | | | | | | * test/csv/*: Added all applicable tests from FasterCSV. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14646 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/csv.rb, test/csv/test_csv.rb: Removed in preparation for FasterCSVjeg22007-12-241-1753/+0
| | | | | | | | code import. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14639 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Fix some test failures in RubyGems.drbrain2007-12-241-1/+3
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14638 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * include/ruby/encoding.h (rb_enc_left_char_head): new utility macro.matz2007-12-241-4/+5
| | | | | | | | | | | | | * include/ruby/encoding.h (rb_enc_right_char_head): ditto. * io.c (appendline): does multibyte RS search in the function. * io.c (prepare_getline_args): RS may be nil. * io.c (rb_io_getc): should process character based on external encoding, when transcoding required. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14619 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/logger/test_logger.rb: Module#constants returns an array of Symbols.gotoyuzo2007-12-241-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14613 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * changed constant name: Struct::MyStruct -> Struct::MyJsonStructnahi2007-12-241-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14608 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* add tests.akr2007-12-241-0/+37
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14606 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/io/nonblock/test_flush.rb: fix test for 1.9.ko12007-12-241-2/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14605 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/rinda/test_rinda.rb: revert last commit because this test seemsko12007-12-241-0/+9
| | | | | | | | to have timing problem to halt all tests. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14604 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/rinda/test_rinda.rb: enable rinda test.ko12007-12-241-9/+0
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14603 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* add a test for non-ascii method name.akr2007-12-241-0/+15
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14601 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* add tests.akr2007-12-241-1/+20
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14600 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* add tests.akr2007-12-241-0/+81
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14599 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* add succ tests from the succ document.akr2007-12-241-0/+7
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14598 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* refine a test.akr2007-12-241-5/+14
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14592 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Mon Dec 24 17:06:37 2007 NAKAMURA, Hiroshi <nahi@ruby-lang.org>nahi2007-12-24115-11848/+0
| | | | | | | | * {lib,test}/{soap,wsdl,xsd}: removed soap4r along to the discussion at ruby-core and ruby-dev. see [ruby-core:12535], [ruby-dev:31969]. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14587 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * proc.c (rb_proc_new), vm.c (invoke_block): removed u3.state magic.nobu2007-12-241-0/+4
| | | | | | | | | | [ruby-core:14310] * test/ruby/test_symbol.rb (test_to_proc): a test from Frederick Cheung <frederick.cheung AT gmail.com>. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14575 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * string.c (rb_str_comparable): fixed to keep transitivity.matz2007-12-241-0/+1
| | | | | | [ruby-dev:32693] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14568 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* add a test.akr2007-12-241-0/+11
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14563 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* add a test for String#hash.akr2007-12-241-0/+8
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14562 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* add some tests on conversion for pipe.akr2007-12-231-0/+34
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14560 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * string.c (tr_trans): should associate new encoding if modified.matz2007-12-231-11/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14555 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * io.c (appendline): should do multibyte aware RS search.matz2007-12-231-5/+5
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14554 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* add test.akr2007-12-231-0/+11
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14552 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/net/http/test_https.rb: should rescue LoadError.gotoyuzo2007-12-231-3/+3
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14551 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* add ML ref.akr2007-12-231-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14549 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* test reflexive, symmetric and transitive relation of String#==.akr2007-12-231-172/+214
| | | | | | | String#chop test refined. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14547 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* add tests.akr2007-12-231-0/+42
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14545 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* add assertions.akr2007-12-231-0/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14541 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* update tests.akr2007-12-231-2/+3
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14539 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* add test for IO.pipe.akr2007-12-231-29/+37
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14538 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* add tests.akr2007-12-231-9/+47
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14536 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* add assertion messages.akr2007-12-231-5/+7
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14535 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* more IO m17n tests.akr2007-12-231-4/+122
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14534 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/ruby/test_beginendblock.rb (TestBeginEndBlock::test_endblockwarn): matz2007-12-232-2/+2
| | | | | | | rename endblockwarn.rb to endblockwarn_rb to avoid unnecessary warning in make test. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14530 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* move the test for [ruby-core:14288].akr2007-12-231-0/+22
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14525 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * encoding.c (rb_enc_codepoint): implemented to raise invalidakr2007-12-231-60/+150
| | | | | | | | | | encoding. * include/ruby/encoding.h (rb_enc_codepoint): macro is replaced as a declaration. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14524 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* add tests for warning of none encoding regexps.akr2007-12-231-21/+38
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14523 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Fix warnings in RubyGemsdrbrain2007-12-233-13/+15
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14513 b2dd03c8-39d4-4d8f-98ff-823fe69b080e