1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00
ruby--ruby/test
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
..
csv * test/csv/test_csv.rb: illegal require module name (../lib/csv.rb). 2004-05-27 02:26:15 +00:00
dbm * range.c (rb_range_beg_len): should return Qfalse for non-range 2005-10-05 16:15:16 +00:00
digest * eval.c (ev_const_get): simplified using rb_const_get_fallback(). 2006-02-17 08:40:52 +00:00
drb * eval.c (rb_mod_define_method): should save safe_level in the 2005-12-29 12:05:16 +00:00
erb * MANIFEST: add test_erb.rb 2004-02-28 01:52:14 +00:00
fileutils * lib/fileutils.rb: fix visibility of FileUtils::NoWrite, Verbose, DryRun. [ruby-core:05954] 2005-09-23 23:30:09 +00:00
gdbm dbm/test_dbm.rb: specify pid for Process.wait. 2005-08-12 15:53:06 +00:00
io/nonblock * test/io/nonblock/test_flush.rb (TestIONonblock#test_flush): write 2004-12-07 18:26:12 +00:00
logger * test/logger/test_logger.rb: unintentionally overwritten changes by 2005-09-15 15:17:53 +00:00
monitor * test/monitor/test_monitor.rb (test_cond): use Queue#deq 2003-12-10 06:02:27 +00:00
net * lib/scanf.rb (Scanf::FormatSpecifier#letter, #width): use matched 2005-10-08 10:45:52 +00:00
nkf * ext/nkf/nkf-utf8/nkf.c (reinit): should initialize all static 2004-12-28 06:49:04 +00:00
openssl * test/openssl/test_ssl.rb (test_parallel): call GC.start to close 2005-12-12 06:56:08 +00:00
optparse * lib/optparse.rb (OptionParser::Completion#complete): new parameter 2004-12-05 10:39:58 +00:00
ostruct
pathname * test/pathname/test_pathname.rb (test_kernel_open): use 2005-12-21 03:14:39 +00:00
readline * test/readline/test_readline.rb (TestReadline::replace_stdio): 2005-09-22 08:33:05 +00:00
rinda (test_remote_array_and_hash): pseudo remote objects are protected 2005-12-11 13:17:55 +00:00
ripper sync scanner event name. 2005-09-22 21:22:23 +00:00
rss * lib/rss/rss.rb: added backward compatibility codes. 2005-11-25 03:54:29 +00:00
ruby * util.c (ruby_strtod): Float("1e") should fail. [ruby-core:7330] 2006-02-17 02:21:39 +00:00
scanf Fixed to work with Ruby test suite (patch from Nobu) 2004-03-02 11:21:32 +00:00
sdbm dbm/test_dbm.rb: specify pid for Process.wait. 2005-08-12 15:53:06 +00:00
soap * test/soap/ssl/test_ssl.rb (test_verification, test_property, test_ciphers): 2005-10-10 04:24:07 +00:00
socket * ext/tk/lib/tk/font.rb, ext/tk/lib/tkextlib/ICONS/icons.rb, 2005-10-22 04:48:34 +00:00
stringio * ext/stringio/stringio.c (strio_write): insufficiently filled string 2004-11-29 07:06:21 +00:00
strscan * ext/strscan/strscan.c: new method StringScanner#initialize_copy to allow #dup and #clone. 2004-03-05 11:20:12 +00:00
testunit * test/soap/ssl/test_ssl.rb (test_verification, test_property, test_ciphers): 2005-10-10 04:24:07 +00:00
uri * test/soap/ssl/test_ssl.rb (test_verification, test_property, test_ciphers): 2005-10-10 04:24:07 +00:00
webrick * eval.c: unify ruby_class (for method definition) and ruby_cbase 2006-02-03 09:15:42 +00:00
wsdl * lib/{soap,wsdl,xsd}, test/{soap,wsdl,xsd}: imported soap4r/1.5.5. 2005-09-15 14:33:53 +00:00
xmlrpc * range.c (rb_range_beg_len): should return Qfalse for non-range 2005-10-05 16:15:16 +00:00
xsd * lib/{soap,wsdl,xsd}, test/{soap,wsdl,xsd}: imported soap4r/1.5.4. 2005-05-22 13:03:38 +00:00
yaml * ext/syck/emitter.c (syck_emit_seq, syck_emit_map, syck_emit_item): 2006-01-16 01:29:58 +00:00
zlib don't modify $/ 2004-09-07 07:11:06 +00:00
inlinetest.rb * test/inlinetest.rb (InlineTest::loadtest): requiring library with 2004-05-19 09:00:48 +00:00
runner.rb * lib/test/unit/collector.rb (collect_file): now deletes paths added 2005-02-17 04:50:49 +00:00
test_generator.rb * test/test_*.rb: Pathname#parent -> Pathname#dirname. 2004-01-13 04:06:31 +00:00
test_ipaddr.rb * test/test_*.rb: Pathname#parent -> Pathname#dirname. 2004-01-13 04:06:31 +00:00
test_pp.rb * test/test_*.rb: Pathname#parent -> Pathname#dirname. 2004-01-13 04:06:31 +00:00
test_prettyprint.rb * test/test_*.rb: Pathname#parent -> Pathname#dirname. 2004-01-13 04:06:31 +00:00
test_set.rb * test/test_*.rb: Pathname#parent -> Pathname#dirname. 2004-01-13 04:06:31 +00:00
test_shellwords.rb * misc/ruby-mode.el (ruby-expr-beg): support $! at the end of 2005-11-30 04:50:04 +00:00
test_time.rb * test/test_*.rb: Pathname#parent -> Pathname#dirname. 2004-01-13 04:06:31 +00:00
test_tsort.rb * test/test_*.rb: Pathname#parent -> Pathname#dirname. 2004-01-13 04:06:31 +00:00