Commit graph

53 commits

Author SHA1 Message Date
artemp
60d891f094 add "invalid" empty geometry tests 2017-03-22 15:07:07 +00:00
artemp
dbbf18c752 GeoJSON test - add empty geometries tests. 2017-03-22 14:41:08 +00:00
artemp
74e66bac58 test - update malformed featurecollection test (ref #3611) 2017-02-03 17:36:28 +01:00
artemp
a0a5085917 add GeoJSON num_features_to_query unit test (ref #3515) 2016-09-23 11:56:43 +02:00
artemp
1a29b35717 GeoJSON unit tests- ensure descriptors are ordered by name (ref #3494) 2016-08-16 15:46:10 +01:00
artemp
b9279feee2 fix is_valid logic (ref #3494) 2016-08-15 12:49:43 +01:00
artemp
008a6eb4cf test geojson - add empty featurecollection test 2016-08-15 10:44:54 +01:00
artemp
5c11fe49f9 geoson+topojson tests - correct expected test data (ref #3491) 2016-08-12 11:05:50 +01:00
artemp
37a8aed62d transcode input strings to UTF-8 (portability) 2016-05-24 12:16:48 +02:00
artemp
acb2d56f49 prefix string literals with u8"" to force UTF8 encoding (windows) 2016-05-24 10:54:34 +02:00
artemp
3ec25e36fe test geojson.cpp - add empty properties (ref #3426) 2016-05-13 12:48:56 +02:00
artemp
d19ff576dc geojson test - fix the order in 'object' to match input (escaped.json) 2016-05-10 16:03:04 +02:00
artemp
d97583b53e geojson.cpp - fix and update test 2016-05-06 16:44:18 +02:00
mapsam
9d9c8db233 add geojson unit test for property types/values 2016-05-05 09:17:08 -07:00
Dane Springmeyer
fde36984de minor unit test cleanups to prepare to test amalgamation 2016-03-03 10:53:58 -08:00
artemp
176d3e49c9 update test (ref f44b5ccfd9 #3237 #3238) 2016-02-25 15:31:18 +01:00
mapsam
7a98745883 adding new passing test that catches failure of feature collection properties 2016-01-15 08:37:30 -08:00
artemp
b513d6a07b don't export DYLD_LIBRARY_PATH multiple times 2016-01-04 14:24:25 +00:00
artemp
e2cf79260f unit tests - add 'ensure original ordering in geojson.input' test ref #3182 2015-11-25 12:46:21 +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
artemp
b85055ee38 unit test - add malformed "Feature" tests 2015-11-06 11:50:25 +00:00
Dane Springmeyer
1ac12a4430 add hint of how to compile geojson unit test without scons 2015-10-29 08:01:36 -07:00
Dane Springmeyer
646bcbcbd9 don't depend on filesystem directly 2015-10-23 10:39:55 -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
34ffdaa3ef use anonimous namespace + default arg in create_disk_index 2015-10-23 13:09:21 +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
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
Dane Springmeyer
14589dabd1 improve test coverage of geojson indexing 2015-10-20 22:56:03 -07:00
Dane Springmeyer
9df548670c manually inherit DYLD_LIBRARY_PATH - closes #3138 2015-10-20 17:22:52 -07:00
Dane Springmeyer
d1c5c69f07 Also dump posix return (aka WEXITSTATUS) 2015-10-20 15:18:12 -07:00
Dane Springmeyer
1df6fbb17e dump std::system return code if index is not found 2015-10-20 12:23:05 -07:00
Dane Springmeyer
2c72833629 Revert "travis - std::system() calls fails"
This reverts commit 5de3a3776d.
2015-10-20 12:19:06 -07:00
artemp
5de3a3776d travis - std::system() calls fails 2015-10-20 13:50:54 +01:00
artemp
4822477d40 don't rely on std::system return value (implementation defined) 2015-10-20 12:44:45 +01:00
artemp
aa537e6254 geojson unit test - further simplify and increase coverage 2015-10-20 12:04:32 +01:00
artemp
c4ec93a5f2 geojson unit test - run 'FeatureCollection' test using all permutations of disk_index and cache_features settings. 2015-10-20 11:46:39 +01:00
artemp
daaf2ee9d5 unit test (geojson) - de-dupe code 2015-10-20 11:22:42 +01:00
artemp
d9a66a765c unit/geojson - add basic test for *.index access mode 2015-10-19 16:58:32 +01:00
artemp
4b5bbe9446 unit test(geojson) - add tests reading all geometry primitives 2015-10-19 12:23:43 +01:00
artemp
b15dba95cd unit test - add malformed JSON test + update test data 2015-10-14 11:41:14 +01:00
Dane Springmeyer
e82de0109d centralize plugin registration for unit tests 2015-07-27 15:35:00 -07:00
artemp
c63e71acac +unit test: feature_collections with extra properties 2015-07-17 17:43:04 +02:00