aboutsummaryrefslogtreecommitdiff
path: root/tests/test-wttrin-faces.el
diff options
context:
space:
mode:
Diffstat (limited to 'tests/test-wttrin-faces.el')
-rw-r--r--tests/test-wttrin-faces.el26
1 files changed, 26 insertions, 0 deletions
diff --git a/tests/test-wttrin-faces.el b/tests/test-wttrin-faces.el
new file mode 100644
index 0000000..db30002
--- /dev/null
+++ b/tests/test-wttrin-faces.el
@@ -0,0 +1,26 @@
+;;; test-wttrin-faces.el --- Tests for wttrin themeable faces -*- lexical-binding: t; -*-
+
+;; Copyright (C) 2026 Craig Jennings
+
+;;; Commentary:
+
+;; Unit tests verifying the package's customizable faces are defined so
+;; themes and `customize-face' can target them.
+
+;;; Code:
+
+(require 'ert)
+(require 'wttrin)
+
+;;; Normal Cases
+
+(ert-deftest test-wttrin-faces-normal-all-defined ()
+ "Normal: every package face is defined after loading wttrin."
+ (dolist (face '(wttrin-mode-line-stale
+ wttrin-staleness-header
+ wttrin-instructions
+ wttrin-key))
+ (should (facep face))))
+
+(provide 'test-wttrin-faces)
+;;; test-wttrin-faces.el ends here