Commit graph

547 commits

Author SHA1 Message Date
Dane Springmeyer
0c37819989 remove duplicate grid rendering test 2012-07-12 19:01:31 -07:00
Dane Springmeyer
ad7a02695e fix test markers xml, accidentally changed in 9888ff0d50 2012-07-09 13:38:49 -07:00
Dane Springmeyer
269569250c use mapnik.Image for visual tests - closes #1296 2012-07-06 17:44:15 -07:00
Dane Springmeyer
d721cdb6b9 re-expose raster scaling in tests 2012-07-06 16:48:37 -07:00
Hermann Kraus
c805cbcfe1 Add test for ShieldSymbolizer with text placements. 2012-07-05 10:37:39 +02:00
Dane Springmeyer
7d9b4ce0da settle upon 'geometry-transform' naming - refs #1276 2012-07-03 18:34:11 -07:00
Hermann Kraus
eb682c1f4f Fix visual_tests/test.py. 2012-07-03 23:39:34 +02:00
Dane Springmeyer
9888ff0d50 remove geometry type tests for postgis that are not longer valid with postgis 2.0 2012-06-29 16:52:54 -07:00
Dane Springmeyer
67e9b0d616 move marker width/height to expressions - closes #1102 and replaces #1255 2012-06-28 19:54:25 -07:00
Hermann Kraus
d9afce16c2 Revert "Add tests for international text."
This reverts commit 0caebc52ae.
2012-06-29 01:01:58 +02:00
Dane Springmeyer
cd644ac24f Merge branch 'master' of github.com:mapnik/mapnik 2012-06-28 15:11:35 -07:00
Hermann Kraus
0caebc52ae Add tests for international text. 2012-06-28 20:49:41 +02:00
Dane Springmeyer
9e8f815b07 add a few more filter tests - all should pass cleanly 2012-06-26 18:55:58 -07:00
Dane Springmeyer
c38598e9ad allow the ogr shapefile reading test to pass with latest gdal 2012-06-26 18:25:56 -07:00
Dane Springmeyer
7b3e86b59f add test csv file 2012-06-25 14:58:38 -07:00
Dane Springmeyer
37c9142515 csv plugin: also detect fields named 'lng' as longitude 2012-06-25 10:18:09 -07:00
Dane Springmeyer
5b61c093e5 initialize grid buffers to std::numeric_limits<int>::min() and use that value to mean no-hit or non-interactive pixels - closes #1065 2012-06-23 22:41:07 -04:00
Dane Springmeyer
63bd634536 set encoding for test file 2012-06-22 10:15:10 -04:00
Dane Springmeyer
eb4740b50f fix behavior of compositing via python api now that we have premultiplication issues sorted out in core - refs #1262 and #314 and #1211 2012-06-21 15:44:57 -04:00
Dane Springmeyer
b8e0366fdf improve readibility of error output from visual tests 2012-06-07 15:26:50 -05:00
Mickey Rose
2a7634693f add python test: set ShieldSymbolizer's transform 2012-06-07 17:12:38 +02:00
Artem Pavlenko
03e6f9d023 Merge pull request #1245 from simonsonc/png-exceptions
Catch and throw PNG exceptions - fixes #1213
2012-06-07 04:00:40 -07:00
Dane Springmeyer
957c40f763 move to int32 for grid rendering buffer - closes #1196 2012-06-06 16:36:38 -07:00
Carl Simonson
cd7ad3e15e Catch and throw PNG exceptions - fixes #1213
The png library uses setjmp/longjmp to throw exceptions when reading. If this
is not set up, the png library calls abort(). This change handles the errors
and throws a C++ exception instead.

This issue was found by testing images from pngsuite at
http://www.schaik.com/pngsuite/. These images are included and a unit test was
added to test both images that should be successful and images that should
throw an exception.
2012-06-06 17:52:41 -05:00
Dane Springmeyer
11e81fdb03 finish exposing markers symbolizer in python - closes #612 2012-06-04 13:42:51 -07:00
Dane Springmeyer
43d6de7fa6 add partial test files for second case of #997 2012-05-24 16:57:17 -07:00
Dane Springmeyer
e1fa732f90 add test for alpha blending during bilinear scaling - refs #997 2012-05-24 16:39:24 -07:00
Dane Springmeyer
a567c02306 Revert "update test images used for validating compositing"
This reverts commit ac2d935c28.
2012-05-24 11:05:17 -07:00
Dane Springmeyer
975242e597 disable non-critical failing test on ubuntu 2012-05-23 15:40:25 -07:00
Dane Springmeyer
028b042185 add support for older boost in the cpp tests 2012-05-18 11:17:54 -07:00
Dane Springmeyer
074c28c4bc avoid assert in cpp tests in debug mode 2012-05-15 11:45:55 -07:00
Dane Springmeyer
3178b96d67 overwrite the tiff test images again 2012-05-14 14:13:32 -07:00
Dane Springmeyer
ac2d935c28 update test images used for validating compositing 2012-05-11 15:42:50 -07:00
Dane Springmeyer
3531cb6fff update expected images from test output since minor differences occur from new compositing 2012-05-11 07:28:23 -07:00
Dane Springmeyer
66ff9b1492 show expected image path for visual test failures 2012-04-23 16:13:59 -07:00
Dane Springmeyer
61d3cf635a Merge pull request #1172 from caffeinate/master
MarkersSymbolizer - stroke/fill python bindings
2012-04-19 12:15:43 -07:00
Dane Springmeyer
f977134afd touch sqlite tests further 2012-04-18 16:06:18 -07:00
Dane Springmeyer
f8e6b4f27d test round tripping a feature and wkb geometry through sqlite 2012-04-18 12:49:49 -07:00
Dane Springmeyer
f76fde32b9 Merge branch 'master' of github.com:mapnik/mapnik 2012-04-16 22:51:31 -07:00
Dane Springmeyer
e986bce7f6 format c++ tests 2012-04-16 22:33:37 -07:00
Dane Springmeyer
e3982081d8 save test renders outside of source tree 2012-04-16 22:07:14 -07:00
Dane Springmeyer
5767c65470 improve the map.query_point/query_map_point implementation, now throwing for invalid coords or projection transformations 2012-04-13 11:28:30 -07:00
Dane Springmeyer
6de1a84949 renable the intentionally broken font test now that there is no log output 2012-04-12 16:09:00 -07:00
Si Parker
003c5a72ab added MarkersSymbolizer python bindings for fill and stroke 2012-04-11 10:41:15 +01:00
kunitoki
1f351e0e09 implement new debug system 2012-04-08 02:20:56 +02:00
Dane Springmeyer
8220acce82 more params tests 2012-04-06 14:20:04 -07:00
Dane Springmeyer
b7f714f7ec postgis: primary key autodetection will now only happen if 'autodetect_key_field' is set to true - maintains current behavior - refs #804 2012-04-05 11:05:14 -07:00
Dane Springmeyer
9c3d3ab285 more concise output from c++ tests 2012-04-05 08:35:28 -07:00
Dane Springmeyer
a50ea0750e compile c++ tests even if only installing and hook them all up automatically to make test target 2012-04-04 15:19:37 -07:00
Dane Springmeyer
0e64cc157e tests: allow the visual tests to be run in quiet mode 2012-04-04 14:54:07 -07:00