summaryrefslogtreecommitdiffstats
path: root/test
Commit message (Collapse)AuthorAgeFilesLines
* add a test for getc with stateful conversion.akr2008-01-031-0/+11
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@14872 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/nkf/nkf-utf8/{nkf.c, utf8tbl.c}: Update nkf.naruse2008-01-011-3/+3
| | | | | | | | | | | * ext/nkf/nkf.c: fix documents. * ext/nkf/lib/kconv.rb: fix documents. (Kconv.is*): use valid_encoding?. (Kconv.isjis): defined. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@14833 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* add a test: "y".count("a\\-z") should be 0.akr2008-01-011-0/+1
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@14827 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * string.c (rb_str_resize): embeds if ptr is null. [ruby-dev:32819]nobu2007-12-311-0/+3
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@14817 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/webrick/httpproxy.rb (WEBrick::HTTPProxyServer#proxy_service):gotoyuzo2007-12-312-3/+288
| | | | | | | | | | call do_XXX which corespond with request method. (WEBrick::HTTPProxyServer#do_CONNECT,do_GET,do_POST,do_HEAD): added. * test/webrick/test_httpproxy.rb: add test for WEBrick::HTTPProxyServer. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@14816 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/net/imap/test_imap.rb: check OpenSSL definition before testing imaps.usa2007-12-301-24/+34
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@14805 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* add more tests for sub, gsub, sub!, gsub!.akr2007-12-301-0/+102
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@14804 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* fix \xc2\xa0 as \xc2\xa1.akr2007-12-301-43/+43
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@14803 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* timeout larger area.akr2007-12-301-10/+10
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@14797 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* use timeout for thread join to avoid hang.akr2007-12-291-1/+4
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@14786 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* add tests.akr2007-12-291-0/+7
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@14779 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/test/unit/assertions.rb (Test::Unit::Assertions#assert_throws):gotoyuzo2007-12-281-0/+16
| | | | | | | | | | | throw won't raise NameError nor ThreadError but ArgumentError on 1.9. (Test::Unit::Assertions#assert_not_throws): ditto. * test/testunit/test_assertions.rb: add assertions for throwing some objects other than Symbol. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@14777 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* add a test.akr2007-12-281-0/+7
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@14773 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 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: http://svn.ruby-lang.org/repos/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: http://svn.ruby-lang.org/repos/ruby/trunk@14766 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Sort methods in TestSimpleMarkupAttributeManagerdrbrain2007-12-281-22/+22
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@14759 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Move RDoc tests out of lib/drbrain2007-12-282-0/+649
| | | | git-svn-id: http://svn.ruby-lang.org/repos/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: http://svn.ruby-lang.org/repos/ruby/trunk@14752 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* add a test.akr2007-12-261-0/+12
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@14712 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/ruby/test_io_m17n.rb: fix testsmatz2007-12-251-4/+4
| | | | git-svn-id: http://svn.ruby-lang.org/repos/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: http://svn.ruby-lang.org/repos/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: http://svn.ruby-lang.org/repos/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: http://svn.ruby-lang.org/repos/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: http://svn.ruby-lang.org/repos/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: http://svn.ruby-lang.org/repos/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: http://svn.ruby-lang.org/repos/ruby/trunk@14639 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Fix some test failures in RubyGems.drbrain2007-12-241-1/+3
| | | | git-svn-id: http://svn.ruby-lang.org/repos/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: http://svn.ruby-lang.org/repos/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: http://svn.ruby-lang.org/repos/ruby/trunk@14613 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * changed constant name: Struct::MyStruct -> Struct::MyJsonStructnahi2007-12-241-1/+1
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@14608 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* add tests.akr2007-12-241-0/+37
| | | | git-svn-id: http://svn.ruby-lang.org/repos/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: http://svn.ruby-lang.org/repos/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: http://svn.ruby-lang.org/repos/ruby/trunk@14604 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/rinda/test_rinda.rb: enable rinda test.ko12007-12-241-9/+0
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@14603 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* add a test for non-ascii method name.akr2007-12-241-0/+15
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@14601 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* add tests.akr2007-12-241-1/+20
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@14600 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* add tests.akr2007-12-241-0/+81
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@14599 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* add succ tests from the succ document.akr2007-12-241-0/+7
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@14598 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* refine a test.akr2007-12-241-5/+14
| | | | git-svn-id: http://svn.ruby-lang.org/repos/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: http://svn.ruby-lang.org/repos/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: http://svn.ruby-lang.org/repos/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: http://svn.ruby-lang.org/repos/ruby/trunk@14568 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* add a test.akr2007-12-241-0/+11
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@14563 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* add a test for String#hash.akr2007-12-241-0/+8
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@14562 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* add some tests on conversion for pipe.akr2007-12-231-0/+34
| | | | git-svn-id: http://svn.ruby-lang.org/repos/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: http://svn.ruby-lang.org/repos/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: http://svn.ruby-lang.org/repos/ruby/trunk@14554 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* add test.akr2007-12-231-0/+11
| | | | git-svn-id: http://svn.ruby-lang.org/repos/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: http://svn.ruby-lang.org/repos/ruby/trunk@14551 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* add ML ref.akr2007-12-231-1/+1
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@14549 b2dd03c8-39d4-4d8f-98ff-823fe69b080e