aboutsummaryrefslogtreecommitdiff
path: root/test/tests.el
diff options
context:
space:
mode:
authorArtur Malabarba <bruce.connor.am@gmail.com>2015-02-12 15:05:08 +0000
committerArtur Malabarba <bruce.connor.am@gmail.com>2015-02-12 15:05:08 +0000
commit2c7e276ebcd06616362b9710ca45c2e48641adcf (patch)
tree735d97a1047f8dbfa27dcd968eb3135e55b51f2f /test/tests.el
parent78cc17295c255dc188c96ea7a401ee9a915b9269 (diff)
parent4ed76728809666cee41336dc5191dcf982806f38 (diff)
Merge pull request #235 from vermiculus/more-tests
More tests
Diffstat (limited to 'test/tests.el')
-rw-r--r--test/tests.el22
1 files changed, 21 insertions, 1 deletions
diff --git a/test/tests.el b/test/tests.el
index ce42a9f..be1552b 100644
--- a/test/tests.el
+++ b/test/tests.el
@@ -59,4 +59,24 @@
(apply #'message message args)))
(mapc #'sx-load-test
- '(api macros printing util search))
+ '(api macros printing util search state))
+
+(ert-deftest user-entry-functions ()
+ "Ensures all entry functions are autoloaded."
+ (should
+ (cl-every
+ #'fboundp
+ '(sx-ask
+ sx-authenticate
+ sx-bug-report
+ sx-switchto-map
+ sx-tab-featured
+ sx-tab-frontpage
+ sx-tab-hot
+ sx-tab-month
+ sx-tab-newest
+ sx-tab-starred
+ sx-tab-topvoted
+ sx-tab-unanswered
+ sx-tab-week
+ sx-version))))