Commit graph

278 commits

Author SHA1 Message Date
Dane Springmeyer
ec611832ab initial map deepcopy test 2011-12-20 12:46:35 -08:00
Dane Springmeyer
2c1f5b6ea7 tests for fontsets 2011-12-20 12:46:20 -08:00
Dane Springmeyer
2d59f401b5 tests for fontsets 2011-12-20 12:46:20 -08:00
Dane Springmeyer
58c00c844a test fontset non-existance 2011-12-20 12:40:14 -08:00
Dane Springmeyer
94e44fcd62 test fontset non-existance 2011-12-20 12:40:14 -08:00
Dane Springmeyer
ea1e5cabb7 more robust sqlite subquery tests and first tests of \!intersects\! token - refs #809 2011-12-16 09:58:09 -08:00
Dane Springmeyer
312e98a869 more robust sqlite subquery tests and first tests of \!intersects\! token - refs #809 2011-12-16 09:58:09 -08:00
Dane Springmeyer
6aefbd0d99 update tests as per #992 2011-12-16 07:22:52 -08:00
Dane Springmeyer
90b5cf69cc update tests as per #992 2011-12-16 07:22:52 -08:00
Dane Springmeyer
143efad7cd csv plugin: allow values with leading zeros to stay as strings - closes #993 - refs https://github.com/mapbox/tilemill/issues/1007 2011-12-12 15:55:33 -08:00
Dane Springmeyer
0bb1073b3f csv plugin: allow values with leading zeros to stay as strings - closes #993 - refs https://github.com/mapbox/tilemill/issues/1007 2011-12-12 15:55:33 -08:00
Dane Springmeyer
f0241c0170 fully spell out parameters on the map object - refs #977 2011-12-05 18:05:35 -08:00
Dane Springmeyer
9203639640 fully spell out parameters on the map object - refs #977 2011-12-05 18:05:35 -08:00
Dane Springmeyer
b78b8e735b add ability to have typed arbitrary parameters in xml - refs #977 2011-12-05 14:46:38 -08:00
Dane Springmeyer
9e924bfa11 add ability to have typed arbitrary parameters in xml - refs #977 2011-12-05 14:46:38 -08:00
Dane Springmeyer
1d30cb5698 add basic tests for osm plugin 2011-12-05 14:30:18 -08:00
Dane Springmeyer
dbce93669a add basic tests for osm plugin 2011-12-05 14:30:18 -08:00
Dane Springmeyer
7c0bceb6de tests: ensure ogr plugin throws on non-existant field names (currently fails) - refs #792 2011-12-05 13:33:37 -08:00
Dane Springmeyer
e3e0755f70 tests: ensure ogr plugin throws on non-existant field names (currently fails) - refs #792 2011-12-05 13:33:37 -08:00
Dane Springmeyer
df64c1690c add tests for reading shapefiles via ogr 2011-12-05 13:32:37 -08:00
Dane Springmeyer
d836571a8d add tests for reading shapefiles via ogr 2011-12-05 13:32:37 -08:00
Dane Springmeyer
75190a7050 tests: test sqlite error behavior on non-existant fields - refs #984/#792 2011-12-05 13:24:11 -08:00
Dane Springmeyer
1f2a55172e tests: test sqlite error behavior on non-existant fields - refs #984/#792 2011-12-05 13:24:11 -08:00
Dane Springmeyer
9cb1c9c7f7 tests: ensure shapefile plugin throws if invalid query is made - refs #792 2011-12-05 12:17:30 -08:00
Dane Springmeyer
bc63c9b589 tests: ensure shapefile plugin throws if invalid query is made - refs #792 2011-12-05 12:17:30 -08:00
Dane Springmeyer
0191f9c012 tests: ensure postgis plugin throws if invalid query is made - refs #792 2011-12-05 12:11:59 -08:00
Dane Springmeyer
9be619cee4 tests: ensure postgis plugin throws if invalid query is made - refs #792 2011-12-05 12:11:59 -08:00
Dane Springmeyer
37fee4b674 csv plugin: ensure that the datasource throws if invalid attributes are queried to keep consistent with other datasource - refs #792 2011-12-05 12:03:38 -08:00
Dane Springmeyer
ddeca1e81e csv plugin: ensure that the datasource throws if invalid attributes are queried to keep consistent with other datasource - refs #792 2011-12-05 12:03:38 -08:00
Dane Springmeyer
8168cf0f96 python: fixup mapnik.Path interface (closes #901), add to_wkb method (closes #831), and add tests for both 2011-12-02 19:22:04 -08:00
Dane Springmeyer
742fb891e6 python: fixup mapnik.Path interface (closes #901), add to_wkb method (closes #831), and add tests for both 2011-12-02 19:22:04 -08:00
Dane Springmeyer
e991f3c94e fixup tests around parameters usage 2011-12-02 18:00:20 -08:00
Dane Springmeyer
1d408aa485 fixup tests around parameters usage 2011-12-02 18:00:20 -08:00
Dane Springmeyer
b03ce6e607 add support for arbitrary, custom parameters to be attached to the map during load and serialized when saved - refs #977 2011-12-02 17:48:09 -08:00
Dane Springmeyer
60de1c80cd add support for arbitrary, custom parameters to be attached to the map during load and serialized when saved - refs #977 2011-12-02 17:48:09 -08:00
Dane Springmeyer
f108349f56 tests: move pickling to separate test 2011-12-02 15:21:35 -08:00
Dane Springmeyer
8d3b990fbd tests: move pickling to separate test 2011-12-02 15:21:35 -08:00
Dane Springmeyer
4d5623c1d1 tests: postgis tests are optional, so be much less verbose if they cannot be automatically run 2011-12-02 12:35:31 -08:00
Dane Springmeyer
14327b913d tests: postgis tests are optional, so be much less verbose if they cannot be automatically run 2011-12-02 12:35:31 -08:00
Dane Springmeyer
3061ebabae pass on rtree count test if pysqlite3 does not support rtree - refs https://github.com/mapnik/mapnik-packaging/issues/8 2011-11-30 19:15:11 -08:00
Dane Springmeyer
4c4e4ab9e9 pass on rtree count test if pysqlite3 does not support rtree - refs https://github.com/mapnik/mapnik-packaging/issues/8 2011-11-30 19:15:11 -08:00
Dane Springmeyer
c3ebf0e332 use tempfile modules to construct temporary paths (which should be compatible with windows) 2011-11-29 18:15:25 -08:00
Dane Springmeyer
2037cb0d46 use tempfile modules to construct temporary paths (which should be compatible with windows) 2011-11-29 18:15:25 -08:00
Artem Pavlenko
b689670ffd switch back from mapnik2 to mapnik
add mapnik2 module which redirects to mapnik and issues DeprecationWarning
2011-11-23 11:33:58 +00:00
Artem Pavlenko
14700dba16 switch back from mapnik2 to mapnik
add mapnik2 module which redirects to mapnik and issues DeprecationWarning
2011-11-23 11:33:58 +00:00
Dane Springmeyer
67871acc28 fixup postgis test paths 2011-11-20 18:17:51 -08:00
Dane Springmeyer
07178f2864 fixup postgis test paths 2011-11-20 18:17:51 -08:00
Dane Springmeyer
6038af1926 add long overdue postgis tests 2011-11-20 16:43:47 -08:00
Dane Springmeyer
bf323b09c6 add long overdue postgis tests 2011-11-20 16:43:47 -08:00
Dane Springmeyer
0999523b87 tests: make the sqlite rtree test more flexible 2011-11-19 11:39:59 -08:00
Dane Springmeyer
51c4174b58 tests: make the sqlite rtree test more flexible 2011-11-19 11:39:59 -08:00
Dane Springmeyer
9bf802daeb tests: enforce existance of rtree 2011-11-13 17:00:34 -08:00
Dane Springmeyer
c519a170d7 tests: enforce existance of rtree 2011-11-13 17:00:34 -08:00
Dane Springmeyer
69606958f9 add test for sqlite rtree creating under high ds initialization concurrency 2011-11-13 16:42:37 -08:00
Dane Springmeyer
11f1e6755f add test for sqlite rtree creating under high ds initialization concurrency 2011-11-13 16:42:37 -08:00
Dane Springmeyer
9022cf8a68 tests: warn if no datasources are found 2011-11-11 17:03:56 -08:00
Dane Springmeyer
dc1e875cb4 tests: warn if no datasources are found 2011-11-11 17:03:56 -08:00
Dane Springmeyer
3b554ca308 test reading from an empty sqlite db 2011-11-09 17:19:05 -08:00
Dane Springmeyer
bc06b31746 test reading from an empty sqlite db 2011-11-09 17:19:05 -08:00
Dane Springmeyer
19d92371c5 sqlite: do not alias geometry field name 2011-11-03 19:50:36 -04:00
Dane Springmeyer
b9b50899a6 sqlite: do not alias geometry field name 2011-11-03 19:50:36 -04:00
Dane Springmeyer
6295501ead csv: back off of null and boolean detection since using strings is more predictable across rows 2011-11-02 11:07:59 -04:00
Dane Springmeyer
6c8e4b2de0 csv: back off of null and boolean detection since using strings is more predictable across rows 2011-11-02 11:07:59 -04:00
Dane Springmeyer
914495920a more csv tests 2011-11-01 21:11:41 -04:00
Dane Springmeyer
cc969b1a02 more csv tests 2011-11-01 21:11:41 -04:00
Dane Springmeyer
6dbb12e52c csv: test for columns that are numbers stored as strings 2011-11-01 20:39:27 -04:00
Dane Springmeyer
87da27e7ac csv: test for columns that are numbers stored as strings 2011-11-01 20:39:27 -04:00
Dane Springmeyer
7f2d3e09f2 csv: handle empty headers, an apparently common situation with large government data 2011-11-01 20:33:05 -04:00
Dane Springmeyer
4cec91ff82 csv: handle empty headers, an apparently common situation with large government data 2011-11-01 20:33:05 -04:00
Dane Springmeyer
ee8ae809f4 more robust csv tests 2011-10-31 19:08:07 -04:00
Dane Springmeyer
87769b3147 more robust csv tests 2011-10-31 19:08:07 -04:00
Dane Springmeyer
c5dd523636 use nose for equality testing in multi_tile raster tests 2011-10-31 14:46:58 -04:00
Dane Springmeyer
07eca56ac8 use nose for equality testing in multi_tile raster tests 2011-10-31 14:46:58 -04:00
Dane Springmeyer
990b452e8c add csv test runner 2011-10-28 21:57:51 -07:00
Dane Springmeyer
607e7b7835 add csv test runner 2011-10-28 21:57:51 -07:00
Dane Springmeyer
1ac4dd4438 break out shapefile tests 2011-10-28 17:06:44 -07:00
Dane Springmeyer
dab3dd831d break out shapefile tests 2011-10-28 17:06:44 -07:00
Dane Springmeyer
247755df3f ensure the tests can be run even with no datasource plugins 2011-10-28 17:06:23 -07:00
Dane Springmeyer
a53c61a0c2 ensure the tests can be run even with no datasource plugins 2011-10-28 17:06:23 -07:00
Dane Springmeyer
2a2fb7437b more robust tests for feature expressions - refs #933 and #944 2011-10-28 11:24:14 +01:00
Dane Springmeyer
670573552a more robust tests for feature expressions - refs #933 and #944 2011-10-28 11:24:14 +01:00
Dane Springmeyer
77b50306ee add tests for feature expression bugs - refs #933 and #934 2011-10-28 11:24:12 +01:00
Dane Springmeyer
994c2b7c38 add tests for feature expression bugs - refs #933 and #934 2011-10-28 11:24:12 +01:00
Dane Springmeyer
7f135339d5 more robust sqlite tests - note: some here will fail until I push local sqlite refactoring fixes refs #928 2011-10-25 15:18:29 -07:00
Dane Springmeyer
0786111984 more robust sqlite tests - note: some here will fail until I push local sqlite refactoring fixes refs #928 2011-10-25 15:18:29 -07:00
Dane Springmeyer
6761cb0436 Merge branch 'master' of github.com:mapnik/mapnik 2011-10-25 15:08:19 -07:00
Dane Springmeyer
06040d5847 Merge branch 'master' of github.com:mapnik/mapnik 2011-10-25 15:08:19 -07:00
kunitoki
088561bd5e - implemented sql query in OGR plugin (closes #472) 2011-10-24 11:53:33 +02:00
kunitoki
c314041a5a - implemented sql query in OGR plugin (closes #472) 2011-10-24 11:53:33 +02:00
Dane Springmeyer
c505933c48 make the sqlite tests more robust 2011-10-22 17:31:25 -07:00
Dane Springmeyer
028d1c4058 make the sqlite tests more robust 2011-10-22 17:31:25 -07:00
Dane Springmeyer
d1c8818029 remove area as it is unused (not needed by anything yet) - closes #846 2011-10-21 15:55:58 -07:00
Dane Springmeyer
e0e47f50dd remove area as it is unused (not needed by anything yet) - closes #846 2011-10-21 15:55:58 -07:00
Dane Springmeyer
4791fb3578 Merge branch 'master' of github.com:mapnik/mapnik 2011-10-21 14:53:08 -07:00
Dane Springmeyer
b34eb0664a Merge branch 'master' of github.com:mapnik/mapnik 2011-10-21 14:53:08 -07:00
Dane Springmeyer
c57773de6b tests for sqlite dequoting 2011-10-21 14:44:18 -07:00
Dane Springmeyer
4482f25956 tests for sqlite dequoting 2011-10-21 14:44:18 -07:00
Matt Amos
517fc59f77 Added Python test for multi-tile raster policy. 2011-10-18 14:34:58 +01:00
Matt Amos
20ca69c3ea Added Python test for multi-tile raster policy. 2011-10-18 14:34:58 +01:00
Dane Springmeyer
15f2dd1b12 test unicode attribute names using both hex and utf8 literals 2011-10-10 14:04:34 -07:00