1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00
ruby--ruby/test/ruby
yugui 3a5c0bbcb5 * test/ruby/test_metaclass.rb: new test case for metaclass hierarchy.
* class.c (make_metametaclass): new function. extracted from
  rb_make_metaclass.

* class.c (rb_make_metaclass): uses make_metametaclass when called for a
  metaclass.

* class.c (rb_singleton_class): creates a meta^(n+2)-class in
  addition to a meta^(n+1)-class when called for a meta^(n)-class.
  This is because the returned meta^(n+1) class must acts as an instance of 
  Class, metaclass of Class, ..., meta^(n+1)-class of Class,
  Module, metaclass of Module, ..., meta^(n+1)-class of Module,
  Object, metaclass of Object, ..., meta^(n+2)-class of Object,
  BasicObject, metaclass of BasicObject, ..., meta^(n+2)-class of
  and BasicObject even when Class, Module, Object or BasicObject has
  not have its meta^(i)-class yet.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20747 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-12-15 06:23:43 +00:00
..
enc * test/ruby/enc/test_utf16.rb: feature changed in r20626. 2008-12-13 05:26:37 +00:00
allpairs.rb * test/ruby/allpairs.rb: new file for all pairs method. 2008-03-01 04:12:13 +00:00
beginmainend.rb
endblockwarn_rb
envutil.rb * test/ruby/envutil.rb: reverted the changeset 19948 because it 2008-10-27 03:13:54 +00:00
lbtest.rb * test/ruby/test_thread.rb: new tests from Sylvain Joyeux in 2008-04-09 03:12:03 +00:00
marshaltestlib.rb * test: assert_raises has been deprecated since a long time ago. 2008-09-24 17:44:39 +00:00
sentence.rb
test_alias.rb
test_argf.rb * test/ruby/test_argf.rb (test_readpartial2): readpartial works just like 2008-10-28 03:26:32 +00:00
test_array.rb * test/ruby/test_array.rb (test_array_subclass) test for r20076. 2008-10-31 09:57:45 +00:00
test_assignment.rb * prelude.rb (require_relative): move require_relative from 2008-04-12 14:50:18 +00:00
test_basicinstructions.rb
test_beginendblock.rb * test: assert_raises has been deprecated since a long time ago. 2008-09-24 17:44:39 +00:00
test_bignum.rb * bignum.c (rb_big_mul): faster multiplication by Karatsuba method and 2008-12-14 03:59:02 +00:00
test_call.rb * test: assert_raises has been deprecated since a long time ago. 2008-09-24 17:44:39 +00:00
test_case.rb
test_class.rb * test/ruby/envutil.rb (Test::Unit::Assertions#assert_in_out_err): new 2008-07-15 15:26:04 +00:00
test_clone.rb * test: assert_raises has been deprecated since a long time ago. 2008-09-24 17:44:39 +00:00
test_comparable.rb * test/ruby/test_comparable.rb: new tests for Comparable, to achieve 2008-04-24 13:38:01 +00:00
test_complex.rb * test/ruby/test_complex.rb: added some tests. 2008-12-04 13:14:25 +00:00
test_complex2.rb * test/ruby/test_rational2.rb: updated. 2008-09-23 12:34:35 +00:00
test_complexrational.rb * test/ruby/test_rational2.rb: updated. 2008-09-23 12:34:35 +00:00
test_condition.rb
test_const.rb
test_continuation.rb add a test for [ruby-dev:34802]. 2008-05-22 08:41:07 +00:00
test_defined.rb
test_dir.rb * test/ruby/test_dir.rb: suppress warning during test. 2008-07-23 12:36:24 +00:00
test_econv.rb * transcode.c (rb_eUndefinedConversionError): renamed from 2008-09-25 12:47:30 +00:00
test_encoding.rb * add test for Encoding#names. 2008-10-09 07:33:55 +00:00
test_enum.rb * test/ruby/test_enum.rb (TestEnumerable#test_each_with_object): 2008-08-26 10:28:57 +00:00
test_enumerator.rb * test/ruby/test_enumerator.rb (TestEnumerator#test_with_object): 2008-08-26 10:26:45 +00:00
test_env.rb * djgpp/GNUmakefile.in: removed. Ruby no longer supports djgpp. 2008-10-04 13:25:12 +00:00
test_eval.rb * eval.c, vm_insnhelper.c: fix cref in instance_eval 2008-05-19 18:47:56 +00:00
test_exception.rb * test: assert_raises has been deprecated since a long time ago. 2008-09-24 17:44:39 +00:00
test_fiber.rb * cont.c (rb_fiber_start): calls with exact argument number. 2008-12-01 03:00:48 +00:00
test_file.rb * io.c (rb_io_rewind): should reset fptr->readconv if it's 2008-10-29 16:40:05 +00:00
test_file_exhaustive.rb * test/ruby/test_file_exhaustive.rb (TestFileExhaustive#setup): set group of tmpdir. 2008-08-13 17:46:47 +00:00
test_fixnum.rb * prec.c: removed. Precision will be redesigned and be back again. 2008-09-19 13:10:54 +00:00
test_float.rb * numeric.c (flodivmod): floating point division should raise 2008-11-27 16:01:54 +00:00
test_fnmatch.rb
test_gc.rb * test/ruby/test_gc.rb: add tests to achieve over 90% test coverage of 2008-06-05 14:57:05 +00:00
test_hash.rb * test/ruby/test_array.rb (TestArray#test_join): should restore 2008-10-24 09:25:05 +00:00
test_ifunless.rb
test_integer.rb * prec.c: removed. Precision will be redesigned and be back again. 2008-09-19 13:10:54 +00:00
test_integer_comb.rb split combinational blackbox tests. 2008-05-01 02:02:49 +00:00
test_io.rb * test/ruby/test_io.rb (test_dup_many): extracted from test_dup. 2008-12-11 10:25:05 +00:00
test_io_m17n.rb * test/ruby/test_io_m17n.rb (test_getc_invalid3): should set binmode if enc is 2008-10-28 12:01:46 +00:00
test_iterator.rb * test: assert_raises has been deprecated since a long time ago. 2008-09-24 17:44:39 +00:00
test_lambda.rb * test: assert_raises has been deprecated since a long time ago. 2008-09-24 17:44:39 +00:00
test_literal.rb add tests. 2008-03-01 16:16:46 +00:00
test_m17n.rb * test/ruby/test_m17n.rb: feature changed in r20626. 2008-12-13 03:49:46 +00:00
test_m17n_comb.rb * test/ruby/test_m17n_comb.rb: feature changed in r20626. 2008-12-13 04:45:56 +00:00
test_marshal.rb * object.c (rb_obj_untrusted): new method Object#untrusted?. 2008-08-13 07:25:05 +00:00
test_math.rb * math.c (math_log): should check argc. 2008-09-21 12:53:40 +00:00
test_metaclass.rb * test/ruby/test_metaclass.rb: new test case for metaclass hierarchy. 2008-12-15 06:23:43 +00:00
test_method.rb * iseq.c (simple_default_value): extracts simplest default 2008-11-28 04:19:37 +00:00
test_mixed_unicode_escapes.rb * transcode.c: add "Error" suffix for Encoding exception classes. 2008-09-18 08:57:33 +00:00
test_module.rb * test/ruby/test_module.rb (test_remove_class_variable): add a test 2008-10-09 13:16:07 +00:00
test_numeric.rb * numeric.c: provides predicate real? instead of scalar?. 2008-09-16 22:04:19 +00:00
test_object.rb * test/ruby/test_module.rb (test_remove_class_variable): add a test 2008-10-09 13:16:07 +00:00
test_objectspace.rb * test/ruby/envutil.rb (Test::Unit::Assertions#assert_in_out_err): new 2008-07-15 15:26:04 +00:00
test_optimization.rb
test_pack.rb * pack.c (pack_pack): fixed length for odd length string. 2008-12-08 09:31:44 +00:00
test_parse.rb * test/ruby/test_parse.rb (TestParse): update a test not to use 2008-09-06 22:14:28 +00:00
test_path.rb * djgpp/GNUmakefile.in: removed. Ruby no longer supports djgpp. 2008-10-04 13:25:12 +00:00
test_pipe.rb * prelude.rb (require_relative): move require_relative from 2008-04-12 14:50:18 +00:00
test_primitive.rb
test_proc.rb * iseq.c (rb_iseq_parameters): proc arguments are always optional. 2008-12-05 04:05:48 +00:00
test_process.rb * test/ruby/test_process.rb: skip some tests on win32. 2008-12-04 16:39:55 +00:00
test_rand.rb * test/ruby/test_rand.rb: add tests to achieve over 95% test coverage 2008-03-25 15:56:36 +00:00
test_range.rb * test/ruby/test_range.rb: add a test. 2008-12-02 17:53:48 +00:00
test_rational.rb * test/ruby/test_complex.rb: added some tests. 2008-12-04 13:14:25 +00:00
test_rational2.rb * test/ruby/test_rational2.rb: updated. 2008-09-23 12:34:35 +00:00
test_readpartial.rb * test: assert_raises has been deprecated since a long time ago. 2008-09-24 17:44:39 +00:00
test_regexp.rb * test/ruby/test_regexp.rb (TestRegexp#test_parse_curly_brace): 2008-11-30 09:04:51 +00:00
test_require.rb * test/ruby/test_require.rb (test_require_too_long_filename): too long 2008-10-28 12:03:14 +00:00
test_rubyoptions.rb * ruby.c (process_options): delays setting safe level. 2008-10-30 23:16:16 +00:00
test_settracefunc.rb * test/ruby/test_settracefunc.rb (test_call, test_class): line number 2008-09-30 15:31:06 +00:00
test_signal.rb * test/ruby/test_signal.rb (TestSignal#test_exit_action): Thread 2008-10-24 01:28:32 +00:00
test_sleep.rb * win32/win32.c (rb_w32_select): recalc the rest of timeout for each 2008-07-30 08:48:31 +00:00
test_sprintf.rb * bootstraptest/test_knownbug.rb: move solved tests. 2008-05-19 05:20:21 +00:00
test_sprintf_comb.rb add test for %B. 2008-10-14 14:08:36 +00:00
test_string.rb * test/ruby/test_string.rb: add some tests. 2008-12-02 17:26:31 +00:00
test_stringchar.rb * bootstraptest/runner.rb, bootstraptest/test_method.rb, enc/depend, 2008-02-12 06:28:23 +00:00
test_struct.rb * bootstraptest/test_knownbug.rb: move solved tests. 2008-05-19 05:20:21 +00:00
test_super.rb
test_symbol.rb * test/ruby/test_string.rb: add tests to achieve over 90% test 2008-05-15 14:37:18 +00:00
test_system.rb * prelude.rb (require_relative): move require_relative from 2008-04-12 14:50:18 +00:00
test_thread.rb * test: assert_raises has been deprecated since a long time ago. 2008-09-24 17:44:39 +00:00
test_time.rb * strftime.c (rb_strftime): The # flag should work with %a, %A, %b, 2008-11-24 14:29:37 +00:00
test_trace.rb * test/ruby/test_object.rb: new tests to achieve over 90% test 2008-05-14 12:52:17 +00:00
test_transcode.rb * enc/trans/single_byte.trans, cp850-tbl.rb, cp852-tbl.rb, 2008-12-09 09:39:25 +00:00
test_unicode_escape.rb * lib/xmlrpc, lib/rexml, test/ruby/test_array.rb, 2008-10-01 13:46:53 +00:00
test_variable.rb * test/ruby/test_variable.rb (TestVariable#test_variable): add 2008-10-14 03:23:57 +00:00
test_whileuntil.rb
test_yield.rb * test/ruby/test_proc.rb (test_proc_args_unleashed): test for 2008-10-25 09:47:54 +00:00
ut_eof.rb