Commit graph

251 commits

Author SHA1 Message Date
artemp
b84eb8f2b0 Merge branch 'master' into spirit-x3 2016-02-08 08:53:25 +01:00
Mickey Rose
5764d619f3 expressions test: move expression strings into Catch calls, continue on failure 2016-02-05 17:22:01 +01:00
Mickey Rose
53bb55eade rename expresssions_test.cpp, didn't pass spell check 2016-02-05 17:22:01 +01:00
artemp
cb708d7f5a transform_grammar: correct and simplify rules per bcc7495a87 (commitcomment-15915607)
image_filter: relax `agg-stack-blur` rule to allow `agg-stack-blur,agg-stack-blur(),agg-stack-blur(1),agg-stack-blur(1,1)` syntax + add image filter parsing tests
2016-02-05 16:50:49 +01:00
artemp
3af34690c0 transform_grammar: correct and simplify rules per bcc7495a87 (commitcomment-15915607)
image_filter: relax `agg-stack-blur` rule to allow `agg-stack-blur,agg-stack-blur(),agg-stack-blur(1),agg-stack-blur(1,1)` syntax + add image filter parsing tests
2016-02-05 16:34:22 +01:00
artemp
ee2277a610 Merge branch 'master' into spirit-x3 2016-02-05 13:04:06 +01:00
Mickey Rose
7594301d98 test/shapeindex: include loop variables in failure message
[skip ci]
2016-02-04 18:54:21 +01:00
artemp
13af423046 unit test - use 'parse_image_filters' and avoid instantiating expensive redundant grammar 2016-02-02 11:30:00 +01:00
artemp
cd2b13eb57 unit test - use 'parse_image_filters' and avoid instantiating expensive redundant grammar 2016-02-02 11:25:32 +01:00
artemp
093009137e css_color - re-factor grammar into *_x3.hpp, *_x3_def.hpp, *_x3.cpp. Make css_color_grammar_type available via css_color_grammar::css_color_grammar_type color_grammar(); 2016-02-01 15:34:18 +01:00
artemp
4b5a73e21b Merge branch 'master' into spirit-x3 2016-02-01 10:04:07 +01:00
Dane Springmeyer
a447c78d2e ensure valid objects in shapeindex test 2016-01-29 16:30:03 -08:00
artemp
3e866e63b2 Merge branch 'master' into spirit-x3 2016-01-29 11:15:19 +01: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
artemp
99c67a87cd Merge branch 'master' into spirit-x3 2016-01-26 10:59:30 +01:00
Dane Springmeyer
c037fcba36 fix shapeindex tests - closes #3252 2016-01-25 16:57:32 -08:00
artemp
9831e9eb87 Merge branch 'master' into spirit-x3 2016-01-25 10:29:38 +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
165e05b453 Merge branch 'master' into spirit-x3 2016-01-21 18:42:18 +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
68ab306708 Merge branch 'master' into spirit-x3 2016-01-21 10:51:59 +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
aa0180b4e8 Merge branch 'master' into spirit-x3 2016-01-20 12:29:54 +01:00
artemp
2db9818ab9 image_io_test : add 'save_to_xxx' tests 2016-01-20 12:24:08 +01:00
Dane Springmeyer
4432e93250 Merge branch 'master' of github.com:mapnik/mapnik into spirit-x3 2016-01-19 12:25:36 -08: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
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
artemp
7e5337b486 Merge branch 'master' into spirit-x3 2016-01-12 15:13:17 +00: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
1687f6ff1b add custom command line options to unit tests - refs philsquared/Catch#381 2016-01-05 17:13:36 -08:00
Dane Springmeyer
96dff395a4 fix usage of base in csv unit tests 2016-01-05 15:18:02 -08:00
artemp
11c6896520 Merge branch 'master' into spirit-x3 2016-01-05 10:25:23 +00: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
artemp
209af16763 rename SVG2 back to CSS as it's a better fit 2015-12-15 15:16:18 +00:00