Commit graph

681 commits

Author SHA1 Message Date
Dane Springmeyer
00517a507f add more river images to test up for better testcases 2012-10-01 12:14:09 -07:00
Dane Springmeyer
2714bdcef3 more test fixes to set up to enforce desired behavior around tiff and premultiplied alpha in source files - refs #1508 and #1511 2012-09-28 15:07:33 -07:00
Dane Springmeyer
76dec5076e fix up expected results for testcases being developed for #1508 2012-09-28 11:19:20 -07:00
Dane Springmeyer
446ef47242 Add test file 2012-09-27 19:24:02 -07:00
Dane Springmeyer
8135ac8ac1 add more color to the visual test output 2012-09-27 19:18:07 -07:00
Dane Springmeyer
a7670459d6 add testcase for #1508 to visual tests 2012-09-27 19:11:11 -07:00
Dane Springmeyer
43ded34222 visual tests: don't output debug by default and handle exceptions from rendering 2012-09-27 18:58:50 -07:00
Dane Springmeyer
35a10d48cc remove the uneeded save_data test utility function 2012-09-26 14:12:55 -07:00
Dane Springmeyer
8b77547251 Add csv test files 2012-09-26 12:51:42 -07:00
Dane Springmeyer
a3aec240fe make the csv tests silent 2012-09-26 12:11:41 -07:00
Dane Springmeyer
794f5e369a start moving raster visual tests into place (add new,currently failing tests for raster.input) 2012-09-26 12:01:28 -07:00
Dane Springmeyer
940bb98275 visual tests: actually default to m.zoom_all() 2012-09-26 11:28:23 -07:00
Dane Springmeyer
7cf4a00af9 add ability to generate expected test results on the fly 2012-09-26 11:27:25 -07:00
Dane Springmeyer
ef94bc8db8 support python 2.5 2012-09-26 11:26:51 -07:00
Dane Springmeyer
e8abc8eef1 csv: stop adding WKT/JSON geometry data to attributes 2012-09-25 14:08:07 -07:00
Dane Springmeyer
fca564614f csv plugin: improve newline detection - closes #1497 2012-09-21 13:34:43 -07:00
Dane Springmeyer
af5f0cb243 fix reference raster images after fixing edge effects as per #1471 2012-09-14 17:02:53 -07:00
Dane Springmeyer
8cfb40ae2f refactor fontsets making them optional on the symbolizer and removing the dangerous default contructor - closes #1483 (TODO - consider modifying insert_fontset to only take single arg of fontset instance) 2012-09-14 14:17:45 -07:00
Dane Springmeyer
4973136207 Add a test (currently failing) ensuring that named fontsets created in python are propertly serialized 2012-09-14 12:27:55 -07:00
Dane Springmeyer
73ae407156 rename fontset test to be consistencly named 2012-09-14 12:07:07 -07:00
Dane Springmeyer
231bf3c197 add source tif for #1471 testcase 2012-09-11 19:30:19 -07:00
Dane Springmeyer
12f26614e5 add failing testcase for #1471 (expected image generated with patch from #1471 that disables premultiplication of data raster before blending) 2012-09-11 19:29:45 -07:00
Dane Springmeyer
116f025e8a fix expected reprojection output after #1473 2012-09-11 17:04:15 -07:00
Dane Springmeyer
4703e7bda4 fix query tests after #1473 2012-09-11 17:01:47 -07:00
Hermann Kraus
0744362481 Fix tests broken by a513d3f97d. 2012-09-08 00:43:32 +02:00
artemp
967d6110bf + singleton: return ref from instance() method 2012-09-07 16:23:03 +01:00
artemp
a513d3f97d + code: avoid exposing unsafe static methods in datasource_cache ( #1451)
+ python: remove redundent 'instance' method (mapnik.DatasourceCache)
+ python: reflect plugin_directories method
+ tests: update python usage

TODO: consider using similar approach in FontEngine etc..
TODO: consider returning reference from singleton::instance() to
      safeguard from accidental deleting a 'singleton' pointer
2012-09-05 12:53:37 +01:00
Dane Springmeyer
0e0cd08ccb ensure opacity naming fix works - closes #1470 2012-09-04 13:30:24 -07:00
Dane Springmeyer
d133db55f6 remove unused style 2012-09-04 13:21:40 -07:00
Dane Springmeyer
449aff6432 comment failing agg blending tests 2012-09-03 10:52:51 -07:00
Dane Springmeyer
f5cf5aa09d start reporting geometry type in geojson plugin 2012-09-03 10:01:01 -07:00
Dane Springmeyer
d054178a75 add grayscale conversion test - refs #1454 2012-08-31 19:12:12 -07:00
Dane Springmeyer
6450d33462 update tests images after change made to agg src_over in #1452, refs #1369 2012-08-31 18:16:49 -07:00
Dane Springmeyer
bc3c7b4b40 optimize the agg compositing test build 2012-08-31 18:15:56 -07:00
Dane Springmeyer
5e84ce0dfc agg compositing: change src_over alpha to avoid pixel artifacts by reordering computations and add basic tests comparing src_over composting to normal agg alpha blending - closes #1452 - refs #1313, #1454, #1369 2012-08-31 18:04:08 -07:00
Dane Springmeyer
affecb0f32 csv plugin: support single row data and fix warning when no data can be parsed 2012-08-31 12:07:35 -07:00
Colin Rundel
dc3763885c More parser clean up - color parser
Dropped color_factory class in favor of single color_parser function. Moved implementation to new color_factory.cpp since it is odd to have two headers (color.hpp, color_factory.hpp) and only one source file.
2012-08-29 16:41:48 -04:00
Dane Springmeyer
6aa9043352 improve upon premultiplied alpha tests in a51678d307 2012-08-28 18:53:27 -07:00
Dane Springmeyer
5120d0398d add build file for headers and svg/output code directories to hold the svg_renderer used for output - refs #1438 2012-08-27 17:58:49 -07:00
Dane Springmeyer
52c180aebc fixup json escaping test 2012-08-25 11:05:01 -07:00
Dane Springmeyer
4f4902611b only run tests if shape plugin is available 2012-08-23 14:41:45 -07:00
Dane Springmeyer
6806ca1509 load in load_map if image/svg files are not available when not using stock markers or dynamic expressions - closes #1439 2012-08-23 14:31:50 -07:00
Dane Springmeyer
f4a74d0dde add a csv_datasource initialization c++ test 2012-08-23 09:10:03 -07:00
Dane Springmeyer
769fc8948e fix test failure after c3dae01055 - refs #1399,#1282, and #1433 2012-08-22 18:17:43 -07:00
Dane Springmeyer
f431193a90 update test images 2012-08-22 14:49:10 -07:00
Dane Springmeyer
da1f12613e start a label algorithm c++ test - refs #1425 2012-08-22 13:33:24 -07:00
Dane Springmeyer
bf559f9720 add tests for symbolizer clip/transform/smooth/comp_op from python - refs #1264 2012-08-21 18:18:20 -07:00
Dane Springmeyer
e8101a070a partially repair backward compatibility in python for 'marker-type' - refs #1427 and #1285 2012-08-21 16:36:15 -07:00
Dane Springmeyer
dc1ab040f3 move box2d tests to standlone test 2012-08-21 16:21:28 -07:00
Dane Springmeyer
e63b19cc42 no need for test comments 2012-08-21 16:19:15 -07:00