[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/scanner 68b5c5f 18/56: update tests
From: |
Stefan Monnier |
Subject: |
[elpa] externals/scanner 68b5c5f 18/56: update tests |
Date: |
Fri, 10 Apr 2020 13:56:01 -0400 (EDT) |
branch: externals/scanner
commit 68b5c5fafbb0494de530aff18d5bdd09fb4ea8fa
Author: Raffael Stocker <address@hidden>
Commit: Raffael Stocker <address@hidden>
update tests
---
scanner-test.el | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/scanner-test.el b/scanner-test.el
index e71c28e..47fb60f 100644
--- a/scanner-test.el
+++ b/scanner-test.el
@@ -79,7 +79,7 @@
(ert-deftest scanner-test-scanimage-args ()
"Test the argument list construction for scanimage."
;; minimum args list (no required options)
- (let ((scanner--available-options nil)
+ (let ((scanner--available-switches nil)
(scanner-image-format '(:image "fmt-img" :doc "fmt-doc"))
(scanner-device-name "devname"))
(should (cl-subsetp '("-d" "devname") (scanner--scanimage-args "file"
@@ -105,7 +105,7 @@
:image)))
(should-not (member "-d" (scanner--scanimage-args "file" :image)))))
;; image args list (present/missing args)
- (let ((scanner--available-options '("--resolution" "-x" "-y" "--mode"))
+ (let ((scanner--available-switches '("--resolution" "-x" "-y" "--mode"))
(scanner-image-format '(:image "fmt-img" :doc "fmt-doc"))
(scanner-resolution '(:doc 300 :image 600))
(scanner-scan-mode '(:image "Color" :doc "Gray"))
@@ -128,7 +128,7 @@
:test #'string=))
)
;; doc args list (present/missing args)
- (let ((scanner--available-options '("--resolution" "-x" "-y" "--mode"))
+ (let ((scanner--available-switches '("--resolution" "-x" "-y" "--mode"))
(scanner-image-format '(:image "fmt-img" :doc "fmt-doc"))
(scanner-resolution '(:doc 300 :image 600))
(scanner-scan-mode '(:image "Color" :doc "Gray"))
@@ -156,7 +156,7 @@
"Test the argument list construction for tesseract."
(let ((scanner-resolution '(:image 600 :doc 300))
(scanner-tesseract-languages '("eng" "deu"))
- (scanner-tesseract-options '("--opt1" "--opt2"))
+ (scanner-tesseract-switches '("--opt1" "--opt2"))
(scanner-tesseract-outputs '("out1" "out2")))
(should (cl-subsetp '("-l" "eng+deu") (scanner--tesseract-args "infile"
"outfile")
- [elpa] externals/scanner c952d0d 15/56: rename -options to -switches, (continued)
- [elpa] externals/scanner c952d0d 15/56: rename -options to -switches, Stefan Monnier, 2020/04/10
- [elpa] externals/scanner e5c74e6 11/56: implement multi-page scan modes, Stefan Monnier, 2020/04/10
- [elpa] externals/scanner dbb0ee4 14/56: add commentary, correct docstrings, Stefan Monnier, 2020/04/10
- [elpa] externals/scanner 3e0398c 22/56: correct to eval-and-compile (scanner--device-specific-switches), Stefan Monnier, 2020/04/10
- [elpa] externals/scanner 5f06a4a 21/56: implement correct cleanup and error handling (scanner-scan-document), Stefan Monnier, 2020/04/10
- [elpa] externals/scanner 536e998 16/56: move commands were they belong, Stefan Monnier, 2020/04/10
- [elpa] externals/scanner 31c8a49 08/56: add document scanning command and test cases, Stefan Monnier, 2020/04/10
- [elpa] externals/scanner 2147abd 30/56: add tests for the configuration commands, Stefan Monnier, 2020/04/10
- [elpa] externals/scanner 6adbc64 28/56: correct argument handling in all the interactive specs, Stefan Monnier, 2020/04/10
- [elpa] externals/scanner c63d2f9 31/56: update Readme.org, Stefan Monnier, 2020/04/10
- [elpa] externals/scanner 68b5c5f 18/56: update tests,
Stefan Monnier <=
- [elpa] externals/scanner 15bc51d 25/56: correct the ‘run’ make target, Stefan Monnier, 2020/04/10
- [elpa] externals/scanner bc9b16c 27/56: correct a comment and whitespace, Stefan Monnier, 2020/04/10
- [elpa] externals/scanner 930448a 24/56: improve docstrings, Stefan Monnier, 2020/04/10
- [elpa] externals/scanner 8219c0e 29/56: add ‘scanner-select-device’ to the menu, Stefan Monnier, 2020/04/10
- [elpa] externals/scanner 45a3e1c 34/56: use finer argument tests in language and output selection, Stefan Monnier, 2020/04/10
- [elpa] externals/scanner 52bb203 32/56: correct the license notice (GNU Emacs -> This program), Stefan Monnier, 2020/04/10
- [elpa] externals/scanner 6594fcb 17/56: put image scan sentinel back into scanner-scan-image, Stefan Monnier, 2020/04/10
- [elpa] externals/scanner cce46fd 01/56: initial commit, Stefan Monnier, 2020/04/10
- [elpa] externals/scanner 64f5514 37/56: update commentary and Readme.org, Stefan Monnier, 2020/04/10
- [elpa] externals/scanner eab3aea 40/56: cleanup scanner--ensure-init, Stefan Monnier, 2020/04/10