aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDmitry Gutov2016-01-19 08:03:41 +0300
committerDmitry Gutov2016-01-19 08:03:41 +0300
commit2ac78c2346c94f30bf0253321ba4e4628a03ed72 (patch)
tree4e0dc3f878693cfaf7f7ad6c1c19b9e02514b290
parent29da1cb3e7d54f93c0b4f6de00e9fda294a0cdff (diff)
downloademacs-2ac78c2346c94f30bf0253321ba4e4628a03ed72.tar.gz
emacs-2ac78c2346c94f30bf0253321ba4e4628a03ed72.zip
Rename methods in Ruby etags example file
* test/etags/ruby-src/test.rb: Rename the example methods to correspond to the common terminology used in Ruby. * test/etags/CTAGS.good: * test/etags/ETAGS.good_1: * test/etags/ETAGS.good_2: * test/etags/ETAGS.good_3: * test/etags/ETAGS.good_4: * test/etags/ETAGS.good_5: * test/etags/ETAGS.good_6: Adjust accordingly.
-rw-r--r--test/etags/CTAGS.good14
-rw-r--r--test/etags/ETAGS.good_114
-rw-r--r--test/etags/ETAGS.good_214
-rw-r--r--test/etags/ETAGS.good_314
-rw-r--r--test/etags/ETAGS.good_414
-rw-r--r--test/etags/ETAGS.good_514
-rw-r--r--test/etags/ETAGS.good_614
-rw-r--r--test/etags/ruby-src/test.rb34
8 files changed, 68 insertions, 64 deletions
diff --git a/test/etags/CTAGS.good b/test/etags/CTAGS.good
index 245f6703adf..86b019a2b4c 100644
--- a/test/etags/CTAGS.good
+++ b/test/etags/CTAGS.good
@@ -438,7 +438,7 @@ Cjava_entries c-src/etags.c /^Cjava_entries (FILE *inf)$/
438Cjava_help c-src/etags.c 551 438Cjava_help c-src/etags.c 551
439Cjava_suffixes c-src/etags.c 549 439Cjava_suffixes c-src/etags.c 549
440ClassExample ruby-src/test.rb /^ class ClassExample$/ 440ClassExample ruby-src/test.rb /^ class ClassExample$/
441ClassExample.singleton_class_method ruby-src/test.rb /^ def ClassExample.singleton_class_method$/ 441ClassExample.class_method ruby-src/test.rb /^ def ClassExample.class_method$/
442Clear/p ada-src/2ataspri.adb /^ procedure Clear (Cell : in out TAS_Cell) is$/ 442Clear/p ada-src/2ataspri.adb /^ procedure Clear (Cell : in out TAS_Cell) is$/
443Clear/p ada-src/2ataspri.ads /^ procedure Clear (Cell : in out TAS_Cell)/ 443Clear/p ada-src/2ataspri.ads /^ procedure Clear (Cell : in out TAS_Cell)/
444Cobol_help c-src/etags.c 558 444Cobol_help c-src/etags.c 558
@@ -939,7 +939,7 @@ Metags c-src/etags.c /^main (int argc, char **argv)$/
939Mfail cp-src/fail.C /^main()$/ 939Mfail cp-src/fail.C /^main()$/
940Mkai-test.pl perl-src/kai-test.pl /^package main;$/ 940Mkai-test.pl perl-src/kai-test.pl /^package main;$/
941ModuleExample ruby-src/test.rb /^module ModuleExample$/ 941ModuleExample ruby-src/test.rb /^module ModuleExample$/
942ModuleExample.singleton_module_method ruby-src/test.rb /^ def ModuleExample.singleton_module_method$/ 942ModuleExample.module_class_method ruby-src/test.rb /^ def ModuleExample.module_class_method$/
943More_Lisp_Bits c-src/emacs/src/lisp.h 801 943More_Lisp_Bits c-src/emacs/src/lisp.h 801
944MoveLayerAfter lua-src/allegro.lua /^function MoveLayerAfter (this_one)$/ 944MoveLayerAfter lua-src/allegro.lua /^function MoveLayerAfter (this_one)$/
945MoveLayerBefore lua-src/allegro.lua /^function MoveLayerBefore (this_one)$/ 945MoveLayerBefore lua-src/allegro.lua /^function MoveLayerBefore (this_one)$/
@@ -2620,10 +2620,10 @@ childDidExit objc-src/Subprocess.m /^- childDidExit$/
2620chunks_free c-src/emacs/src/gmalloc.c 313 2620chunks_free c-src/emacs/src/gmalloc.c 313
2621chunks_used c-src/emacs/src/gmalloc.c 311 2621chunks_used c-src/emacs/src/gmalloc.c 311
2622cjava c-src/etags.c 2936 2622cjava c-src/etags.c 2936
2623class_method ruby-src/test.rb /^ def class_method$/ 2623instance_method ruby-src/test.rb /^ def instance_method$/
2624class_method_equals= ruby-src/test.rb /^ def class_method_equals=$/ 2624instance_method_equals= ruby-src/test.rb /^ def instance_method_equals=$/
2625class_method_exclamation! ruby-src/test.rb /^ def class_method_exclamation!$/ 2625instance_method_exclamation! ruby-src/test.rb /^ def instance_method_exclamation!$/
2626class_method_question? ruby-src/test.rb /^ def class_method_question?$/ 2626instance_method_question? ruby-src/test.rb /^ def instance_method_question?$/
2627classifyLine php-src/lce_functions.php /^ function classifyLine($line)$/ 2627classifyLine php-src/lce_functions.php /^ function classifyLine($line)$/
2628clear cp-src/conway.hpp /^ void clear(void) { alive = 0; }$/ 2628clear cp-src/conway.hpp /^ void clear(void) { alive = 0; }$/
2629clear-abbrev-table c-src/abbrev.c /^DEFUN ("clear-abbrev-table", Fclear_abbrev_table, / 2629clear-abbrev-table c-src/abbrev.c /^DEFUN ("clear-abbrev-table", Fclear_abbrev_table, /
@@ -3450,7 +3450,7 @@ miti html-src/softwarelibero.html /^Sfatiamo alcuni miti$/
3450modifier_names c-src/emacs/src/keyboard.c 6319 3450modifier_names c-src/emacs/src/keyboard.c 6319
3451modifier_symbols c-src/emacs/src/keyboard.c 6327 3451modifier_symbols c-src/emacs/src/keyboard.c 6327
3452modify_event_symbol c-src/emacs/src/keyboard.c /^modify_event_symbol (ptrdiff_t symbol_num, int mod/ 3452modify_event_symbol c-src/emacs/src/keyboard.c /^modify_event_symbol (ptrdiff_t symbol_num, int mod/
3453module_method ruby-src/test.rb /^ def module_method$/ 3453module_instance_method ruby-src/test.rb /^ def module_instance_method$/
3454more_aligned_int c.c 165 3454more_aligned_int c.c 165
3455morecore_nolock c-src/emacs/src/gmalloc.c /^morecore_nolock (size_t size)$/ 3455morecore_nolock c-src/emacs/src/gmalloc.c /^morecore_nolock (size_t size)$/
3456morecore_recursing c-src/emacs/src/gmalloc.c 604 3456morecore_recursing c-src/emacs/src/gmalloc.c 604
diff --git a/test/etags/ETAGS.good_1 b/test/etags/ETAGS.good_1
index 2ae4ec41256..dac20910347 100644
--- a/test/etags/ETAGS.good_1
+++ b/test/etags/ETAGS.good_1
@@ -2980,11 +2980,11 @@ class Configure(760,24879
2980ruby-src/test.rb,594 2980ruby-src/test.rb,594
2981module ModuleExample1,0 2981module ModuleExample1,0
2982 class ClassExample2,21 2982 class ClassExample2,21
2983 def class_method3,44 2983 def instance_method3,44
2984 def ClassExample.singleton_class_method6,116 2984 def ClassExample.class_method6,116
2985 def class_method_exclamation!9,221 2985 def instance_method_exclamation!9,221
2986 def class_method_question?12,319 2986 def instance_method_question?12,319
2987 def class_method_equals=class_method_equals=15,411 2987 def instance_method_equals=class_method_equals=15,411
2988 def `(18,499 2988 def `(18,499
2989 def +(21,589 2989 def +(21,589
2990 def [](24,637 2990 def [](24,637
@@ -2994,8 +2994,8 @@ module ModuleExample1,0
2994 def <=(<=36,869 2994 def <=(<=36,869
2995 def <=>(<=>39,940 2995 def <=>(<=>39,940
2996 def ===(===42,987 2996 def ===(===42,987
2997 def module_method46,1048 2997 def module_instance_method46,1048
2998 def ModuleExample.singleton_module_method49,1110 2998 def ModuleExample.module_class_method49,1110
2999 2999
3000ruby-src/test1.ruby,37 3000ruby-src/test1.ruby,37
3001class A1,0 3001class A1,0
diff --git a/test/etags/ETAGS.good_2 b/test/etags/ETAGS.good_2
index 3ec5b21d384..e5dbefbbd0d 100644
--- a/test/etags/ETAGS.good_2
+++ b/test/etags/ETAGS.good_2
@@ -3551,11 +3551,11 @@ class Configure(760,24879
3551ruby-src/test.rb,594 3551ruby-src/test.rb,594
3552module ModuleExample1,0 3552module ModuleExample1,0
3553 class ClassExample2,21 3553 class ClassExample2,21
3554 def class_method3,44 3554 def instance_method3,44
3555 def ClassExample.singleton_class_method6,116 3555 def ClassExample.class_method6,116
3556 def class_method_exclamation!9,221 3556 def instance_method_exclamation!9,221
3557 def class_method_question?12,319 3557 def instance_method_question?12,319
3558 def class_method_equals=class_method_equals=15,411 3558 def instance_method_equals=class_method_equals=15,411
3559 def `(18,499 3559 def `(18,499
3560 def +(21,589 3560 def +(21,589
3561 def [](24,637 3561 def [](24,637
@@ -3565,8 +3565,8 @@ module ModuleExample1,0
3565 def <=(<=36,869 3565 def <=(<=36,869
3566 def <=>(<=>39,940 3566 def <=>(<=>39,940
3567 def ===(===42,987 3567 def ===(===42,987
3568 def module_method46,1048 3568 def module_instance_method46,1048
3569 def ModuleExample.singleton_module_method49,1110 3569 def ModuleExample.module_class_method49,1110
3570 3570
3571ruby-src/test1.ruby,37 3571ruby-src/test1.ruby,37
3572class A1,0 3572class A1,0
diff --git a/test/etags/ETAGS.good_3 b/test/etags/ETAGS.good_3
index 43b84eed5d2..804440aad6d 100644
--- a/test/etags/ETAGS.good_3
+++ b/test/etags/ETAGS.good_3
@@ -3324,11 +3324,11 @@ class Configure(760,24879
3324ruby-src/test.rb,594 3324ruby-src/test.rb,594
3325module ModuleExample1,0 3325module ModuleExample1,0
3326 class ClassExample2,21 3326 class ClassExample2,21
3327 def class_method3,44 3327 def instance_method3,44
3328 def ClassExample.singleton_class_method6,116 3328 def ClassExample.class_method6,116
3329 def class_method_exclamation!9,221 3329 def instance_method_exclamation!9,221
3330 def class_method_question?12,319 3330 def instance_method_question?12,319
3331 def class_method_equals=class_method_equals=15,411 3331 def instance_method_equals=class_method_equals=15,411
3332 def `(18,499 3332 def `(18,499
3333 def +(21,589 3333 def +(21,589
3334 def [](24,637 3334 def [](24,637
@@ -3338,8 +3338,8 @@ module ModuleExample1,0
3338 def <=(<=36,869 3338 def <=(<=36,869
3339 def <=>(<=>39,940 3339 def <=>(<=>39,940
3340 def ===(===42,987 3340 def ===(===42,987
3341 def module_method46,1048 3341 def module_instance_method46,1048
3342 def ModuleExample.singleton_module_method49,1110 3342 def ModuleExample.module_class_method49,1110
3343 3343
3344ruby-src/test1.ruby,37 3344ruby-src/test1.ruby,37
3345class A1,0 3345class A1,0
diff --git a/test/etags/ETAGS.good_4 b/test/etags/ETAGS.good_4
index 434fe13cbd4..3b904ebe37c 100644
--- a/test/etags/ETAGS.good_4
+++ b/test/etags/ETAGS.good_4
@@ -3144,11 +3144,11 @@ class Configure(760,24879
3144ruby-src/test.rb,594 3144ruby-src/test.rb,594
3145module ModuleExample1,0 3145module ModuleExample1,0
3146 class ClassExample2,21 3146 class ClassExample2,21
3147 def class_method3,44 3147 def instance_method3,44
3148 def ClassExample.singleton_class_method6,116 3148 def ClassExample.class_method6,116
3149 def class_method_exclamation!9,221 3149 def instance_method_exclamation!9,221
3150 def class_method_question?12,319 3150 def instance_method_question?12,319
3151 def class_method_equals=class_method_equals=15,411 3151 def instance_method_equals=class_method_equals=15,411
3152 def `(18,499 3152 def `(18,499
3153 def +(21,589 3153 def +(21,589
3154 def [](24,637 3154 def [](24,637
@@ -3158,8 +3158,8 @@ module ModuleExample1,0
3158 def <=(<=36,869 3158 def <=(<=36,869
3159 def <=>(<=>39,940 3159 def <=>(<=>39,940
3160 def ===(===42,987 3160 def ===(===42,987
3161 def module_method46,1048 3161 def module_instance_method46,1048
3162 def ModuleExample.singleton_module_method49,1110 3162 def ModuleExample.module_class_method49,1110
3163 3163
3164ruby-src/test1.ruby,37 3164ruby-src/test1.ruby,37
3165class A1,0 3165class A1,0
diff --git a/test/etags/ETAGS.good_5 b/test/etags/ETAGS.good_5
index 425e2526f35..c3a277829f0 100644
--- a/test/etags/ETAGS.good_5
+++ b/test/etags/ETAGS.good_5
@@ -4059,11 +4059,11 @@ class Configure(760,24879
4059ruby-src/test.rb,594 4059ruby-src/test.rb,594
4060module ModuleExample1,0 4060module ModuleExample1,0
4061 class ClassExample2,21 4061 class ClassExample2,21
4062 def class_method3,44 4062 def instance_method3,44
4063 def ClassExample.singleton_class_method6,116 4063 def ClassExample.class_method6,116
4064 def class_method_exclamation!9,221 4064 def instance_method_exclamation!9,221
4065 def class_method_question?12,319 4065 def instance_method_question?12,319
4066 def class_method_equals=class_method_equals=15,411 4066 def instance_method_equals=class_method_equals=15,411
4067 def `(18,499 4067 def `(18,499
4068 def +(21,589 4068 def +(21,589
4069 def [](24,637 4069 def [](24,637
@@ -4073,8 +4073,8 @@ module ModuleExample1,0
4073 def <=(<=36,869 4073 def <=(<=36,869
4074 def <=>(<=>39,940 4074 def <=>(<=>39,940
4075 def ===(===42,987 4075 def ===(===42,987
4076 def module_method46,1048 4076 def module_instance_method46,1048
4077 def ModuleExample.singleton_module_method49,1110 4077 def ModuleExample.module_class_method49,1110
4078 4078
4079ruby-src/test1.ruby,37 4079ruby-src/test1.ruby,37
4080class A1,0 4080class A1,0
diff --git a/test/etags/ETAGS.good_6 b/test/etags/ETAGS.good_6
index 39522dbdb9b..2014283a89c 100644
--- a/test/etags/ETAGS.good_6
+++ b/test/etags/ETAGS.good_6
@@ -4059,11 +4059,11 @@ class Configure(760,24879
4059ruby-src/test.rb,594 4059ruby-src/test.rb,594
4060module ModuleExample1,0 4060module ModuleExample1,0
4061 class ClassExample2,21 4061 class ClassExample2,21
4062 def class_method3,44 4062 def instance_method3,44
4063 def ClassExample.singleton_class_method6,116 4063 def ClassExample.class_method6,116
4064 def class_method_exclamation!9,221 4064 def instance_method_exclamation!9,221
4065 def class_method_question?12,319 4065 def instance_method_question?12,319
4066 def class_method_equals=class_method_equals=15,411 4066 def instance_method_equals=class_method_equals=15,411
4067 def `(18,499 4067 def `(18,499
4068 def +(21,589 4068 def +(21,589
4069 def [](24,637 4069 def [](24,637
@@ -4073,8 +4073,8 @@ module ModuleExample1,0
4073 def <=(<=36,869 4073 def <=(<=36,869
4074 def <=>(<=>39,940 4074 def <=>(<=>39,940
4075 def ===(===42,987 4075 def ===(===42,987
4076 def module_method46,1048 4076 def module_instance_method46,1048
4077 def ModuleExample.singleton_module_method49,1110 4077 def ModuleExample.module_class_method49,1110
4078 4078
4079ruby-src/test1.ruby,37 4079ruby-src/test1.ruby,37
4080class A1,0 4080class A1,0
diff --git a/test/etags/ruby-src/test.rb b/test/etags/ruby-src/test.rb
index 9254c5bffa9..adb2cb1d0bc 100644
--- a/test/etags/ruby-src/test.rb
+++ b/test/etags/ruby-src/test.rb
@@ -1,19 +1,19 @@
1module ModuleExample 1module ModuleExample
2 class ClassExample 2 class ClassExample
3 def class_method 3 def instance_method
4 puts "in class_method" 4 puts "in instane_method"
5 end 5 end
6 def ClassExample.singleton_class_method 6 def ClassExample.class_method
7 puts "in singleton_class_method" 7 puts "in class_method"
8 end 8 end
9 def class_method_exclamation! 9 def instance_method_exclamation!
10 puts "in class_method_exclamation!" 10 puts "in instance_method_exclamation!"
11 end 11 end
12 def class_method_question? 12 def instance_method_question?
13 puts "in class_method_question?" 13 puts "in instance_method_question?"
14 end 14 end
15 def class_method_equals= 15 def instance_method_equals=
16 puts "in class_method_equals=" 16 puts "in instance_method_equals="
17 end 17 end
18 def `(command) 18 def `(command)
19 return "just testing a backquote override" 19 return "just testing a backquote override"
@@ -43,12 +43,16 @@ module ModuleExample
43 self == y 43 self == y
44 end 44 end
45 end 45 end
46 def module_method 46 def module_instance_method
47 puts "in module_method" 47 puts "in module_instance_method"
48 end 48 end
49 def ModuleExample.singleton_module_method 49 def ModuleExample.module_class_method
50 puts "in singleton_module_method" 50 puts "in module_class_method"
51 end 51 end
52end 52end
53 53
54ModuleExample::ClassExample.singleton_class_method 54ModuleExample::ClassExample.class_method
55
56# Local Variables:
57# ruby-indent-level: 4
58# End: