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
ko1 5697f69baa * iseq.c: add RubyVM::InstructionSequence (ISeq) inspection methods.
* ISeq#path returns path of this ISeq written.
* ISeq#absolute_path returns absolute path.
* ISeq#label returns label (method name and so on).
* ISeq#base_label returns base label (see Thread::Backtrace::Location).
* ISeq#first_lineno returns first line number of this ISeq.
* ISeq.of(obj) returns ISeq object which obj (Proc or Method)
  is contains.
* test/ruby/test_iseq.rb: add tests.



git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38085 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-11-30 18:02:43 +00:00
..
enc use assert_equal, assert_match, and so on. 2012-05-07 01:23:07 +00:00
allpairs.rb
beginmainend.rb
endblockwarn_rb
envutil.rb * test/ruby/envutil.rb (Test::Unit::Assertions#assert_in_out_err): raise if assert_in_out_err misused. 2012-11-30 17:14:27 +00:00
lbtest.rb
marshaltestlib.rb * bignum.c (bignew_1): Bignum instances are frozen. 2012-10-28 00:03:20 +00:00
memory_status.rb * test/ruby/memory_status.rb (Memory::Win32): sorry, ko1. 2012-11-30 11:22:49 +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 * thread.c: add `Thread#backtrace_locations' method. 2012-11-19 06:07:06 +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 * numeric.c (rb_float_new_in_heap), include/ruby/ruby.h: 2012-10-27 02:10:53 +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 use assert_equal, assert_match, and so on. 2012-05-07 01:23:07 +00:00
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_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 * ruby.c (load_file_internal): set default source encoding as 2012-11-06 00:49:57 +00:00
test_io_m17n.rb Fix tests of rb_warning(). 2012-11-24 17:14:06 +00:00
test_iseq.rb * iseq.c: add RubyVM::InstructionSequence (ISeq) inspection methods. 2012-11-30 18:02:43 +00:00
test_iterator.rb use local variables 2012-08-08 13:46:09 +00:00
test_keyword.rb
test_lambda.rb
test_lazy_enumerator.rb Fix test to follow r37838 2012-11-25 07:39:59 +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 (w_object): add flonum to arg->data to keep reference index 2012-11-16 15:55:59 +00:00
test_math.rb
test_metaclass.rb
test_method.rb * eval.c (f_current_dirname): add the new method for Kernel. 2012-11-03 01:37:50 +00:00
test_mixed_unicode_escapes.rb
test_module.rb * object.c (rb_mod_const_get): Fix constant missing exception class 2012-11-06 11:42:24 +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 * bignum.c (bignew_1): Bignum instances are frozen. 2012-10-28 00:03:20 +00:00
test_objectspace.rb
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 * test/ruby/test_process.rb (test_setsid): added a few wait for 2012-11-26 01:57:41 +00:00
test_rand.rb array.c: use rb_random_ulong_limited 2012-10-09 09:01:40 +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 * revert r37993 to avoid SEGV in tests. 2012-11-30 02:11:59 +00:00
test_regexp.rb Fix tests of rb_warning(). 2012-11-24 17:14:06 +00:00
test_require.rb Fix cache validity check of require 2012-11-22 14:55:32 +00:00
test_rubyoptions.rb vm_dump.c: no methods in segv handler 2012-11-30 07:19:16 +00:00
test_settracefunc.rb * thread.c: TracePoint#self returns invoking/exitting thread object 2012-11-30 11:50:26 +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 Cent OS 5.6 wakes up in 4.989596sec from sleep(5). 2012-04-24 12:17:02 +00:00
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 * thread.c (rb_threadptr_interrupt_mask): add argument check. 2012-11-30 17:39:48 +00:00
test_time.rb update tests. 2012-06-11 12:58:55 +00:00
test_time_tz.rb
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