Commit graph

539 commits

Author SHA1 Message Date
Blake Thompson
f3abe7fc25 Added test coverage to image buffer 2015-05-13 16:50:31 -05:00
Blake Thompson
86b65146a7 Added more tests around image_any 2015-05-13 16:50:31 -05:00
Blake Thompson
deba4c114a Added test coverage for image_any 2015-05-13 16:50:31 -05:00
Blake Thompson
cebbca16d4 Improved test coverage for image and image view 2015-05-13 16:50:31 -05:00
Blake Thompson
f2b26f5707 Initial commit for image unit test 2015-05-13 16:50:31 -05:00
Blake Thompson
c3dfda4977 Merge pull request #2808 from mapnik/bugfix/strategy_rounding
Bugfix/strategy rounding
2015-05-13 13:45:26 -05:00
Blake Thompson
166e606b71 Better tests to fully cover all cases 2015-05-12 15:01:17 -05:00
Blake Thompson
39428585f0 Added the rounding_cast utility, and added a scale_rounding_strategy to support this new casting type. Added tests for it 2015-05-12 14:36:29 -05:00
Blake Thompson
1dddfd17ef Removed try catch around set_alpha, and just checked bounds. Added unit tests for image_view 2015-05-12 12:24:14 -05:00
Jiri Drbalek
7ca96eb824 visual tests: use boost::filesystem::unique_path() instead of boost::uuids::uuid 2015-05-12 12:52:02 +00:00
Dane Springmeyer
d0abe672fc support older boost in visual tests - closes #2801 2015-05-11 21:23:39 -07:00
Dane Springmeyer
2d2f63f27f visual tests: show errors when hit both in console and in html report 2015-05-11 19:49:38 -07:00
Dane Springmeyer
b9d39a2883 avoid crash on uninitialized pointer [skip ci] 2015-05-11 19:22:44 -07:00
Dane Springmeyer
175e9f1571 fix spelling [skip ci] 2015-05-11 19:07:33 -07:00
Dane Springmeyer
a79b33236a fix spelling [skip ci] 2015-05-11 19:04:23 -07:00
Dane Springmeyer
41ad16f4d7 hello world plugin is now standalone at https://github.com/mapnik/hello-world-input-plugin - refs #2790 2015-05-11 17:07:33 -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
Jiri Drbalek
5220afb9f2 Merge pull request #2796 from mapycz/cpp-visual-test-runner
new visual test runner
2015-05-11 22:14:32 +02:00
Jiri Drbalek
220ecb1215 update visual tests 2015-05-11 20:13:21 +00:00
Blake Thompson
f54164da75 Changed the way that set alpha worked, renaming old method to multiply_alpha, added new set_alpha, that simply sets the alpha. Added protection for overflows and underflows. Added unit tests to cover all code 2015-05-11 13:12:13 -05:00
Jiri Drbalek
688f76a260 new visual test runner 2015-05-10 20:14:04 +00:00
Blake Thompson
1ca5ae4446 Forgot to add unit test 2015-05-10 14:28:10 -05:00
Blake Thompson
fbfd6664bc Added unit test for premultiply 2015-05-08 20:19:50 -05:00
Dane Springmeyer
126c777c8d shuffle around boost/geometry usage in headers to reduce compile time 2015-05-05 22:04:49 -07:00
Dane Springmeyer
655d27775b update test data 2015-04-30 14:26:49 -07:00
Dane Springmeyer
404f942e4b update test-data submodule 2015-04-30 08:02:47 -07:00
Dane Springmeyer
5a594dd0c1 move C++ test running to test/run + make output prettier 2015-04-30 07:41:16 -07:00
Dane Springmeyer
77d9c886a2 fix paths for font_registration_test.cpp - refs #2787 2015-04-30 07:12:30 -07: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
b730d437f7 pj_clear_initcache is only available in proj >= 4.8 2015-04-29 18:00:47 -07:00
Dane Springmeyer
f861df2130 fix compile on windows (M_PI) [skip ci] 2015-04-29 15:58:13 -07:00
Dane Springmeyer
66ad95cbbe remove extra unit test print [skip ci] 2015-04-26 23:32:37 +02:00
Dane Springmeyer
d9ea4e9b6e ensure clean valgrind run 2015-04-26 23:26:11 +02:00
Dane Springmeyer
d83afb3c75 pull data from test-data repo 2015-04-26 20:23:02 +02:00
Dane Springmeyer
8a64d6aeba drop useless test (should be covered by visual tests) 2015-04-26 01:16:25 +02:00
Dane Springmeyer
6227ca8588 upgrade catch 2015-04-26 01:15:31 +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