Commit graph

30 commits

Author SHA1 Message Date
Mathis Logemann
7ef431ece2 use std::optional instead of boost::optional 2024-05-18 10:22:29 +02:00
Artem Pavlenko
a244effa91 Add mapnik/filesystem.hpp ref:https://github.com/mapnik/mapnik/pull/4383#discussion_r1131405532 2023-03-13 14:27:02 +00:00
Artem Pavlenko
be0b537f52 Use std::filesystem when CXX_STD >= 17 and not USE_BOOST_FILESYSTEM 2023-03-09 13:17:28 +00:00
Artem Pavlenko
a65d65a5ab Update .clang-format to BraceWrapping: BeforeCatch : true
run `pre-commit`
2022-11-10 15:57:38 +00:00
Mathis Logemann
6dcf754077 format dir test
format dir test

fix
2022-01-27 00:12:12 +01:00
Mathis Logemann
fe887a2c83 fix #4268 by adding mapped_memory_file 2022-01-24 10:45:32 +01:00
Mathis Logemann
64054fade4 compiler independent warning ignore
Signed-off-by: Mathis Logemann <mathisloge@gmail.com>
2020-11-19 17:25:10 +01:00
Artem Pavlenko
d6d69df498 Update catch.hpp to v2.13.1 + fix tests 2020-09-10 15:34:52 +01:00
artemp
b55f5dc895 image - add tiny image quantising tests (ref #3466) 2016-08-01 12:21:32 +02:00
Dane Springmeyer
632dd7e76d [test][windows] ensure reader is destroyed before trying to remove file - refs #3359 2016-03-12 08:58:53 -08:00
Dane Springmeyer
df62c07a68 [io test] [windows] create directories recursively 2016-03-11 20:07:31 -08:00
Dane Springmeyer
78442547f8 fix directory assertion logic 2016-03-11 18:24:22 -08:00
Dane Springmeyer
b14d525968 write images to custom tmp directory and create it first 2016-03-11 18:08:35 -08:00
Dane Springmeyer
fde36984de minor unit test cleanups to prepare to test amalgamation 2016-03-03 10:53:58 -08:00
Blake Thompson
5e30aee4e7 Added missing required header from unit test 2016-01-22 11:02:12 -06:00
artemp
be7a70746c image_io_test - increase coverage 2016-01-20 13:43:01 +01:00
artemp
c36ae3964a image_io_test : add basic save options tests 2016-01-20 13:39:32 +01:00
artemp
2db9818ab9 image_io_test : add 'save_to_xxx' tests 2016-01-20 12:24:08 +01:00
Dane Springmeyer
a9814f25f0 more test include gardening 2015-10-29 08:35:45 -07:00
artemp
8c8ea74a63 update unit test 2015-09-16 10:15:21 +01:00
Dane Springmeyer
b2d08ea4ea re-enable zero allocation image interface - refs #3069 2015-09-14 16:45:58 -07:00
artemp
751abba262 add parse_jpeg_quality method + uint test parsing jpegXX and jpeg:quality=XX options
ref #3024
2015-08-12 10:29:57 +02:00
Dane Springmeyer
5465adc229 fix expected error message 2015-06-11 14:04:20 -07:00
Dane Springmeyer
84a0c49ec3 Avoid crashing if we try to read a png as a jpeg - closes #2903 2015-06-11 14:02:34 -07:00
Blake Thompson
e44cdef805 Fix get_pixel with image_view 2015-05-11 18:19:24 -05:00
Blake Thompson
ba0cc39046 Updated tests so that they use REQUIRE_THROWS 2015-05-11 15:51:50 -05:00
Dane Springmeyer
ad2e8afb55 fix failing C++ tests that depend on test data - closes #2787 2015-04-30 06:57:47 -07:00
Dane Springmeyer
d83afb3c75 pull data from test-data repo 2015-04-26 20:23:02 +02:00
Dane Springmeyer
c4f497be0a drop old cpp_tests folder [skip ci] 2015-04-25 22:13:26 +02:00
Dane Springmeyer
edf7616b19 reorganize c++ tests 2015-04-25 22:08:12 +02:00
Renamed from tests/cxx/image_io_test.cpp (Browse further)