summaryrefslogtreecommitdiff
path: root/test/ruby
AgeCommit message (Collapse)Author
2003-10-30* io.c (READ_DATA_BUFFERED): new macro to detect whether stdiomatz
buffer filled. * io.c (rb_io_fptr_cleanup): move path deallocation to rb_io_fptr_finalize (finalizer called by GC). git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4865 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-10-29* eval.c (proc_invoke): single array value to normal Proc#callmatz
(i.e. not via lambda call), should be treated just like yield. [ruby-dev:21726] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4860 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-10-28* parse.y (new_yield): remove magic argument rule; "yield [1,2]"matz
should yield single array of two elements, not two values. [ruby-dev:21726] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4848 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-10-22* lib/test/unit/collector/dir.rb (Test::Unit::Collector::Dir#collect_file):nobu
ignore tests which raised LoadError. * test/drb/drbtest.rb, test/ruby/test_beginendblock.rb, test/ruby/test_system.rb: avoid requiring same file twice. * test/drb/test_drbssl.rb, test/drb/test_drbunix.rb: should not use ARGV unless invoked directly. do not create test cases unless required libraries are available. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4830 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-10-20* eval.c (PUSH_FRAME): generate unique number to be TAG_JUMP()matz
destination. * eval.c (localjump_destination): use unique number in ruby_frame for localjump destination. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4811 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-10-20* test/ruby/test_signal.rb (test_signal): restore old trap.nobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4810 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-10-17* test/ruby/test_range.rb: added.usa
* MANIFEST: add test/ruby/test_range.rb. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4792 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-10-15* test/digest/test_digest.rb (test_eq): show failed class.nobu
* test/ruby/test_iterator.rb (test_break, test_return_trace_func): test localjump destination. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4783 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-10-14* lib/soap/baseData.rb: Introduce SOAPType as the common ancestor ofnahi
SOAPBasetype and SOAPCompoundtype. * lib/soap/generator.rb, lib/soap/element.rb, lib/soap/encodingstyle/*: Encoding methods signature change. Pass SOAPGenerator as a parameter. * lib/soap/mapping/*, test/soap/marshal/test_marshal.rb: Refactoring for better marshalling/unmarshalling support. Now I think SOAP marshaller supports all kind of object graph which is supported by Ruby's original marshaller. Of course there could be bugs as always. Find it. :-) * lib/soap/rpc/standaloneServer.rb: Set severity threshould to INFO. DEBUG is too noisy. * lib/xsd/datatypes.rb: DateTime#of is obsoleted. Use DateTime#offset. * test/wsdl/emptycomplextype.wsdl, test/xsd/xmlschema.xml: Avoid useless warning. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4760 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-10-13* test/ruby/envutil.rb: use Config::CONFIG["ruby_install_name"],eban
not "ruby". git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4752 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-10-13* string.c (str_new4): should not preserve FL_TAINT status in thematz
internal shared string. [ruby-dev:21601] * string.c (rb_str_new4): ditto. * eval.c: use EXIT_SUCCESS and EXIT_FAILURE for exit values. * process.c: ditto. [ruby-dev:38521] * lib/debug.rb (debug_command): should enter emacs mode when assigned any value to the environment variable "EMACS". On Meadow, (getenv "EMACS") is "meadow". git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4749 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-10-07* test/ruby/test_beginendblock.rb, test/ruby/endblockwarn.rb: commited oldernahi
version.. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4717 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-10-07* test/ruby/test_beginendblock.rb: add tests for nested BEGIN/END.nahi
* test/ruby/beginmainend.rb: add tests for nested BEGIN/END. * test/ruby/endblockwarn.rb: new file added to test of END-in-method warning. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4716 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-10-07* test/ruby/test_beginendblock.rb (test_endinmethod): END{} is nownobu
allowed in eval. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4712 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-10-06* test/ruby/test_iterator.rb (test_block_argument_without_paren): added.nahi
(follows sample/test.rb) git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4703 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-10-06* test/ruby/test_beginendblock.rb, test/ruby/beginmainend.rb: added test fornahi
eval-ed BEGIN END order. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4702 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-10-05* test/ruby/test_beginendblock.rb, test/ruby/beginmainend.rb: add tests aboutnahi
scope, order and allowd syntax. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4692 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-10-05* test/ruby/envutil.rb: added. split "rubybin" from test_system.rb.nahi
* test/ruby/test_system.rb: use envutil.rb * test/ruby/test_beginendblock.rb: added. * test/ruby/beginmainend.rb: added. used in test_beginendblock.rb. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4691 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-10-04* test/ruby/test_exception.rb (test_else): added.akira
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4682 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-10-02* variable.c (rb_const_defined_0): look up constants in Object asnobu
well. [ruby-dev:21458] * test/ruby/test_defined.rb (TestDefined::test_defined): test for constants. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4649 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-09-29* test/ruby/test_iterator.rb: new test test_break__nested_loop[123].aamine
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4627 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-09-26* test/ruby/test_file.rb: new file. only asserts unlink-before-close behaviournahi
now. * test/soap/marshal/test_digraph.rb: should close before unlink. unlink-before-close pattern is not needed here. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4609 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-09-26* test/ruby/test_marshal.rb: add test for ruby's objects.nahi
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4602 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-09-09* eval.c (struct tag): dst should be VALUE.nobu
* eval.c (localjump_destination): stop at the scope where the current block was created. [ruby-dev:21353] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4539 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-09-06* test/ruby/test_*.rb: assert_same, assert_match, and so on.nahi
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4526 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-09-05* lib/optparse.rb (OptionParser#order, #permute, #parse): allow annobu
array as argument. * test/ruby/test_*.rb: moved invariants to left side in assert_equal, and use assert_nil, assert_raises and so on. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4516 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-09-05* same as the previous commit.nahi
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4514 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-09-05* test/ruby/test_*.rb: replace 'assert(a == b)' with assert_equal(a, b)'nahi
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4512 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-09-05* test/ruby/test_system.rb (test_system): check existence of rubyeban
interpreter. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4507 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-09-05* test/runner.rb: added. gets testcases from command line and runs it.nahi
* test/ruby/test_gc.rb: remove useless part which was for dumping test result. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4503 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-09-05* test/ruby/test_gc.rb: added. splitter.rb which I made to splitnahi
sample/test.rb into test/ruby/test_* kindly removed GC test (the last section in the original test) to reduce things to be worried. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4502 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-09-04* test/ruby/test_iterator.rb (test_block_in_arg): add no blocknobu
given tests. * test/ruby/test_iterator.rb (test_ljump): uncomment LocalJumpError test. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4501 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-09-04* test/ruby: tests for ruby itself.nahi
* test/ruby/test_*.rb: split sample/test.rb into 28 test/unit testcases. some tests could not be translates... search '!!' mark to see it. * test/csv/test_csv.rb: should require 'csv', not '../lib/csv'. test runner should set load path correctly. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4498 b2dd03c8-39d4-4d8f-98ff-823fe69b080e