~python-mode-devs/python-mode/python-mode

« back to all changes in this revision

Viewing changes to test/py-execute-region-commandp-test.el

  • Committer: Barry Warsaw
  • Date: 2017-02-24 21:38:07 UTC
  • Revision ID: barry@python.org-20170224213807-h762012vx6fgvrve
Move repo to GitLab

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
;;; py-execute-region-commandp-test.el --- Test execute region forms
2
 
 
3
 
;; Copyright (C) 2015  Andreas Röhler
4
 
;; Author: Andreas Röhler <andreas.roehler@online.de>
5
 
;; Keywords: languages, convenience
6
 
 
7
 
;; This program is free software; you can redistribute it and/or modify
8
 
;; it under the terms of the GNU General Public License as published by
9
 
;; the Free Software Foundation, either version 3 of the License, or
10
 
;; (at your option) any later version.
11
 
 
12
 
;; This program is distributed in the hope that it will be useful,
13
 
;; but WITHOUT ANY WARRANTY; without even the implied warranty of
14
 
;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
15
 
;; GNU General Public License for more details.
16
 
 
17
 
;; You should have received a copy of the GNU General Public License
18
 
;; along with this program.  If not, see <http://www.gnu.org/licenses/>.
19
 
 
20
 
;;; Commentary:
21
 
 
22
 
;; This file is generated by function from python-mode-utils.el - see in
23
 
;; directory devel. Edits here might not be persistent.
24
 
 
25
 
;;; Code:
26
 
 
27
 
(ert-deftest py-execute-region-commandp-test ()
28
 
  (should (commandp 'py-execute-region)))
29
 
 
30
 
(ert-deftest py-execute-region-switch-commandp-test ()
31
 
  (should (commandp 'py-execute-region-switch)))
32
 
 
33
 
(ert-deftest py-execute-region-no-switch-commandp-test ()
34
 
  (should (commandp 'py-execute-region-no-switch)))
35
 
 
36
 
(ert-deftest py-execute-region-dedicated-commandp-test ()
37
 
  (should (commandp 'py-execute-region-dedicated)))
38
 
 
39
 
(ert-deftest py-ert-execute-region-python-commandp-test ()
40
 
  (should (commandp 'py-execute-region-python)))
41
 
 
42
 
(ert-deftest py-ert-execute-region-python-switch-commandp-test ()
43
 
  (should (commandp 'py-execute-region-python-switch)))
44
 
 
45
 
(ert-deftest py-ert-execute-region-python-no-switch-commandp-test ()
46
 
  (should (commandp 'py-execute-region-python-no-switch)))
47
 
 
48
 
(ert-deftest py-ert-execute-region-python-dedicated-commandp-test ()
49
 
  (should (commandp 'py-execute-region-python-dedicated)))
50
 
 
51
 
(ert-deftest py-ert-execute-region-python2-commandp-test ()
52
 
  (should (commandp 'py-execute-region-python2)))
53
 
 
54
 
(ert-deftest py-ert-execute-region-python2-switch-commandp-test ()
55
 
  (should (commandp 'py-execute-region-python2-switch)))
56
 
 
57
 
(ert-deftest py-ert-execute-region-python2-no-switch-commandp-test ()
58
 
  (should (commandp 'py-execute-region-python2-no-switch)))
59
 
 
60
 
(ert-deftest py-ert-execute-region-python2-dedicated-commandp-test ()
61
 
  (should (commandp 'py-execute-region-python2-dedicated)))
62
 
 
63
 
(ert-deftest py-ert-execute-region-python3-commandp-test ()
64
 
  (should (commandp 'py-execute-region-python3)))
65
 
 
66
 
(ert-deftest py-ert-execute-region-python3-switch-commandp-test ()
67
 
  (should (commandp 'py-execute-region-python3-switch)))
68
 
 
69
 
(ert-deftest py-ert-execute-region-python3-no-switch-commandp-test ()
70
 
  (should (commandp 'py-execute-region-python3-no-switch)))
71
 
 
72
 
(ert-deftest py-ert-execute-region-python3-dedicated-commandp-test ()
73
 
  (should (commandp 'py-execute-region-python3-dedicated)))
74
 
 
75
 
(ert-deftest py-ert-execute-region-ipython-commandp-test ()
76
 
  (should (commandp 'py-execute-region-ipython)))
77
 
 
78
 
(ert-deftest py-ert-execute-region-ipython-switch-commandp-test ()
79
 
  (should (commandp 'py-execute-region-ipython-switch)))
80
 
 
81
 
(ert-deftest py-ert-execute-region-ipython-no-switch-commandp-test ()
82
 
  (should (commandp 'py-execute-region-ipython-no-switch)))
83
 
 
84
 
(ert-deftest py-ert-execute-region-ipython-dedicated-commandp-test ()
85
 
  (should (commandp 'py-execute-region-ipython-dedicated)))
86
 
 
87
 
(ert-deftest py-ert-execute-region-ipython2.7-commandp-test ()
88
 
  (should (commandp 'py-execute-region-ipython2.7)))
89
 
 
90
 
(ert-deftest py-ert-execute-region-ipython2.7-switch-commandp-test ()
91
 
  (should (commandp 'py-execute-region-ipython2.7-switch)))
92
 
 
93
 
(ert-deftest py-ert-execute-region-ipython2.7-no-switch-commandp-test ()
94
 
  (should (commandp 'py-execute-region-ipython2.7-no-switch)))
95
 
 
96
 
(ert-deftest py-ert-execute-region-ipython2.7-dedicated-commandp-test ()
97
 
  (should (commandp 'py-execute-region-ipython2.7-dedicated)))
98
 
 
99
 
(ert-deftest py-ert-execute-region-ipython3-commandp-test ()
100
 
  (should (commandp 'py-execute-region-ipython3)))
101
 
 
102
 
(ert-deftest py-ert-execute-region-ipython3-switch-commandp-test ()
103
 
  (should (commandp 'py-execute-region-ipython3-switch)))
104
 
 
105
 
(ert-deftest py-ert-execute-region-ipython3-no-switch-commandp-test ()
106
 
  (should (commandp 'py-execute-region-ipython3-no-switch)))
107
 
 
108
 
(ert-deftest py-ert-execute-region-ipython3-dedicated-commandp-test ()
109
 
  (should (commandp 'py-execute-region-ipython3-dedicated)))
110
 
 
111
 
(ert-deftest py-ert-execute-region-jython-commandp-test ()
112
 
  (should (commandp 'py-execute-region-jython)))
113
 
 
114
 
(ert-deftest py-ert-execute-region-jython-switch-commandp-test ()
115
 
  (should (commandp 'py-execute-region-jython-switch)))
116
 
 
117
 
(ert-deftest py-ert-execute-region-jython-no-switch-commandp-test ()
118
 
  (should (commandp 'py-execute-region-jython-no-switch)))
119
 
 
120
 
(ert-deftest py-ert-execute-region-jython-dedicated-commandp-test ()
121
 
  (should (commandp 'py-execute-region-jython-dedicated)))
122
 
 
123
 
(provide 'py-execute-region-commandp-test)
124
 
;;; py-execute-region-commandp-test.el ends here