Commit graph

417 commits

Author SHA1 Message Date
Dane Springmeyer
a447c78d2e ensure valid objects in shapeindex test 2016-01-29 16:30:03 -08:00
Dane Springmeyer
c786ff9edf postgis unit test: copy params to ensure that each test is independent and order does not matter 2016-01-27 12:55:26 -08:00
artemp
d027ed67c7 more const strictness, update to work with latest mapbox::variant/visitor-no-copy branch 2016-01-27 14:50:17 +01:00
artemp
c7a964abf6 disable "point unitialized" test for boost >= 1.50 (pending reviewing https://github.com/mapnik/mapnik/issues/3218) 2016-01-27 14:48:57 +01:00
Dane Springmeyer
c037fcba36 fix shapeindex tests - closes #3252 2016-01-25 16:57:32 -08:00
artemp
db9facef90 update submodules 2016-01-25 10:04:10 +01:00
Artem Pavlenko
f17b11a1e5 Merge pull request #3251 from lightmare/svg-parser-test
Fix #3249 and make parse_svg_value more strict
2016-01-25 09:58:14 +01:00
Mickey Rose
05b66fc355 refactor svg_parser_test
- moved some boilerplate to helper struct test_parser
- added REQUIRE(!parse...) to parsing error tests
- changed parsing error tests to compare full error lists instead of
  just count and then individual messages (if count was different, you
  were left in the dark with no messages at all)
- changed some double-quotes in errors to single-quotes
  (corresponding change to parser follows)
2016-01-23 20:21:05 +01:00
Tom Hughes
72297c9431 Adapt geometry tests got changes in boost 1.60
The issues with points at NaN and infinity bring considered as
valid reported in https://svn.boost.org/trac/boost/ticket/11711 has
been fixed in boost 1.60 so the tests need to reflect that.

Also per https://svn.boost.org/trac/boost/ticket/11710 empty
polygons are now considered invalid, and hence not simple.
2016-01-23 14:43:02 +00:00
Blake Thompson
5e30aee4e7 Added missing required header from unit test 2016-01-22 11:02:12 -06:00
artemp
f140cc7dd1 update submodules 2016-01-21 18:52:24 +01:00
artemp
a3ed9ad07e value test - improve coverage 2016-01-21 18:36:41 +01:00
artemp
a707d5cd65 test svg - refactor common code into separate *.hpp 2016-01-21 18:14:17 +01:00
artemp
74776631c5 add value tests 2016-01-21 12:48:36 +01: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
artemp
5471f519cd box2d - add missing tests 2016-01-19 12:15:50 +00:00
artemp
19c8b3e581 mapnik::color + increase unit test coverage (operator<<, to_string(), premultiply/demultiply) 2016-01-19 11:39:12 +00:00
mapsam
7a98745883 adding new passing test that catches failure of feature collection properties 2016-01-15 08:37:30 -08:00
Dane Springmeyer
5a6de7627b improve formatting of INFO output [skip ci] 2016-01-14 16:10:10 -08:00
Dane Springmeyer
bba2826813 make available test functions as macros to allow catch to report correct line numbers 2016-01-14 16:06:20 -08:00
Artem Pavlenko
c82b5c50c6 Merge pull request #3234 from mapnik/svg-tests
More SVG visual tests (testing tuesday 01/12/2016)
2016-01-14 16:19:55 +00:00
artemp
cc635df7bc svg_parser - use parse_svg_value 2016-01-14 11:03:55 +00:00
artemp
8ab10d0231 update test 2016-01-14 10:56:05 +00:00
jakepruitt
ebc0f2eb8b Removed random tests from reference images 2016-01-13 15:37:56 -07:00
jakepruitt
de9023f5e0 Add circle tests 2016-01-13 15:20:01 -07:00
mapsam
3b79892ae5 svg test for multiple command parts, #3229 & #3225 2016-01-12 15:28:40 -08:00
jakepruitt
12d970ff8d Change octocat svg width 2016-01-12 13:37:03 -07:00
jakepruitt
e933f9ec40 Update new octocat fixture 2016-01-12 11:10:09 -07:00
artemp
37d586d701 Unit tests - add SVG path parsing tests 2016-01-12 15:08:02 +00:00
Dane Springmeyer
488af4055d Reduce merge conflicts with master 2016-01-11 16:23:04 -08:00
Dane Springmeyer
40fed664df more visual test updates 2016-01-11 14:10:46 -08:00
Dane Springmeyer
6036711148 update to latest visual test images 2016-01-11 14:02:57 -08:00
Dane Springmeyer
4e26932868 use latest visual test data 2016-01-11 13:48:48 -08:00
Dane Springmeyer
31958352bc Merge pull request #3213 from mapycz/fix-visual-tests-init
visual tests: fix vector initialization
2016-01-06 09:02:30 -08:00
Dane Springmeyer
1687f6ff1b add custom command line options to unit tests - refs philsquared/Catch#381 2016-01-05 17:13:36 -08:00
Dane Springmeyer
ca3b0c43e7 upgrade catch.hpp 2016-01-05 16:42:36 -08:00
Dane Springmeyer
96dff395a4 fix usage of base in csv unit tests 2016-01-05 15:18:02 -08:00
artemp
869bff43f0 remove debug printing 2016-01-04 15:15:37 +00:00
artemp
b513d6a07b don't export DYLD_LIBRARY_PATH multiple times 2016-01-04 14:24:25 +00:00
artemp
102671e498 add test with --index-parts option 2016-01-04 14:22:09 +00:00
Jiri Drbalek
9ad6ee2999 visual tests: fix vector initialization 2015-12-28 09:30:46 +00:00
Dane Springmeyer
75cb954d26 update test-data to include new postgis sql 2015-12-14 15:27:48 -08:00
Dane Springmeyer
fc6556170d let's not depend on CREATE EXTENSION working in C++ code 2015-12-14 15:27:05 -08:00
Dane Springmeyer
b42f072ad3 wip: start chipping away at getting tests running - refs #3180 2015-12-14 15:00:10 -08:00
Dane Springmeyer
dc109a7ae2 Merge branch 'master' of github.com:mapnik/mapnik into postgis-tests-squashed 2015-12-14 13:45:29 -08:00
artemp
5e2f3ce61d geojson/geometry - update unit test 2015-12-14 11:46:39 +00:00
artemp
e65cb96743 sync expressions tests with spirit-x3 branch 2015-12-08 16:39:32 +00:00
artemp
327ba670ff expressions unit test - add relational and regex tests 2015-12-08 16:25:59 +00:00