aboutsummaryrefslogtreecommitdiff
path: root/tests
AgeCommit message (Collapse)Author
2019-02-04Signal a file-missing error when file is not found.Arun Isaac
* 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.
2017-06-16Deprecate use of `car'.Arun Isaac
* tests/exiftool-tests.el (delete-test): Replace `car' invocations with `nth 0'.
2017-06-16Deduplicate extraction of tags of test cases.Arun Isaac
* tests/exiftool-tests.el (exiftool-tests--tags): New variable. (read-write-test, copy-all-test, copy-some-test): Reference exiftool-tests--tags.
2017-06-16Fix indentation.Arun Isaac
* tests/exiftool-tests.el (with-temp-test-file): Fix indentation.
2017-06-14Add new test cases.Arun Isaac
* tests/exiftool-tests.el (exiftool-tests--tag-value): New test cases.
2017-06-14Test copying only specific tags.Arun Isaac
* tests/exiftool-tests.el (copy-test): Rename to `copy-all-test'. (copy-some-test): New test.
2017-06-14Use test files of the same format.Arun Isaac
* 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.
2017-03-10Shorten `check' command.Arun Isaac
* tests/Makefile (check): Remove explicit loading of package `ert'.
2017-03-01Rename library to exiftool.el.Arun Isaac
2017-02-27Rewrite tests with dynamic variable `el-exiftool-tests--tag-value'.Arun Isaac
* 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.
2017-02-27Add docstring.Arun Isaac
* tests/el-exiftool-tests.el (with-temp-test-file): Add docstring.
2017-02-23Add Makefile for tests.Arun Isaac
* tests/Makefile: New file.
2017-02-23Move tests to separate directory.Arun Isaac