aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorPhillip Lord2015-12-16 23:15:44 +0000
committerPhillip Lord2015-12-17 20:42:15 +0000
commit459cf7cb92445e9336d649f128ec1af274e3f5a1 (patch)
tree656861d960a6790e37d72ba0b2a08781f7dc6dc2 /test
parenta014779ffa16a0d5b03b808d73a9421777a05e5c (diff)
downloademacs-459cf7cb92445e9336d649f128ec1af274e3f5a1.tar.gz
emacs-459cf7cb92445e9336d649f128ec1af274e3f5a1.zip
htmlfontify generate autoload to non-versioned file.
* lisp/Makefile.in: Add htmlfontity-loaddefs to autogenel. * lisp/hfy-cmap.el: Update file local. * lisp/htmlfontify.el: Remove autoloads, add require. * test/lisp/htmlfontify-tests.el: Test autoload functionality.
Diffstat (limited to 'test')
-rw-r--r--test/lisp/htmlfontify-tests.el34
1 files changed, 34 insertions, 0 deletions
diff --git a/test/lisp/htmlfontify-tests.el b/test/lisp/htmlfontify-tests.el
new file mode 100644
index 00000000000..a5a92fa8fac
--- /dev/null
+++ b/test/lisp/htmlfontify-tests.el
@@ -0,0 +1,34 @@
1;;; htmlfontify-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 'htmlfontify)
23
24(ert-deftest htmlfontify-autoload ()
25 "Tests to see whether reftex-auc has been autoloaded"
26 (should
27 (fboundp 'htmlfontify-load-rgb-file))
28 (should
29 (autoloadp
30 (symbol-function
31 'htmlfontify-load-rgb-file))))
32
33(provide 'htmlfontify-tests)
34;; htmlfontify-tests.el ends here