diff options
| author | Phillip Lord | 2015-11-24 22:35:23 +0000 |
|---|---|---|
| committer | Phillip Lord | 2015-11-24 22:35:23 +0000 |
| commit | 6fdd750cc6c7cb2a7734f89c25fae92c4774f6a5 (patch) | |
| tree | 9c5ad66d20e440df6557edb5a8eeb4041fc5b4b6 | |
| parent | 290c4b42e0ce14b9bc929f68fa8d517c83acf177 (diff) | |
| download | emacs-6fdd750cc6c7cb2a7734f89c25fae92c4774f6a5.tar.gz emacs-6fdd750cc6c7cb2a7734f89c25fae92c4774f6a5.zip | |
Update elisp-mode-tests for changed file location.
* test/lisp/progmodes/elisp-mode-tests.el:
| -rw-r--r-- | test/lisp/progmodes/elisp-mode-tests.el | 32 |
1 files changed, 16 insertions, 16 deletions
diff --git a/test/lisp/progmodes/elisp-mode-tests.el b/test/lisp/progmodes/elisp-mode-tests.el index 38c0b3be056..c910b59860c 100644 --- a/test/lisp/progmodes/elisp-mode-tests.el +++ b/test/lisp/progmodes/elisp-mode-tests.el | |||
| @@ -244,7 +244,7 @@ to (xref-elisp-test-descr-to-target xref)." | |||
| 244 | (xref-make "(cl-defstruct (xref-elisp-location (:constructor xref-make-elisp-location)))" | 244 | (xref-make "(cl-defstruct (xref-elisp-location (:constructor xref-make-elisp-location)))" |
| 245 | (xref-make-elisp-location | 245 | (xref-make-elisp-location |
| 246 | 'xref-elisp-location 'define-type | 246 | 'xref-elisp-location 'define-type |
| 247 | (expand-file-name "../../lisp/progmodes/elisp-mode.el" emacs-test-dir))) | 247 | (expand-file-name "../../../lisp/progmodes/elisp-mode.el" emacs-test-dir))) |
| 248 | ;; It's not worth adding another special case to `xref-elisp-test-descr-to-target' for this | 248 | ;; It's not worth adding another special case to `xref-elisp-test-descr-to-target' for this |
| 249 | "(cl-defstruct (xref-elisp-location") | 249 | "(cl-defstruct (xref-elisp-location") |
| 250 | )) | 250 | )) |
| @@ -255,11 +255,11 @@ to (xref-elisp-test-descr-to-target xref)." | |||
| 255 | (xref-make "(defalias Buffer-menu-sort)" | 255 | (xref-make "(defalias Buffer-menu-sort)" |
| 256 | (xref-make-elisp-location | 256 | (xref-make-elisp-location |
| 257 | 'Buffer-menu-sort 'defalias | 257 | 'Buffer-menu-sort 'defalias |
| 258 | (expand-file-name "../../lisp/buff-menu.elc" emacs-test-dir))) | 258 | (expand-file-name "../../../lisp/buff-menu.elc" emacs-test-dir))) |
| 259 | (xref-make "(defun tabulated-list-sort)" | 259 | (xref-make "(defun tabulated-list-sort)" |
| 260 | (xref-make-elisp-location | 260 | (xref-make-elisp-location |
| 261 | 'tabulated-list-sort nil | 261 | 'tabulated-list-sort nil |
| 262 | (expand-file-name "../../lisp/emacs-lisp/tabulated-list.el" emacs-test-dir))) | 262 | (expand-file-name "../../../lisp/emacs-lisp/tabulated-list.el" emacs-test-dir))) |
| 263 | )) | 263 | )) |
| 264 | 264 | ||
| 265 | ;; FIXME: defconst | 265 | ;; FIXME: defconst |
| @@ -406,27 +406,27 @@ to (xref-elisp-test-descr-to-target xref)." | |||
| 406 | (xref-make "(cl-defgeneric xref-location-marker)" | 406 | (xref-make "(cl-defgeneric xref-location-marker)" |
| 407 | (xref-make-elisp-location | 407 | (xref-make-elisp-location |
| 408 | 'xref-location-marker 'cl-defgeneric | 408 | 'xref-location-marker 'cl-defgeneric |
| 409 | (expand-file-name "../../lisp/progmodes/xref.el" emacs-test-dir))) | 409 | (expand-file-name "../../../lisp/progmodes/xref.el" emacs-test-dir))) |
| 410 | (xref-make "(cl-defmethod xref-location-marker ((l xref-elisp-location)))" | 410 | (xref-make "(cl-defmethod xref-location-marker ((l xref-elisp-location)))" |
| 411 | (xref-make-elisp-location | 411 | (xref-make-elisp-location |
| 412 | '(xref-location-marker xref-elisp-location) 'cl-defmethod | 412 | '(xref-location-marker xref-elisp-location) 'cl-defmethod |
| 413 | (expand-file-name "../../lisp/progmodes/elisp-mode.el" emacs-test-dir))) | 413 | (expand-file-name "../../../lisp/progmodes/elisp-mode.el" emacs-test-dir))) |
| 414 | (xref-make "(cl-defmethod xref-location-marker ((l xref-file-location)))" | 414 | (xref-make "(cl-defmethod xref-location-marker ((l xref-file-location)))" |
| 415 | (xref-make-elisp-location | 415 | (xref-make-elisp-location |
| 416 | '(xref-location-marker xref-file-location) 'cl-defmethod | 416 | '(xref-location-marker xref-file-location) 'cl-defmethod |
| 417 | (expand-file-name "../../lisp/progmodes/xref.el" emacs-test-dir))) | 417 | (expand-file-name "../../../lisp/progmodes/xref.el" emacs-test-dir))) |
| 418 | (xref-make "(cl-defmethod xref-location-marker ((l xref-buffer-location)))" | 418 | (xref-make "(cl-defmethod xref-location-marker ((l xref-buffer-location)))" |
| 419 | (xref-make-elisp-location | 419 | (xref-make-elisp-location |
| 420 | '(xref-location-marker xref-buffer-location) 'cl-defmethod | 420 | '(xref-location-marker xref-buffer-location) 'cl-defmethod |
| 421 | (expand-file-name "../../lisp/progmodes/xref.el" emacs-test-dir))) | 421 | (expand-file-name "../../../lisp/progmodes/xref.el" emacs-test-dir))) |
| 422 | (xref-make "(cl-defmethod xref-location-marker ((l xref-bogus-location)))" | 422 | (xref-make "(cl-defmethod xref-location-marker ((l xref-bogus-location)))" |
| 423 | (xref-make-elisp-location | 423 | (xref-make-elisp-location |
| 424 | '(xref-location-marker xref-bogus-location) 'cl-defmethod | 424 | '(xref-location-marker xref-bogus-location) 'cl-defmethod |
| 425 | (expand-file-name "../../lisp/progmodes/xref.el" emacs-test-dir))) | 425 | (expand-file-name "../../../lisp/progmodes/xref.el" emacs-test-dir))) |
| 426 | (xref-make "(cl-defmethod xref-location-marker ((l xref-etags-location)))" | 426 | (xref-make "(cl-defmethod xref-location-marker ((l xref-etags-location)))" |
| 427 | (xref-make-elisp-location | 427 | (xref-make-elisp-location |
| 428 | '(xref-location-marker xref-etags-location) 'cl-defmethod | 428 | '(xref-location-marker xref-etags-location) 'cl-defmethod |
| 429 | (expand-file-name "../../lisp/progmodes/etags.el" emacs-test-dir))) | 429 | (expand-file-name "../../../lisp/progmodes/etags.el" emacs-test-dir))) |
| 430 | )) | 430 | )) |
| 431 | 431 | ||
| 432 | (xref-elisp-deftest find-defs-defgeneric-eval | 432 | (xref-elisp-deftest find-defs-defgeneric-eval |
| @@ -528,7 +528,7 @@ to (xref-elisp-test-descr-to-target xref)." | |||
| 528 | (xref-make "(defun xref-find-definitions)" | 528 | (xref-make "(defun xref-find-definitions)" |
| 529 | (xref-make-elisp-location | 529 | (xref-make-elisp-location |
| 530 | 'xref-find-definitions nil | 530 | 'xref-find-definitions nil |
| 531 | (expand-file-name "../../lisp/progmodes/xref.el" emacs-test-dir))))) | 531 | (expand-file-name "../../../lisp/progmodes/xref.el" emacs-test-dir))))) |
| 532 | 532 | ||
| 533 | (xref-elisp-deftest find-defs-defun-eval | 533 | (xref-elisp-deftest find-defs-defun-eval |
| 534 | (elisp--xref-find-definitions (eval '(defun stephe-leake-defun ()))) | 534 | (elisp--xref-find-definitions (eval '(defun stephe-leake-defun ()))) |
| @@ -561,7 +561,7 @@ to (xref-elisp-test-descr-to-target xref)." | |||
| 561 | (xref-make "(defun abbrev-mode)" | 561 | (xref-make "(defun abbrev-mode)" |
| 562 | (xref-make-elisp-location | 562 | (xref-make-elisp-location |
| 563 | 'abbrev-mode nil | 563 | 'abbrev-mode nil |
| 564 | (expand-file-name "../../lisp/abbrev.el" emacs-test-dir))) | 564 | (expand-file-name "../../../lisp/abbrev.el" emacs-test-dir))) |
| 565 | "(define-minor-mode abbrev-mode")) | 565 | "(define-minor-mode abbrev-mode")) |
| 566 | ) | 566 | ) |
| 567 | 567 | ||
| @@ -582,7 +582,7 @@ to (xref-elisp-test-descr-to-target xref)." | |||
| 582 | (xref-make "(defun compilation-minor-mode)" | 582 | (xref-make "(defun compilation-minor-mode)" |
| 583 | (xref-make-elisp-location | 583 | (xref-make-elisp-location |
| 584 | 'compilation-minor-mode nil | 584 | 'compilation-minor-mode nil |
| 585 | (expand-file-name "../../lisp/progmodes/compile.el" emacs-test-dir))) | 585 | (expand-file-name "../../../lisp/progmodes/compile.el" emacs-test-dir))) |
| 586 | "(define-minor-mode compilation-minor-mode") | 586 | "(define-minor-mode compilation-minor-mode") |
| 587 | )) | 587 | )) |
| 588 | 588 | ||
| @@ -592,7 +592,7 @@ to (xref-elisp-test-descr-to-target xref)." | |||
| 592 | (xref-make "(defvar xref--marker-ring)" | 592 | (xref-make "(defvar xref--marker-ring)" |
| 593 | (xref-make-elisp-location | 593 | (xref-make-elisp-location |
| 594 | 'xref--marker-ring 'defvar | 594 | 'xref--marker-ring 'defvar |
| 595 | (expand-file-name "../../lisp/progmodes/xref.el" emacs-test-dir))) | 595 | (expand-file-name "../../../lisp/progmodes/xref.el" emacs-test-dir))) |
| 596 | )) | 596 | )) |
| 597 | 597 | ||
| 598 | (xref-elisp-deftest find-defs-defvar-c | 598 | (xref-elisp-deftest find-defs-defvar-c |
| @@ -615,11 +615,11 @@ to (xref-elisp-test-descr-to-target xref)." | |||
| 615 | (xref-make "(defvar font-lock-keyword-face)" | 615 | (xref-make "(defvar font-lock-keyword-face)" |
| 616 | (xref-make-elisp-location | 616 | (xref-make-elisp-location |
| 617 | 'font-lock-keyword-face 'defvar | 617 | 'font-lock-keyword-face 'defvar |
| 618 | (expand-file-name "../../lisp/font-lock.el" emacs-test-dir))) | 618 | (expand-file-name "../../../lisp/font-lock.el" emacs-test-dir))) |
| 619 | (xref-make "(defface font-lock-keyword-face)" | 619 | (xref-make "(defface font-lock-keyword-face)" |
| 620 | (xref-make-elisp-location | 620 | (xref-make-elisp-location |
| 621 | 'font-lock-keyword-face 'defface | 621 | 'font-lock-keyword-face 'defface |
| 622 | (expand-file-name "../../lisp/font-lock.el" emacs-test-dir))) | 622 | (expand-file-name "../../../lisp/font-lock.el" emacs-test-dir))) |
| 623 | )) | 623 | )) |
| 624 | 624 | ||
| 625 | (xref-elisp-deftest find-defs-face-eval | 625 | (xref-elisp-deftest find-defs-face-eval |
| @@ -633,7 +633,7 @@ to (xref-elisp-test-descr-to-target xref)." | |||
| 633 | (xref-make "(feature xref)" | 633 | (xref-make "(feature xref)" |
| 634 | (xref-make-elisp-location | 634 | (xref-make-elisp-location |
| 635 | 'xref 'feature | 635 | 'xref 'feature |
| 636 | (expand-file-name "../../lisp/progmodes/xref.el" emacs-test-dir))) | 636 | (expand-file-name "../../../lisp/progmodes/xref.el" emacs-test-dir))) |
| 637 | ";;; Code:") | 637 | ";;; Code:") |
| 638 | )) | 638 | )) |
| 639 | 639 | ||