aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorPaul Eggert2016-02-09 14:23:10 -0800
committerPaul Eggert2016-02-09 14:23:10 -0800
commitb3fc7a3e763fb260cd932dc6aedbe7b4c810a73c (patch)
tree72495a45c9e58f16f6b09448f6956507da6ccf89 /test
parentc71e7cc113ed0d5f01aaa2e441a3e3c9fbeb9fa5 (diff)
parent9ffe7ddd5e1ba93f327cfe985e9476571d7a2873 (diff)
downloademacs-b3fc7a3e763fb260cd932dc6aedbe7b4c810a73c.tar.gz
emacs-b3fc7a3e763fb260cd932dc6aedbe7b4c810a73c.zip
Merge from origin/emacs-25
9ffe7dd * lisp/isearch.el (isearch-define-mode-toggle): Improve logic 16140f7 * lisp/menu-bar.el (menu-bar-options-menu): New search submenu 3db6adb * lisp/isearch.el (search-default-mode) 4ea1ea7 * lisp/isearch.el: Rename search-default-regexp-mode to search-default-mode c77ffc8 Use monitor's resolution for positioning tooltips 49e5749 Fix file-notify-test on MS-Windows be1d874 Fix issues found by auditing w32notify code 87ae218 Extend etags Ruby support for accessors aa35257 Update publicsuffix.txt. 6816bff Ensure that Gnus dribble handling allows removing entries 691feae Be consistent when using encoded strings in nnimap data 3ed423b Display the decoded Gnus group name 5428b5b Use completion-ignore-case instead of defining command
Diffstat (limited to 'test')
-rw-r--r--test/etags/ruby-src/test1.ru6
-rw-r--r--test/lisp/filenotify-tests.el12
-rw-r--r--test/manual/etags/CTAGS.good8
-rw-r--r--test/manual/etags/ETAGS.good_112
-rw-r--r--test/manual/etags/ETAGS.good_212
-rw-r--r--test/manual/etags/ETAGS.good_312
-rw-r--r--test/manual/etags/ETAGS.good_412
-rw-r--r--test/manual/etags/ETAGS.good_512
-rw-r--r--test/manual/etags/ETAGS.good_612
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
29 :baz, 29 :baz,
30 :more 30 :more
31 attr_accessor :tee 31 attr_accessor :tee
32 alias_method :qux, :tee, attr_accessor :bogus 32 alias_method :qux, :tee, attr_accessor(:bogus)
33 alias_method :xyz, 33 alias_method :xyz,
34 :tee ; attr_reader :subtle 34 :tee ; attr_reader :subtle
35 attr_reader(:foo1, :bar1, # comment
36 :qux1)
37 alias_method ( :foo2, #cmmt
38 :bar2)
35 end 39 end
36end 40end
37 41
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 @@
66 "Timeout to wait for arriving events, in seconds." 66 "Timeout to wait for arriving events, in seconds."
67 (cond 67 (cond
68 ((file-remote-p temporary-file-directory) 6) 68 ((file-remote-p temporary-file-directory) 6)
69 ((string-equal (file-notify--test-library) "w32notify") 20) 69 ((string-equal (file-notify--test-library) "w32notify") 10)
70 ((eq system-type 'cygwin) 10) 70 ((eq system-type 'cygwin) 10)
71 (t 3))) 71 (t 3)))
72 72
@@ -797,10 +797,7 @@ longer than timeout seconds for the events to be delivered."
797 file-notify--test-tmpfile 797 file-notify--test-tmpfile
798 '(change) 'file-notify--test-event-handler))) 798 '(change) 'file-notify--test-event-handler)))
799 (unwind-protect 799 (unwind-protect
800 ;; In case of w32notify, the upper limit of events to handle 800 (let ((n 1000)
801 ;; seems to be 260. Reason unknown.
802 (let ((n (if (string-equal (file-notify--test-library) "w32notify")
803 250 1000))
804 source-file-list target-file-list 801 source-file-list target-file-list
805 (default-directory file-notify--test-tmpfile)) 802 (default-directory file-notify--test-tmpfile))
806 (dotimes (i n) 803 (dotimes (i n)
@@ -832,10 +829,11 @@ longer than timeout seconds for the events to be delivered."
832 (let ((source-file-list source-file-list) 829 (let ((source-file-list source-file-list)
833 (target-file-list target-file-list)) 830 (target-file-list target-file-list))
834 (while (and source-file-list target-file-list) 831 (while (and source-file-list target-file-list)
835 (rename-file (pop source-file-list) (pop target-file-list) t)))) 832 (rename-file (pop source-file-list) (pop target-file-list) t)
833 (read-event nil nil 0.02))))
836 (file-notify--test-with-events (make-list n 'deleted) 834 (file-notify--test-with-events (make-list n 'deleted)
837 (dolist (file target-file-list) 835 (dolist (file target-file-list)
838 (delete-file file)))) 836 (prog1 (delete-file file) (read-event nil nil 0.02)))))
839 (file-notify--test-cleanup))) 837 (file-notify--test-cleanup)))
840 838
841(file-notify--deftest-remote file-notify-test06-many-events 839(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
454Condition_Variable/t ada-src/2ataspri.ads /^ type Condition_Variable is$/ 454Condition_Variable/t ada-src/2ataspri.ads /^ type Condition_Variable is$/
455Configure pyt-src/server.py /^class Configure(Frame, ControlEdit):$/ 455Configure pyt-src/server.py /^class Configure(Frame, ControlEdit):$/
456ConfirmQuit pyt-src/server.py /^def ConfirmQuit(frame, context):$/ 456ConfirmQuit pyt-src/server.py /^def ConfirmQuit(frame, context):$/
457Constant ruby-src/test1.ru 38 457Constant ruby-src/test1.ru 42
458ControlEdit pyt-src/server.py /^class ControlEdit(Frame):$/ 458ControlEdit pyt-src/server.py /^class ControlEdit(Frame):$/
459Controls pyt-src/server.py /^class Controls:$/ 459Controls pyt-src/server.py /^class Controls:$/
460CopyTextString pas-src/common.pas /^function CopyTextString;(*($/ 460CopyTextString pas-src/common.pas /^function CopyTextString;(*($/
@@ -2555,6 +2555,7 @@ bar c-src/c.c /^void bar() {while(0) {}}$/
2555bar c.c 143 2555bar c.c 143
2556bar c-src/h.h 19 2556bar c-src/h.h 19
2557bar cp-src/x.cc /^XX::bar()$/ 2557bar cp-src/x.cc /^XX::bar()$/
2558bar1 ruby-src/test1.ru /^ attr_reader(:foo1, :bar1, # comment$/
2558bar= ruby-src/test1.ru /^ attr_writer :bar,$/ 2559bar= ruby-src/test1.ru /^ attr_writer :bar,$/
2559bas_syn prol-src/natded.prolog /^bas_syn(n(_)).$/ 2560bas_syn prol-src/natded.prolog /^bas_syn(n(_)).$/
2560base c-src/emacs/src/lisp.h 2188 2561base c-src/emacs/src/lisp.h 2188
@@ -3008,6 +3009,8 @@ foo f-src/entry.strange /^ character*(*) function foo()$/
3008foo php-src/ptest.php /^foo()$/ 3009foo php-src/ptest.php /^foo()$/
3009foo ruby-src/test1.ru /^ attr_reader :foo$/ 3010foo ruby-src/test1.ru /^ attr_reader :foo$/
3010foo! ruby-src/test1.ru /^ def foo!$/ 3011foo! ruby-src/test1.ru /^ def foo!$/
3012foo1 ruby-src/test1.ru /^ attr_reader(:foo1, :bar1, # comment$/
3013foo2 ruby-src/test1.ru /^ alias_method ( :foo2, #cmmt$/
3011foobar c-src/c.c /^int foobar() {;}$/ 3014foobar c-src/c.c /^int foobar() {;}$/
3012foobar c.c /^extern void foobar (void) __attribute__ ((section / 3015foobar c.c /^extern void foobar (void) __attribute__ ((section /
3013foobar2 c-src/h.h 20 3016foobar2 c-src/h.h 20
@@ -3880,7 +3883,8 @@ questo ../c/c.web 34
3880quiettest make-src/Makefile /^quiettest:$/ 3883quiettest make-src/Makefile /^quiettest:$/
3881quit_char c-src/emacs/src/keyboard.c 192 3884quit_char c-src/emacs/src/keyboard.c 192
3882quit_throw_to_read_char c-src/emacs/src/keyboard.c /^quit_throw_to_read_char (bool from_signal)$/ 3885quit_throw_to_read_char c-src/emacs/src/keyboard.c /^quit_throw_to_read_char (bool from_signal)$/
3883qux ruby-src/test1.ru /^ alias_method :qux, :tee, attr_accessor :bogus$/ 3886qux ruby-src/test1.ru /^ alias_method :qux, :tee, attr_accessor(:bogus)/
3887qux1 ruby-src/test1.ru /^ :qux1)$/
3884qux= ruby-src/test1.ru /^ def qux=(tee)$/ 3888qux= ruby-src/test1.ru /^ def qux=(tee)$/
3885r0 c-src/sysdep.h 54 3889r0 c-src/sysdep.h 54
3886r1 c-src/sysdep.h 55 3890r1 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
3061 def module_instance_method46,1051 3061 def module_instance_method46,1051
3062 def ModuleExample.module_class_methodmodule_class_method49,1131 3062 def ModuleExample.module_class_methodmodule_class_method49,1131
3063 3063
3064ruby-src/test1.ru,785 3064ruby-src/test1.ru,935
3065class A1,0 3065class A1,0
3066 def a(2,8 3066 def a(2,8
3067 def b(5,38 3067 def b(5,38
@@ -3084,9 +3084,13 @@ module A9,57
3084 attr_accessor :teetee31,382 3084 attr_accessor :teetee31,382
3085 attr_accessor :teetee=31,382 3085 attr_accessor :teetee=31,382
3086 alias_method :qux,qux32,405 3086 alias_method :qux,qux32,405
3087 alias_method :xyz,xyz33,455 3087 alias_method :xyz,xyz33,456
3088 :tee ; attr_reader :subtlesubtle34,478 3088 :tee ; attr_reader :subtlesubtle34,479
3089A::Constant Constant38,533 3089 attr_reader(:foo1,foo135,523
3090 attr_reader(:foo1, :bar1,bar135,523
3091 :qux1)qux136,563
3092 alias_method ( :foo2,foo237,586
3093A::Constant Constant42,655
3090 3094
3091tex-src/testenv.tex,52 3095tex-src/testenv.tex,52
3092\newcommand{\nm}\nm4,77 3096\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
3631 def module_instance_method46,1051 3631 def module_instance_method46,1051
3632 def ModuleExample.module_class_methodmodule_class_method49,1131 3632 def ModuleExample.module_class_methodmodule_class_method49,1131
3633 3633
3634ruby-src/test1.ru,785 3634ruby-src/test1.ru,935
3635class A1,0 3635class A1,0
3636 def a(2,8 3636 def a(2,8
3637 def b(5,38 3637 def b(5,38
@@ -3654,9 +3654,13 @@ module A9,57
3654 attr_accessor :teetee31,382 3654 attr_accessor :teetee31,382
3655 attr_accessor :teetee=31,382 3655 attr_accessor :teetee=31,382
3656 alias_method :qux,qux32,405 3656 alias_method :qux,qux32,405
3657 alias_method :xyz,xyz33,455 3657 alias_method :xyz,xyz33,456
3658 :tee ; attr_reader :subtlesubtle34,478 3658 :tee ; attr_reader :subtlesubtle34,479
3659A::Constant Constant38,533 3659 attr_reader(:foo1,foo135,523
3660 attr_reader(:foo1, :bar1,bar135,523
3661 :qux1)qux136,563
3662 alias_method ( :foo2,foo237,586
3663A::Constant Constant42,655
3660 3664
3661tex-src/testenv.tex,52 3665tex-src/testenv.tex,52
3662\newcommand{\nm}\nm4,77 3666\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
3408 def module_instance_method46,1051 3408 def module_instance_method46,1051
3409 def ModuleExample.module_class_methodmodule_class_method49,1131 3409 def ModuleExample.module_class_methodmodule_class_method49,1131
3410 3410
3411ruby-src/test1.ru,785 3411ruby-src/test1.ru,935
3412class A1,0 3412class A1,0
3413 def a(2,8 3413 def a(2,8
3414 def b(5,38 3414 def b(5,38
@@ -3431,9 +3431,13 @@ module A9,57
3431 attr_accessor :teetee31,382 3431 attr_accessor :teetee31,382
3432 attr_accessor :teetee=31,382 3432 attr_accessor :teetee=31,382
3433 alias_method :qux,qux32,405 3433 alias_method :qux,qux32,405
3434 alias_method :xyz,xyz33,455 3434 alias_method :xyz,xyz33,456
3435 :tee ; attr_reader :subtlesubtle34,478 3435 :tee ; attr_reader :subtlesubtle34,479
3436A::Constant Constant38,533 3436 attr_reader(:foo1,foo135,523
3437 attr_reader(:foo1, :bar1,bar135,523
3438 :qux1)qux136,563
3439 alias_method ( :foo2,foo237,586
3440A::Constant Constant42,655
3437 3441
3438tex-src/testenv.tex,52 3442tex-src/testenv.tex,52
3439\newcommand{\nm}\nm4,77 3443\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
3225 def module_instance_method46,1051 3225 def module_instance_method46,1051
3226 def ModuleExample.module_class_methodmodule_class_method49,1131 3226 def ModuleExample.module_class_methodmodule_class_method49,1131
3227 3227
3228ruby-src/test1.ru,785 3228ruby-src/test1.ru,935
3229class A1,0 3229class A1,0
3230 def a(2,8 3230 def a(2,8
3231 def b(5,38 3231 def b(5,38
@@ -3248,9 +3248,13 @@ module A9,57
3248 attr_accessor :teetee31,382 3248 attr_accessor :teetee31,382
3249 attr_accessor :teetee=31,382 3249 attr_accessor :teetee=31,382
3250 alias_method :qux,qux32,405 3250 alias_method :qux,qux32,405
3251 alias_method :xyz,xyz33,455 3251 alias_method :xyz,xyz33,456
3252 :tee ; attr_reader :subtlesubtle34,478 3252 :tee ; attr_reader :subtlesubtle34,479
3253A::Constant Constant38,533 3253 attr_reader(:foo1,foo135,523
3254 attr_reader(:foo1, :bar1,bar135,523
3255 :qux1)qux136,563
3256 alias_method ( :foo2,foo237,586
3257A::Constant Constant42,655
3254 3258
3255tex-src/testenv.tex,52 3259tex-src/testenv.tex,52
3256\newcommand{\nm}\nm4,77 3260\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
4142 def module_instance_method46,1051 4142 def module_instance_method46,1051
4143 def ModuleExample.module_class_methodmodule_class_method49,1131 4143 def ModuleExample.module_class_methodmodule_class_method49,1131
4144 4144
4145ruby-src/test1.ru,785 4145ruby-src/test1.ru,935
4146class A1,0 4146class A1,0
4147 def a(2,8 4147 def a(2,8
4148 def b(5,38 4148 def b(5,38
@@ -4165,9 +4165,13 @@ module A9,57
4165 attr_accessor :teetee31,382 4165 attr_accessor :teetee31,382
4166 attr_accessor :teetee=31,382 4166 attr_accessor :teetee=31,382
4167 alias_method :qux,qux32,405 4167 alias_method :qux,qux32,405
4168 alias_method :xyz,xyz33,455 4168 alias_method :xyz,xyz33,456
4169 :tee ; attr_reader :subtlesubtle34,478 4169 :tee ; attr_reader :subtlesubtle34,479
4170A::Constant Constant38,533 4170 attr_reader(:foo1,foo135,523
4171 attr_reader(:foo1, :bar1,bar135,523
4172 :qux1)qux136,563
4173 alias_method ( :foo2,foo237,586
4174A::Constant Constant42,655
4171 4175
4172tex-src/testenv.tex,52 4176tex-src/testenv.tex,52
4173\newcommand{\nm}\nm4,77 4177\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
4142 def module_instance_method46,1051 4142 def module_instance_method46,1051
4143 def ModuleExample.module_class_methodmodule_class_method49,1131 4143 def ModuleExample.module_class_methodmodule_class_method49,1131
4144 4144
4145ruby-src/test1.ru,785 4145ruby-src/test1.ru,935
4146class A1,0 4146class A1,0
4147 def a(2,8 4147 def a(2,8
4148 def b(5,38 4148 def b(5,38
@@ -4165,9 +4165,13 @@ module A9,57
4165 attr_accessor :teetee31,382 4165 attr_accessor :teetee31,382
4166 attr_accessor :teetee=31,382 4166 attr_accessor :teetee=31,382
4167 alias_method :qux,qux32,405 4167 alias_method :qux,qux32,405
4168 alias_method :xyz,xyz33,455 4168 alias_method :xyz,xyz33,456
4169 :tee ; attr_reader :subtlesubtle34,478 4169 :tee ; attr_reader :subtlesubtle34,479
4170A::Constant Constant38,533 4170 attr_reader(:foo1,foo135,523
4171 attr_reader(:foo1, :bar1,bar135,523
4172 :qux1)qux136,563
4173 alias_method ( :foo2,foo237,586
4174A::Constant Constant42,655
4171 4175
4172tex-src/testenv.tex,52 4176tex-src/testenv.tex,52
4173\newcommand{\nm}\nm4,77 4177\newcommand{\nm}\nm4,77