diff --git a/test/dotemacs_test.el b/test/dotemacs_test.el index a7eca0fe..ad6c3cc8 100644 --- a/test/dotemacs_test.el +++ b/test/dotemacs_test.el @@ -58,25 +58,8 @@ (unless (package-installed-p 'undercover) (package-install 'undercover)) (require 'undercover) -(undercover "ensime.el") - -(defun undercover-file-handler (operation &rest args) - "Handle `load' OPERATION. Ignore all ARGS except first." - (if (eq 'load operation) - (let ((edebug-all-defs (undercover--coverage-enabled-p)) - (load-file-name (file-truename (car args))) - (load-in-progress t)) - (save-excursion - (message "Loading %s" load-file-name) - (eval-buffer (find-file load-file-name))) - (switch-to-buffer (current-buffer)) - (push load-file-name undercover--files)) - (let ((inhibit-file-name-handlers - (cons 'undercover-file-handler - (and (eq inhibit-file-name-operation operation) - inhibit-file-name-handlers))) - (inhibit-file-name-operation operation)) - (apply operation args)))) +(undercover "ensime.el" "ensime-utils.el" "ensime-vars.el" "ensime-config.el" "ensime-completion-util.el" "ensime-auto-complete" + "ensime-company.el" "ensime-inf.el" "ensime-editor.el") (add-to-list 'load-path "./") (require 'ensime)