1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-12-22 10:26:20 +00:00
emacs/test/ChangeLog
Glenn Morris f314e84fce Revert 2013-01-31 change that decides coding system before backing up
It causes a more serious problem than the one it solves.
This closes bug#18141, and reopens bug#13522.

* lisp/files.el (basic-save-buffer-2): Revert 2013-01-31 change.

* src/fileio.c: Revert 2013-01-31 change.
(choose_write_coding_system): No longer callable from Lisp.
Move last piece back here from Fwrite_region.
(Fwrite_region, syms_of_fileio): Update for above changes.

* test/automated/data/files-bug18141.el.gz: New file.
* test/automated/files.el (files-test-bug-18141-file):
New variable and test.
2014-08-10 17:38:19 -07:00

1922 lines
64 KiB
Plaintext

2014-08-11 Glenn Morris <rgm@gnu.org>
* automated/data/files-bug18141.el.gz: New file.
* automated/files.el (files-test-bug-18141-file):
New variable and test. (Bug#18141)
2014-08-07 Glenn Morris <rgm@gnu.org>
* automated/Makefile.in (check-tar): Remove, no longer needed.
2014-08-03 Glenn Morris <rgm@gnu.org>
* automated/Makefile.in (check-tar): Add as alias for check.
2014-07-20 Fabián Ezequiel Gallina <fgallina@gnu.org>
* automated/python-tests.el:
(python-util-clone-local-variables-1): Fix test.
2014-07-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
* automated/python-tests.el (python-shell-make-comint-1):
(python-shell-make-comint-2): Fix indentation.
(python-shell-make-comint-3)
(python-shell-make-comint-4): New tests.
(python-shell-get-or-create-process-1): Fix test.
(python-shell-get-or-create-process-2)
(python-shell-get-or-create-process-3): New tests.
(python-shell-internal-get-or-create-process-1): Fix test.
(python-shell-prompt-detect-1): New test.
(python-shell-prompt-detect-2): New test. (Bug#17370)
(python-shell-prompt-detect-3)
(python-shell-prompt-detect-4)
(python-shell-prompt-detect-5)
(python-shell-prompt-detect-6)
(python-shell-prompt-validate-regexps-1)
(python-shell-prompt-validate-regexps-2)
(python-shell-prompt-validate-regexps-3)
(python-shell-prompt-validate-regexps-4)
(python-shell-prompt-validate-regexps-5)
(python-shell-prompt-validate-regexps-6)
(python-shell-prompt-validate-regexps-7)
(python-shell-prompt-set-calculated-regexps-1)
(python-shell-prompt-set-calculated-regexps-2)
(python-shell-prompt-set-calculated-regexps-3)
(python-shell-prompt-set-calculated-regexps-4)
(python-shell-prompt-set-calculated-regexps-5)
(python-shell-prompt-set-calculated-regexps-6)
(python-util-valid-regexp-p-1): New tests.
2014-07-09 Fabián Ezequiel Gallina <fgallina@gnu.org>
* automated/python-tests.el
(python-indent-block-enders-1)
(python-indent-block-enders-2): Fix tests.
(python-indent-block-enders-3)
(python-indent-block-enders-4)
(python-indent-block-enders-5)
(python-indent-dedenters-1)
(python-indent-dedenters-2): Remove tests.
(python-indent-dedenters-1)
(python-indent-dedenters-2)
(python-indent-dedenters-3)
(python-indent-dedenters-4)
(python-indent-dedenters-5)
(python-indent-dedenters-6)
(python-indent-dedenters-7)
(python-info-dedenter-opening-block-position-1)
(python-info-dedenter-opening-block-position-2)
(python-info-dedenter-opening-block-position-3)
(python-info-dedenter-opening-block-positions-1)
(python-info-dedenter-opening-block-positions-2)
(python-info-dedenter-opening-block-positions-3)
(python-info-dedenter-opening-block-positions-4)
(python-info-dedenter-opening-block-positions-5)
(python-info-dedenter-opening-block-message-1)
(python-info-dedenter-opening-block-message-2)
(python-info-dedenter-opening-block-message-3)
(python-info-dedenter-opening-block-message-4)
(python-info-dedenter-opening-block-message-5)
(python-info-dedenter-statement-p-1)
(python-info-dedenter-statement-p-2)
(python-info-dedenter-statement-p-3)
(python-info-dedenter-statement-p-4)
(python-info-dedenter-statement-p-5): New tests.
2014-07-01 Fabián Ezequiel Gallina <fgallina@gnu.org>
* automated/python-tests.el
(python-tests-self-insert): New function.
(python-triple-quote-pairing): Use it.
(python-parens-electric-indent-1): New test. (Bug#17658)
2014-06-28 Leo Liu <sdl.web@gmail.com>
* automated/calc-tests.el: New file and add tests for math-bignum.
(Bug#17556)
2014-06-27 Michael Albinus <michael.albinus@gmx.de>
* automated/dbus-tests.el (dbus--test-register-service)
(dbus-test02-register-service-session): Replace `dbus-ping' calls
by `dbus-list-known-names'. (Bug#17858)
2014-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
* automated/package-test.el (package-test-update-listing)
(package-test-update-archives, package-test-describe-package):
Adjust tests according to new package-list-unsigned.
2014-06-21 Fabián Ezequiel Gallina <fgallina@gnu.org>
* automated/python-tests.el (python-util-strip-string-1): New test.
2014-05-08 Glenn Morris <rgm@gnu.org>
* automated/vc-bzr.el (vc-bzr-test-bug9726, vc-bzr-test-bug9781)
(vc-bzr-test-faulty-bzr-autoloads):
Give bzr a temporary home-directory, in case the real one is missing.
2014-05-05 Dmitry Gutov <dgutov@yandex.ru>
* automated/ruby-mode-tests.el
(ruby-interpolation-after-dollar-sign): New test.
2014-05-05 Glenn Morris <rgm@gnu.org>
* automated/help-fns.el: New file.
2014-04-25 Michael Albinus <michael.albinus@gmx.de>
* automated/tramp-tests.el (top):
* automated/file-notify-tests.el (top): Do not disable interactive
passwords in batch mode.
(password-cache-expiry): Set to nil.
2014-04-24 Michael Albinus <michael.albinus@gmx.de>
* automated/file-notify-tests.el
(file-notify-test-remote-temporary-file-directory):
* automated/tramp-tests.el (tramp-test-temporary-file-directory):
Use a mock-up method as default.
(tramp-test00-availability): Print the used directory name.
(tramp-test33-recursive-load): Fix typo.
2014-04-22 Michael Albinus <michael.albinus@gmx.de>
* automated/tramp-tests.el (tramp--test-check-files): Remove traces.
(tramp-test30-special-characters): Remove test for backslash.
2014-04-20 Michael Albinus <michael.albinus@gmx.de>
* automated/tramp-tests.el
(tramp-test19-directory-files-and-attributes)
(tramp-test22-file-times): Check for `file-attributes' equality
only if there is a usable timestamp.
(tramp--test-check-files): Do not use `copy-sequence'.
2014-04-19 Michael Albinus <michael.albinus@gmx.de>
* automated/tramp-tests.el (tramp--test-check-files): Extend test.
(tramp-test31-utf8): Let-bind also `file-name-coding-system'.
2014-04-18 Michael Albinus <michael.albinus@gmx.de>
* automated/tramp-tests.el (tramp-copy-size-limit): Set to nil.
(tramp--test-make-temp-name): Optional argument LOCAL.
(tramp--instrument-test-case): Show messages. Catch also `quit'.
(tramp-test10-write-region): No special test for out-of-band copy
needed anymore.
(tramp-test11-copy-file, tramp-test12-rename-file)
(tramp-test21-file-links): Extend tests.
(tramp-test20-file-modes): More robust check for user "root".
(tramp--test-check-files): New defun.
(tramp-test30-special-characters, tramp-test33-recursive-load)
(tramp-test34-unload): New tests.
(tramp-test31-utf8, tramp-test32-asynchronous-requests): Rename.
2014-04-10 Paul Eggert <eggert@cs.ucla.edu>
* automated/electric-tests.el: Fix spelling error in test name.
(whitespace-skipping-for-quotes-not-outside):
Rename from whitespace-skipping-for-quotes-not-ouside.
2014-04-09 Glenn Morris <rgm@gnu.org>
* automated/python-tests.el (python-triple-quote-pairing):
Enable/disable electric-pair-mode as needed.
* automated/electric-tests.el (electric-pair-backspace-1):
Replace deleted function.
2014-04-07 João Távora <joaotavora@gmail.com>
* automated/electric-tests.el (define-electric-pair-test):
Don't overtest.
(inhibit-in-mismatched-string-inside-ruby-comments): New test.
(inhibit-in-mismatched-string-inside-c-comments): New test.
* automated/electric-tests.el (inhibit-if-strings-mismatched):
New test, change from `inhibit-only-of-next-is-mismatched'.
2014-04-06 João Távora <joaotavora@gmail.com>
* automated/python-tests.el (python-triple-quote-pairing): New test.
(python-syntax-after-python-backspace): New test.
* automated/electric-tests.el (electric-pair-define-test-form):
More readable test docstrings.
(whitespace-skipping-for-quotes-not-ouside)
(whitespace-skipping-for-quotes-only-inside)
(whitespace-skipping-quotes-not-without-proper-syntax): New tests.
2014-03-24 Barry O'Reilly <gundaetiapo@gmail.com>
* automated/undo-tests.el (undo-test-marker-adjustment-nominal):
(undo-test-region-t-marker): New tests of marker adjustments.
(undo-test-marker-adjustment-moved):
(undo-test-region-mark-adjustment): New tests to demonstrate
bug#16818, which fail without the fix.
2014-03-23 Daniel Colascione <dancol@dancol.org>
* automated/cl-lib.el (cl-lib-keyword-names-versus-values): New
test: correct parsing of keyword arguments.
2014-03-23 Dmitry Gutov <dgutov@yandex.ru>
* automated/package-test.el (package-test-describe-package):
Fix test failure in non-graphical mode.
2014-03-22 Dmitry Gutov <dgutov@yandex.ru>
* automated/package-test.el (package-test-describe-package):
Check for the "Keywords: " line.
* automated/data/package/archive-contents: Include the :keywords
field in `simple-single' data form.
2014-03-21 Dmitry Gutov <dgutov@yandex.ru>
* automated/package-test.el
(package-test-install-two-dependencies): New test (bug#16826).
* automated/data/package/simple-two-depend-1.1.el: New file.
* automated/data/package/archive-contents:
Add info about the new package.
2014-03-07 Michael Albinus <michael.albinus@gmx.de>
* automated/tramp-tests.el (tramp-copy-size-limit): Declare.
(tramp-test10-write-region): Extend for out-of-band copy.
(tramp-test31-asynchronous-requests): New test.
2014-03-02 Barry O'Reilly <gundaetiapo@gmail.com>
* automated/undo-tests.el (undo-test-in-region-not-most-recent):
Add new test of undo in region.
(undo-test-in-region-eob): Add test case described at
http://debbugs.gnu.org/cgi/bugreport.cgi?bug=16411
2014-02-28 Michael Albinus <michael.albinus@gmx.de>
* automated/tramp-tests.el (tramp--test-enabled)
(tramp-test15-copy-directory): No special handling of tramp-adb.el
anymore. It's fixed in that package.
2014-02-27 Michael Albinus <michael.albinus@gmx.de>
* automated/tramp-tests.el (tramp--test-enabled): Move connection
cleanup into this function. Remove respective code from all test
cases.
(tramp--instrument-test-case): Declare `indent' and `debug'.
Handle other errors as well.
(tramp-test14-delete-directory): Check for `file-error' error.
(tramp-test15-copy-directory): Ignore return value of
`copy-directory'. It's too much hassle to handle it for tramp-adb.el.
(tramp-test19-directory-files-and-attributes): Take care of
timestamp of "../".
(tramp-test20-file-modes, tramp-test27-start-file-process)
(tramp-test28-shell-command): Skip for tramp-adb.el.
(tramp-test21-file-links): `file-truename' shall preserve trailing
link of directories.
(tramp-test22-file-times): Skip if `set-file-times' returns nil.
(tramp-test26-process-file, tramp-test28-shell-command): Let-bind
`kill-buffer-query-functions' to nil.
(tramp-test28-shell-command): Run `async-shell-command' with timeouts.
2014-02-21 Michael Albinus <michael.albinus@gmx.de>
* automated/tramp-tests.el
(tramp-test19-directory-files-and-attributes): Do not include
directories in comparison; they might have changed their
timestamps already.
2014-02-20 Michael Albinus <michael.albinus@gmx.de>
* automated/tramp-tests.el (tramp--instrument-test-case): New macro.
(tramp-test17-insert-directory): First line could contain more
text, when produced by `ls-lisp'.
(tramp-test19-directory-files-and-attributes): Instrument failed
test case.
2014-02-19 Michael Albinus <michael.albinus@gmx.de>
* automated/tramp-tests.el (tramp-test17-insert-directory):
Make first line "total 123" optional.
(tramp-test20-file-modes, tramp-test22-file-times)
(tramp-test26-process-file, tramp-test27-start-file-process)
(tramp-test28-shell-command): Skip for tramp-gvfs.el and
tramp-smb.el.
(tramp-test20-file-modes): Check for "root" only when there is an
explicit user name.
(tramp-test21-file-links): Handle "... not supported" error.
(tramp-test22-file-times): Skip for "don't know" return values.
(tramp-test26-process-file, tramp-test28-shell-command):
Remove color escape sequences.
(tramp-test28-shell-command): Use `accept-process-output' rather
than `sit-for'.
(tramp-test30-utf8): Set coding system `utf-8'.
2014-02-17 Michael Albinus <michael.albinus@gmx.de>
* automated/tramp-tests.el (tramp-test28-shell-command): Perform
an initial `sit-for' prior the while loop.
2014-02-16 Michael Albinus <michael.albinus@gmx.de>
Sync with Tramp 2.2.9.
* automated/tramp-tests.el (password-cache-expiry): Set to nil.
(tramp-test28-shell-command): Make a while loop when waiting for
process exit.
2014-02-11 Michael Albinus <michael.albinus@gmx.de>
* automated/tramp-tests.el (top): Require `vc', `vc-bzr', `vc-git'
and `vc-hg'. Declare `tramp-find-executable' and
`tramp-get-remote-path'.
(tramp-test29-vc-registered): New test.
(tramp-test30-utf8): Rename from `tramp-test29-utf8'.
2014-02-07 Michael Albinus <michael.albinus@gmx.de>
* automated/tramp-tests.el (tramp-test26-process-file): Improve test.
(tramp-test27-start-file-process): Use "_p" as argument of lambda.
(tramp-test28-shell-command): Improve `shell-command' test. Add
`async-shell-command' tests.
2014-02-04 Michael Albinus <michael.albinus@gmx.de>
* automated/file-notify-tests.el (file-notify--wait-for-events):
Use `read-event' instead of `sit-for'.
(file-notify-test02-events): Remove expected result, the bug is
fixed meanwhile.
(file-notify-test02-events, file-notify-test03-autorevert):
Use `sleep-for' instead of `sit-for'.
2014-01-31 Dmitry Gutov <dgutov@yandex.ru>
* automated/ruby-mode-tests.el (ruby-align-chained-calls):
New test.
2014-01-27 Michael Albinus <michael.albinus@gmx.de>
* automated/file-notify-tests.el (file-notify--deftest-remote):
Do not skip when the local test has failed. They are unrelated.
(file-notify--wait-for-events): Use `sit-for'. Let-bind
`noninteractive' to nil, otherwise `sit-for' could be degraded to
`sleep-for'.
(file-notify-test02-events): Check for `file-remote-p' instead of
`file-notify--test-remote-enabled'.
2014-01-26 Michael Albinus <michael.albinus@gmx.de>
* automated/file-notify-tests.el (file-notify-test02-events):
Let test case fail for Bug#16519.
2014-01-22 Michael Albinus <michael.albinus@gmx.de>
* automated/file-notify-tests.el (file-notify-test02-events):
Hide Bug#16519, until it is solved.
2014-01-21 Michael Albinus <michael.albinus@gmx.de>
* automated/file-notify-tests.el
(file-notify--test-local-enabled): Fix error in logic.
(file-notify--wait-for-events): New defmacro.
(file-notify-test02-events): Make short breaks between file operations.
Use `file-notify--wait-for-events'. Check, that events have arrived.
(file-notify-test03-autorevert): Use `file-notify--wait-for-events'.
* automated/comint-testsuite.el
(comint-testsuite-password-strings): Add localized examples.
2014-01-17 Michael Albinus <michael.albinus@gmx.de>
* automated/inotify-test.el (inotify-file-watch-simple): Skip test
case if inotify is not linked with Emacs. Use `read-event' rather
than `sit-for' in order to process events. (Bug#13662)
2014-01-13 Michael Albinus <michael.albinus@gmx.de>
* automated/ert-tests.el (ert-test-record-backtrace): Reenable
test case with adapted test string. (Bug#13064)
2013-12-28 Glenn Morris <rgm@gnu.org>
* automated/electric-tests.el: Require 'elec-pair.
2013-12-26 João Távora <joaotavora@gmail.com>
* 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 <fgallina@gnu.org>
* 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 <dgutov@yandex.ru>
* 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 <dgutov@yandex.ru>
* indent/ruby.rb: Update examples according to the change
in `smie-indent-close'.
2013-12-14 Dmitry Gutov <dgutov@yandex.ru>
* indent/ruby.rb: New examples.
2013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
* automated/python-tests.el (python-indent-dedenters-2): New test.
2013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
* automated/python-tests.el (python-indent-after-comment-1)
(python-indent-after-comment-2): New tests.
2013-12-12 Nathan Trapuzzano <nbtrap@nbtrap.com>
* automated/python-tests.el (python-indent-block-enders-1):
Rename from python-indent-block-enders.
(python-indent-block-enders-2): New test.
2013-12-08 Dmitry Gutov <dgutov@yandex.ru>
* indent/js.js: New file.
2013-12-05 Michael Albinus <michael.albinus@gmx.de>
* automated/dbus-tests.el: New file.
2013-12-05 Stefan Monnier <monnier@iro.umontreal.ca>
* automated/regexp-tests.el: New file.
2013-11-29 Eli Zaretskii <eliz@gnu.org>
* 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 <rgm@gnu.org>
* automated/Makefile.in (SEPCHAR): Use in place of PATH_SEP.
2013-11-28 Eli Zaretskii <eliz@gnu.org>
* automated/Makefile.in (PATH_SEP): Set this instead of PATH_SEPARATOR.
(EMACSOPT): Use $(PATH_SEP).
2013-11-28 Michael Albinus <michael.albinus@gmx.de>
* automated/file-notify-tests.el (auto-revert-stop-on-user-input):
Set to nil.
2013-11-27 Michael Albinus <michael.albinus@gmx.de>
* 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 <rgm@gnu.org>
* 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 <rgm@gnu.org>
* automated/ruby-mode-tests.el (ruby-exit!-font-lock):
Set expected-result.
2013-11-21 Glenn Morris <rgm@gnu.org>
* 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 <bozhidar@batsov.com>
* automated/ruby-mode-tests.el (ruby-exit!-font-lock):
Add a failing test for Bug#15874.
(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 <eggert@cs.ucla.edu>
Improve API of recently-added bool vector functions (Bug#15912).
* automated/data-tests.el: Adjust to API changes.
2013-11-16 Michael Albinus <michael.albinus@gmx.de>
* 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 <michael.albinus@gmx.de>
* automated/tramp-tests.el (tramp-test29-utf8): Cleanup the
connection before running the test.
2013-11-15 Michael Albinus <michael.albinus@gmx.de>
* 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 <michael.albinus@gmx.de>
* 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 <michael.albinus@gmx.de>
* 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 <michael.albinus@gmx.de>
* 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 <eller.helmut@gmail.com>
* automated/process-tests.el: New file.
2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
* indent/ruby.rb: New examples.
2013-11-06 Glenn Morris <rgm@gnu.org>
* automated/Makefile.in (setwins): Avoid accidental matches.
2013-11-06 Michael Albinus <michael.albinus@gmx.de>
* automated/tramp-tests.el (tramp-test07-file-exists-p):
Fix docstring. Instrument, in order to hunt failure on hydra.
2013-11-06 Glenn Morris <rgm@gnu.org>
* 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 <michael.albinus@gmx.de>
* automated/tramp-tests.el: New file.
2013-11-05 Glenn Morris <rgm@gnu.org>
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 <dgutov@yandex.ru>
* 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 <rgm@gnu.org>
* 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 <rgm@gnu.org>
* 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 <michael.albinus@gmx.de>
* automated/ert-tests.el (ert-test-stats-set-test-and-result):
Add a skipping test.
2013-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
* indent/prolog.prolog: Test alignment of ->; with operator at bol.
* indent/css-mode.css (.x2): Test alignement inside braces.
2013-10-26 Dmitry Gutov <dgutov@yandex.ru>
* 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 <michael.albinus@gmx.de>
* 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 <dgutov@yandex.ru>
* indent/ruby.rb: Fix syntax error in the latest example.
2013-10-23 Glenn Morris <rgm@gnu.org>
* 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 <dgutov@yandex.ru>
* indent/ruby.rb: Move two examples to "working" section, add one
more.
2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
* 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 <gundaetiapo@gmail.com>
* automated/timer-tests.el: New file. Tests that (sit-for 0)
allows another timer to run.
2013-10-14 Dmitry Gutov <dgutov@yandex.ru>
* indent/ruby.rb: More examples for bug#15594, both failing and
now passing.
2013-10-11 Dmitry Gutov <dgutov@yandex.ru>
* indent/ruby.rb: Add two more cases.
2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
* 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 <dgutov@yandex.ru>
* indent/ruby.rb: Fix a spurious change, add more failing examples.
2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
* indent/ruby.rb: Add a few more tests; adjust some indentation.
2013-10-06 Dmitry Gutov <dgutov@yandex.ru>
* 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 <monnier@iro.umontreal.ca>
* 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 <monnier@iro.umontreal.ca>
* automated/completion-tests.el:
* indent/css-mode.css: New files.
2013-10-03 Daiki Ueno <ueno@gnu.org>
* 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 <dgutov@yandex.ru>
* 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 <dgutov@yandex.ru>
* 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 <dancol@dancol.org>
* automated/data-tests.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 <rct@thompsonclan.org> (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 <rgm@gnu.org>
* 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 <rgm@gnu.org>
* 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 <rgm@gnu.org>
* 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 <rgm@gnu.org>
* 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 <monnier@iro.umontreal.ca>
* 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 <rgm@gnu.org>
* 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 <eggert@cs.ucla.edu>
* automated/Makefile.in (SHELL): Now @SHELL@, not /bin/sh,
for portability to hosts where /bin/sh has problems.
2013-08-21 David Engster <deng@randomsample.de>
* 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 <dan@haxney.org>
* automated/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 <fgallina@gnu.org>
* automated/python-tests.el (python-imenu-create-index-4)
(python-imenu-create-flat-index-2): New tests.
2013-08-05 Glenn Morris <rgm@gnu.org>
* automated/mule-util.el: New file, with tests extracted from
lisp/international/mule-util.el.
2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
* automated/advice-tests.el (advice-tests-nadvice): Test removal
before definition.
(advice-tests-macroaliases): New test.
2013-08-04 Glenn Morris <rgm@gnu.org>
* 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 <rgm@gnu.org>
* 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 <monnier@iro.umontreal.ca>
* automated/core-elisp-tests.el: New file.
2013-08-01 Glenn Morris <rgm@gnu.org>
* 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 <rgm@gnu.org>
* automated/undo-tests.el (undo-test2, undo-test5): Be quieter.
2013-07-24 Michael Albinus <michael.albinus@gmx.de>
* automated/file-notify-tests.el
(file-notify--test-local-enabled): New defconst. Replaces all
`file-notify-support' occurrences.
(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 <rgm@gnu.org>
* automated/inotify-test.el (inotify-file-watch-simple):
Delete temp-file when done.
* automated/subword-tests.el: Require subword.
2013-07-22 Stefan Monnier <monnier@iro.umontreal.ca>
* automated/subword-tests.el: New file.
2013-07-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
* automated/python-tests.el (python-imenu-create-index-2)
(python-imenu-create-index-3): New tests.
2013-07-11 Glenn Morris <rgm@gnu.org>
* 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 <michael.albinus@gmx.de>
* 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 <rgm@gnu.org>
* 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 <handa@gnu.org>
* 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 <michael.albinus@gmx.de>
* 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 <michael.albinus@gmx.de>
* automated/file-notify-tests.el: New package.
2013-06-28 Kenichi Handa <handa@gnu.org>
* 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 <dgutov@yandex.ru>
* 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 <dan@haxney.org>
* 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 <rgm@gnu.org>
* 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 <rgm@gnu.org>
* automated/info-xref.el: New file.
2013-06-25 Glenn Morris <rgm@gnu.org>
* 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 <rgm@gnu.org>
* automated/occur-tests.el (occur-tests):
Update for 2013-05-29 change to occur header line.
2013-06-21 Eduard Wiebe <usenet@pusto.de>
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 <ruediger@c-plusplus.de>
* automated/reftex-tests.el (reftex-parse-from-file-test): Fix test.
2013-06-12 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
* automated/reftex-tests.el: New test suite for reftex.
2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
* automated/ruby-mode-tests.el: New tests, for percent literals
and expression expansion.
2013-05-29 Leo Liu <sdl.web@gmail.com>
* indent/octave.m: Tweak.
2013-05-26 Aidan Gauland <aidalgol@amuri.net>
* eshell.el: Rewrite tests using ERT.
2013-05-25 Leo Liu <sdl.web@gmail.com>
* indent/octave.m: Add tests for %!, # and ### comments.
2013-05-23 Kenichi Handa <handa@gnu.org>
* automated/decoder-tests.el: New file.
2013-05-19 Dmitry Gutov <dgutov@yandex.ru>
* 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 <monnier@iro.umontreal.ca>
* indent/ruby.rb: Fix indentation after =; add more cases.
2013-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
* indent/pascal.pas: Add test for mis-identified comments.
2013-04-01 Masatake YAMATO <yamato@redhat.com>
* automated/imenu-test.el: New file. (Bug#14112)
2013-04-19 Fabián Ezequiel Gallina <fgallina@gnu.org>
* 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 <fgallina@gnu.org>
* 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 <fgallina@gnu.org>
* automated/python-tests.el (python-nav-backward-defun-1)
(python-nav-forward-defun-1): New tests.
2013-04-09 Masatake YAMATO <yamato@redhat.com>
* automated/add-log-tests.el: New file. (Bug#14112)
2013-03-30 Fabián Ezequiel Gallina <fabian@anue.biz>
* automated/python-tests.el (python-indent-block-enders): New test.
(python-info-current-defun-2): Fix test.
2013-03-05 Paul Eggert <eggert@cs.ucla.edu>
* indent/octave.m: Fix encoding error in comment. Add coding tag.
2013-02-28 Fabián Ezequiel Gallina <fgallina@cuca>
* 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 <fgallina@cuca>
* automated/python-tests.el: New file.
2013-02-14 Dmitry Gutov <dgutov@yandex.ru>
* 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 <dgutov@yandex.ru>
* automated/ruby-mode-tests.el
(ruby-move-to-block-skips-percent-literal): New test.
2013-02-04 Chong Yidong <cyd@gnu.org>
* automated/thingatpt.el: New file.
2013-02-03 Chong Yidong <cyd@gnu.org>
* automated/files.el (file-test--do-local-variables-test):
Avoid compilation warning message.
2013-01-27 Dmitry Gutov <dgutov@yandex.ru>
* 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 <monnier@iro.umontreal.ca>
* automated/advice-tests.el: Split up. Add advice-test-preactivate.
2013-01-14 Glenn Morris <rgm@gnu.org>
* automated/compile-tests.el (compile-tests--test-regexps-data):
Fix interpretation of gnu line.col1-col2 format. (Bug#13335)
2013-01-10 Wolfgang Jenkner <wjenkner@inode.at>
* automated/man-tests.el: New file.
2013-01-09 Aaron S. Hawley <aaron.s.hawley@gmail.com>
* automated/undo-tests.el (undo-test0): Adjust error to code change.
2013-01-08 Aaron S. Hawley <aaron.s.hawley@gmail.com>
* automated/undo-tests.el: New file.
2012-12-27 Dmitry Gutov <dgutov@yandex.ru>
* automated/ruby-mode-tests.el
(ruby-indent-after-block-in-continued-expression): New test.
2012-12-14 Dmitry Gutov <dgutov@yandex.ru>
* 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 <rgm@gnu.org>
* automated/f90.el (f90-test-bug13138): New test.
2012-12-10 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
* automated/inotify-test.el: New test.
2012-12-02 Chong Yidong <cyd@gnu.org>
* 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 <monnier@iro.umontreal.ca>
* 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 <monnier@iro.umontreal.ca>
* automated/ert-x-tests.el: Use cl-lib.
* automated/ert-tests.el: Use lexical-binding and cl-lib.
2012-11-14 Dmitry Gutov <dgutov@yandex.ru>
* 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 <dgutov@yandex.ru>
* 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 <monnier@iro.umontreal.ca>
* automated/advice-tests.el: New tests.
2012-10-14 Eli Zaretskii <eliz@gnu.org>
* automated/compile-tests.el (compile-tests--test-regexps-data):
Add new data for msft's new format.
2012-09-08 Dmitry Gutov <dgutov@yandex.ru>
* 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 <dgutov@yandex.ru>
* automated/ruby-mode-tests.el: New tests (Bug#11613).
2012-08-28 Chong Yidong <cyd@gnu.org>
* automated/files.el: Test every combination of values for
enable-local-variables and enable-local-eval.
2012-08-19 Chong Yidong <cyd@gnu.org>
* redisplay-testsuite.el (test-redisplay): Use switch-to-buffer.
2012-08-18 Chong Yidong <cyd@gnu.org>
* redisplay-testsuite.el (test-redisplay-4): New test (Bug#3874).
2012-08-14 Dmitry Gutov <dgutov@yandex.ru>
* indent/ruby.rb: Rearrange examples, add new ones.
2012-08-12 Dmitry Gutov <dgutov@yandex.ru>
* 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 <rgm@gnu.org>
* automated/files.el: New file.
* automated/Makefile.in (all): Fix typo.
2012-08-10 Dmitry Gutov <dgutov@yandex.ru>
* 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 <nobu@ruby-lang.org>
Original tests in test_ruby_mode.rb in upstream (author).
2012-08-09 Dmitry Gutov <dgutov@yandex.ru>
* automated/ruby-mode-tests.el (ruby-should-indent)
(ruby-assert-state): New functions.
Add new tests.
2012-07-29 David Engster <deng@randomsample.de>
* 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 <juri@jurta.org>
* automated/occur-tests.el (occur-test-case): Use predefined
buffer name " *test-occur*" instead of a random buffer name.
2012-07-20 Dmitry Gutov <dgutov@yandex.ru>
* automated/ruby-mode-tests.el: New file with one test.
2012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
* indent/shell.sh: Add test case for ${#VAR}.
* indent/latex-mode.tex: New file.
2012-07-11 Stefan Monnier <monnier@iro.umontreal.ca>
* eshell.el: Use cl-lib.
2012-07-03 Chong Yidong <cyd@gnu.org>
* automated/xml-parse-tests.el (xml-parse-tests--bad-data): New.
2012-07-02 Chong Yidong <cyd@gnu.org>
* automated/xml-parse-tests.el (xml-parse-tests--data):
More testcases.
2012-07-01 Chong Yidong <cyd@gnu.org>
* automated/xml-parse-tests.el: New file.
2012-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
* automated/ert-x-tests.el (ert-test-run-tests-interactively-2):
Use cl-flet.
2012-06-08 Ulf Jasper <ulf.jasper@web.de>
* 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 <ulf.jasper@web.de>
* 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 <rgm@gnu.org>
* automated/Makefile.in (setwins): Scrap superfluous subshell.
2012-05-15 Teodor Zlatanov <tzz@lifelogs.com>
* 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 <monnier@iro.umontreal.ca>
* indent/shell.sh:
* indent/shell.rc: Ad some test cases.
2012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
* indent/ruby.rb: New file, to test new syntax-propertize code.
2012-04-11 Glenn Morris <rgm@gnu.org>
* automated/vc-bzr.el (vc-bzr-test-faulty-bzr-autoloads): New test.
2012-02-13 Teodor Zlatanov <tzz@lifelogs.com>
* automated/url-future-tests.el (url-future-tests): Move from
lisp/url/url-future.el and rename.
2012-01-29 Ulf Jasper <ulf.jasper@web.de>
* automated/icalendar-tests.el (icalendar-import-non-recurring):
Fix broken test, caused by missing trailing blank.
2011-12-03 Chong Yidong <cyd@gnu.org>
* 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 <rgm@gnu.org>
* rmailmm.el: New file, split from lisp/mail/rmailmm.el.
2011-11-20 Juanma Barranquero <lekktu@gmail.com>
* cedet/semantic-utest-c.el (semantic-utest-c-comparisons): Fix typo.
2011-11-16 Juanma Barranquero <lekktu@gmail.com>
* 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 <ulf.jasper@web.de>
* automated/newsticker-tests.el
(newsticker--group-manage-orphan-feeds): Remove fsetting of
newsticker--treeview-tree-update.
2011-10-29 Ulf Jasper <ulf.jasper@web.de>
* automated/newsticker-tests.el
(newsticker--group-manage-orphan-feeds): Use fset instead of flet.
* automated/newsticker-tests.el
(newsticker--group-manage-orphan-feeds): Prevent updating
newsticker treeview. Fixed bug#9763.
2011-10-20 Glenn Morris <rgm@gnu.org>
* automated/vc-bzr.el (vc-bzr-test-bug9781): New test.
* automated/vc-bzr.el: New file.
2011-10-15 Glenn Morris <rgm@gnu.org>
* automated/f90.el: New file.
2011-09-27 Ulf Jasper <ulf.jasper@web.de>
* automated/newsticker-tests.el: Move newsticker-testsuite.el
to automated/newsticker-tests.el. Convert to ERT.
2011-07-26 Ulf Jasper <ulf.jasper@web.de>
* 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 <tzz@lifelogs.com>
* automated/gnus-tests.el: Add wrapper for Gnus tests.
Require CL.
2011-05-09 Juri Linkov <juri@jurta.org>
* automated/occur-tests.el: Move from test/occur-testsuite.el.
Convert to ERT.
2011-05-09 Chong Yidong <cyd@stupidchicken.com>
* automated/compile-tests.el: New file.
2011-05-08 Chong Yidong <cyd@stupidchicken.com>
* automated/font-parse-tests.el: Don't byte-compile.
* automated/comint-testsuite.el: Move from test/. Convert to ERT.
2011-03-10 Stefan Monnier <monnier@iro.umontreal.ca>
* automated/lexbind-tests.el: New file.
2011-03-07 Chong Yidong <cyd@stupidchicken.com>
* Version 23.3 released.
2011-03-05 Glenn Morris <rgm@gnu.org>
* eshell.el: Move here from lisp/eshell/esh-test.el.
2011-03-03 Christian Ohler <ohler@gnu.org>
* automated/ert-tests.el (ert-test-explain-not-equal-keymaps):
New test.
2011-02-20 Ulf Jasper <ulf.jasper@web.de>
* automated/icalendar-tests.el: Move from icalendar-testsuite.el;
convert to ERT format.
2011-02-14 Chong Yidong <cyd@stupidchicken.com>
* automated/bytecomp-tests.el: Move from bytecomp-testsuite.el;
convert to ERT format.
2011-02-09 Stefan Monnier <monnier@iro.umontreal.ca>
* indent/shell.sh:
* indent/shell.rc: New files.
2011-01-27 Chong Yidong <cyd@stupidchicken.com>
* automated/font-parse-tests.el: Move from
font-parse-testsuite.el.
2011-01-26 Chong Yidong <cyd@stupidchicken.com>
* font-parse-testsuite.el (test-font-parse-data): New file.
2011-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
* indent/prolog.prolog: Add tokenizing tests.
2011-01-13 Christian Ohler <ohler@gnu.org>
* 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 <monnier@iro.umontreal.ca>
* indent/modula2.mod: New file.
2010-10-27 Stefan Monnier <monnier@iro.umontreal.ca>
* indent/octave.m: Add a test to ensure indentation is local.
2010-10-23 Glenn Morris <rgm@gnu.org>
* comint-testsuite.el
(comint-testsuite--test-comint-password-prompt-regexp):
Add "Please enter the password". (Bug#7224)
2010-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
* indent/prolog.prolog: Use normal spacing around !.
2010-09-18 Stefan Monnier <monnier@iro.umontreal.ca>
* indent/octave.m: Remove one more `fixindent'. Use `end'.
2010-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
* indent/octave.m: Remove some `fixindent' not needed any more.
2010-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
* indent/octave.m: New file.
2010-08-08 Ulf Jasper <ulf.jasper@web.de>
* 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 <cyd@stupidchicken.com>
* redisplay-testsuite.el (test-redisplay-3): New test.
2010-06-11 Chong Yidong <cyd@stupidchicken.com>
* comint-testsuite.el: New file.
2010-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
* indent: New dir.
2010-05-07 Chong Yidong <cyd@stupidchicken.com>
* Version 23.2 released.
2010-03-29 Chong Yidong <cyd@stupidchicken.com>
* 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 <juri@jurta.org>
* occur-testsuite.el (occur-tests): Add tests for context lines.
2010-03-23 Juri Linkov <juri@jurta.org>
* occur-testsuite.el: New file.
2010-03-10 Chong Yidong <cyd@stupidchicken.com>
* Branch for 23.2.
2010-02-19 Ulf Jasper <ulf.jasper@web.de>
* 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 <lekktu@gmail.com>
* 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 <lekktu@gmail.com>
* 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 <ulf.jasper@web.de>
* 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 <rgm@gnu.org>
* cedet/semantic-utest-c.el: Relicense under GPLv3+.
2009-06-26 Eric Ludlam <zappo@gnu.org>
* cedet/*: New unit tests, from CEDET repository.
2009-06-26 Chong Yidong <cyd@stupidchicken.com>
* redisplay-testsuite.el: New file.
2009-06-21 Chong Yidong <cyd@stupidchicken.com>
* Branch for 23.1.
2009-01-25 Ulf Jasper <ulf.jasper@web.de>
* 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 <shigeru.fukaya@gmail.com>
* bytecomp-testsuite.el: New file.
2008-10-31 Ulf Jasper <ulf.jasper@web.de>
* 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 <ulf.jasper@web.de>
* newsticker-testsuite.el: New file.
2008-05-24 Ulf Jasper <ulf.jasper@web.de>
* 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 <rgm@gnu.org>
* README: New file.
2008-02-29 Ulf Jasper <ulf.jasper@web.de>
* icalendar-testsuite.el: New file.
;; Local Variables:
;; coding: utf-8
;; End:
Copyright (C) 2008-2014 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 <http://www.gnu.org/licenses/>.