Age | Commit message (Collapse) | Author |
|
* exiftool.el (exiftool--assert-file-exists): New function.
(exiftool-read, exiftool-copy, exiftool-write): Assert that file
arguments exist before operating on them.
* tests/exiftool-tests.el (read-file-not-found-test,
copy-file-not-found-test, write-file-not-found-test): New tests.
|
|
* tests/exiftool-tests.el (delete-test): Replace `car' invocations
with `nth 0'.
|
|
* tests/exiftool-tests.el (exiftool-tests--tags): New variable.
(read-write-test, copy-all-test, copy-some-test): Reference
exiftool-tests--tags.
|
|
* tests/exiftool-tests.el (with-temp-test-file): Fix indentation.
|
|
* tests/exiftool-tests.el (exiftool-tests--tag-value): New test cases.
|
|
* tests/exiftool-tests.el (copy-test): Rename to `copy-all-test'.
(copy-some-test): New test.
|
|
* tests/test2.jpg: Convert to PNG format.
* tests/test2.png: New file.
* tests/exiftool-tests.el (copy-test): Make both test files of the
same format (PNG).
Some tags are not copied properly when the files are of different
formats.
|
|
* tests/Makefile (check): Remove explicit loading of package `ert'.
|
|
|
|
* tests/el-exiftool-tests.el (el-exiftool-tests--tag-value): New
dynamic variable.
(read-write-test, delete-test): Rewrite to reference data in `el-exiftool-tests--tag-value'.
(delete-test): New test.
|
|
* tests/el-exiftool-tests.el (with-temp-test-file): Add docstring.
|
|
* tests/Makefile: New file.
|
|
|