diff options
| author | Phillip Lord | 2015-12-17 20:37:51 +0000 |
|---|---|---|
| committer | Phillip Lord | 2015-12-17 20:42:16 +0000 |
| commit | 2f55a230d7ab3d2f34f82a5e4abe3b34d4f6bc94 (patch) | |
| tree | 31160c142e549c064faff2a9c2315e0d3d3fac28 /test | |
| parent | ee85661174703b2778d45be11fb8618345b0c58d (diff) | |
| download | emacs-2f55a230d7ab3d2f34f82a5e4abe3b34d4f6bc94.tar.gz emacs-2f55a230d7ab3d2f34f82a5e4abe3b34d4f6bc94.zip | |
dired generate autoloads to non-versioned file.
* lisp/dired.el: Remove autoloads.
* lisp/Makefile.in: Add dired to autogenel.
* lisp/dired-aux.el,lisp/dired-x.el: Update file local.
* test/lisp/dired-tests.el: Add new test.
Diffstat (limited to 'test')
| -rw-r--r-- | test/lisp/dired-tests.el | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/test/lisp/dired-tests.el b/test/lisp/dired-tests.el new file mode 100644 index 00000000000..ff6c88f80e7 --- /dev/null +++ b/test/lisp/dired-tests.el | |||
| @@ -0,0 +1,35 @@ | |||
| 1 | ;;; dired-tests.el --- Test suite. -*- lexical-binding: t -*- | ||
| 2 | |||
| 3 | ;; Copyright (C) 2015 Free Software Foundation, Inc. | ||
| 4 | |||
| 5 | ;; This file is part of GNU Emacs. | ||
| 6 | |||
| 7 | ;; GNU Emacs is free software: you can redistribute it and/or modify | ||
| 8 | ;; it under the terms of the GNU General Public License as published by | ||
| 9 | ;; the Free Software Foundation, either version 3 of the License, or | ||
| 10 | ;; (at your option) any later version. | ||
| 11 | |||
| 12 | ;; GNU Emacs is distributed in the hope that it will be useful, | ||
| 13 | ;; but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 14 | ;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 15 | ;; GNU General Public License for more details. | ||
| 16 | |||
| 17 | ;; You should have received a copy of the GNU General Public License | ||
| 18 | ;; along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. | ||
| 19 | |||
| 20 | ;;; Code: | ||
| 21 | (require 'ert) | ||
| 22 | (require 'dired) | ||
| 23 | |||
| 24 | |||
| 25 | (ert-deftest dired-autoload () | ||
| 26 | "Tests to see whether dired-x has been autoloaded" | ||
| 27 | (should | ||
| 28 | (fboundp 'dired-jump)) | ||
| 29 | (should | ||
| 30 | (autoloadp | ||
| 31 | (symbol-function | ||
| 32 | 'dired-jump)))) | ||
| 33 | |||
| 34 | (provide 'dired-tests) | ||
| 35 | ;; dired-tests.el ends here | ||