summaryrefslogtreecommitdiff
path: root/test/manual/image-tests.el
Commit message (Collapse)AuthorAgeFilesLines
* ; Add 2024 to copyright yearsPo Lu2024-01-021-1/+1
|
* ; Add 2023 to copyright years.Eli Zaretskii2023-01-011-1/+1
|
* Avoid double svg error reporting and segfaultsdickmao2022-09-131-1/+18
| | | | | | | | | * src/image.c (svg_load_image): Use g_error_free directly instead of the helder g_clear_error (since we're only calling it with non-nil values). (svg_load_image): Avoid segfault and double reporting errors. * test/manual/image-tests.el (image-tests-load-image/svg-too-big) (image-tests-load-image/svg-invalid): Test it (bug#57755).
* ; Fix last change in test/manual/image-tests.elStefan Kangas2022-09-131-4/+5
| | | | | * test/manual/image-tests.el (image-skip-unless): (image-tests-image-metadata/gif): Fix last change.
* Skip manual GIF metadata test on MS-WindowsStefan Kangas2022-09-121-4/+5
| | | | | | | * test/manual/image-tests.el (image-skip-unless): Add new arg CONDITION. (image-tests-image-metadata/gif): Skip test on MS-Windows when using native image API. (Bug#57691)
* Fix SVG loading test for old librsvg 2.40.1Stefan Kangas2022-09-091-1/+2
| | | | | * test/manual/image-tests.el (image-tests-load-image/svg-invalid): Fix test for old librsvg 2.40.1. (Bug#57691)
* ; Clean up recently added SVG testStefan Kangas2022-09-091-8/+9
| | | | | * test/manual/image-tests.el (image-tests-load-image/svg-invalid): Clean up.
* Display librsvg error when loading bad SVGStefan Kangas2022-09-091-0/+11
| | | | | | | * src/image.c (svg_load_image): Display the error message from librsvg when parsing a bad SVG image file. * test/manual/image-tests.el (image-tests-load-image/svg-invalid): New test.
* Move some tests to test/manual/image-tests.elStefan Kangas2022-09-081-0/+256
* test/src/image-tests.el: Move several tests from here... * test/manual/image-tests.el: ...to here. Suggested by Eli Zaretskii <eliz@gnu.org>.