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
charliesome c01f06089f * object.c (Init_Object): use rb_mod_init_copy for Class#initialize_copy
* class.c (rb_class_init_copy): rename to class_init_copy_check, performs type
	  checks on arguments to prevent reinitialization of initialized class
	  [ruby-core:50869] [Bug #7557]
	* class.c (rb_mod_init_copy): use class_init_copy_check if receiver is T_CLASS
	* test/ruby/test_class.rb (class TestClass): related test


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38364 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-12-13 14:11:01 +00:00
..
enc
allpairs.rb
beginmainend.rb
endblockwarn_rb
envutil.rb envutil.rb: kill child 2012-12-09 14:34:33 +00:00
lbtest.rb
marshaltestlib.rb fix a typo 2012-12-11 12:38:42 +00:00
memory_status.rb memory_status.rb: EnvUtil 2012-12-06 08:25:45 +00:00
sentence.rb
test_alias.rb * test/ruby/test_alias.rb (test_super_in_aliased_module_method): 2012-08-04 01:04:05 +00:00
test_argf.rb * test/ruby/test_argf.rb (TestArgf#test_chars): since marshal data is 2012-11-26 11:25:45 +00:00
test_arity.rb
test_array.rb * array.c: Fix rdoc for Array#delete [#7437] 2012-11-26 20:14:49 +00:00
test_assignment.rb
test_autoload.rb * test/ruby/test_autoload.rb: remove temporally files early. 2012-07-18 13:43:22 +00:00
test_backtrace.rb * test/ruby/test_backtrace.rb: add a test for 2012-12-01 12:19:52 +00:00
test_basicinstructions.rb never evaluated 2012-07-05 14:42:25 +00:00
test_beginendblock.rb * test/ruby/test_beginendblock.rb: remove temporally files early. 2012-07-18 14:09:21 +00:00
test_bignum.rb * bignum.c (bigdivrem): optimize the way to retry calculation of 2012-11-27 12:46:32 +00:00
test_call.rb
test_case.rb
test_class.rb * object.c (Init_Object): use rb_mod_init_copy for Class#initialize_copy 2012-12-13 14:11:01 +00:00
test_clone.rb
test_comparable.rb
test_complex.rb * complex.c (make_patterns): should not accept extra sign. 2012-11-17 14:57:22 +00:00
test_complex2.rb
test_complexrational.rb
test_condition.rb
test_const.rb variable.c: show namespace 2012-11-29 08:45:13 +00:00
test_continuation.rb * test_continuation.rb (tracing_with_thread_set_trace_func): 2012-08-21 01:41:07 +00:00
test_defined.rb * iseq.c (rb_iseq_defined_string): the index of defined_strings must 2012-09-24 23:17:59 +00:00
test_dir.rb dir.c: fix recursion 2012-09-05 04:30:10 +00:00
test_dir_m17n.rb test_dir_m17n.rb: test_glob_incompatible 2012-09-05 03:03:24 +00:00
test_econv.rb Suppress warnings. 2012-07-25 06:49:35 +00:00
test_encoding.rb
test_enum.rb array.c, enum.c: TypeError in zip 2012-09-19 15:42:26 +00:00
test_enumerator.rb Fix tests of rb_warning(). 2012-11-24 17:14:06 +00:00
test_env.rb
test_eval.rb proc.c: main.define_method 2012-11-01 23:24:33 +00:00
test_exception.rb remove trailing spaces. 2012-11-20 12:34:37 +00:00
test_fiber.rb Use assert_normal_exit to split process 2012-10-29 08:52:59 +00:00
test_file.rb * test/ruby/envutil.rb (Test::Unit::Assertions#assert_file): rename from file_assertion. 2012-10-16 04:02:04 +00:00
test_file_exhaustive.rb Skip path expansion for all wildcard characters 2012-11-17 12:46:17 +00:00
test_fixnum.rb * bignum.c (bignew_1): Bignum instances are frozen. 2012-10-28 00:03:20 +00:00
test_flip.rb compile.c, vm_insnhelper.c: flip-flop without hidden string key 2012-12-10 06:11:16 +00:00
test_float.rb Suppress warning: Bignum out of Float range 2012-11-07 07:03:53 +00:00
test_fnmatch.rb dir.c: FNM_EXTGLOB 2012-11-04 01:19:11 +00:00
test_gc.rb * gc.c (rb_objspace_call_finalizer): finalize_deferred may free up 2012-11-29 22:56:02 +00:00
test_hash.rb hash.c: warn for wrong elements 2012-11-11 06:39:08 +00:00
test_ifunless.rb use local variables 2012-08-08 13:46:09 +00:00
test_integer.rb
test_integer_comb.rb
test_io.rb io.c: recurse for the argument 2012-12-01 10:24:12 +00:00
test_io_m17n.rb Fix tests of rb_warning(). 2012-11-24 17:14:06 +00:00
test_iseq.rb * iseq.c (rb_iseq_line_trace_each): iterate `line' event only. 2012-12-01 20:07:58 +00:00
test_iterator.rb use local variables 2012-08-08 13:46:09 +00:00
test_keyword.rb * iseq.c (rb_iseq_parameters): fix limit for optional arguments. 2012-12-11 21:44:49 +00:00
test_lambda.rb
test_lazy_enumerator.rb vm.c: save blockprocval 2012-12-05 13:46:11 +00:00
test_literal.rb * compile.c (compile_array_): refix r37991 remove assertion: 2012-11-29 17:35:29 +00:00
test_m17n.rb * string.c (rb_str_b): Add String#b, returning a copied string 2012-11-06 00:50:02 +00:00
test_m17n_comb.rb * test/ruby/test_m17n_comb.rb (test_str_crypt): Use RbConfig to get 2012-11-20 15:29:59 +00:00
test_marshal.rb * marshal.c (r_entry0): don't taint classes and modules because 2012-12-13 05:12:55 +00:00
test_math.rb
test_metaclass.rb
test_method.rb method transplanting 2012-12-13 04:06:40 +00:00
test_mixed_unicode_escapes.rb
test_module.rb vm_insnhelper.c: no warnings for non-object 2012-12-12 04:40:55 +00:00
test_not.rb * parse.y (primary): allow an empty grouped expression as the 2012-07-18 07:05:12 +00:00
test_notimp.rb
test_numeric.rb
test_object.rb vm_eval.c: public_send does not consider how it is called 2012-12-05 16:10:41 +00:00
test_objectspace.rb * test/ruby/test_objectspace.rb: skip RuntimeError 2012-12-03 11:06:21 +00:00
test_optimization.rb * insns.def: add new instruction opt_empty_p' for optimize empty?' 2012-09-26 09:34:46 +00:00
test_pack.rb * ruby.c (load_file_internal): set default source encoding as 2012-11-06 00:49:57 +00:00
test_parse.rb * ruby.c (load_file_internal): set default source encoding as 2012-11-06 00:49:57 +00:00
test_path.rb
test_pipe.rb
test_primitive.rb
test_proc.rb * proc.c: remove Proc#== and Proc#eql?. 2012-11-28 08:00:53 +00:00
test_process.rb Suppress warning: too long path 2012-12-12 10:06:29 +00:00
test_rand.rb random.c, rational.c: make marshal methods private 2012-12-03 10:10:14 +00:00
test_range.rb * range.c (range_bsearch): fix some bugs: a documentation bug, a wrong 2012-11-15 13:50:55 +00:00
test_rational.rb test_complex.rb, test_rational.rb: revert some assertions 2012-07-26 03:08:41 +00:00
test_rational2.rb
test_readpartial.rb
test_refinement.rb * class.c (rb_prepend_module): move refined methods from the origin 2012-12-12 09:35:50 +00:00
test_regexp.rb Fix tests of rb_warning(). 2012-11-24 17:14:06 +00:00
test_require.rb * test/ruby/test_require.rb (TestRequire#test_loaded_features_encoding): 2012-12-13 05:11:02 +00:00
test_rubyoptions.rb Specify rlimits_core to prevent making core file 2012-12-12 03:12:37 +00:00
test_settracefunc.rb vm.c: pass exceptions while handling an exception 2012-12-11 18:45:43 +00:00
test_signal.rb * thread.c (struct rb_mutex_struct): add allow_trap field. 2012-11-28 08:30:51 +00:00
test_sleep.rb
test_sprintf.rb
test_sprintf_comb.rb
test_string.rb string.c: compare with to_str 2012-11-30 08:43:52 +00:00
test_stringchar.rb revert r37326 "remove string literal concatenation" 2012-10-25 14:06:31 +00:00
test_struct.rb struct.c: yield assoc in each_pair 2012-11-19 07:31:05 +00:00
test_super.rb test_super.rb: super from BEGIN 2012-09-25 01:10:32 +00:00
test_symbol.rb * test/ruby/test_fixnum.rb (TestFixnum#test_singleton_method): new test. 2012-08-23 11:51:30 +00:00
test_syntax.rb Fix tests of rb_warning(). 2012-11-24 17:14:06 +00:00
test_system.rb
test_thread.rb test: remove or replace trailing spaces 2012-12-07 05:02:18 +00:00
test_time.rb Use more portable value for ENV['TZ'] 2012-12-07 02:58:55 +00:00
test_time_tz.rb Add freebsd to force_tz_test 2012-12-07 02:55:33 +00:00
test_trace.rb
test_transcode.rb Added a test for CoW strings. 2012-08-23 21:14:31 +00:00
test_undef.rb
test_unicode_escape.rb test_unicode_escape.rb: set script encoding 2012-09-29 11:18:57 +00:00
test_variable.rb
test_whileuntil.rb * test/ruby/envutil.rb (Test::Unit::Assertions#assert_file): rename from file_assertion. 2012-10-16 04:02:04 +00:00
test_yield.rb
ut_eof.rb