1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00
ruby--ruby/lib/test/unit
matz ccf99b9ce6 * eval.c (ev_const_get): simplified using rb_const_get_fallback().
* eval.c (ev_const_defined): adopt to ev_const_get() using
  rb_const_defined_fallback().

* variable.c (rb_const_get_fallback): new function to implement
  constant search.

* variable.c (rb_const_defined_fallback): new function to
  implement constant definition check.

* variable.c (rb_const_get_0): adopt to new behavior.  constants
  are looked up in the order of: current class, super classes (but
  Object), lexically external classes/modules, and Object.

* variable.c (rb_const_defined_0): ditto.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9949 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-02-17 08:40:52 +00:00
..
collector * eval.c (ev_const_get): simplified using rb_const_get_fallback(). 2006-02-17 08:40:52 +00:00
ui * lib/test/unit/ui/console/testrunner.rb (test_started): restore $0 2004-04-21 06:56:48 +00:00
util * lib/test/unit/util/backtracefilter.rb: fixed a bug that occurred 2003-11-21 22:36:13 +00:00
assertionfailederror.rb * lib/test/unit.rb: do not run tests if $! is set. 2003-11-18 23:00:29 +00:00
assertions.rb * lib/test/unit/assertions.rb: Modules are allowed to rescue. 2003-12-24 05:08:04 +00:00
autorunner.rb * lib/test/unit/autorunner.rb (process_args): ignore arguments after 2006-01-22 14:28:02 +00:00
collector.rb * lib/test/unit.rb: removed installation instructions. 2003-10-08 13:21:28 +00:00
error.rb
failure.rb
testcase.rb * dln.c, io.c, pack.c, lib/benchmark.rb, lib/cgi.rb, lib/csv.rb, 2004-04-18 23:19:47 +00:00
testresult.rb
testsuite.rb * dln.c, io.c, pack.c, lib/benchmark.rb, lib/cgi.rb, lib/csv.rb, 2004-04-18 23:19:47 +00:00