emacs/test/lisp/emacs-lisp
Gemini Lasswell 04cc0b6158 Add more tests for backtrace-mode
* test/lisp/emacs-lisp/backtrace-tests.el (backtrace-tests--variables)
(backtrace-tests--backward-frame, backtrace-tests--forward-frame)
(backtrace-tests--pretty-print-and-collapse)
(backtrace-tests--verify-pp-and-collapse)
(backtrace-tests--print-circle, backtrace-tests--make-regexp)
(backtrace-tests--expand-ellipsis): New tests.
(backtrace-tests--to-string): Use backtrace-tests--make-backtrace.
(backtrace-tests--get-substring): New function.

Change the method of generating sample backtraces in backtrace tests
to work whether or not the tests are byte-compiled.
* test/lisp/emacs-lisp/backtrace-tests.el (backtrace-tests--func1)
(backtrace-tests--func2, backtrace-tests--func3)
(backtrace-tests--create-backtrace-frames): Remove.
(backtrace-tests--uncompiled-functions): New constant.
(backtrace-tests--make-backtrace, backtrace-tests--setup-buffer):
New functions.
(backtrace-tests--backtrace-lines)
(backtrace-tests--backtrace-lines-with-locals): New functions.
(backtrace-tests--line-count): New constant.
(backtrace-tests--result, backtrace-tests--result-with-locals):
New functions.
(backtrace-tests--header): New constant.
(backtrace-tests--insert-header): Use backtrace-tests--header.
(backtrace-tests--with-buffer): Remove.
2018-08-03 08:53:02 -07:00
..
edebug-resources Fix Edebug spec for cl-macrolet (bug#29919) 2018-08-01 13:59:49 -07:00
eieio-tests Merge from origin/emacs-26 2018-03-22 07:50:37 -07:00
faceup-resources Update copyright year to 2018 2018-01-01 01:25:56 -08:00
faceup-tests Update copyright year to 2018 2018-01-01 01:25:56 -08:00
package-resources Don't use IP 0.0.0.0 for package test server (Bug#22582) 2017-02-25 12:56:09 -05:00
shadow-resources Handle case-insensitive filenames for load-path shadows (Bug#5845) 2018-01-18 16:26:52 -05:00
testcover-resources Fix Testcover bug in handling of vectors containing dotted lists 2018-04-02 09:38:12 -07:00
backtrace-tests.el Add more tests for backtrace-mode 2018-08-03 08:53:02 -07:00
benchmark-tests.el (benchmark-run-compiled): Make it work like 'benchmark-run' again 2018-03-27 16:19:40 -04:00
bytecomp-tests.el Fix byte compilation of (eq foo 'default) 2018-06-16 09:44:05 -07:00
cconv-tests.el Don't forget to analyze args of lambda lifted functions (Bug#30872) 2018-06-16 18:34:19 -04:00
checkdoc-tests.el Update copyright year to 2018 2018-01-01 00:57:59 -08:00
cl-extra-tests.el Update copyright year to 2018 2018-01-01 00:57:59 -08:00
cl-generic-tests.el Update copyright year to 2018 2018-01-01 00:57:59 -08:00
cl-lib-tests.el * lisp/emacs-lisp/cl-macs.el (cl--sm-macroexpand): Handle lambda! 2018-02-08 21:41:21 -05:00
cl-macs-tests.el Prevent name clashes between CL structures and builtin types 2018-01-28 19:21:47 +01:00
cl-preloaded-tests.el ; * test/lisp/emacs-lisp/cl-preloaded-tests.el: Fix copyright notice. 2018-01-28 18:07:03 -08:00
cl-print-tests.el Add methods for strings to cl-print 2018-08-03 08:53:02 -07:00
cl-seq-tests.el Update copyright year to 2018 2018-01-01 00:57:59 -08:00
cl-tests.el Fix #'fun handling inside `labels' (Bug#31792) 2018-06-19 20:02:16 -04:00
derived-tests.el Update copyright year to 2018 2018-01-01 00:57:59 -08:00
edebug-tests.el Fix Edebug spec for cl-macrolet (bug#29919) 2018-08-01 13:59:49 -07:00
ert-tests.el Add backtrace-mode and use it in the debugger, ERT and Edebug 2018-08-03 08:53:02 -07:00
ert-x-tests.el Update copyright year to 2018 2018-01-01 00:57:59 -08:00
generator-tests.el ; Add test for iter-lambda variable shadowing (Bug#26073) 2018-02-14 21:31:06 -05:00
gv-tests.el Update copyright year to 2018 2018-01-01 00:57:59 -08:00
let-alist-tests.el Update copyright year to 2018 2018-01-01 00:57:59 -08:00
lisp-mode-tests.el Don't fail to indent-sexp before a full sexp (Bug#31984) 2018-07-27 19:41:39 -04:00
lisp-tests.el Update copyright year to 2018 2018-01-01 00:57:59 -08:00
map-tests.el Update copyright year to 2018 2018-01-01 00:57:59 -08:00
nadvice-tests.el Update copyright year to 2018 2018-01-01 00:57:59 -08:00
package-tests.el Don't test symmetric operations on gpg 2.0 (Bug#23561) 2018-07-15 16:26:22 -04:00
pcase-tests.el Update copyright year to 2018 2018-01-01 00:57:59 -08:00
pp-tests.el Update copyright year to 2018 2018-01-01 00:57:59 -08:00
regexp-opt-tests.el Update copyright year to 2018 2018-01-01 00:57:59 -08:00
ring-tests.el Update copyright year to 2018 2018-01-01 00:57:59 -08:00
rmc-tests.el Update copyright year to 2018 2018-01-01 00:57:59 -08:00
rx-tests.el Update copyright year to 2018 2018-01-01 00:57:59 -08:00
seq-tests.el Update copyright year to 2018 2018-01-01 00:57:59 -08:00
shadow-tests.el ; Spelling fix 2018-01-22 08:42:29 -08:00
subr-x-tests.el Tweak subr-x.el substring functions 2018-07-13 11:28:16 -04:00
tabulated-list-test.el Update copyright year to 2018 2018-01-01 00:57:59 -08:00
testcover-tests.el Merge from origin/emacs-26 2018-01-01 01:13:04 -08:00
text-property-search-tests.el Add a test suite for text-property-search 2018-04-22 16:57:16 +02:00
thunk-tests.el Merge from origin/emacs-26 2018-01-01 01:13:04 -08:00
timer-tests.el Update copyright year to 2018 2018-01-01 00:57:59 -08:00