[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/drupal-mode 9ca9376c93 055/308: Addes wrapper function and
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/drupal-mode 9ca9376c93 055/308: Addes wrapper function and added test cases to package. |
Date: |
Tue, 25 Jan 2022 10:59:26 -0500 (EST) |
branch: elpa/drupal-mode
commit 9ca9376c93b0af252fc2cb61bce859bb71b6f734
Author: Arne Jørgensen <arne@arnested.dk>
Commit: Arne Jørgensen <arne@arnested.dk>
Addes wrapper function and added test cases to package.
---
Makefile | 2 +-
drupal-tests.el | 10 ++++++++--
2 files changed, 9 insertions(+), 3 deletions(-)
diff --git a/Makefile b/Makefile
index 11641c69fa..05de0db1b4 100644
--- a/Makefile
+++ b/Makefile
@@ -28,7 +28,7 @@ $(ARCHIVE_NAME)-pkg.el: $(ARCHIVE_NAME).el
(package-buffer-info))))"
# create a tar ball in package.el format for uploading to
http://marmalade-repo.org
-$(PACKAGE_NAME).tar: README $(ARCHIVE_NAME).el $(ARCHIVE_NAME)-pkg.el
$(ARCHIVE_NAME).info dir drupal/*.el
+$(PACKAGE_NAME).tar: README $(ARCHIVE_NAME).el $(ARCHIVE_NAME)-pkg.el
$(ARCHIVE_NAME).info dir drupal/*.el drupal-tests.el
tar -c -s "@^@$(PACKAGE_NAME)/@" -f $(PACKAGE_NAME).tar $^
install: $(PACKAGE_NAME).tar
diff --git a/drupal-tests.el b/drupal-tests.el
index dadf37c541..04c5f8d773 100644
--- a/drupal-tests.el
+++ b/drupal-tests.el
@@ -11,12 +11,18 @@
+(defun drupal-tests ()
+ "Run drupal-mode ERT test cases."
+ (interactive)
+ (ert "drupal-.*"))
+
+
+
(ert-deftest drupal-major-version-test ()
"Test `drupal-major-version'."
(should (equal (drupal-major-version "7.12") "7"))
(should (equal (drupal-major-version "6.1") "6"))
- (should (equal (drupal-major-version "4.5.2") "4.5"))
-)
+ (should (equal (drupal-major-version "4.5.2") "4.5")))
- [nongnu] elpa/drupal-mode c83705239e 214/308: Merge pull request #50 from kaaresl/develop, (continued)
- [nongnu] elpa/drupal-mode c83705239e 214/308: Merge pull request #50 from kaaresl/develop, ELPA Syncer, 2022/01/25
- [nongnu] elpa/drupal-mode 5911ac2158 211/308: Fixed bad indentation., ELPA Syncer, 2022/01/25
- [nongnu] elpa/drupal-mode 76199a3c68 243/308: Bump version number to 0.6.0., ELPA Syncer, 2022/01/25
- [nongnu] elpa/drupal-mode 6fbdf7946b 241/308: Fixed getting Drupal site temp folder., ELPA Syncer, 2022/01/25
- [nongnu] elpa/drupal-mode d88b39e8f5 262/308: Fixed travis.yml, ELPA Syncer, 2022/01/25
- [nongnu] elpa/drupal-mode 3cae8bea76 267/308: Merge pull request #70 from arnested/api-skeleton, ELPA Syncer, 2022/01/25
- [nongnu] elpa/drupal-mode 1545d07f0d 265/308: Use drupal/phpcs-standard in drupal-phpcs checker, ELPA Syncer, 2022/01/25
- [nongnu] elpa/drupal-mode 690f2c5592 293/308: Cleanup URLs in documentation, ELPA Syncer, 2022/01/25
- [nongnu] elpa/drupal-mode 81c63e7c5a 064/308: Removed accidental debug message., ELPA Syncer, 2022/01/25
- [nongnu] elpa/drupal-mode 615de83357 077/308: Build tags-table when drupal-mode is entered., ELPA Syncer, 2022/01/25
- [nongnu] elpa/drupal-mode 9ca9376c93 055/308: Addes wrapper function and added test cases to package.,
ELPA Syncer <=
- [nongnu] elpa/drupal-mode 866c3f4f86 128/308: Carton renamed to Cask., ELPA Syncer, 2022/01/25
- [nongnu] elpa/drupal-mode 080049a881 130/308: Reenable ignore-errors., ELPA Syncer, 2022/01/25
- [nongnu] elpa/drupal-mode 0a9d8dfa49 164/308: Cleaned whitespace., ELPA Syncer, 2022/01/25
- [nongnu] elpa/drupal-mode 430b04536e 176/308: Added special case for .tpl.php extensions., ELPA Syncer, 2022/01/25
- [nongnu] elpa/drupal-mode be281df109 175/308: Added info modes. Drupal Coder Sniffer understands info files as well., ELPA Syncer, 2022/01/25
- [nongnu] elpa/drupal-mode 3937ec3f40 002/308: Initial version., ELPA Syncer, 2022/01/25
- [nongnu] elpa/drupal-mode 6e1ef13c5e 001/308: Initial commit, ELPA Syncer, 2022/01/25
- [nongnu] elpa/drupal-mode 7d2d703ab9 017/308: Merge branch 'feature/documentation' into develop, ELPA Syncer, 2022/01/25
- [nongnu] elpa/drupal-mode 6fbdb4e9ad 020/308: Made customization of search URLs more intuitive., ELPA Syncer, 2022/01/25
- [nongnu] elpa/drupal-mode 1e06f39e9f 025/308: Added `drupal-drush-cache-clear'., ELPA Syncer, 2022/01/25