Commit graph

689 commits

Author SHA1 Message Date
Artem Pavlenko
05546b2053 add 'pattern' to unsupported elements + call handle_unsupported on end_element to catch them all + update unit tests 2019-08-08 11:50:31 +01:00
Artem Pavlenko
7d1bfaeb4b
Merge pull request #3999 from mapnik/test-placement-type
Tests of text_placements_simple and text_placements_list
2019-07-02 11:56:39 +01:00
Nikita Kniazev
c191e196c0 Replace MAPNIK_INIT_PRIORITY workaround
Spirit rules are just placeholders. They are cheap to construct and by doing
this static initialization order fiasco problem is effectively avoided.

Also had to fix name clash between geojson and generic json parsers.
2019-07-02 01:04:31 +03:00
Jiri Drbalek
6f83cdf572 Update visual tests 2019-05-17 22:55:42 +02:00
Artem Pavlenko
f04ab0cbae Update svg unit tests post 831e353c5d 2019-05-14 10:50:10 +01:00
Artem Pavlenko
b1185fc099
Merge pull request #4031 from mapycz/adaptive-smooth
[WIP] Adaptive smooth
2019-02-13 14:00:00 +00:00
Jiri Drbalek
2dde0eb257 Adaptive smooth 2019-02-09 15:24:12 +00:00
Jiri Drbalek
c2b1103cb6 Cairo: set version of SVG to 1.2 2019-02-08 12:32:01 +00:00
Artem Pavlenko
23492d6742 CSS color: add hue range tests for hsl(a) color strings (#4020) 2019-01-16 10:31:53 +00:00
Jiri Drbalek
91b868d7ad Update visual tests 2018-11-21 12:21:54 +00:00
Artem Pavlenko
def1994856 update dependencies 2018-11-20 14:36:59 +00:00
Artem Pavlenko
65e98c1940 fix compiler warning (warning: field 'expected_query_bbox_' will be initialized after base 'mapnik::memory_datasource' [-Wreorder]) 2018-11-20 14:16:44 +00:00
Jiri Drbalek
46de0f661b New test of text_placements_list 2018-10-20 21:09:08 +00:00
Jiri Drbalek
90a1b65081 New test of text_placements_simple 2018-10-20 20:59:20 +00:00
Jiri Drbalek
493eaa4d18 Update visual tests 2018-09-20 08:14:43 +00:00
Jiri Drbalek
d42d2740f3 Update visual tests 2018-09-18 12:12:53 +00:00
lightmare
6a7317d354
Merge pull request #3967 from mapycz/fix-warp-transparent-raster
Fix seams of mesh faces when warping transparent raster
2018-08-15 23:07:29 +02:00
Jiri Drbalek
b50498cb53 Update test data 2018-08-15 07:44:27 +00:00
lightmare
a6e0b6b857
Merge pull request #3958 from mapycz/fix-buffer-size-with-scale-factor
Fix buffer-size with scale-factor
2018-08-14 17:11:31 +02:00
Mickey Rose
6a3452da96 fix read beyond buffer in topojson test 2018-08-13 19:08:30 +02:00
Mickey Rose
ee28954786 topojson: add test with empty "objects" and "arcs" 2018-08-13 18:41:56 +02:00
Jiri Drbalek
8a0dca38a3 Fix buffer-size with scale-factor 2018-08-01 08:06:37 +00:00
Artem Pavlenko
af842a8bf9 Merge branch 'pi-is-wrong' of https://github.com/lightmare/mapnik into lightmare-pi-is-wrong 2018-07-30 10:40:51 +01:00
Jiri Drbalek
acbf80677a update visual tests data 2018-07-27 10:23:34 +00:00
Mickey Rose
6e71bad70c Revert "update test data"
This reverts commit 81183d6fe6.
It removed recent tests, didn't update.
2018-07-27 10:58:31 +02:00
Mickey Rose
f1d07d6718 proj_transform test: also check that transform succeeded 2018-07-18 19:31:12 +02:00
Mickey Rose
1e6feecb91 proj_transform: add test for strided coordinate array 2018-07-16 14:18:49 +02:00
Mickey Rose
f84191204e eradicate M_PI 2018-07-16 14:18:49 +02:00
Mickey Rose
2a98fe0155 proj_transform test: use reference values from cs2cs tool 2018-07-10 11:31:06 +02:00
Jiri Drbalek
9a30fda852 Backport Python test of bbox reprojection
Originaly in Python from https://github.com/mapnik/mapnik/pull/2657
2018-07-10 11:31:06 +02:00
Artem Pavlenko
735acb297a add (uncomment) surrogate pairs test + small typo fix 2018-07-02 21:55:27 +02:00
Artem Pavlenko
df0ba4a777 add more single/double quotes tests 2018-07-02 16:42:35 +02:00
Artem Pavlenko
81183d6fe6 update test data 2018-07-02 15:11:47 +02:00
Artem Pavlenko
2977688a8a test for single and double quoted escaped strings (regex) (ref 3433397c30 (commitcomment-29512684)) 2018-07-02 15:10:28 +02:00
Artem Pavlenko
7db6b0c9f0
Merge pull request #3925 from lightmare/test-ds-attr-types
Also check types of values in datasource tests
2018-07-02 09:53:53 +02:00
Artem Pavlenko
51065985df
Merge pull request #3921 from lightmare/unicode-attr-name
add test for parsing expression with non-ascii characters in attribute name
2018-07-02 09:51:45 +02:00
Artem Pavlenko
9e3014494c
Merge pull request #3912 from mapycz/fix-overviews
GDAL: Fixes of overviews
2018-07-02 09:49:46 +02:00
Mickey Rose
2e82c17d92 datasource tests: typos 2018-06-30 15:26:17 +02:00
Mickey Rose
58592ed597 datasource tests: fix failing csv test
- it was indeed the test that was wrong; the coordinates in nypd.csv are
  specified with a decimal point, thus should be `value_double`
2018-06-30 15:21:55 +02:00
Mickey Rose
04e1f82734 datasource tests: use macro REQUIRE_ATTRIBUTES instead of function
- failing checks report location inside the function, not where it's
  called from; using macro reports proper location
2018-06-30 15:20:22 +02:00
Mickey Rose
d62e215ff9 datasource tests: also check value types in REQUIRE_ATTRIBUTES 2018-06-30 15:20:19 +02:00
Mickey Rose
5544c4c74f expressions_test: add test for unicode attribute name
Refs #1153

That issue doesn't affect current master, maybe it was valid at the time
of posting.  I just couldn't find a test that'd confirm unicode in
attribute names actually works, so here it is.
2018-06-27 11:58:56 +02:00
Mickey Rose
6befc23101 expressions_test: change properties_type to std::map 2018-06-27 11:56:36 +02:00
Dane Springmeyer
d60be13ed8 remove unused code 2018-06-26 15:57:21 -07:00
Dane Springmeyer
c458cf0c57 test duplicate style throw behavior exactly 2018-06-26 09:53:12 -07:00
Jiri Drbalek
712cce8213 Update test data 2018-06-11 14:40:58 +02:00
Artem Pavlenko
977c86af6c update visual test data 2018-06-07 09:45:14 +01:00
Raul Marin
0becc1c5e9 Markers point placement: Add some basic tests 2018-05-11 15:39:55 +02:00
Jiri Drbalek
ab05de48df postgis: Exclude password from ConnectionCreator::id()
- Password is not necessary for connection identification
- When password is not required by the database,
  user can accidentally use multiple different passwords
  without noticing.
  This leads to allocating more connection pools
  and increase of connection consumption.
2018-05-07 13:49:57 +00:00
Artem Pavlenko
d2d587cb1b mapycz-save-map-denominator 2018-04-10 10:25:23 +02:00