Commit graph

132 commits

Author SHA1 Message Date
artemp
b15dba95cd unit test - add malformed JSON test + update test data 2015-10-14 11:41:14 +01:00
Dane Springmeyer
b7a54f3f09 warn if boost is too old to run tests 2015-10-06 15:39:42 -07:00
Dane Springmeyer
5915c4e7a5 fix test compile with older boost 2015-10-06 07:32:51 -07:00
artemp
0bd7a980f3 unit test - add `query_first_n' test 2015-10-06 11:42:34 +01:00
Blake Thompson
c127620b6c Updated the way that is_valid and is_simple operate in mapnik and added lots of testing around them. 2015-10-05 15:10:24 -07:00
artemp
93a237850b fix spatial_index test after de9de659c3772fdf232a3c24f5c254a0a86046b9 2015-10-05 15:28:57 +01:00
artemp
4273e37278 Merge branch 'master' into csv-disk-index 2015-10-01 15:26:47 +01:00
Dane Springmeyer
0c23eaa4ba fix variable shadowing in image_filter unit test 2015-09-30 14:23:00 -07:00
artemp
848098baeb spatial_index/quad_tree - remove `operator>>' requirement, instead value_type stored must have standard layout for correct (de)serialisation + update unit test 2015-09-29 15:44:57 +01:00
artemp
f549cae46a unit test - add initial spatial_index tests 2015-09-29 12:27:56 +01:00
jakepruitt
a787d20e36 Add viewbox fallback logic for dimension parsing
SVG's now have fallback on viewbox. Still debugging the boost Qi parser
2015-09-25 12:05:57 -07:00
artemp
8c2f15c94a mapnik::value - always upcast to the higher definition numeric value (rhs or lhs) in operator== and operator!=
add unit test for comparing numeric mapnik::values
2015-09-24 17:38:16 +01:00
Jiri Drbalek
91db109b37 fix parsing colors in hexadecimal notation 2015-09-18 13:54:05 +00:00
artemp
d54eca9dca image - fix copy/move implementation and update/improve tests 2015-09-16 14:28:55 +01:00
artemp
60c79d6614 image unit test - make test image 16x16 + add more checks 2015-09-16 11:47:36 +01:00
artemp
c1301fa142 image unit test - add copy (deep/shallow) + move tests 2015-09-16 11:37:46 +01:00
artemp
8c8ea74a63 update unit test 2015-09-16 10:15:21 +01:00
Artem Pavlenko
c4e0516ba6 Merge pull request #3061 from mapycz/colorize-alpha
colorize-alpha: add support for transparent colors
2015-09-15 16:11:28 +01:00
Dane Springmeyer
b2d08ea4ea re-enable zero allocation image interface - refs #3069 2015-09-14 16:45:58 -07:00
Jiri Drbalek
6f0b4d438c colorize-alpha: add support for transparent colors 2015-09-11 11:31:08 +00:00
Artem Pavlenko
282bdf178c Merge pull request #3058 from mapycz/colorize-alpha-fix-color-value-normalization
colorize-alpha: fix normalization of color components
2015-09-08 12:50:46 +02:00
Jiri Drbalek
79f4e3ac8f colorize-alpha: fix normalization of color components 2015-09-08 10:14:20 +00:00
Jiri Drbalek
72222efad7 scale-hsla image filter: unlimit parameters 2015-09-03 11:33:53 +00:00
artemp
0ba2e3f3f6 update svg tests 2015-08-17 16:53:42 +02:00
artemp
ebf4d66900 Merge branch 'master' into image_filters 2015-08-12 11:27:59 +02: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
Blake Thompson
0b6b11b9cf Added the ability for filter_image to throw properly with bad input and added the ability for a new image to be returned 2015-08-11 19:22:09 -05:00
Blake Thompson
a492028f25 Initial commit of changes for image_filters so they can be called outside of agg renderer 2015-08-07 15:54:39 -05:00
Blake Thompson
161469ed63 Fixed an issue with fields over size of int32 in OGR plugin and added tests to cover this situation. 2015-08-05 13:47:17 -05:00
Blake Thompson
f5cf669736 Updated SVG unit test so that it no longer writes to std err. closes #3007 2015-07-31 12:31:54 -05:00
artemp
42bf2303e0 fix parse_double_optional_percent grammar and update tests 2015-07-31 11:35:02 +02:00
artemp
5b04764757 SVG - update tests to work with marker_cache's strict policy 2015-07-31 10:47:30 +02:00
jakepruitt
0cc524aa1c Adding percentage for linear gradient 2015-07-30 17:35:30 -04:00
jakepruitt
6f6af87a43 Write invalid parse_string test 2015-07-30 17:05:19 -04:00
jakepruitt
9549a1cc01 Adding tests for radial gradients with percentages 2015-07-30 16:46:27 -04:00
jakepruitt
8982938270 Adding test for gradient xlink:href
- refs #3005
2015-07-30 12:48:23 -04:00
artemp
f8fd60dc69 remove libxml includes and init calls 2015-07-30 13:13:53 +02:00
artemp
f75921c7ca update test + data 2015-07-30 11:09:08 +02:00
jakepruitt
b4bc16751c Adjusted error message logic for logging path ids 2015-07-29 22:37:30 -04:00
jakepruitt
af27af4af2 Improving svg test coverage
- refs #3005
2015-07-29 22:26:28 -04:00
artemp
f3870cc8fe update test 2015-07-29 16:09:51 +02:00
artemp
d05c13d849 unit test - cope with incorrectly encoded geometries 2015-07-29 15:42:53 +02:00
artemp
42c8da72e9 Merge branch 'master' into svg-parser-errors 2015-07-28 10:29:59 +02:00
Dane Springmeyer
e82de0109d centralize plugin registration for unit tests 2015-07-27 15:35:00 -07:00
artemp
ec591c1ffa add bogus stroke-width test 2015-07-24 11:05:58 +02:00
artemp
49d4beec59 fix typo 2015-07-23 15:16:08 +02:00
artemp
e496e24deb add "Gradients apply to leaf nodes" test and update test data 2015-07-23 12:58:38 +02:00
artemp
158e4b7f87 add missing gradient definition test 2015-07-22 16:34:28 +02:00
artemp
626cb9f47c add display=none test 2015-07-22 15:28:55 +02:00
artemp
7aa30a211e SGV tests: <gradient> - update expected path data 2015-07-22 13:32:39 +02:00