aboutsummaryrefslogtreecommitdiffstats
path: root/test
Commit message (Collapse)AuthorAgeFilesLines
* WIN32OLE.codepage= accepts installed codepage.suke2007-01-201-1/+16
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11550 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* modify WIN32OLERuntimeError message.suke2007-01-201-0/+17
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11546 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* move all test from ext/win32ole/tests test/win32olesuke2007-01-201-93/+153
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11545 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* move some test from ext/win32ole/tests to test/win32olesuke2007-01-192-0/+203
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11544 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* add WIN32OLE_VARIANT::Empty, WIN32OLE_VARIANT::Null, WIN32OLE_VARIANT::Nothing.suke2007-01-192-0/+17
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11543 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* IN32OLE_VARIANT.new accepts nil as first argument for some VARIANT TYPE. fix ↵suke2007-01-181-0/+5
| | | | | | memory leak. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11542 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* add some test. update comment for rdoc.suke2007-01-071-0/+14
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11507 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Merge RDoc updates from matzruby 11502, 11503, 11504drbrain2007-01-071-2/+115
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11505 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* add WIN32OLE::VARIANT::VT_NULL, WIN32OLE::VARIANT::VT_EMPTY.suke2007-01-051-0/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11487 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * compile.c (iseq_compile_each, set_block_local_tbl) :ko12007-01-051-14/+14
| | | | | | | | | | support NODE_LAMBDA (partly). * sample/test.rb : restore test of NODE_LAMBDA * test/ruby/test_lambda.rb : ditto git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11477 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/drb/test_drbssl.rb : fix to skip drb testsko12006-12-311-1/+7
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11448 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Allow RDoc comment to give friendly value for rb_define_const.drbrain2006-12-311-0/+148
| | | | | | | | | | Patch by Daniel Berger <djberg96 at gmail.com>, [ruby-patches-7499]. Fix whitespace handling in constant comments. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11443 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * Merge YARVko12006-12-3133-132/+4361
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11439 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* The argument of Shell.NameSpace should not be file path.suke2006-12-261-6/+9
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11423 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * class.c (rb_include_module): revert duplicate inclusion ofmatz2006-11-071-1/+1
| | | | | | | modules. [ruby-dev:29793] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11291 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/xmlrpc/create.rb (XMLRPC::Create::conv2value): Symbol shouldmatz2006-11-021-1/+1
| | | | | | | | | | | | | | | | | | | come earlier than String. * lib/soap/mapping/rubytypeFactory.rb (RubytypeFactory::obj2soap): ditto. * lib/set.rb (TC_Set::test_s_new): strings are no longer Enumerable * lib/soap/property.rb (Property::load): ditto. * lib/webrick/httputils.rb (WEBrick::HTTPUtils::parse_header): ditto. * lib/soap/mimemessage.rb (MIMEMessage::Headers::parse): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11259 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/digest/test_digest_hmac.rb: added.knu2006-10-251-0/+3
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11221 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/digest/digest.c (Init_digest): Digest::Base.new() does noknu2006-10-131-1/+2
| | | | | | | | | | | longer take an initial string to feed. This change allows subclasses to take hashing parameters. A statement such as ``md = Digest::MD5.new(s)'' can be easily rewritten as ``md = Digest::MD5.new << s'' or ``md = Digest::MD5.new.update(s)''. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11154 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/test/unit/collector/dir.rb (Collector::Dir#collect): prependnobu2006-10-121-6/+23
| | | | | | | | | | | | | base directory to load path. * lib/test/unit/collector/dir.rb (Collector::Dir#collect_file): should use the given File-like interface, but not File directly. * test/testunit/collector/test_dir.rb (TestDir::FileSystem): implement File-like methods correctly. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11147 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/optparse/test_getopts.rb: changed the class name of test casenobu2006-10-031-1/+1
| | | | | | | to get rid of conflict with test_optparse.rb. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11077 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * parse.y (block_param): restrict block parameters to be localmatz2006-10-031-1/+1
| | | | | | | | | | variables only. * test/ruby/test_iterator.rb (TestIterator::test_nested_iterator): update test suite to conform the last change. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11075 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/optparse/test_getopts.rb: added short and long tests.nobu2006-09-261-2/+22
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11031 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/optparse/test_getopts.rb: added.nobu2006-09-261-0/+11
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11030 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * sample/test.rb: "print nil" now prints empty string.matz2006-09-251-1/+1
| | | | | | | * test/ruby/test_system.rb (TestSystem::test_system): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11019 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* use assert_same instead of assert_equal.akr2006-09-161-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10952 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/webrick/cookie.rb (WEBrick::Cookie.parse_set_cookies): newgotoyuzo2006-09-081-0/+31
| | | | | | | | | method to parse multiple cookies per Set-Cookie header. Thanks to Aaron Patterson <aaron_patterson at speakeasy.net>. [ruby-core:08802] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10885 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* More comprehensive tests.drbrain2006-08-271-23/+45
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10787 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/wsdl/document/echo.rb: removed.usa2006-08-252-93/+1
| | | | | | | | * test/wsdl/document/test_rpc.rb: remove echo.rb after test. [ruby-dev:29337] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10777 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Add TupleBag tests.drbrain2006-08-201-0/+150
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10751 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* accept hash argument of Symbol key.suke2006-08-191-0/+44
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10750 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/ruby/test_process.rb (TestProcess#test_rlimit_nofile):akr2006-07-311-1/+5
| | | | | | | | setrlimit may fail with EINVAL. reported by MIYAMUKO Katsuyuki. [ruby-dev:29174] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10649 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/webrick/httprequest.rb (WEBrick::HTTPReuqest#parse_uri): improvegotoyuzo2006-07-311-0/+58
| | | | | | | for the value of IPv6 address in the Host: header field. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10646 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* merge test cases with Ruby 1.8aamine2006-07-261-3/+74
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10614 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/net/http.rb (Net::HTTP#post, request_post, request): should set ↵aamine2006-07-261-0/+12
| | | | | | | | | | | Content-Type: x-www-form-urlencoded by default. * lib/net/http.rb (Net::HTTPHeader#content_type): should return nil when there's no Content-Type. * lib/net/http.rb (Net::HTTPHeader#sub_type): should return nil when there's no sub Content-Type (e.g. "Content-Type: text"). * lib/net/http.rb (Net::HTTPHeader#type_params): wrongly failed when there's no Content-Type. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10611 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/strscan/strscan.c (strscan_do_scan): StringScanner.new("").scan(//) ↵aamine2006-07-261-0/+10
| | | | | | should return "". [ruby-Bugs:4361] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10606 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* don't compare struct sockaddr directly.akr2006-07-241-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10591 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/socket/test_unix.rb: disabled on cygwin.akr2006-07-231-1/+1
| | | | | | | reported by Kouhei Yanagita. [ruby-dev:29080] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10585 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * eval.c (rb_call): try local method look-up first for fcall, thenmatz2006-07-201-2/+0
| | | | | | | | | | | | normal method look-up. [ruby-talk:202564] * eval.c (rb_get_method_body): save local method cache separately. * eval.c (search_method): export info whether method is local or not. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10578 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * object.c (rb_mod_attr): make Module#attr to be an alias tomatz2006-07-201-0/+2
| | | | | | | | | | attr_reader. [RCR#331] * ruby.h: export classes/modules to implement sandbox. [ruby-core:08283] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10577 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/ruby/test_float.rb (TestFloat::test_strtod): update test tomatz2006-07-201-6/+0
| | | | | | | conform strtod change. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10575 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * sample/test.rb: update test suites.matz2006-07-102-22/+22
| | | | | | | | | * test/ruby/test_assignment.rb (TestAssignment::test_yield): ditto. * test/ruby/test_iterator.rb (TestIterator::test_itertest): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10504 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Test class name should not be duplicated.suke2006-07-072-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10485 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/ruby/test_lambda.rb (TestLambdaParameters::test_lambda_as_iterator):matz2006-07-041-1/+1
| | | | | | | -> style block no longer available. [ruby-dev:28958] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10470 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/openssl/test_asn1.c: String#[]= doesnt't accept Integer.gotoyuzo2006-07-021-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10456 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/webrick/utils.rb: use Proc#yield instead of Proc#call.gotoyuzo2006-07-011-1/+1
| | | | | | | [ruby-dev:28914] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10444 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* add a note for cygwin empty UDP packet problem.akr2006-07-011-2/+6
| | | | | | | This commit is a result of hacks at the CodeFest Akihabara 2006 hosted by FSIJ. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10443 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/socket/test_nonblock.rb: add timeout to send/receiveakr2006-07-011-2/+5
| | | | | | | | an empty UDP packet. [ruby-dev:28820] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10441 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/socket/test_unix.rb: test_seqpacket_pair removed.akr2006-06-281-18/+0
| | | | | | | [ruby-dev:28846] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10421 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/socket/socket.c (bsock_recv_nonblock): new methodakr2006-06-262-35/+36
| | | | | | | | | | | BasicSocket#recv_nonblock. (udp_recvfrom_nonblock): renamed from ip_recvfrom_nonblock. IPSocket#recvfrom_nonblock is moved to UDPSocket#recvfrom_nonblock. (unix_recvfrom_nonblock): removed. UNIXSocket#recvfrom_nonblock is removed. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10403 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* revert sock_sysaccept addition to [ruby-dev:28861].akr2006-06-261-1/+15
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10399 b2dd03c8-39d4-4d8f-98ff-823fe69b080e