summaryrefslogtreecommitdiff
path: root/test
AgeCommit message (Collapse)Author
2007-12-24* proc.c (rb_proc_new), vm.c (invoke_block): removed u3.state magic.nobu
[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
2007-12-24* string.c (rb_str_comparable): fixed to keep transitivity.matz
[ruby-dev:32693] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14568 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-12-24add a test.akr
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14563 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-12-24add a test for String#hash.akr
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14562 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-12-23add some tests on conversion for pipe.akr
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14560 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-12-23* string.c (tr_trans): should associate new encoding if modified.matz
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14555 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-12-23* io.c (appendline): should do multibyte aware RS search.matz
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14554 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-12-23add test.akr
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14552 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-12-23* test/net/http/test_https.rb: should rescue LoadError.gotoyuzo
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14551 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-12-23add ML ref.akr
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14549 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-12-23test reflexive, symmetric and transitive relation of String#==.akr
String#chop test refined. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14547 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-12-23add tests.akr
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14545 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-12-23add assertions.akr
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14541 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-12-23update tests.akr
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14539 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-12-23add test for IO.pipe.akr
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14538 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-12-23add tests.akr
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14536 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-12-23add assertion messages.akr
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14535 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-12-23more IO m17n tests.akr
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14534 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-12-23* test/ruby/test_beginendblock.rb (TestBeginEndBlock::test_endblockwarn): matz
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
2007-12-23move the test for [ruby-core:14288].akr
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14525 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-12-23* encoding.c (rb_enc_codepoint): implemented to raise invalidakr
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
2007-12-23add tests for warning of none encoding regexps.akr
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14523 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-12-23Fix warnings in RubyGemsdrbrain
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14513 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-12-23add a test for [ruby-dev:32675] reported by Keita Yamaguchi.akr
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14510 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-12-22* test/net/imap/test_imap.rb: added tests for SSL.shugo
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14496 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-12-22use String#ascii_only?.akr
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14492 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-12-22Sat Dec 22 15:54:54 2007 Martin Duerst <duerst@it.aoyama.ac.jp>duerst
* test/ruby/test_transcode.rb: Added simple tests for EUC-JP and Shift_JIS and tests for ASCII-only range git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14486 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-12-22* ext/openssl/lib/net/ssl.rb (OpenSSL::SSL::SSLContext.build): removed.gotoyuzo
* ext/openssl/lib/net/ssl.rb (OpenSSL::SSL::SSLContext#set_params): new method to set suitable SSL parameters. * lib/net/pop.rb, lib/net/http.rb, lib/net/imap.rb, test/openssl/test_ssl.rb: follow above change. * test/net/http/test_https.rb: refine error case. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14479 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-12-22* lib/net/imap.rb (encode_utf7): accept UTF-8 strings.shugo
* lib/net/imap.rb (decode_utf7): return UTF-8 strings. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14477 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-12-22update tests for latest /.../n handling.akr
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14466 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-12-22* test/ruby/test_float.rb, test_sprintf.rb: fix test place.ko1
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14461 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-12-22* test/ruby/test_float.rb (test_float): test literal, not sprintf.usa
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14458 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-12-22* eval.c (rb_obj_instance_eval): use class of immediate objects.ko1
* test/ruby/test_eval.rb: fix a test. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14457 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-12-21test/ruby/test_eval.rb: class variable test updated.matz
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14440 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-12-21* test/json/test_json_addition.rb (test_core): do not use Time.nowshugo
because JSON can't hold nsec. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14437 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-12-21Update to RubyGems 1.0.1, r1581drbrain
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14424 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-12-21* ext/nkf/nkf-utf8/config.h (MIME_DECODE_DEFAULT, X0201_DEFAULT):naruse
defined as FALSE. nkf and kconv don't decode MIME encoded string and don't convert JIS X 0201 Katakana. * test/nkf/test_kconv.rb: fix tests. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14417 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-12-21add a test.akr
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14413 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-12-21* test/ruby/test_system.rb (TestSystem::valid_syntax): applymatz
ASCII-8BIT encoding explicitly. * re.c (rb_reg_prepare_re): add encoding name in the message. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14402 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-12-21* lib/runit, lib/rubyunit.rb, test/testunit/runit: removed.akr
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14391 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-12-21* test/ruby/test_m17n.rb (TestM17N::test_tr): "invalid mbstringmatz
sequence" is not an error to be tested. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14381 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-12-20* lib/net/http.rb (Net::HTTP#connect): usegotoyuzo
OpenSSL::SSL::SSLContext.build instead of SSLContext.new (default verify mode is now OpenSSL::SSL::VERIFY_PEER). * lib/net/https.rb: SSL parameters are defined by attr_accessor. * test/net/http/test_https.rb: add test for HTTPS features. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14371 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-12-20* string.c (tr_trans): wrong encoding check for tree strings.matz
* test/ruby/test_m17n.rb (TestM17N::test_tr_s): "invalid mbstring sequence" is not an error to be tested. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14369 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-12-20add test for succ.akr
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14366 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-12-20disable debug print.akr
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14363 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-12-20add tests for squeeze, strip, sum, swapcase, to_f, to_i, to_s.akr
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14362 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-12-20Import RubyGems 1.0.0, r1575drbrain
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14361 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-12-20add m17n tests for scan, slice, slice!, split.akr
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14354 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-12-19* string.c (rb_str_each_line): should consider rslen.matz
* string.c (rb_str_buf_append): should propagate encoding. * string.c (rb_str_each_line): ditto. * test/ruby/test_m17n.rb (TestM17N::test_str_each_line): should check encoding as well. * test/ruby/test_m17n.rb (TestM17N::test_str_each_line): empty array can not propagate encoding; should not check. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14343 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-12-19* string.c (rb_str_rindex_m): too much adjustment.matz
* re.c (reg_match_pos): pos adjustment should be based on characters. * test/ruby/test_m17n.rb (TestM17N::test_str_insert): test updated to check negative offset behavior. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14340 b2dd03c8-39d4-4d8f-98ff-823fe69b080e