ruby/test
akr 8b27d153d2 * class.c (rb_define_method_id): use rb_define_notimplement_method_id
if rb_f_notimplement is given.
  (rb_define_protected_method): ditto.
  (rb_define_private_method): ditto.
  (rb_define_method): use rb_define_method_id.

* include/ruby/intern.h (rb_f_notimplement): declared.
  (rb_define_notimplement_method_id): declared.

* proc.c (method_inspect): show not-implemented.

* vm_method.c (notimplement_body): new variable.
  (rb_notimplement_body_p): new function.
  (rb_method_boundp): return false if not implemented.
  (rb_f_notimplement): new function.
  (rb_define_notimplement_method_id): new function.

* process.c (rb_f_fork): use rb_f_notimplement if not implemented.

* file.c (rb_file_s_lchmod): use rb_f_notimplement if not implemented.



git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23192 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-04-16 14:17:14 +00:00
..
base64 * pack.c (pack_pack, pack_unpack): 'm0' format (base64) complies with 2008-09-25 12:24:54 +00:00
bigdecimal * test/bigdecimal/test_bigdecimal.rb (TestBigDecimal#test_hash): 2008-12-17 02:40:53 +00:00
cgi * {ext,lib,test}/**/*.rb: removed trailing spaces. 2009-03-06 03:56:38 +00:00
csv * test/csv/test_interface.rb, test/csv/test_serialization.rb: 2009-03-30 23:20:44 +00:00
date * {ext,lib,test}/**/*.rb: removed trailing spaces. 2009-03-06 03:56:38 +00:00
dbm * {ext,lib,test}/**/*.rb: removed trailing spaces. 2009-03-06 03:56:38 +00:00
digest * test/digest/test_digest_hmac.rb: added. 2006-10-25 08:16:48 +00:00
dl pattern refined for ldd on OpenBSD. 2009-03-18 12:19:52 +00:00
drb * {ext,lib,test}/**/*.rb: removed trailing spaces. 2009-03-06 03:56:38 +00:00
erb * test/erb/test_erb.rb (test/erb/test_erb.rb): removed trailing spaces. 2009-03-07 03:35:44 +00:00
etc * test/etc/test_etc.rb: trivial. 2009-02-06 15:26:36 +00:00
fileutils * {ext,lib,test}/**/*.rb: removed trailing spaces. 2009-03-06 03:56:38 +00:00
gdbm * {ext,lib,test}/**/*.rb: removed trailing spaces. 2009-03-06 03:56:38 +00:00
iconv * ext/iconv/iconv.c (strip_glibc_option, map_charset): check if 2008-10-21 02:34:07 +00:00
io/nonblock * test/io/nonblock/test_flush.rb (TestIONonblock#test_flush): 2008-08-05 09:04:13 +00:00
json * {ext,lib,test}/**/*.rb: removed trailing spaces. 2009-03-06 03:56:38 +00:00
logger * lib/logger.rb (ProgName): fixed for svn, based on a patch from 2008-11-18 07:18:29 +00:00
matrix * test/matrix/test_matrix.rb (setup): typo. 2008-09-15 01:33:43 +00:00
minitest * test/minitest/test_mini_test.rb: fixed tests depending on the 2009-03-15 03:34:18 +00:00
monitor * lib/thread.rb (ConditionVariable#broadcast): use Mutex 2007-02-24 07:01:18 +00:00
net * {ext,lib,test}/**/*.rb: removed trailing spaces. 2009-03-06 03:56:38 +00:00
nkf * {ext,lib,test}/**/*.rb: removed trailing spaces. 2009-03-06 03:56:38 +00:00
openssl * ext/openssl/ossl_ssl.c (write_would_block): defined. 2009-03-21 06:56:33 +00:00
optparse * lib/optparse.rb (OptionParser::List#summarize): gives priority 2008-12-26 06:50:55 +00:00
ostruct * {ext,lib,test}/**/*.rb: removed trailing spaces. 2009-03-06 03:56:38 +00:00
pathname * lib/pathname.rb (Pathname#sub): set $~ in block.binding. 2009-03-17 05:26:15 +00:00
rdoc * test/rdoc/test_rdoc_markup_to_html_crossref.rb (verify_convert): 2009-03-07 04:20:51 +00:00
readline * {ext,lib,test}/**/*.rb: removed trailing spaces. 2009-03-06 03:56:38 +00:00
rexml * lib/rexml/entity.rb (unnormalized): do not call 2008-11-06 17:03:40 +00:00
rinda * {ext,lib,test}/**/*.rb: removed trailing spaces. 2009-03-06 03:56:38 +00:00
ripper * {ext,lib,test}/**/*.rb: removed trailing spaces. 2009-03-06 03:56:38 +00:00
rss * {ext,lib,test}/**/*.rb: removed trailing spaces. 2009-03-06 03:56:38 +00:00
ruby * class.c (rb_define_method_id): use rb_define_notimplement_method_id 2009-04-16 14:17:14 +00:00
rubygems * lib/rubygems/installer.rb (Gem::Installer#shebang): fix for env 2009-03-15 03:01:39 +00:00
scanf * {ext,lib,test}/**/*.rb: removed trailing spaces. 2009-03-06 03:56:38 +00:00
sdbm * test/sdbm/test_sdbm.rb (TestSDBM#test_index): Reflect the method 2008-11-10 08:38:20 +00:00
socket use IO::WaitWritable. 2009-03-19 12:45:40 +00:00
stringio * test/stringio/test_stringio.rb (test_path): StringIO#path is no 2009-04-06 01:49:48 +00:00
strscan * test: assert_raises has been deprecated since a long time ago. 2008-09-24 17:44:39 +00:00
uri * {ext,lib,test}/**/*.rb: removed trailing spaces. 2009-03-06 03:56:38 +00:00
webrick * {ext,lib,test}/**/*.rb: removed trailing spaces. 2009-03-06 03:56:38 +00:00
win32ole * {ext,lib,test}/**/*.rb: removed trailing spaces. 2009-03-06 03:56:38 +00:00
xmlrpc * {ext,lib,test}/**/*.rb: removed trailing spaces. 2009-03-06 03:56:38 +00:00
yaml * {ext,lib,test}/**/*.rb: removed trailing spaces. 2009-03-06 03:56:38 +00:00
zlib * test/zlib/test_zlib.rb(test_readchar): compare in same type. 2008-11-03 23:00:40 +00:00
inlinetest.rb * test/inlinetest.rb (InlineTest.in_progname): workaround for frozen 2008-06-27 12:19:11 +00:00
runner.rb * test/runner.rb: search srcdir/test/arg at first to find test/ruby 2008-10-20 00:48:24 +00:00
test_delegate.rb add test for {SimpleDelegator, DelegateClass}#class . 2008-10-18 15:18:49 +00:00
test_ipaddr.rb * test/test_*.rb: Pathname#parent -> Pathname#dirname. 2004-01-13 04:06:31 +00:00
test_open3.rb * lib/open3.rb (Open3.pipeline_start): return an array of threads if a 2008-12-10 17:24:42 +00:00
test_pp.rb * test/test_pp.rb: extract from lib/pp.rb. 2009-02-14 23:36:45 +00:00
test_prettyprint.rb * test/test_pp.rb: extract from lib/pp.rb. 2009-02-14 23:36:45 +00:00
test_prime.rb * {ext,lib,test}/**/*.rb: removed trailing spaces. 2009-03-06 03:56:38 +00:00
test_pstore.rb * {ext,lib,test}/**/*.rb: removed trailing spaces. 2009-03-06 03:56:38 +00:00
test_pty.rb * ext/pty/pty.c (getDevice): add nomesg argument. 2008-12-16 11:39:17 +00:00
test_set.rb * test/test_*.rb: Pathname#parent -> Pathname#dirname. 2004-01-13 04:06:31 +00:00
test_shellwords.rb * {ext,lib,test}/**/*.rb: removed trailing spaces. 2009-03-06 03:56:38 +00:00
test_singleton.rb new file. 2008-07-03 12:10:30 +00:00
test_syslog.rb * test/test_syslog.rb (TestSyslog#test_open): check 2009-03-18 08:01:48 +00:00
test_tempfile.rb add test for encoding option. 2008-10-18 14:30:47 +00:00
test_time.rb * lib/time.rb (Time.parse): raise ArgumentError if Date._parse don't 2009-02-14 22:03:28 +00:00
test_timeout.rb add tests. 2008-01-07 15:32:07 +00:00
test_tsort.rb * test/test_pp.rb: extract from lib/pp.rb. 2009-02-14 23:36:45 +00:00