2013-12-28 Glenn Morris * automated/electric-tests.el: Require 'elec-pair. 2013-12-26 João Távora * automated/electric-tests.el (electric-pair-test-for): Fix autowrapping tests in batch-mode by running with `transient-mark-mode' set to `lambda'. * automated/electric-tests.el: New file. 2013-12-25 Fabián Ezequiel Gallina * automated/python-tests.el (python-nav-lisp-forward-sexp-safe-1): Remove test. (python-nav-forward-sexp-safe-1): New test. 2013-12-20 Dmitry Gutov * automated/ruby-mode-tests.el: Add tests for `ruby-align-to-stmt-keywords'. * indent/ruby.rb: Update examples to reflect the lack of change in default indentation of `begin' blocks. 2013-12-17 Dmitry Gutov * indent/ruby.rb: Update examples according to the change in `smie-indent-close'. 2013-12-14 Dmitry Gutov * indent/ruby.rb: New examples. 2013-12-12 Fabián Ezequiel Gallina * automated/python-tests.el (python-indent-dedenters-2): New test. 2013-12-12 Fabián Ezequiel Gallina * automated/python-tests.el (python-indent-after-comment-1) (python-indent-after-comment-2): New tests. 2013-12-12 Nathan Trapuzzano * automated/python-test.el (python-indent-block-enders-1): Rename from python-indent-block-enders. (python-indent-block-enders-2): New test. 2013-12-08 Dmitry Gutov * indent/js.js: New file. 2013-12-05 Michael Albinus * automated/dbus-tests.el: New file. 2013-12-05 Stefan Monnier * automated/regexp-tests.el: New file. 2013-11-29 Eli Zaretskii * automated/reftex-tests.el (reftex-parse-from-file-test): Run temp-dir through file-truename, to make sure the temporary file names are comparable as strings. * automated/decoder-tests.el (ert-test-decoder-prefer-utf-8): Force Unix EOLs by using 'utf-8-unix', since the default of 'utf-8' is system-dependent, while the test expects to see Unix EOLs. 2013-11-28 Glenn Morris * automated/Makefile.in (SEPCHAR): Use in place of PATH_SEP. 2013-11-28 Eli Zaretskii * automated/Makefile.in (PATH_SEP): Set this instead of PATH_SEPARATOR. (EMACSOPT): Use $(PATH_SEP). 2013-11-28 Michael Albinus * automated/file-notify-tests.el (auto-revert-stop-on-user-input): Set to nil. 2013-11-27 Michael Albinus * automated/file-notify-tests.el (file-notify-test-remote-temporary-file-directory): Check $REMOTE_TEMPORARY_FILE_DIRECTORY. (tramp-read-passwd): Check $REMOTE_ALLOW_PASSWORD. (file-notify--deftest-remote): Cleanup connection initially. (file-notify-test03-autorevert): Run also in batch mode. Use a larger timeout for remote files. `sit-for' 1 second; 0.1 second does not work on MS Windows. Call `accept-process-output' for remote files. Apply `string-match' instead of `string-equal', the messages are different on MS Windows. * automated/tramp-tests.el (tramp-test-temporary-file-directory): Use $REMOTE_TEMPORARY_FILE_DIRECTORY. (tramp-read-passwd): Check $REMOTE_ALLOW_PASSWORD. 2013-11-23 Glenn Morris * automated/python-tests.el (python-shell-make-comint-1) (python-shell-make-comint-2, python-shell-get-process-1): Suppress creation of some temp-files. * automated/python-tests.el (python-shell-parse-command-1) (python-shell-make-comint-1, python-shell-make-comint-2) (python-shell-get-process-1) (python-shell-internal-get-or-create-process-1): Skip rather than fail if prereqs not found. * automated/Makefile.in (emacs): Empty EMACSLOADPATH rather than unsetting. 2013-11-22 Glenn Morris * automated/ruby-mode-tests.el (ruby-exit!-font-lock): Set expected-result. 2013-11-21 Glenn Morris * automated/Makefile.in (XARGS_LIMIT): New, set by configure. (compile-main): Pass XARGS_LIMIT to xargs. * automated/Makefile.in (PATH_SEPARATOR): New, set by configure. (EMACSOPT): Use PATH_SEPARATOR. 2013-11-20 Bozhidar Batsov * test/automated/ruby-mode-tests.el (ruby-exit!-font-lock): Add a failing test for Bug#15874. * test/automated/ruby-mode-tests.el (ruby--insert-coding-comment-ruby-style) (ruby--insert-coding-comment-emacs-style) (ruby--insert-coding-comment-custom-style): Add a few tests for `ruby--insert-coding-comment'. 2013-11-18 Paul Eggert Improve API of recently-added bool vector functions (Bug#15912). * automated/data-tests.el: Adjust to API changes. 2013-11-16 Michael Albinus * automated/tramp-tests.el (tramp-test07-file-exists-p) (tramp-test08-file-local-copy) (tramp-test09-insert-file-contents, tramp-test10-write-region) (tramp-test11-copy-file, tramp-test12-rename-file) (tramp-test13-make-directory, tramp-test14-delete-directory) (tramp-test15-copy-directory, tramp-test16-directory-files) (tramp-test17-insert-directory, tramp-test18-file-attributes) (tramp-test19-directory-files-and-attributes) (tramp-test20-file-modes, tramp-test21-file-links) (tramp-test22-file-times, tramp-test23-visited-file-modtime) (tramp-test24-file-name-completion, tramp-test25-load) (tramp-test26-process-file, tramp-test27-start-file-process) (tramp-test28-shell-command): Cleanup connection initially. 2013-11-15 Michael Albinus * automated/tramp-tests.el (tramp-test29-utf8): Cleanup the connection before running the test. 2013-11-15 Michael Albinus * automated/tramp-tests.el (tramp-test15-copy-directory) (tramp-test16-directory-files, tramp-test17-insert-directory) (tramp-test18-file-attributes) (tramp-test19-directory-files-and-attributes) (tramp-test20-file-modes, tramp-test21-file-links) (tramp-test22-file-times, tramp-test23-visited-file-modtime) (tramp-test24-file-name-completion, tramp-test25-load) (tramp-test26-process-file, tramp-test27-start-file-process): (tramp-test28-shell-command): Protect unwindforms with `ignore-errors'. (tramp-test29-utf8): New test. 2013-11-13 Michael Albinus * automated/file-notify-tests.el (file-notify-test02-events) (file-notify-test03-autorevert): Suppress messages in `write-region'. * automated/tramp-tests.el (tramp-test02-file-name-dissect) (tramp-test03-file-name-defaults, tramp-test21-file-links): Add tests. (tramp-test26-process-file, tramp-test28-shell-command): Ensure, that the directory is not empty when calling "ls". 2013-11-11 Michael Albinus * automated/tramp-tests.el (tramp-test-temporary-file-directory): Check $TRAMP_TEST_TEMPORARY_FILE_DIRECTORY. (tramp-read-passwd): Check $TRAMP_TEST_ALLOW_PASSWORD. (tramp-test09-insert-file-contents, tramp-test10-write-region): (tramp-test26-process-file): Add tests. (tramp-test11-copy-file): Remove debug message. (tramp-test20-file-modes): Special case, if user is "root". 2013-11-08 Michael Albinus * automated/file-notify-tests.el: * automated/tramp-tests.el: Add `tramp-own-remote-path' to `tramp-remote-path' when running on hydra. (tramp-test07-file-exists-p): Remove instrumentation code. (tramp-test26-process-file): Don't use "/bin/true" and "/bin/false", these paths do not exist on hydra. 2013-11-08 Helmut Eller * automated/process-tests.el: New file. 2013-11-08 Dmitry Gutov * indent/ruby.rb: New examples. 2013-11-06 Glenn Morris * automated/Makefile.in (setwins): Avoid accidental matches. 2013-11-06 Michael Albinus * automated/tramp-tests.el (tramp-test07-file-exists-p): Fix docstring. Instrument, in order to hunt failure on hydra. 2013-11-06 Glenn Morris * automated/flymake-tests.el (warning-predicate-rx-gcc) (warning-predicate-function-gcc, warning-predicate-rx-perl) (warning-predicate-function-perl): * automated/info-xref.el (info-xref-test-makeinfo): * automated/vc-bzr.el (vc-bzr-test-bug9726, vc-bzr-test-bug9781) (vc-bzr-test-faulty-bzr-autoloads): Skip rather than expect failure. 2013-11-05 Michael Albinus * automated/tramp-tests.el: New file. 2013-11-05 Glenn Morris Get rid of --chdir usage. * automated/Makefile.in (EMACSOPT): Move -L here. (emacs): Set EMACS_TEST_DIRECTORY in the environment. (setwins): Don't assume called from srcdir. Remove legacy stuff. (.el.elc): No more need to pass -L here. (compile-main): Get rid of sub-shell and cd. (compile-clean, check): Get rid of cd. Make it possible to run tests with a different working directory. * automated/flymake-tests.el (flymake-tests-data-directory): New. (flymake-tests--current-face): Use flymake-tests-data-directory. (warning-predicate-function-gcc, warning-predicate-rx-perl) (warning-predicate-function-perl): Adapt for above change. * automated/zlib-tests.el (zlib-tests-data-directory): New. (zlib--decompress): Use zlib-tests-data-directory. * automated/eieio-tests.el (eieio-test-37-persistent-classes): Remove test that makes no sense. * automated/files.el (files-test-local-variable-data): Fix result typo presumably caused by interference from dir-locals. (file-test--do-local-variables-test): Prevent dir-locals interfering. 2013-11-04 Dmitry Gutov * indent/ruby.rb: Add a statement on the line after heredoc. Move a now-successful example. * automated/ruby-mode-tests.el: Remove outdated comment. 2013-11-04 Glenn Morris * automated/Makefile.in (abs_srcdir): Remove. (emacs): Unset EMACSLOADPATH. (.el.elc, check): Use -L to append srcdir to load-path. 2013-11-02 Glenn Morris * automated/Makefile.in (top_builddir, abs_test, abs_lispsrc, lisp) (test, abs_top_srcdir, abs_top_builddir): Remove variables. (abs_srcdir): New, set by configure. (EMACS): Use a relative file name. (emacs): Use abs_srcdir rather than abs_lispsrc, abs_test. (lisp-compile): Remove (assume it's up-to-date). (compile-main): Do not run lisp-compile. (compile-main, compile-clean, compile-always, bootstrap-clean) (check): Use srcdir rather than $test. Check cd return value. Use --chdir. (doit, compile, compile-always): Remove stuff copied from lisp/. (all, check, bootstrap-clean, distclean, maintainer-clean): PHONY. 2013-10-31 Michael Albinus * automated/ert-tests.el (ert-test-stats-set-test-and-result): Add a skipping test. 2013-10-29 Stefan Monnier * indent/prolog.prolog: Test alignment of ->; with operator at bol. * indent/css-mode.css (.x2): Test alignement inside braces. 2013-10-26 Dmitry Gutov * indent/ruby.rb: New failing example. * automated/ruby-mode-tests.el (ruby-toggle-block-to-brace): Fix the test, in respect to adding the space after the curly. 2013-10-24 Michael Albinus * automated/ert-tests.el (ert-test-skip-unless): New test case. (ert-test-deftest): Adapt test for changed macro expansion. (ert-test-run-tests-interactively): * automated/ert-x-tests.el (ert-test-run-tests-interactively-2): Add a skipping test. * automated/file-notify-tests.el (top): Do not require tramp-sh.el. (file-notify--test-local-enabled): Make it a function. Check also for `file-remote-p' of `temporary-file-directory'. (file-notify--test-remote-enabled-checked): New defvar. (file-notify--test-remote-enabled): Rewrite. Do not use Tramp internal functions. Cache result. (file-notify--deftest-remote, file-notify-test00-availability) (file-notify-test01-add-watch, file-notify-test02-events) (file-notify-test03-autorevert): Add checks with `skip_unless'. (file-notify-test-all): Do not check `file-notify--test-local-enabled'. 2013-10-24 Dmitry Gutov * indent/ruby.rb: Fix syntax error in the latest example. 2013-10-23 Glenn Morris * automated/Makefile.in (abs_top_srcdir, top_builddir): New, set by configure. (top_srcdir): Remove. (abs_test, abs_lispsrc): New. (lisp): No longer absolute. (emacs, lisp-compile, compile, compile-always): Quote entities that might contain whitespace. 2013-10-22 Dmitry Gutov * indent/ruby.rb: Move two examples to "working" section, add one more. 2013-10-21 Dmitry Gutov * indent/ruby.rb: New examples for indentation of blocks. Example of hash inside parens that inflooped before the present commit. 2013-10-17 Barry O'Reilly * test/automated/timer-tests.el: New file. Tests that (sit-for 0) allows another timer to run. 2013-10-14 Dmitry Gutov * indent/ruby.rb: More examples for bug#15594, both failing and now passing. 2013-10-11 Dmitry Gutov * indent/ruby.rb: Add two more cases. 2013-10-10 Stefan Monnier * automated/ruby-mode-tests.el (ruby-with-temp-buffer): Move before first use. (ruby-should-indent): Use indent-according-to-mode. (ruby-deftest-move-to-block): Use `declare'. 2013-10-07 Dmitry Gutov * indent/ruby.rb: Fix a spurious change, add more failing examples. 2013-10-07 Stefan Monnier * indent/ruby.rb: Add a few more tests; adjust some indentation. 2013-10-06 Dmitry Gutov * automated/ruby-mode-tests.el: Add tests for `ruby-forward-sexp' and `ruby-backward-sexp' that fail when `ruby-use-smie' is t. * indent/ruby.rb: Fix a syntax error, add a few failing examples. 2013-10-05 Stefan Monnier * indent/ruby.rb: Port a few cases from automated/ruby-mode-tests.el. Adjust indentation of continued line to the new SMIE behavior. 2013-10-04 Stefan Monnier * automated/completion-tests.el: * indent/css-mode.css: New files. 2013-10-03 Daiki Ueno * automated/data/package/signed/archive-contents: * automated/data/package/signed/archive-contents.sig: * automated/data/package/signed/signed-good-1.0.el: * automated/data/package/signed/signed-good-1.0.el.sig: * automated/data/package/signed/signed-bad-1.0.el: * automated/data/package/signed/signed-bad-1.0.el.sig: * automated/data/package/key.pub: * automated/data/package/key.sec: New files. * automated/package-test.el (package-test-update-listing) (package-test-update-archives, package-test-describe-package): Adjust to package.el change. (package-test-signed): New test. 2013-10-01 Dmitry Gutov * automated/package-test.el: Update all cases to use :url instead of :homepage. * automated/package-x-test.el (package-x-test--single-archive-entry-1-3): Same. 2013-09-29 Dmitry Gutov * automated/package-test.el (simple-single-desc-1-4): Remove, it was unused. (simple-single-desc): Expect :homepage property. (multi-file-desc): Same. (with-package-test): Do not save previous `default-directory' value, let-bind the var instead. (package-test-install-single): Expect :homepage property in the generated pkg file. (package-test-describe-package): Expect Homepage button. (package-test-describe-non-installed-package) (package-test-describe-non-installed-multi-file-package): Same. (package-test-describe-not-installed-package): Remove, it was a duplicate. * automated/package-x-test.el (package-x-test--single-archive-entry-1-3): Expect :homepage property. (package-x-test--single-archive-entry-1-4): Expect nil extras slot. * automated/data/package/simple-single-1.3.el: Add URL header. * automated/data/package/archive-contents: Add :homepage properties to `simple-single' and `multi-file'. 2013-09-22 Daniel Colascione * automated/data-test.el: (bool-vector-count-matches-all-0-nil) (bool-vector-count-matches-all-0-t) (bool-vector-count-matches-1-il, bool-vector-count-matches-1-t) (bool-vector-count-matches-at, bool-vector-intersection-op) (bool-vector-union-op, bool-vector-xor-op) (bool-vector-set-difference-op) (bool-vector-change-detection, bool-vector-not): New tests. (mock-bool-vector-count-matches-at) (test-bool-vector-bv-from-hex-string) (test-bool-vector-to-hex-string) (test-bool-vector-count-matches-at-tc) (test-bool-vector-apply-mock-op) (test-bool-vector-binop): New helper functions. (bool-vector-test-vectors): New testcase data. 2013-09-20 Ryan (tiny change) * automated/advice-tests.el (advice-test-called-interactively-p-around) (advice-test-called-interactively-p-filter-args) (advice-test-called-interactively-p-around): New tests. 2013-09-16 Glenn Morris * automated/eshell.el (eshell-match-result): Return a more informative failure than simply "false". Update callers. * automated/eshell.el (eshell-test/for-name-shadow-loop): Test value before and after loop as well as during. 2013-09-15 Glenn Morris * automated/eshell.el (eshell-test/for-name-shadow-loop): New test. (Bug#15372) (eshell-test/for-loop, eshell-test/for-name-loop): Doc fix. 2013-09-13 Glenn Morris * automated/eshell.el (with-temp-eshell): Use a temp directory for eshell-directory-name. (eshell-test-command-result): New, again using a temp directory. Replace eshell-command-result with this throughout. (eshell-test/for-loop, eshell-test/for-name-loop): Ensure environment variables don't confuse us. 2013-09-12 Glenn Morris * automated/eshell.el (with-temp-eshell): Avoid hangs in batch mode due to "has a running process; kill it?" prompts. 2013-09-12 Stefan Monnier * automated/eshell.el: Rename from eshell.el. (eshell-test/for-loop, eshell-test/for-name-loop): New tests (bug#15231). 2013-09-01 Glenn Morris * automated/Makefile.in (setwins): Avoid leading space in $wins. Otherwise the sed command used by eg compile-main ends up containing "/*.el". (Bug#15170) 2013-08-28 Paul Eggert * automated/Makefile.in (SHELL): Now @SHELL@, not /bin/sh, for portability to hosts where /bin/sh has problems. 2013-08-21 David Engster * automated/eieio-tests.el, automated/eieio-test-persist.el: * automated/eieio-test-methodinvoke.el: EIEIO tests from CEDET upstream. Changed to use ERT. 2013-08-14 Daniel Hackney * package-test.el: Remove tar-package-building functions. Tar file used for testing is included in the repository. (package-test-install-texinfo, package-test-cleanup-built-files): Remove. 2013-08-13 Fabián Ezequiel Gallina * automated/python-tests.el (python-imenu-create-index-4) (python-imenu-create-flat-index-2): New tests. 2013-08-05 Glenn Morris * automated/mule-util.el: New file, with tests extracted from lisp/international/mule-util.el. 2013-08-04 Stefan Monnier * automated/advice-tests.el (advice-tests-nadvice): Test removal before definition. (advice-tests-macroaliases): New test. 2013-08-04 Glenn Morris * automated/ert-tests.el: Disable failing test that no-one seems to know how to fix. (Bug#13064) * automated/icalendar-tests.el (icalendar-tests--test-export) (icalendar-tests--test-import): Try more precise TZ specification. Remove debug messages. 2013-08-03 Glenn Morris * automated/core-elisp-tests.el (core-elisp-tests): Fix defcustom. * automated/icalendar-tests.el (icalendar-tests--test-export) (icalendar-tests--test-import): Use getenv/setenv rather than set-time-zone-rule. Add debug messages. (icalendar-tests--test-import): Reset zone even if error occurred. 2013-08-02 Stefan Monnier * automated/core-elisp-tests.el: New file. 2013-08-01 Glenn Morris * automated/file-notify-tests.el (file-notify--test-remote-enabled): Try to check that the remote system has a notification program. 2013-07-31 Glenn Morris * automated/undo-tests.el (undo-test2, undo-test5): Be quieter. 2013-07-24 Michael Albinus * automated/file-notify-tests.el (file-notify--test-local-enabled): New defconst. Replaces all `file-notify-support' occurences. (file-notify--test-remote-enabled): New defun. (file-notify--deftest-remote): Use it. (file-notify-test00-availability): Rewrite. (file-notify-test00-availability-remote): New defun. (file-notify-test01-add-watch): Rewrite first erroneous check. 2013-07-23 Glenn Morris * automated/inotify-test.el (inotify-file-watch-simple): Delete temp-file when done. * automated/subword-tests.el: Require subword. 2013-07-22 Stefan Monnier * automated/subword-tests.el: New file. 2013-07-13 Fabián Ezequiel Gallina * automated/python-tests.el (python-imenu-create-index-2) (python-imenu-create-index-3): New tests. 2013-07-11 Glenn Morris * automated/ert-tests.el: Require cl-lib at runtime too. (ert-test-special-operator-p): Use cl-gensym rather than ert-- version. (ert-test-remprop, ert-test-remove-if-not, ert-test-remove*) (ert-test-set-functions, ert-test-gensym) (ert-test-coerce-to-vector, ert-test-string-position) (ert-test-mismatch): Remove tests. * automated/cl-lib.el: New, split from ert-tests.el. * automated/ruby-mode-tests.el (ruby-deftest-move-to-block): Goto point-min. (works-on-do, zero-is-noop, ok-with-three, ok-with-minus-two) (ruby-move-to-block-skips-percent-literal) (ruby-move-to-block-skips-heredoc) (ruby-move-to-block-moves-from-else-to-if) (ruby-beginning-of-defun-does-not-fold-case) (ruby-end-of-defun-skips-to-next-line-after-the-method): Replace goto-line with forward-line/goto-char. (ruby-move-to-block-does-not-fold-case): Remove unneeded end-of-buffer. * automated/package-test.el (makeinfo-buffer): Autoload. (compilation-in-progress, tar-parse-info, tar-header-name): Declare. (package-test-install-texinfo): Don't require makeinfo. * automated/files.el: Stop "local variables" confusion. * automated/flymake-tests.el (flymake-tests): Remove unused group. * automated/icalendar-tests.el (icalendar-tests--do-test-cycle): Use with-current-buffer. * automated/undo-tests.el (undo-test-buffer-modified) (undo-test-file-modified): New tests. 2013-07-09 Michael Albinus * automated/file-notify-tests.el (file-notify-test00-availability): Set :expected-result. (file-notify-test01-add-watch, file-notify-test01-add-watch-remote) (file-notify-test02-events, file-notify-test02-events-remote) (file-notify-test03-autorevert, file-notify-test03-autorevert-remote): Skip when `file-notify-support' is nil. (Bug#14823) 2013-07-09 Glenn Morris * automated/inotify-test.el (inotify-add-watch, inotify-rm-watch): Declare. (inotify-file-watch-simple): Silence compiler. * automated/python-tests.el (python-indent-block-enders): Make it actually test something. * automated/package-x-test.el: Require package-test when compiling. * automated/add-log-tests.el, automated/advice-tests.el: * automated/imenu-test.el, automated/package-x-test.el: * automated/python-tests.el, automated/ruby-mode-tests.el: * automated/xml-parse-tests.el: Explicitly require ert. 2013-07-08 Kenichi Handa * automated/decoder-tests.el (decoder-tests-prefer-utf-8-read): Use with-ccoding-priority to avoid side-effect (Bug#14781). 2013-07-05 Michael Albinus * automated/file-notify-tests.el (file-notify-test-remote-temporary-file-directory): Use `null-device' on w32. (file-notify--test-tmpfile, file-notify--test-tmpfile1) (file-notify--test-results, file-notify--test-event) (file-notify--deftest-remote, file-notify--event-test) (file-notify--test-event-handler) (file-notify--test-make-temp-name): Rename, in order to mark them internal. (tramp-message-show-message, tramp-read-passwd): Tweak them for better fitting in noninteractive tests. (file-notify-test00-availability): Rename from `file-notify-test0'. (file-notify-test01-add-watch): Rename from `file-notify-test1'. Use `temporary-file-directory '. (file-notify-test01-add-watch-remote): New test. (file-notify-test02-events): Rename from `file-notify-test2'. (file-notify-test02-events-remote): Rename from `file-notify-test3'. (file-notify-test03-autorevert): Rename from `file-notify-test4'. Use timeouts. (file-notify-test03-autorevert-remote): Rename from `file-notify-test5'. 2013-07-04 Michael Albinus * automated/file-notify-tests.el: New package. 2013-06-28 Kenichi Handa * automated/decoder-tests.el (decoder-tests-gen-file): New arg FILE. (decoder-tests-ao-gen-file): Rename from decoder-tests-filename. Callers changed. (decoder-tests-filename): New function. (decoder-tests-prefer-utf-8-read) (decoder-tests-prefer-utf-8-write): New function. (ert-test-decoder-prefer-utf-8): New test. 2013-06-27 Dmitry Gutov * automated/package-x-test.el: Change the commentary. (package-x-test--single-archive-entry-1-3) (package-x-test--single-archive-entry-1-4): Fix the tests, by using the appropriate data structure. 2013-06-27 Daniel Hackney * automated/Makefile.in (setwins): Include the 'data' subdirectory. * automated/package-x-test.el: New file. * automated/package-test.el: New file. * automated/data/package: New directory, with test examples. 2013-06-27 Glenn Morris * automated/python-tests.el (python-tests-with-temp-file): Clean up after ourself. * automated/undo-tests.el (undo-test3): Remove test that seems to do nothing that the previous one doesn't, except leave a tempfile. 2013-06-26 Glenn Morris * automated/info-xref.el: New file. 2013-06-25 Glenn Morris * automated/occur-tests.el (occur-test-create): New function. Use it to create separate tests for each element, so we run them all rather than stopping at the first error. 2013-06-24 Glenn Morris * automated/occur-tests.el (occur-tests): Update for 2013-05-29 change to occur header line. 2013-06-21 Eduard Wiebe Test suite for flymake. * automated/flymake-tests.el: * automated/flymake/warnpred/Makefile * automated/flymake/warnpred/test.c * automated/flymake/warnpred/test.pl: New files. 2013-06-12 Rüdiger Sonderfeld * automated/reftex-tests.el (reftex-parse-from-file-test): Fix test. 2013-06-12 Rüdiger Sonderfeld * automated/reftex-tests.el: New test suite for reftex. 2013-05-31 Dmitry Gutov * automated/ruby-mode-tests.el: New tests, for percent literals and expression expansion. 2013-05-29 Leo Liu * indent/octave.m: Tweak. 2013-05-26 Aidan Gauland * tests/eshell.el: Rewrite tests using ERT. 2013-05-25 Leo Liu * indent/octave.m: Add tests for %!, # and ### comments. 2013-05-23 Kenichi Handa * automated/decoder-tests.el: New file. 2013-05-19 Dmitry Gutov * indent/ruby.rb: Add multiline regexp example. * automated/ruby-mode-tests.el (ruby-heredoc-highlights-interpolations) (ruby-regexp-skips-over-interpolation) (ruby-regexp-continues-till-end-when-unclosed) (ruby-regexp-can-be-multiline) (ruby-interpolation-inside-percent-literal): New tests. 2013-05-08 Stefan Monnier * indent/ruby.rb: Fix indentation after =; add more cases. 2013-05-05 Stefan Monnier * indent/pascal.pas: Add test for mis-identified comments. 2013-04-01 Masatake YAMATO * automated/imenu-tests.el: New file. (Bug#14112) 2013-04-19 Fabián Ezequiel Gallina * automated/python-tests.el (python-imenu-prev-index-position-1): Remove test. (python-imenu-create-index-1, python-imenu-create-flat-index-1): New tests. 2013-04-17 Fabián Ezequiel Gallina * automated/python-tests.el (python-nav-backward-defun-2) (python-nav-backward-defun-3, python-nav-forward-defun-2) (python-nav-forward-defun-3): New tests. 2013-04-17 Fabián Ezequiel Gallina * automated/python-tests.el (python-nav-backward-defun-1) (python-nav-forward-defun-1): New tests. 2013-04-09 Masatake YAMATO * automated/add-log-tests.el: New file. (Bug#14112) 2013-03-30 Fabián Ezequiel Gallina * automated/python-tests.el (python-indent-block-enders): New test. (python-info-current-defun-2): Fix test. 2013-03-05 Paul Eggert * indent/octave.m: Fix encoding error in comment. Add coding tag. 2013-02-28 Fabián Ezequiel Gallina * automated/python-tests.el (python-tests-with-temp-buffer): Doc fix. (python-tests-with-temp-file): New macro. (python-tests-shell-interpreter): New var. (python-shell-get-process-name-1) (python-shell-internal-get-process-name-1) (python-shell-parse-command-1) (python-shell-calculate-process-environment-1) (python-shell-calculate-process-environment-2) (python-shell-calculate-process-environment-3) (python-shell-calculate-exec-path-1) (python-shell-calculate-exec-path-2) (python-shell-make-comint-1) (python-shell-make-comint-2) (python-shell-get-process-1) (python-shell-get-or-create-process-1) (python-shell-internal-get-or-create-process-1): New tests. 2013-02-21 Fabián Ezequiel Gallina * automated/python-tests.el: New file. 2013-02-14 Dmitry Gutov * automated/ruby-mode-tests.el (ruby-move-to-block-skips-percent-literal): Add depth-affecting bits inside the examples. (ruby-move-to-block-skips-heredoc): New test. (ruby-add-log-current-method-after-inner-class): Lower expectations: move point inside a method, initially. 2013-02-13 Dmitry Gutov * automated/ruby-mode-tests.el (ruby-move-to-block-skips-percent-literal): New test. 2013-02-04 Chong Yidong * automated/thingatpt.el: New file. 2013-02-03 Chong Yidong * automated/files.el (file-test--do-local-variables-test): Avoid compilation warning message. 2013-01-27 Dmitry Gutov * automated/ruby-mode-tests.el (ruby-indent-spread-args-in-parens): New test. * automated/ruby-mode-tests.el (ruby-block-test-example): Break indentation of the do block opener and add a line inside it. * automated/ruby-mode-tests.el (works-on-do, ok-with-three): Adjust line numbers. 2013-01-15 Stefan Monnier * automated/advice-tests.el: Split up. Add advice-test-preactivate. 2013-01-14 Glenn Morris * automated/compile-tests.el (compile-tests--test-regexps-data): Fix interpretation of gnu line.col1-col2 format. (Bug#13335) 2013-01-10 Wolfgang Jenkner * automated/man-tests.el: New file. 2013-01-09 Aaron S. Hawley * automated/undo-tests.el (undo-test0): Adjust error to code change. 2013-01-08 Aaron S. Hawley * automated/undo-tests.el: New file. 2012-12-27 Dmitry Gutov * automated/ruby-mode-tests.el (ruby-indent-after-block-in-continued-expression): New test. 2012-12-14 Dmitry Gutov * automated/ruby-mode-tests.el: Rename one interpolation test; add three more. (ruby-with-temp-buffer): New macro, use it where appropriate. (ruby-add-log-current-method-examples): Use "_" for target point. Add four new tests for ruby-add-log-current-method. 2012-12-11 Glenn Morris * automated/f90.el (f90-test-bug13138): New test. 2012-12-10 Rüdiger Sonderfeld * automated/inotify-test.el: New test. 2012-12-02 Chong Yidong * automated/ruby-mode-tests.el (ruby-add-log-current-method-examples): Don't use loop macro, to allow automated testing to work. 2012-11-20 Stefan Monnier * automated/advice-tests.el (advice-tests--data): Remove. (advice-tests): Move the tests directly here instead. Add called-interactively-p tests. 2012-11-19 Stefan Monnier * automated/ert-x-tests.el: Use cl-lib. * automated/ert-tests.el: Use lexical-binding and cl-lib. 2012-11-14 Dmitry Gutov * automated/ruby-mode-tests.el (ruby-indent-singleton-class): Pass. (ruby-indent-inside-heredoc-after-operator) (ruby-indent-inside-heredoc-after-space): New tests. Change direct font-lock face references to var references. (ruby-interpolation-suppresses-syntax-inside): New test. (ruby-interpolation-inside-percent-literal-with-paren): New failing test. 2012-11-13 Dmitry Gutov * automated/ruby-mode-tests.el (ruby-heredoc-font-lock) (ruby-singleton-class-no-heredoc-font-lock) (ruby-add-log-current-method-examples): New tests. (ruby-test-string): Extract from ruby-should-indent-buffer. (ruby-deftest-move-to-block): New macro. Add several move-to-block tests. 2012-11-12 Stefan Monnier * automated/advice-tests.el: New tests. 2012-10-14 Eli Zaretskii * automated/compile-tests.el (compile-tests--test-regexps-data): Add new data for msft's new format. 2012-09-08 Dmitry Gutov * automated/ruby-mode-tests.el: (ruby-toggle-block-to-multiline): New test. (ruby-should-indent-buffer, ruby-toggle-block-to-do-end) (ruby-toggle-block-to-brace): Use buffer-string. 2012-09-07 Dmitry Gutov * automated/ruby-mode-tests.el: New tests (Bug#11613). 2012-08-28 Chong Yidong * automated/files.el: Test every combination of values for enable-local-variables and enable-local-eval. 2012-08-19 Chong Yidong * redisplay-testsuite.el (test-redisplay): Use switch-to-buffer. 2012-08-18 Chong Yidong * redisplay-testsuite.el (test-redisplay-4): New test (Bug#3874). 2012-08-14 Dmitry Gutov * indent/ruby.rb: Rearrange examples, add new ones. 2012-08-12 Dmitry Gutov * automated/ruby-mode-tests.el (ruby-move-to-block-stops-at-opening) (ruby-toggle-block-to-do-end, ruby-toggle-block-to-brace): New test. 2012-08-11 Glenn Morris * automated/files.el: New file. * automated/Makefile.in (all): Fix typo. 2012-08-10 Dmitry Gutov * automated/ruby-mode-tests.el (ruby-should-indent): Add docstring, check (current-indentation) instead of (current-column). (ruby-should-indent-buffer): New function. Add tests for `ruby-deep-indent-paren' behavior. Port all tests from test/misc/test_ruby_mode.rb in Ruby repo. 2012-08-10 Nobuyoshi Nakada Original tests in test_ruby_mode.rb in upstream (author). 2012-08-09 Dmitry Gutov * automated/ruby-mode-tests.el (ruby-should-indent) (ruby-assert-state): New functions. Add new tests. 2012-07-29 David Engster * automated/xml-parse-tests.el (xml-parse-tests--qnames): New variable to hold test data for name expansion. (xml-parse-tests): Test the two different types of name expansion. 2012-07-29 Juri Linkov * automated/occur-tests.el (occur-test-case): Use predefined buffer name " *test-occur*" instead of a random buffer name. 2012-07-20 Dmitry Gutov * automated/ruby-mode-tests.el: New file with one test. 2012-07-17 Stefan Monnier * indent/shell.sh: Add test case for ${#VAR}. * indent/latex-mode.tex: New file. 2012-07-11 Stefan Monnier * eshell.el: Use cl-lib. 2012-07-03 Chong Yidong * automated/xml-parse-tests.el (xml-parse-tests--bad-data): New. 2012-07-02 Chong Yidong * automated/xml-parse-tests.el (xml-parse-tests--data): More testcases. 2012-07-01 Chong Yidong * automated/xml-parse-tests.el: New file. 2012-06-27 Stefan Monnier * automated/ert-x-tests.el (ert-test-run-tests-interactively-2): Use cl-flet. 2012-06-08 Ulf Jasper * automated/icalendar-tests.el (icalendar--parse-vtimezone): Test escaped commas in TZID (Bug#11473). (icalendar-import-with-timezone): New. (icalendar-real-world): Add new testcase as given in the bugreport of Bug#11473. 2012-05-29 Ulf Jasper * automated/icalendar-tests.el (icalendar-tests--test-import): Include UID in import tests (Bug#11525). (icalendar-import-non-recurring, icalendar-import-rrule) (icalendar-import-duration, icalendar-import-bug-6766): Adjust to UID-import change. (icalendar-import-with-uid): New. (icalendar-tests--test-cycle, icalendar-tests--do-test-cycle): Include UID in cycle tests. (icalendar-cycle, icalendar-real-world): UID-import change. 2012-05-21 Glenn Morris * automated/Makefile.in (setwins): Scrap superfluous subshell. 2012-05-15 Teodor Zlatanov * automated/url-util-tests.el: New file to test lisp/url/url-util.el. Only `url-build-query-string' and `url-parse-query-string' are tested right now (Bug#8706). 2012-04-28 Stefan Monnier * indent/shell.sh: * indent/shell.rc: Ad some test cases. 2012-04-24 Stefan Monnier * indent/ruby.rb: New file, to test new syntax-propertize code. 2012-04-11 Glenn Morris * automated/vc-bzr.el (vc-bzr-test-faulty-bzr-autoloads): New test. 2012-02-13 Teodor Zlatanov * automated/url-future-tests.el (url-future-tests): Move from lisp/url/url-future.el and rename. 2012-01-29 Ulf Jasper * automated/icalendar-tests.el (icalendar-import-non-recurring): Fix broken test, caused by missing trailing blank. 2011-12-03 Chong Yidong * automated/compile-tests.el (compile-tests--test-regexps-data): Increase column numbers by one to reflect change in how compilation-message is recorded (Bug#10172). 2011-11-22 Glenn Morris * rmailmm.el: New file, split from lisp/mail/rmailmm.el. 2011-11-20 Juanma Barranquero * cedet/semantic-utest-c.el (semantic-utest-c-comparisons): Fix typo. 2011-11-16 Juanma Barranquero * automated/icalendar-tests.el (icalendar-tests--get-ical-event) (icalendar-tests--test-export, icalendar-tests--do-test-export): * cedet/srecode-tests.el (srecode-field-utest-impl): Fix typo. 2011-10-30 Ulf Jasper * automated/newsticker-tests.el (newsticker--group-manage-orphan-feeds): Remove fsetting of newsticker--treeview-tree-update. 2011-10-29 Ulf Jasper * automated/newsticker-tests.el (newsticker--group-manage-orphan-feeds): Use fset instead of flet. * trunk/test/automated/newsticker-tests.el (newsticker--group-manage-orphan-feeds): Prevent updating newsticker treeview. Fixed bug#9763. 2011-10-20 Glenn Morris * automated/vc-bzr.el (vc-bzr-test-bug9781): New test. * automated/vc-bzr.el: New file. 2011-10-15 Glenn Morris * automated/f90.el: New file. 2011-09-27 Ulf Jasper * automated/newsticker-tests.el: Move newsticker-testsuite.el to automated/newsticker-tests.el. Convert to ERT. 2011-07-26 Ulf Jasper * automated/icalendar-tests.el (icalendar-tests--compare-strings): Remove, simply use string=. (icalendar--diarytime-to-isotime) (icalendar--datetime-to-diary-date) (icalendar--datestring-to-isodate) (icalendar--format-ical-event) (icalendar--parse-summary-and-rest) (icalendar-tests--do-test-import) (icalendar-tests--do-test-cycle): Change argument order of string= to EXPECTED ACTUAL. (icalendar--import-format-sample) (icalendar--format-ical-event) (icalendar-import-non-recurring) (icalendar-import-rrule) (icalendar-import-duration) (icalendar-import-bug-6766) (icalendar-real-world): Adjust to string= instead of icalendar-tests--compare-strings. (icalendar-import-multiple-vcalendars): New. 2011-05-11 Teodor Zlatanov * automated/gnus-tests.el: Add wrapper for Gnus tests. Require CL. 2011-05-09 Juri Linkov * automated/occur-tests.el: Move from test/occur-testsuite.el. Convert to ERT. 2011-05-09 Chong Yidong * automated/compile-tests.el: New file. 2011-05-08 Chong Yidong * automated/font-parse-tests.el: Don't byte-compile. * automated/comint-testsuite.el: Move from test/. Convert to ERT. 2011-03-10 Stefan Monnier * automated/lexbind-tests.el: New file. 2011-03-07 Chong Yidong * Version 23.3 released. 2011-03-05 Glenn Morris * eshell.el: Move here from lisp/eshell/esh-test.el. 2011-03-03 Christian Ohler * automated/ert-tests.el (ert-test-explain-not-equal-keymaps): New test. 2011-02-20 Ulf Jasper * automated/icalendar-tests.el: Move from icalendar-testsuite.el; convert to ERT format. 2011-02-14 Chong Yidong * automated/bytecomp-tests.el: Move from bytecomp-testsuite.el; convert to ERT format. 2011-02-09 Stefan Monnier * indent/shell.sh: * indent/shell.rc: New files. 2011-01-27 Chong Yidong * automated/font-parse-tests.el: Move from font-parse-testsuite.el. 2011-01-26 Chong Yidong * font-parse-testsuite.el (test-font-parse-data): New file. 2011-01-13 Stefan Monnier * indent/prolog.prolog: Add tokenizing tests. 2011-01-13 Christian Ohler * automated: New directory for automated tests. * automated/ert-tests.el, automated/ert-x-tests.el: New files. * automated/Makefile.in: New file. 2010-11-11 Stefan Monnier * indent/modula2.mod: New file. 2010-10-27 Stefan Monnier * indent/octave.m: Add a test to ensure indentation is local. 2010-10-23 Glenn Morris * comint-testsuite.el (comint-testsuite--test-comint-password-prompt-regexp): Add "Please enter the password". (Bug#7224) 2010-09-20 Stefan Monnier * indent/prolog.prolog: Use normal spacing around !. 2010-09-18 Stefan Monnier * indent/octave.m: Remove one more `fixindent'. Use `end'. 2010-09-10 Stefan Monnier * indent/octave.m: Remove some `fixindent' not needed any more. 2010-08-30 Stefan Monnier * indent/octave.m: New file. 2010-08-08 Ulf Jasper * icalendar-testsuite.el (icalendar-testsuite-run): Add internal tests. (icalendar-testsuite--trim, icalendar-testsuite--compare-strings) (icalendar-testsuite--run-internal-tests): New. (icalendar-testsuite--test-convert-ordinary-to-ical) (icalendar-testsuite--test-convert-block-to-ical) (icalendar-testsuite--test-convert-anniversary-to-ical) (icalendar-testsuite--test-parse-vtimezone) (icalendar-testsuite--do-test-export): Code formatting. (icalendar-testsuite--test-parse-vtimezone): Doc fix. (icalendar-testsuite--do-test-import) (icalendar-testsuite--do-test-cycle): Use icalendar-testsuite--compare-strings (icalendar-testsuite--run-import-tests): Comment added. (icalendar-testsuite--run-import-tests) (icalendar-testsuite--run-real-world-tests): Fix expected results. 2010-06-25 Chong Yidong * redisplay-testsuite.el (test-redisplay-3): New test. 2010-06-11 Chong Yidong * comint-testsuite.el: New file. 2010-06-02 Stefan Monnier * indent: New dir. 2010-05-07 Chong Yidong * Version 23.2 released. 2010-03-29 Chong Yidong * cedet/semantic-ia-utest.el (semantic-symref-test-count-hits-in-tag): Add function, from semantic-test.el. * cedet/tests/test.cpp: * cedet/tests/test.py: * cedet/tests/teststruct.cpp: * cedet/tests/testtemplates.cpp: * cedet/tests/testusing.cpp: * cedet/tests/scopetest.cpp: * cedet/tests/scopetest.java: Files deleted. * cedet/tests/test.make: * cedet/tests/test.c: * cedet/tests/testjavacomp.java: * cedet/tests/testspp.c: * cedet/tests/testsppreplace.c: * cedet/tests/testsppreplaced.c: * cedet/tests/testsubclass.cpp: * cedet/tests/testsubclass.hh: * cedet/tests/testtypedefs.cpp: * cedet/tests/testvarnames.c: * cedet/tests/test.el: * cedet/tests/testdoublens.cpp: * cedet/tests/testdoublens.hpp: Add copyright header. * cedet/semantic-tests.el (semanticdb-test-gnu-global): Remove reference to deleted files. 2010-03-30 Juri Linkov * occur-testsuite.el (occur-tests): Add tests for context lines. 2010-03-23 Juri Linkov * occur-testsuite.el: New file. 2010-03-10 Chong Yidong * Branch for 23.2. 2010-02-19 Ulf Jasper * icalendar-testsuite.el (icalendar-testsuite--run-function-tests): Add new tests. (icalendar-testsuite--test-diarytime-to-isotime): Add another testcase. (icalendar-testsuite--test-convert-ordinary-to-ical): New. (icalendar-testsuite--test-convert-weekly-to-ical): New. (icalendar-testsuite--test-convert-yearly-to-ical): New. (icalendar-testsuite--test-convert-block-to-ical): New. (icalendar-testsuite--test-convert-cyclic-to-ical): New. (icalendar-testsuite--test-convert-anniversary-to-ical): New. 2010-01-18 Juanma Barranquero * cedet/semantic-tests.el (semanticdb-test-gnu-global) (semantic-lex-test-full-depth, semantic-symref-test-count-hits-in-tag): Fix typos in docstrings and error messages. (semanticdb-ebrowse-run-tests): Fix typos in error messages. 2010-01-14 Juanma Barranquero * cedet/cedet-utests.el (cedet-utest-log-shutdown, pulse-test): * cedet/semantic-ia-utest.el (semantic-ia-utest-error-log-list) (semantic-ia-utest-buffer-refs): Fix typos in docstrings. 2009-12-18 Ulf Jasper * icalendar-testsuite.el (icalendar-testsuite--run-function-tests): Add icalendar-testsuite--test-parse-vtimezone. (icalendar-testsuite--test-parse-vtimezone): New. (icalendar-testsuite--do-test-cycle): Doc changes. (icalendar-testsuite--run-real-world-tests): Remove trailing whitespace -- see change of icalendar--add-diary-entry in icalendar.el. (icalendar-testsuite--run-cycle-tests): Re-enable all tests. 2009-09-30 Glenn Morris * cedet/semantic-utest-c.el: Relicense under GPLv3+. 2009-06-26 Eric Ludlam * cedet/*: New unit tests, from CEDET repository. 2009-06-26 Chong Yidong * redisplay-testsuite.el: New file. 2009-06-21 Chong Yidong * Branch for 23.1. 2009-01-25 Ulf Jasper * icalendar-testsuite.el (icalendar-testsuite--run-function-tests): Add icalendar-testsuite--test-diarytime-to-isotime. (icalendar-testsuite--test-parse-summary-and-rest): Adjust to recent icalendar fixes. (icalendar-testsuite--test-diarytime-to-isotime): New. (icalendar-testsuite--test-create-uid): Adjust to recent icalendar changes. 2008-11-30 Shigeru Fukaya * bytecomp-testsuite.el: New file. 2008-10-31 Ulf Jasper * icalendar-testsuite.el (icalendar-testsuite--run-function-tests): Add `icalendar-testsuite--test-create-uid'. (icalendar-testsuite--test-create-uid): New. 2008-06-14 Ulf Jasper * newsticker-testsuite.el: New file. 2008-05-24 Ulf Jasper * icalendar-testsuite.el (icalendar-testsuite--run-function-tests): Add icalendar-testsuite--test-datestring-to-isodate, icalendar-testsuite--test-datetime-to-diary-date, and icalendar-testsuite--test-calendar-style. (icalendar-testsuite--test-format-ical-event): (icalendar-testsuite--test-parse-summary-and-rest): Doc fix. Remove european-calendar-style. (icalendar-testsuite--get-ical-event): Doc fix. (icalendar-testsuite--test-first-weekday-of-year): (icalendar-testsuite--run-cycle-tests): Add doc string. (icalendar-testsuite--test-datestring-to-isodate): (icalendar-testsuite--test-datetime-to-diary-date): (icalendar-testsuite--test-calendar-style): New functions. (icalendar-testsuite--test-export): Handle iso date style. New arg INPUT-ISO. Use calendar-date-style. (icalendar-testsuite--test-import): Handle iso date style. New arg EXPECTED-ISO. Use calendar-date-style. (icalendar-testsuite--test-cycle): Handle iso date style. (icalendar-testsuite--run-import-tests): (icalendar-testsuite--run-export-tests): (icalendar-testsuite--run-real-world-tests): Add iso style tests. 2008-02-29 Glenn Morris * README: New file. 2008-02-29 Ulf Jasper * icalendar-testsuite.el: New file. ;; Local Variables: ;; coding: utf-8 ;; End: Copyright (C) 2008-2013 Free Software Foundation, Inc. This file is part of GNU Emacs. GNU Emacs is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. GNU Emacs is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with GNU Emacs. If not, see .