diff options
| author | Glenn Morris | 2013-07-09 00:11:50 -0700 |
|---|---|---|
| committer | Glenn Morris | 2013-07-09 00:11:50 -0700 |
| commit | 771b2fc3036bbb1705ccc29bc061d18c114e30b9 (patch) | |
| tree | 8a2b964fc3f5fa033c8e82b4c7f73a36db179c82 /test | |
| parent | 4ebbdd6712c1966406b40d2673464949775cbd7a (diff) | |
| download | emacs-771b2fc3036bbb1705ccc29bc061d18c114e30b9.tar.gz emacs-771b2fc3036bbb1705ccc29bc061d18c114e30b9.zip | |
Explictly require ert in some test/automated/*.el files
* automated/add-log-tests.el, automated/advice-tests.el:
* automated/imenu-test.el, automated/python-tests.el:
* automated/ruby-mode-tests.el, automated/xml-parse-tests.el:
Explictly require ert.
Diffstat (limited to 'test')
| -rw-r--r-- | test/ChangeLog | 7 | ||||
| -rw-r--r-- | test/automated/add-log-tests.el | 1 | ||||
| -rw-r--r-- | test/automated/advice-tests.el | 2 | ||||
| -rw-r--r-- | test/automated/imenu-test.el | 1 | ||||
| -rwxr-xr-x | test/automated/package-x-test.el | 1 | ||||
| -rw-r--r-- | test/automated/python-tests.el | 1 | ||||
| -rw-r--r-- | test/automated/ruby-mode-tests.el | 1 | ||||
| -rw-r--r-- | test/automated/xml-parse-tests.el | 1 |
8 files changed, 15 insertions, 0 deletions
diff --git a/test/ChangeLog b/test/ChangeLog index 458d4df1f39..03e45d551b5 100644 --- a/test/ChangeLog +++ b/test/ChangeLog | |||
| @@ -1,3 +1,10 @@ | |||
| 1 | 2013-07-09 Glenn Morris <rgm@gnu.org> | ||
| 2 | |||
| 3 | * automated/add-log-tests.el, automated/advice-tests.el: | ||
| 4 | * automated/imenu-test.el, automated/python-tests.el: | ||
| 5 | * automated/ruby-mode-tests.el, automated/xml-parse-tests.el: | ||
| 6 | Explictly require ert. | ||
| 7 | |||
| 1 | 2013-07-08 Kenichi Handa <handa@gnu.org> | 8 | 2013-07-08 Kenichi Handa <handa@gnu.org> |
| 2 | 9 | ||
| 3 | * automated/decoder-tests.el (decoder-tests-prefer-utf-8-read): | 10 | * automated/decoder-tests.el (decoder-tests-prefer-utf-8-read): |
diff --git a/test/automated/add-log-tests.el b/test/automated/add-log-tests.el index f6e803cd317..bd073016505 100644 --- a/test/automated/add-log-tests.el +++ b/test/automated/add-log-tests.el | |||
| @@ -22,6 +22,7 @@ | |||
| 22 | 22 | ||
| 23 | ;;; Code: | 23 | ;;; Code: |
| 24 | 24 | ||
| 25 | (require 'ert) | ||
| 25 | (require 'add-log) | 26 | (require 'add-log) |
| 26 | 27 | ||
| 27 | (defmacro add-log-current-defun-deftest (name doc major-mode | 28 | (defmacro add-log-current-defun-deftest (name doc major-mode |
diff --git a/test/automated/advice-tests.el b/test/automated/advice-tests.el index 8beaea64cd9..69c15e34ed0 100644 --- a/test/automated/advice-tests.el +++ b/test/automated/advice-tests.el | |||
| @@ -21,6 +21,8 @@ | |||
| 21 | 21 | ||
| 22 | ;;; Code: | 22 | ;;; Code: |
| 23 | 23 | ||
| 24 | (require 'ert) | ||
| 25 | |||
| 24 | (ert-deftest advice-tests-nadvice () | 26 | (ert-deftest advice-tests-nadvice () |
| 25 | "Test nadvice code." | 27 | "Test nadvice code." |
| 26 | (defun sm-test1 (x) (+ x 4)) | 28 | (defun sm-test1 (x) (+ x 4)) |
diff --git a/test/automated/imenu-test.el b/test/automated/imenu-test.el index 83e19ebd914..b2b0c6b5c31 100644 --- a/test/automated/imenu-test.el +++ b/test/automated/imenu-test.el | |||
| @@ -22,6 +22,7 @@ | |||
| 22 | 22 | ||
| 23 | ;;; Code: | 23 | ;;; Code: |
| 24 | 24 | ||
| 25 | (require 'ert) | ||
| 25 | (require 'imenu) | 26 | (require 'imenu) |
| 26 | 27 | ||
| 27 | ;; (imenu-simple-scan-deftest-gather-strings-from-list | 28 | ;; (imenu-simple-scan-deftest-gather-strings-from-list |
diff --git a/test/automated/package-x-test.el b/test/automated/package-x-test.el index b8f2a23f6d5..beb18358085 100755 --- a/test/automated/package-x-test.el +++ b/test/automated/package-x-test.el | |||
| @@ -35,6 +35,7 @@ | |||
| 35 | (require 'package-x) | 35 | (require 'package-x) |
| 36 | (require 'ert) | 36 | (require 'ert) |
| 37 | (require 'cl-lib) | 37 | (require 'cl-lib) |
| 38 | (eval-when-compile (require 'package-test)) | ||
| 38 | 39 | ||
| 39 | ;; package-test is not normally in `load-path', so temporarily set | 40 | ;; package-test is not normally in `load-path', so temporarily set |
| 40 | ;; `load-path' to contain the current directory. | 41 | ;; `load-path' to contain the current directory. |
diff --git a/test/automated/python-tests.el b/test/automated/python-tests.el index 40505cc7953..c115f69be63 100644 --- a/test/automated/python-tests.el +++ b/test/automated/python-tests.el | |||
| @@ -21,6 +21,7 @@ | |||
| 21 | 21 | ||
| 22 | ;;; Code: | 22 | ;;; Code: |
| 23 | 23 | ||
| 24 | (require 'ert) | ||
| 24 | (require 'python) | 25 | (require 'python) |
| 25 | 26 | ||
| 26 | (defmacro python-tests-with-temp-buffer (contents &rest body) | 27 | (defmacro python-tests-with-temp-buffer (contents &rest body) |
diff --git a/test/automated/ruby-mode-tests.el b/test/automated/ruby-mode-tests.el index 02582e8ad2d..3295684dd12 100644 --- a/test/automated/ruby-mode-tests.el +++ b/test/automated/ruby-mode-tests.el | |||
| @@ -21,6 +21,7 @@ | |||
| 21 | 21 | ||
| 22 | ;;; Code: | 22 | ;;; Code: |
| 23 | 23 | ||
| 24 | (require 'ert) | ||
| 24 | (require 'ruby-mode) | 25 | (require 'ruby-mode) |
| 25 | 26 | ||
| 26 | (defun ruby-should-indent (content column) | 27 | (defun ruby-should-indent (content column) |
diff --git a/test/automated/xml-parse-tests.el b/test/automated/xml-parse-tests.el index 874ae01affb..9157a0d3002 100644 --- a/test/automated/xml-parse-tests.el +++ b/test/automated/xml-parse-tests.el | |||
| @@ -27,6 +27,7 @@ | |||
| 27 | 27 | ||
| 28 | ;;; Code: | 28 | ;;; Code: |
| 29 | 29 | ||
| 30 | (require 'ert) | ||
| 30 | (require 'xml) | 31 | (require 'xml) |
| 31 | 32 | ||
| 32 | (defvar xml-parse-tests--data | 33 | (defvar xml-parse-tests--data |