diff options
Diffstat (limited to 'test')
-rw-r--r-- | test/etags/ruby-src/test1.ru | 6 | ||||
-rw-r--r-- | test/lisp/filenotify-tests.el | 12 | ||||
-rw-r--r-- | test/manual/etags/CTAGS.good | 8 | ||||
-rw-r--r-- | test/manual/etags/ETAGS.good_1 | 12 | ||||
-rw-r--r-- | test/manual/etags/ETAGS.good_2 | 12 | ||||
-rw-r--r-- | test/manual/etags/ETAGS.good_3 | 12 | ||||
-rw-r--r-- | test/manual/etags/ETAGS.good_4 | 12 | ||||
-rw-r--r-- | test/manual/etags/ETAGS.good_5 | 12 | ||||
-rw-r--r-- | test/manual/etags/ETAGS.good_6 | 12 |
9 files changed, 64 insertions, 34 deletions
diff --git a/test/etags/ruby-src/test1.ru b/test/etags/ruby-src/test1.ru index 93888c1040b..eafaec6248b 100644 --- a/test/etags/ruby-src/test1.ru +++ b/test/etags/ruby-src/test1.ru @@ -29,9 +29,13 @@ module A :baz, :more attr_accessor :tee - alias_method :qux, :tee, attr_accessor :bogus + alias_method :qux, :tee, attr_accessor(:bogus) alias_method :xyz, :tee ; attr_reader :subtle + attr_reader(:foo1, :bar1, # comment + :qux1) + alias_method ( :foo2, #cmmt + :bar2) end end diff --git a/test/lisp/filenotify-tests.el b/test/lisp/filenotify-tests.el index 629d85be1ef..5fc4ff8bf42 100644 --- a/test/lisp/filenotify-tests.el +++ b/test/lisp/filenotify-tests.el @@ -66,7 +66,7 @@ "Timeout to wait for arriving events, in seconds." (cond ((file-remote-p temporary-file-directory) 6) - ((string-equal (file-notify--test-library) "w32notify") 20) + ((string-equal (file-notify--test-library) "w32notify") 10) ((eq system-type 'cygwin) 10) (t 3))) @@ -797,10 +797,7 @@ longer than timeout seconds for the events to be delivered." file-notify--test-tmpfile '(change) 'file-notify--test-event-handler))) (unwind-protect - ;; In case of w32notify, the upper limit of events to handle - ;; seems to be 260. Reason unknown. - (let ((n (if (string-equal (file-notify--test-library) "w32notify") - 250 1000)) + (let ((n 1000) source-file-list target-file-list (default-directory file-notify--test-tmpfile)) (dotimes (i n) @@ -832,10 +829,11 @@ longer than timeout seconds for the events to be delivered." (let ((source-file-list source-file-list) (target-file-list target-file-list)) (while (and source-file-list target-file-list) - (rename-file (pop source-file-list) (pop target-file-list) t)))) + (rename-file (pop source-file-list) (pop target-file-list) t) + (read-event nil nil 0.02)))) (file-notify--test-with-events (make-list n 'deleted) (dolist (file target-file-list) - (delete-file file)))) + (prog1 (delete-file file) (read-event nil nil 0.02))))) (file-notify--test-cleanup))) (file-notify--deftest-remote file-notify-test06-many-events diff --git a/test/manual/etags/CTAGS.good b/test/manual/etags/CTAGS.good index 58b1db6b0a3..ebde715272a 100644 --- a/test/manual/etags/CTAGS.good +++ b/test/manual/etags/CTAGS.good @@ -454,7 +454,7 @@ Condition_Variable/t ada-src/2ataspri.ads /^ type Condition_Variable is privat Condition_Variable/t ada-src/2ataspri.ads /^ type Condition_Variable is$/ Configure pyt-src/server.py /^class Configure(Frame, ControlEdit):$/ ConfirmQuit pyt-src/server.py /^def ConfirmQuit(frame, context):$/ -Constant ruby-src/test1.ru 38 +Constant ruby-src/test1.ru 42 ControlEdit pyt-src/server.py /^class ControlEdit(Frame):$/ Controls pyt-src/server.py /^class Controls:$/ CopyTextString pas-src/common.pas /^function CopyTextString;(*($/ @@ -2555,6 +2555,7 @@ bar c-src/c.c /^void bar() {while(0) {}}$/ bar c.c 143 bar c-src/h.h 19 bar cp-src/x.cc /^XX::bar()$/ +bar1 ruby-src/test1.ru /^ attr_reader(:foo1, :bar1, # comment$/ bar= ruby-src/test1.ru /^ attr_writer :bar,$/ bas_syn prol-src/natded.prolog /^bas_syn(n(_)).$/ base c-src/emacs/src/lisp.h 2188 @@ -3008,6 +3009,8 @@ foo f-src/entry.strange /^ character*(*) function foo()$/ foo php-src/ptest.php /^foo()$/ foo ruby-src/test1.ru /^ attr_reader :foo$/ foo! ruby-src/test1.ru /^ def foo!$/ +foo1 ruby-src/test1.ru /^ attr_reader(:foo1, :bar1, # comment$/ +foo2 ruby-src/test1.ru /^ alias_method ( :foo2, #cmmt$/ foobar c-src/c.c /^int foobar() {;}$/ foobar c.c /^extern void foobar (void) __attribute__ ((section / foobar2 c-src/h.h 20 @@ -3880,7 +3883,8 @@ questo ../c/c.web 34 quiettest make-src/Makefile /^quiettest:$/ quit_char c-src/emacs/src/keyboard.c 192 quit_throw_to_read_char c-src/emacs/src/keyboard.c /^quit_throw_to_read_char (bool from_signal)$/ -qux ruby-src/test1.ru /^ alias_method :qux, :tee, attr_accessor :bogus$/ +qux ruby-src/test1.ru /^ alias_method :qux, :tee, attr_accessor(:bogus)/ +qux1 ruby-src/test1.ru /^ :qux1)$/ qux= ruby-src/test1.ru /^ def qux=(tee)$/ r0 c-src/sysdep.h 54 r1 c-src/sysdep.h 55 diff --git a/test/manual/etags/ETAGS.good_1 b/test/manual/etags/ETAGS.good_1 index 90bbe774f05..d2550863428 100644 --- a/test/manual/etags/ETAGS.good_1 +++ b/test/manual/etags/ETAGS.good_1 @@ -3061,7 +3061,7 @@ module ModuleExample1,0 def module_instance_method46,1051 def ModuleExample.module_class_methodmodule_class_method49,1131 -ruby-src/test1.ru,785 +ruby-src/test1.ru,935 class A1,0 def a(2,8 def b(5,38 @@ -3084,9 +3084,13 @@ module A9,57 attr_accessor :teetee31,382 attr_accessor :teetee=31,382 alias_method :qux,qux32,405 - alias_method :xyz,xyz33,455 - :tee ; attr_reader :subtlesubtle34,478 -A::Constant Constant38,533 + alias_method :xyz,xyz33,456 + :tee ; attr_reader :subtlesubtle34,479 + attr_reader(:foo1,foo135,523 + attr_reader(:foo1, :bar1,bar135,523 + :qux1)qux136,563 + alias_method ( :foo2,foo237,586 +A::Constant Constant42,655 tex-src/testenv.tex,52 \newcommand{\nm}\nm4,77 diff --git a/test/manual/etags/ETAGS.good_2 b/test/manual/etags/ETAGS.good_2 index d774bb1b190..9eb1d4297c8 100644 --- a/test/manual/etags/ETAGS.good_2 +++ b/test/manual/etags/ETAGS.good_2 @@ -3631,7 +3631,7 @@ module ModuleExample1,0 def module_instance_method46,1051 def ModuleExample.module_class_methodmodule_class_method49,1131 -ruby-src/test1.ru,785 +ruby-src/test1.ru,935 class A1,0 def a(2,8 def b(5,38 @@ -3654,9 +3654,13 @@ module A9,57 attr_accessor :teetee31,382 attr_accessor :teetee=31,382 alias_method :qux,qux32,405 - alias_method :xyz,xyz33,455 - :tee ; attr_reader :subtlesubtle34,478 -A::Constant Constant38,533 + alias_method :xyz,xyz33,456 + :tee ; attr_reader :subtlesubtle34,479 + attr_reader(:foo1,foo135,523 + attr_reader(:foo1, :bar1,bar135,523 + :qux1)qux136,563 + alias_method ( :foo2,foo237,586 +A::Constant Constant42,655 tex-src/testenv.tex,52 \newcommand{\nm}\nm4,77 diff --git a/test/manual/etags/ETAGS.good_3 b/test/manual/etags/ETAGS.good_3 index e3855a59309..1f5a34272e3 100644 --- a/test/manual/etags/ETAGS.good_3 +++ b/test/manual/etags/ETAGS.good_3 @@ -3408,7 +3408,7 @@ module ModuleExample1,0 def module_instance_method46,1051 def ModuleExample.module_class_methodmodule_class_method49,1131 -ruby-src/test1.ru,785 +ruby-src/test1.ru,935 class A1,0 def a(2,8 def b(5,38 @@ -3431,9 +3431,13 @@ module A9,57 attr_accessor :teetee31,382 attr_accessor :teetee=31,382 alias_method :qux,qux32,405 - alias_method :xyz,xyz33,455 - :tee ; attr_reader :subtlesubtle34,478 -A::Constant Constant38,533 + alias_method :xyz,xyz33,456 + :tee ; attr_reader :subtlesubtle34,479 + attr_reader(:foo1,foo135,523 + attr_reader(:foo1, :bar1,bar135,523 + :qux1)qux136,563 + alias_method ( :foo2,foo237,586 +A::Constant Constant42,655 tex-src/testenv.tex,52 \newcommand{\nm}\nm4,77 diff --git a/test/manual/etags/ETAGS.good_4 b/test/manual/etags/ETAGS.good_4 index dbae59bd59e..b8a3d9de6db 100644 --- a/test/manual/etags/ETAGS.good_4 +++ b/test/manual/etags/ETAGS.good_4 @@ -3225,7 +3225,7 @@ module ModuleExample1,0 def module_instance_method46,1051 def ModuleExample.module_class_methodmodule_class_method49,1131 -ruby-src/test1.ru,785 +ruby-src/test1.ru,935 class A1,0 def a(2,8 def b(5,38 @@ -3248,9 +3248,13 @@ module A9,57 attr_accessor :teetee31,382 attr_accessor :teetee=31,382 alias_method :qux,qux32,405 - alias_method :xyz,xyz33,455 - :tee ; attr_reader :subtlesubtle34,478 -A::Constant Constant38,533 + alias_method :xyz,xyz33,456 + :tee ; attr_reader :subtlesubtle34,479 + attr_reader(:foo1,foo135,523 + attr_reader(:foo1, :bar1,bar135,523 + :qux1)qux136,563 + alias_method ( :foo2,foo237,586 +A::Constant Constant42,655 tex-src/testenv.tex,52 \newcommand{\nm}\nm4,77 diff --git a/test/manual/etags/ETAGS.good_5 b/test/manual/etags/ETAGS.good_5 index 9ea77977ab6..9e3b258eabc 100644 --- a/test/manual/etags/ETAGS.good_5 +++ b/test/manual/etags/ETAGS.good_5 @@ -4142,7 +4142,7 @@ module ModuleExample1,0 def module_instance_method46,1051 def ModuleExample.module_class_methodmodule_class_method49,1131 -ruby-src/test1.ru,785 +ruby-src/test1.ru,935 class A1,0 def a(2,8 def b(5,38 @@ -4165,9 +4165,13 @@ module A9,57 attr_accessor :teetee31,382 attr_accessor :teetee=31,382 alias_method :qux,qux32,405 - alias_method :xyz,xyz33,455 - :tee ; attr_reader :subtlesubtle34,478 -A::Constant Constant38,533 + alias_method :xyz,xyz33,456 + :tee ; attr_reader :subtlesubtle34,479 + attr_reader(:foo1,foo135,523 + attr_reader(:foo1, :bar1,bar135,523 + :qux1)qux136,563 + alias_method ( :foo2,foo237,586 +A::Constant Constant42,655 tex-src/testenv.tex,52 \newcommand{\nm}\nm4,77 diff --git a/test/manual/etags/ETAGS.good_6 b/test/manual/etags/ETAGS.good_6 index 7420a41b108..f5e0ad4407f 100644 --- a/test/manual/etags/ETAGS.good_6 +++ b/test/manual/etags/ETAGS.good_6 @@ -4142,7 +4142,7 @@ module ModuleExample1,0 def module_instance_method46,1051 def ModuleExample.module_class_methodmodule_class_method49,1131 -ruby-src/test1.ru,785 +ruby-src/test1.ru,935 class A1,0 def a(2,8 def b(5,38 @@ -4165,9 +4165,13 @@ module A9,57 attr_accessor :teetee31,382 attr_accessor :teetee=31,382 alias_method :qux,qux32,405 - alias_method :xyz,xyz33,455 - :tee ; attr_reader :subtlesubtle34,478 -A::Constant Constant38,533 + alias_method :xyz,xyz33,456 + :tee ; attr_reader :subtlesubtle34,479 + attr_reader(:foo1,foo135,523 + attr_reader(:foo1, :bar1,bar135,523 + :qux1)qux136,563 + alias_method ( :foo2,foo237,586 +A::Constant Constant42,655 tex-src/testenv.tex,52 \newcommand{\nm}\nm4,77 |