Added intial test suite for python.el.
* automated/python-tests.el (python-tests-with-temp-buffer): New macro. (python-tests-look-at): New function. (python-tests-look-at-1) (python-tests-look-at-2) (python-indent-pep8-1) (python-indent-pep8-2) (python-indent-pep8-3) (python-indent-inside-paren-1) (python-indent-inside-paren-2) (python-indent-after-block-1) (python-indent-after-block-2) (python-indent-dedenters-1) (python-indent-after-backslash-1) (python-indent-after-backslash-2) (python-nav-beginning-of-defun-1) (python-nav-beginning-of-defun-2) (python-nav-end-of-defun-1) (python-nav-end-of-defun-2) (python-nav-beginning-of-statement-1) (python-nav-end-of-statement-1) (python-nav-forward-statement- (python-nav-backward-statement-1) (python-nav-backward-statement-2) (python-nav-beginning-of-block-1) (python-nav-end-of-block-1) (python-nav-forward-block-1) (python-nav-lisp-forward-sexp-safe-1) (python-nav-forward-sexp-1) (python-nav-forward-sexp-2) (python-nav-forward-sexp-3) (python-nav-up-list-1) (python-nav-backward-up-list-1) (python-imenu-prev-index-position-1) (python-info-current-defun-1) (python-info-current-defun-2) (python-info-current-defun-3) (python-info-current-symbol-1) (python-info-current-symbol-2) (python-info-current-symbol-3) (python-info-statement-starts-block-p-1) (python-info-statement-starts-block-p-2) (python-info-statement-ends-block-p-1) (python-info-statement-ends-block-p-2) (python-info-beginning-of-statement-p-1) (python-info-beginning-of-statement-p-2) (python-info-end-of-statement-p-1) (python-info-end-of-statement-p-2) (python-info-beginning-of-block-p-1) (python-info-beginning-of-block-p-2) (python-info-end-of-block-p-1) (python-info-end-of-block-p-2) (python-info-closing-block-1) (python-info-closing-block-2) (python-info-line-ends-backslash-p-1) (python-info-beginning-of-backslash-1) (python-info-continuation-line-p-1) (python-info-block-continuation-line-p-1) (python-info-block-continuation-line-p-2) (python-info-assignment-continuation-line-p-1) (python-info-assignment-continuation-line-p-2) (python-info-looking-at-beginning-of-defun-1) (python-info-current-line-comment-p-1) (python-info-current-line-empty-p) (python-util-goto-line-1) (python-util-clone-local-variables-1) (python-util-forward-comment-1): New tests.
This commit is contained in:
parent
e233e1000e
commit
4dddd5dcda
2 changed files with 2018 additions and 0 deletions
|
@ -1,3 +1,74 @@
|
|||
2013-02-20 Fabián Ezequiel Gallina <fgallina@cuca>
|
||||
|
||||
Added intial test suite for python.el.
|
||||
* automated/python-tests.el
|
||||
(python-tests-with-temp-buffer): New macro.
|
||||
(python-tests-look-at): New function.
|
||||
(python-tests-look-at-1)
|
||||
(python-tests-look-at-2)
|
||||
(python-indent-pep8-1)
|
||||
(python-indent-pep8-2)
|
||||
(python-indent-pep8-3)
|
||||
(python-indent-inside-paren-1)
|
||||
(python-indent-inside-paren-2)
|
||||
(python-indent-after-block-1)
|
||||
(python-indent-after-block-2)
|
||||
(python-indent-dedenters-1)
|
||||
(python-indent-after-backslash-1)
|
||||
(python-indent-after-backslash-2)
|
||||
(python-nav-beginning-of-defun-1)
|
||||
(python-nav-beginning-of-defun-2)
|
||||
(python-nav-end-of-defun-1)
|
||||
(python-nav-end-of-defun-2)
|
||||
(python-nav-beginning-of-statement-1)
|
||||
(python-nav-end-of-statement-1)
|
||||
(python-nav-forward-statement-
|
||||
(python-nav-backward-statement-1)
|
||||
(python-nav-backward-statement-2)
|
||||
(python-nav-beginning-of-block-1)
|
||||
(python-nav-end-of-block-1)
|
||||
(python-nav-forward-block-1)
|
||||
(python-nav-lisp-forward-sexp-safe-1)
|
||||
(python-nav-forward-sexp-1)
|
||||
(python-nav-forward-sexp-2)
|
||||
(python-nav-forward-sexp-3)
|
||||
(python-nav-up-list-1)
|
||||
(python-nav-backward-up-list-1)
|
||||
(python-imenu-prev-index-position-1)
|
||||
(python-info-current-defun-1)
|
||||
(python-info-current-defun-2)
|
||||
(python-info-current-defun-3)
|
||||
(python-info-current-symbol-1)
|
||||
(python-info-current-symbol-2)
|
||||
(python-info-current-symbol-3)
|
||||
(python-info-statement-starts-block-p-1)
|
||||
(python-info-statement-starts-block-p-2)
|
||||
(python-info-statement-ends-block-p-1)
|
||||
(python-info-statement-ends-block-p-2)
|
||||
(python-info-beginning-of-statement-p-1)
|
||||
(python-info-beginning-of-statement-p-2)
|
||||
(python-info-end-of-statement-p-1)
|
||||
(python-info-end-of-statement-p-2)
|
||||
(python-info-beginning-of-block-p-1)
|
||||
(python-info-beginning-of-block-p-2)
|
||||
(python-info-end-of-block-p-1)
|
||||
(python-info-end-of-block-p-2)
|
||||
(python-info-closing-block-1)
|
||||
(python-info-closing-block-2)
|
||||
(python-info-line-ends-backslash-p-1)
|
||||
(python-info-beginning-of-backslash-1)
|
||||
(python-info-continuation-line-p-1)
|
||||
(python-info-block-continuation-line-p-1)
|
||||
(python-info-block-continuation-line-p-2)
|
||||
(python-info-assignment-continuation-line-p-1)
|
||||
(python-info-assignment-continuation-line-p-2)
|
||||
(python-info-looking-at-beginning-of-defun-1)
|
||||
(python-info-current-line-comment-p-1)
|
||||
(python-info-current-line-empty-p)
|
||||
(python-util-goto-line-1)
|
||||
(python-util-clone-local-variables-1)
|
||||
(python-util-forward-comment-1): New tests.
|
||||
|
||||
2012-12-26 Dmitry Gutov <dgutov@yandex.ru>
|
||||
|
||||
* automated/ruby-mode-tests.el
|
||||
|
|
1947
test/automated/python-tests.el
Normal file
1947
test/automated/python-tests.el
Normal file
File diff suppressed because it is too large
Load diff
Loading…
Add table
Reference in a new issue