7272
7373; ;*;; Evaluation
7474
75- (etest-deftest-r ess-command-test ()
75+ (etest-deftest ess-command-test ()
7676 " `ess-command' saves output in specified buffer."
7777 :eval (let ((output-buffer (get-buffer-create " *ess-test-command-output*" )))
7878 (ess-command " identity(TRUE)\n " output-buffer)
115115 (should (string-match " ^\\ [1\\ ] \" foo\"\n Sourced file"
116116 (output nil (ess-load-file (expand-file-name " file.R" ess-test-fixtures-directory)))))))
117117
118- (etest-deftest-r ess-command-incomplete-test ()
118+ (etest-deftest ess-command-incomplete-test ()
119119 " `ess-command' fails with incomplete input."
120120 :eval (should-error (ess-command " list(" nil nil nil nil nil nil 0.01 ))
121121
128128 (should-error (ess-command " list(" nil nil nil nil nil nil 0.01 )))
129129 :inf-result " " )
130130
131- (etest-deftest-r ess-command-hanging-test ()
131+ (etest-deftest ess-command-hanging-test ()
132132 " `ess-command' fails with hanging command."
133133 :eval (should-error (ess-command " Sys.sleep(2)\n " nil nil nil nil nil nil 0.01 ))
134134 :inf-result " "
143143 (ess-wait-for-process)
144144 (etest-clear-inferior-buffer))
145145
146- (etest-deftest-r ess--command-browser-timeout-test ()
146+ (etest-deftest ess--command-browser-timeout-test ()
147147 " `ess-command' fails with hanging command within browser (#1081)."
148148 :cleanup (ess-test--browser-cleanup)
149149 :eval (ess-test--browser)
@@ -164,7 +164,7 @@ Browse[1]> "
164164 :inf-result " NULL
165165Browse[1]> " )
166166
167- (etest-deftest-r ess-command-browser-curly-braces ()
167+ (etest-deftest ess-command-browser-curly-braces ()
168168 " `{` expressions when debugger is active do not interrupt command."
169169 :cleanup (ess-test--browser-cleanup)
170170 :eval (ess-test--browser)
@@ -177,7 +177,7 @@ Browse[1]> "
177177 :inf-result " "
178178 :eval (should (inferior-ess-available-p)))
179179
180- (etest-deftest-r ess-command-environment ()
180+ (etest-deftest ess-command-environment ()
181181 " Can access current env with `.ess.environment()`"
182182 :cleanup (ess-test--browser-cleanup)
183183 :eval (progn
@@ -187,7 +187,7 @@ Browse[1]> "
187187 :eval (should (string= (ess-string-command " ls(envir = .ess.environment())\n " )
188188 " [1] \" foo\" " )))
189189
190- (etest-deftest-r ess-command-quit-test ()
190+ (etest-deftest ess-command-quit-test ()
191191 " `ess-command' does not leak output on quit (#794, #842).
192192This is especially important within `while-no-input' used by
193193packages like eldoc and company-quickhelp. `throw-on-input' sets
@@ -201,7 +201,7 @@ packages like eldoc and company-quickhelp. `throw-on-input' sets
201201 :inf-result " "
202202 :eval (should (inferior-ess-available-p)))
203203
204- (etest-deftest-r ess-command-quit-async-interrupt-test ()
204+ (etest-deftest ess-command-quit-async-interrupt-test ()
205205 " `ess-command' interrupts asynchronously on quits (#1091, #1102).
206206Needed with slow-responding processes."
207207 :eval
@@ -229,14 +229,14 @@ Needed with slow-responding processes."
229229 ; ; There should be no output after the early exit or async restoration
230230 :inf-result " " )
231231
232- (etest-deftest-r ess-command-newlines-test ()
232+ (etest-deftest ess-command-newlines-test ()
233233 " `ess-command' doesn't garble new lines (#1110)."
234234 :eval ((should (string= (ess--strip-final-newlines " 1\n 2" )
235235 " 1\n 2" ))
236236 (should (equal (ess-get-words-from-vector " { 'foo'\n 'bar'\n }\n " )
237237 (list " bar" )))))
238238
239- (etest-deftest-r ess-command-multiline-test ()
239+ (etest-deftest ess-command-multiline-test ()
240240 " `ess-command' output doesn't include continuation prompts (#1116)."
241241 :eval ((let ((buf (generate-new-buffer " ess-command-multiline-test" )))
242242 (ess-command " { 1\n 2 }\n " buf)
@@ -301,7 +301,7 @@ new output")
301301 (should (equal (ess--command-delimited-output-info (current-buffer ) " my-sentinel" )
302302 (list 20 27 49 )))))
303303
304- (etest-deftest-r command-without-trailing-newline-test ()
304+ (etest-deftest command-without-trailing-newline-test ()
305305 " It is a bug when a command doesn't output a trailing newline.
306306With delimiters it might be possible to figure out the output.
307307However if they are not available then the output is
@@ -313,7 +313,7 @@ indistinguishable from the prompt."
313313 :inf-result "
314314> " )
315315
316- (etest-deftest-r ess-command-intervening-input-test ()
316+ (etest-deftest ess-command-intervening-input-test ()
317317 " Test that user can send input while command is interrupting (#1119)."
318318 :eval
319319 (progn
@@ -527,7 +527,7 @@ some. text
527527
528528; ;*;; Help
529529
530- (etest-deftest-r ess-help-aliases-test ()
530+ (etest-deftest ess-help-aliases-test ()
531531 :eval (let ((aliases (ess-get-help-aliases-list)))
532532 (should (member " list" aliases)))
533533 :inf-result " "
@@ -624,6 +624,11 @@ some. text
624624 (ess-switch-to-inferior-or-script-buffer nil )
625625 (should (derived-mode-p 'inferior-ess-mode ))))
626626
627+
627628(provide 'ess-test-inf )
628629
630+ ; ; Local Variables:
631+ ; ; etest-local-config: etest-r-config
632+ ; ; End:
633+
629634; ;; ess-test-inf.el ends here
0 commit comments