ps-print-tests.el 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637
  1. ;;; ps-print-tests.el --- Test suite for ps-print.el -*- lexical-binding: t; -*-
  2. ;; Copyright (C) 2015-2017 Free Software Foundation, Inc.
  3. ;; Author: Phillip Lord <phillip.lord@russet.org.uk>
  4. ;; This file is part of GNU Emacs.
  5. ;; GNU Emacs is free software: you can redistribute it and/or modify
  6. ;; it under the terms of the GNU General Public License as published by
  7. ;; the Free Software Foundation, either version 3 of the License, or
  8. ;; (at your option) any later version.
  9. ;; GNU Emacs is distributed in the hope that it will be useful,
  10. ;; but WITHOUT ANY WARRANTY; without even the implied warranty of
  11. ;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  12. ;; GNU General Public License for more details.
  13. ;; You should have received a copy of the GNU General Public License
  14. ;; along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.
  15. ;;; Commentary:
  16. ;;; Code:
  17. (require 'ps-print)
  18. (require 'ert)
  19. ;;; Autoload tests
  20. (ert-deftest ps-mule-autoload ()
  21. "Tests to see whether ps-mule has been autoloaded"
  22. (should
  23. (fboundp 'ps-mule-initialize))
  24. (should
  25. (autoloadp
  26. (symbol-function
  27. 'ps-mule-initialize))))