aboutsummaryrefslogtreecommitdiffstats
path: root/test
Commit message (Collapse)AuthorAgeFilesLines
* * lib/net/http.rb: HTTPHeader keeps its header fields as an array.aamine2004-03-061-10/+77
| | | | | | | | | | * lib/net/http.rb: new method HTTPHeader#add_header, get_fields. * lib/net/http.rb: new method HTTPHeader#content_length=. * lib/net/http.rb: new method HTTPHeader#content_type, main_type, sub_type, type_params, content_type=, set_content_type. * lib/net/http.rb (HTTPHeader#basic_encode): result of pack(m) may contain multiple LFs. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5910 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/strscan/strscan.c: new method StringScanner#initialize_copy to allow ↵aamine2004-03-051-0/+61
| | | | | | | | | #dup and #clone. * test/strscan/test_strscan.rb: test StringScanner#dup. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5889 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/syck/rubyext.c: get rid of warnings.nobu2004-03-031-146/+151
| | | | | | | | | | | * lib/rss/taxonomy.rb: ditto. * lib/rdoc/ri/ri_formatter.rb: ditto. * test/ruby/test_assignment.rb: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5882 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Fixed to work with Ruby test suite (patch from Nobu)dblack2004-03-023-66/+57
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5873 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/ruby/test_iterator.rb (test_ljump): cannot usenobu2004-03-021-4/+11
| | | | | | | assert_nothing_raised due to passing block. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5866 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* First commit of scanf test filesdblack2004-03-014-0/+422
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5860 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * MANIFEST: add test_erb.rbseki2004-02-281-0/+40
| | | | | | | | * lib/erb.rb, test/erb/test_erb.rb: don't forget filename, if both filename and safe_level given. [ruby-dev:23050] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5846 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* require drb/eq.rb by defaultseki2004-02-261-4/+0
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5840 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/cgi-lib.rb, lib/getopts.rb, lib/importenv.rb, lib/parsearg.rb:nobu2004-02-254-4/+4
| | | | | | | | | | | warn with caller position. * test/rss/test_content.rb, test/rss/test_dublincore.rb, test/rss/test_syndication.rb, test/rss/test_trackback.rb: use cgi instead of cgi-lib. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5829 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/ruby/test_file.rb (test_fnmatch): test for dir.c:1.108.nobu2004-02-241-10/+8
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5823 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/rinda/test_rinda.rb: DRb.start_service only once in testsuites.nahi2004-02-191-1/+1
| | | | | | | DRb.start_service could handle this. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5784 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* import test_rinda.rbseki2004-02-181-0/+367
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5766 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/*: should not depend on $KCODE.nahi2004-02-1835-84/+28
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5764 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/ruby/test_sprintf.rb: added tests.usa2004-02-181-0/+77
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5763 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/soap/marshal/test_marshal.rb, test/ruby/test_marshal.rb: do $:nahi2004-02-172-3/+16
| | | | | | | trick to share the testcase test/ruby/marshaltestlib.rb. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5753 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/ruby/marshaltestlib.rb: common marshal testcase added.nahi2004-02-174-917/+501
| | | | | | | | | | | * test/ruby/test_marshal.rb: use above testsuite. * test/soap/marshal/test_marshal.rb: ditto. * test/soap/marshal/cmarshal.rb: removed (not used). git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5752 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/csv.rb: document reduction. [ruby-core:02429]nahi2004-02-161-0/+2
| | | | | | | | | * test/yaml/test_yaml.rb: added 0..1 test with "0".."1" on display. it should be defined that the specification about what kind of Range is supported in ruby's custom type in YAML. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5731 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/rss/test_trackback.rb: added tests for TrackBack with RSSkou2004-02-132-5/+73
| | | | | | | | | | | | | 2.0. * test/rss/common.rb: added methods make RSS 2.0. * lib/rss/trackback.rb: TrackBack API is decided. * lib/rss/rss.rb: RSS::VERSION 0.0.7 -> 0.0.8 * lib/rss/parser.rb, lib/rss/rss.rb: replaced $DEBUG by RSS::DEBUG. * lib/rss/2.0.rb: removed RSS 2.0 URI. Because RSS 2.0 doesn't have URI. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5691 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/fileutils/test_fileutils.rb: rescue SystemCallError instead of ↵aamine2004-02-131-1/+1
| | | | | | EINVAL. File.link may raise EACCES on network file systems. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5686 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/fileutils/test_fileutils.rb: File.link raises EINVAL on Win9x. ↵aamine2004-02-121-2/+2
| | | | | | [ruby-dev:22713] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5685 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/yaml/test_yaml.rb (YAML_Unit_Tests::test_range_cycle):akira2004-02-081-0/+6
| | | | | | | added tests. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5651 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/ruby/test_file.rb (TestFile::test_fnmatch): added tests forakira2004-02-081-0/+6
| | | | | | | File.fnmatch. [ruby-dev:22815][ruby-dev:22819] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5650 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/yaml/test_yaml.rb (YAML_Unit_Tests::test_range_cycle):akira2004-02-081-0/+17
| | | | | | | added tests. [ruby-core:02306] [ruby-core:02311] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5649 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/ruby/test_proc.rb (TestProc::test_eq): added aakira2004-02-061-3/+6
| | | | | | | test. [ruby-dev:22599] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5633 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/ruby/test_proc.rb (TestProc::test_eq): added tests forakira2004-02-061-0/+17
| | | | | | | Proc#==. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5630 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/rss/2.0.rb, lib/rss/content.rb, lib/rss/dublincore.rb,kou2004-02-036-6/+4
| | | | | | | | | | | | | | | | lib/rss/rss.rb, lib/rss/syndication.rb: removed warnings. * lib/rss/converter.rb: removed handling load error of nkf. * test/rss/test_syndication.rb, test/rss/test_trackback.rb, test/rss/test_dublincore.rb, test/rss/test_content.rb: replaced 'require "rss/parser"' by 'require "rss/1.0"'. * test/rss/test_parser.rb, test/rss/test_accessor.rb: removed 'require "rss/parser"'. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5619 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/rss/parser.rb (RSS::Parser): added @@default_parser. Usedkou2004-01-313-33/+10
| | | | | | | | XML parser became selectable. * test/rss/test_parser.rb: added tests for RSS::Parser.default_parser. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5594 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/*: remove $: trick. [ruby-dev:22763] use test/runner.rb tonahi2004-01-2922-56/+5
| | | | | | | run test. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5580 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/rss/test_*: do $: trick while searching a module in the currentnahi2004-01-2913-6/+27
| | | | | | | | | | | | | | directory. * test/xsd/test_xmlschemaparser.rb, test/wsdl/test_emptycomplextype.rb, test/soap/helloworld/test_helloworld.rb, test/soap/calc/{test_calc.rb,test_calc2.rb}: do File.expand_path before using __FILE__. * test/yaml/test_yaml.rb: assert_equals -> assert_equal. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5574 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/syck/rubyext.c: usec round-tripping skew. [ruby-core:2305]why2004-01-281-0/+36
| | | | | | | | | * lib/yaml/rubytypes.rb: character Range now round-trips. [ruby-core:2306] * test/yaml/test_yaml.rb: add Time and Range tests. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5573 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/rss/*.rb: remove "test/" prefix.nobu2004-01-289-8/+26
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5571 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/rss: rss library imported. [ruby-dev:22726]matz2004-01-2811-0/+1350
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5566 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * pack.c (num2i32): pack should not raise RangeError.matz2004-01-221-0/+4
| | | | | | | | | [ruby-dev:22654] * pack.c (pack_pack): do not auto convert nil to zero. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5542 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * parse.y (newline_node): do not use NODE_NEWLINE node anymore,matz2004-01-211-0/+1
| | | | | | | | | | | | | | | | use NEWLINE flag instead. * ext/socket/socket.c (sock_gethostbyname): returns host if ai_canonname is NULL. (ruby-bugs PR#1243) * parse.y (block_append): update nd_end for "real" head node. [ruby-list:39058] * marshal.c (w_class): should not dump singleton class. [ruby-dev:22631] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5535 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/ruby/test_marshal.rb (MarshalTestLib::test_exception): testnobu2004-01-191-5/+8
| | | | | | | | | | for [ruby-dev:22604]. * test/ruby/test_marshal.rb (MarshalTestLibtest_singleton): test for [ruby-dev:22588]. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5511 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/ruby/test_time.rb: added tests for [ruby-dev:22614] andakira2004-01-191-0/+2
| | | | | | | [ruby-dev:22617]. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5499 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * failed to add in the previous commit.nahi2004-01-182-0/+189
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5489 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/ruby/test_time.rb: new test case to test Time#[+-].siena2004-01-181-0/+24
| | | | | | | | * time.c (time_plus, time_minus): fix RangeError for a negative argument in environments whose time_t is unsigned. [ruby-dev:22608] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5485 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/inlinetest.rb (InlineTest::eval_part): eval under the topnobu2004-01-141-2/+1
| | | | | | | level environment. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5465 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/inlinetest.rb (InlineTest::loadtest): require instead ofnobu2004-01-141-8/+15
| | | | | | | load, to get rid of multiple loading. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5463 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/test_*.rb: Pathname#parent -> Pathname#dirname.nahi2004-01-138-16/+16
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5455 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/yaml/test_yaml.rb (YAML_Unit_Tests::test_spec_type_{int,float}):nobu2004-01-131-5/+3
| | | | | | | fix syntax error. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5453 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/syck/bytecode.c: turn off default implicit typing.why2004-01-121-0/+8
| | | | | | | | | | | | * ext/syck/implicit.c: detect base60 integers. * ext/syck/rubyext.c: handle base60, as well as hex and octal with commas. implicit typing of ruby symbols. * test/yaml/test_yaml.rb: add test. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5452 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/test/unit/collector/dir.rb: do not ignore exceptions(LoadErrornahi2004-01-093-14/+39
| | | | | | | | | | | | | | and SystemExitError) while loading a testcase. smell of bug. * test/testunit/collector/test_dir.rb: add new test of the LoadError. * test/drb/{test_drbssl.rb,test_drbunix.rb}: do not define testcase if openssl is not installed. * test/testunit/collector/test_dir.rb: assert_raises -> assert_raise. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5423 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/wsdl/datetime/test_datetime.rb: fixed a stupid testcase whichnahi2004-01-081-17/+19
| | | | | | | dumps "E" at month-end. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5414 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/net/test_httpheader.rb: new file.aamine2004-01-071-0/+137
| | | | | | | * MANIFEST: add test/net/test_httpheader.rb. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5402 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/logger.rb(Logger#msg2str): no special treatment for the objectnahi2004-01-061-1/+1
| | | | | | | | | | | | | which responds to :to_str. * lib/logger.rb(LogDevice#initialize): remove type checking if the given object is a String. Kernel.open handles it correctly. * test/logger/test_logger.rb: follow above change (ArgumentError -> TypeError.) git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5389 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/inlinetest.rb, test/{test_generator.rb,test_ipaddr.rb,nahi2004-01-069-0/+84
| | | | | | | | test_pathname.rb,test_pp.rb,test_prettyprint.rb,test_set.rb, test_time.rb,test_tsort.rb: added. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5385 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * import soap4r/1.5.2;nahi2004-01-066-44/+54
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * lib/soap/{attachment.rb,baseData.rb,encodingstyle/soapHandler.rb}: introduce SOAPExternalReference class as a referenct to SOAPEnvelope external content. * lib/soap/{attachment.rb,mimemessage.rb}: great SwA (SOAP messages with Attachments) support code by Jamie Herre. * lib/soap/{element.rb,marshal.rb,parser.rb,processor.rb, streamHandler.rb,wsdlDriver.rb}: SwA support. * lib/soap/rpc/{cgistub.rb,driver.rb,element.rb,proxy.rb,router.rb, soaplet.rb}: SwA support and refactoring. * lib/soap/generator.rb, lib/soap/mapping/mapping.rb: follow SOAPReference#initialize signature change. * lib/soap/mapping/factory.rb: deleted unused methods. * lib/soap/mapping/rubytypeFactory.rb: do no ignore case while xsi:type string <-> Ruby class name matching. * lib/xsd/datatypes.rb: check the smallest positive non-zero single-precision float exactly instead of packing with "f". [ruby-talk:88822] * test/soap/test_basetype.rb, test/xsd/test_xsd.rb: use 1.402e-45, not 1.4e-45. 1.4e-45 is smaller than 2 ** -149... * test/soap/test_basetype.rb, test/soap/marshal/test_marshal.rb, test/xsd/test_xsd.rb: use "(-1.0 / (1.0 / 0.0))" instead of "-0.0". * test/soap/test_streamhandler.rb: revert to the previous test that warns "basic_auth unsupported under net/http". git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5384 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/ruby/test_pack.rb: new test test_unpack_N.aamine2004-01-041-0/+10
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5372 b2dd03c8-39d4-4d8f-98ff-823fe69b080e