diff options
Diffstat (limited to 'test')
-rw-r--r-- | test/oni-alert-test.el | 9 | ||||
-rw-r--r-- | test/oni-bookmark-test.el | 9 |
2 files changed, 18 insertions, 0 deletions
diff --git a/test/oni-alert-test.el b/test/oni-alert-test.el new file mode 100644 index 0000000..f8574e2 --- /dev/null +++ b/test/oni-alert-test.el @@ -0,0 +1,9 @@ +(ert-deftest oni-alert-test-autoloads () + "Test that `oni-alert' gets loaded automatically." + (require 'alert) + (should (featurep 'oni-alert))) + +(ert-deftest oni-alert-test-sets-default-style () + "Test that `oni-alert' test the default style." + (require 'alert) + (should (eql alert-default-style 'libnotify))) diff --git a/test/oni-bookmark-test.el b/test/oni-bookmark-test.el new file mode 100644 index 0000000..32d0c77 --- /dev/null +++ b/test/oni-bookmark-test.el @@ -0,0 +1,9 @@ +(ert-deftest oni-bookmark-test-sets-default-file () + "Test that oni-bookarks works." + (require 'bookmark) + (should (string-match "/data/" bookmark-default-file))) + +(ert-deftest oni-bookmark-test-autoloads () + "Test that `oni-bookmark' gets loaded automatically." + (require 'bookmark) + (should (featurep 'oni-bookmark))) |