File: ert-font-lock.el.html
ERT Font Lock is an extension to the Emacs Lisp Regression Test library (ERT) providing a convenient way to check syntax highlighting provided by font-lock.
ert-font-lock entry points are functions
ert-font-lock-test-string and ert-font-lock-test-file, and
convenience macros ert-font-lock-deftest and
ert-font-lock-deftest-file.
See unit tests in ert-font-lock-tests.el for usage examples.
Defined variables (3)
ert-font-lock--assertion-line-re | An ert-font-lock assertion line regex. |
ert-font-lock--face-symbol-list-re | A face symbol list matching regex. |
ert-font-lock--face-symbol-re | A face symbol matching regex. |
Defined functions (18)
ert-font-lock--check-faces | (TESTS) |
ert-font-lock--comment-start-p | () |
ert-font-lock--get-first-char-column | () |
ert-font-lock--get-line | (LINE-NUMBER) |
ert-font-lock--goto-first-char | () |
ert-font-lock--in-comment-p | () |
ert-font-lock--line-assertion-p | () |
ert-font-lock--line-comment-p | () |
ert-font-lock--parse-comments | () |
ert-font-lock--parse-macro-args | (DOC-KEYS-MODE-ARG) |
ert-font-lock--point-at-line-and-column | (LINE COLUMN) |
ert-font-lock--test-body-file | (MODE FILE TEST-NAME) |
ert-font-lock--test-body-str | (MODE STR TEST-NAME) |
ert-font-lock--validate-major-mode | (MODE) |
ert-font-lock-deftest | (NAME [DOCSTRING] [:expected-result RESULT-TYPE] [:tags '(TAG...)] MAJOR-MODE TEST-STR) |
ert-font-lock-deftest-file | (NAME [DOCSTRING] [:expected-result RESULT-TYPE] [:tags '(TAG...)] MAJOR-MODE FILE) |
ert-font-lock-test-file | (FILENAME MODE) |
ert-font-lock-test-string | (TEST-STRING MODE) |