Commit graph

362 commits

Author SHA1 Message Date
artemp
a2b1475ef7 port shapeindex_test.py to c++ (#3184) 2015-11-24 10:50:09 +00:00
artemp
7aa97628e0 revert accidentally pushed changes from WIP branch 2015-11-20 19:55:21 +00:00
artemp
4fffcdd612 update test data 2015-11-20 17:11:52 +00:00
artemp
44eb1b69fa revert test-data 2015-11-20 14:13:13 +00:00
artemp
e0d7f8ffcb update test data 2015-11-20 14:10:44 +00:00
artemp
d373ae2e93 update visual-data 2015-11-17 15:28:25 +00:00
Artem Pavlenko
4e922f6a64 Merge pull request #3164 from mapycz/postgis-empty-geoms
check input data of centroid algorithm
2015-11-11 10:21:39 +00:00
Jiri Drbalek
6066946ef2 add unit tests for is_empty and has_empty 2015-11-10 13:49:22 +00:00
Jiri Drbalek
071eeeb660 centroid algorithm: check for empty geometries 2015-11-10 13:49:12 +00:00
artemp
617400f1a1 unit test - add malformed FeatureCollection test where we expect exception to be thrown in featureset::next() method even when mapnik-index creates *.index file (expected due to optimised parsing) 2015-11-10 11:37:48 +00:00
Dane Springmeyer
58f30f3d42 more CSV test coverage - refs #3098 2015-11-09 10:47:07 -08:00
Dane Springmeyer
53174718d8 use mapnik/warning_ignore.hpp in a few more places 2015-11-09 09:51:35 -08:00
Dane Springmeyer
de1d1b902a Merge pull request #3163 from mapycz/fix-offsetting-test
unit test: fix offsetting test
2015-11-07 12:42:08 -08:00
artemp
b85055ee38 unit test - add malformed "Feature" tests 2015-11-06 11:50:25 +00:00
Jiri Drbalek
c7de93ae76 unit test: fix offsetting test 2015-11-05 13:38:40 +00:00
Dane Springmeyer
da624b9ef4 update test-data to pull in 9f471a25e3 -refs #3160 2015-11-04 13:57:14 -08:00
artemp
a2975c0d23 unit test - check values stored as expected types in mapnik::value 2015-11-03 15:17:43 +00:00
bergwerkgis
4325fcb26d Windows tests: fix missing "M_PI" 2015-11-03 13:22:51 +00:00
artemp
2893ee4551 mapnik::value - add missing specialisations for mapnik::value_bool in comparison operators + update unit tests 2015-11-03 10:11:29 +00:00
artemp
96c2fc9076 image - update unit test re: cb31692f37 2015-11-02 10:27:11 +00:00
artemp
ab7040d96a and again :) 2015-10-30 10:01:33 +00:00
artemp
16355533c7 update test data 2015-10-30 09:57:29 +00:00
Dane Springmeyer
e505c94583 start postgis datasource tests 2015-10-29 09:48:49 -07:00
Dane Springmeyer
3c007cee9e better debug output when test fails 2015-10-29 09:48:09 -07:00
Dane Springmeyer
1106654d40 [unit] move some code from csv test to header 2015-10-29 09:23:54 -07:00
Dane Springmeyer
a9814f25f0 more test include gardening 2015-10-29 08:35:45 -07:00
Dane Springmeyer
5090b103e4 try to speed up compile of tests by cleaning up unused includes/cruft 2015-10-29 08:20:46 -07:00
Dane Springmeyer
aa6a06116b remove test, now covered by tests at https://github.com/mapbox/mapnik-vector-tile 2015-10-29 08:06:25 -07:00
Dane Springmeyer
1ac12a4430 add hint of how to compile geojson unit test without scons 2015-10-29 08:01:36 -07:00
artemp
e9a6182ff7 update test data 2015-10-28 09:26:32 +00:00
Dane Springmeyer
646bcbcbd9 don't depend on filesystem directly 2015-10-23 10:39:55 -07:00
Dane Springmeyer
cf36c78812 fix #3143 2015-10-23 10:39:34 -07:00
artemp
c10263764c geojson unit test - add invalid Point test 2015-10-23 14:17:41 +01:00
artemp
69829e028d add simple I/O error test when file does not exist 2015-10-23 14:11:17 +01:00
artemp
b0bcf86aaa clean up -> remove *.index 2015-10-23 13:17:18 +01:00
artemp
35a420927e follow naming convention 2015-10-23 13:12:19 +01:00
artemp
aaa5a73105 add disk index tests 2015-10-23 13:11:08 +01:00
artemp
34ffdaa3ef use anonimous namespace + default arg in create_disk_index 2015-10-23 13:09:21 +01:00
artemp
7a1ab599ba move csv_test to unit/datasource 2015-10-22 18:32:23 +01:00
Dane Springmeyer
5fe7367231 bypass expected error condition - refs #3125 2015-10-22 10:28:31 -07:00
Dane Springmeyer
73e9804384 geojson test coverage of 'base' parameter 2015-10-22 08:45:34 -07:00
Dane Springmeyer
a05746180d fix another cache-features -> cache_features 2015-10-22 08:19:39 -07:00
artemp
d2c02dae54 fix the rest of cache-features names 2015-10-22 16:13:08 +01:00
artemp
3b1b15f64b fix parameter name and improve coverage 2015-10-22 15:53:23 +01:00
artemp
e63405626b cleanup 2015-10-22 15:12:17 +01:00
artemp
dd95662648 CSV - add more tests 2015-10-22 15:11:18 +01:00
Dane Springmeyer
00154c2dfb add test coverage of geojson features_at_point 2015-10-21 12:37:30 -07:00
Dane Springmeyer
669bca884e more coverage of geojson get_geometry_type 2015-10-21 09:15:44 -07:00
artemp
9f439d1e2e unit test geojson - only expect CHECK_THROW when *.index is not present. Bounding box extractor parser is not strict in the sense that it doesn't require input to be fully consumed (i.e it can handle extra traling characters). 2015-10-21 11:33:24 +01:00
Dane Springmeyer
56d8516216 increase test coverage of get_geometry_type 2015-10-20 23:17:44 -07:00