Commit graph

95 commits

Author SHA1 Message Date
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
37d5a32875 make return type bool 2016-06-08 12:24:21 +02:00
artemp
9e3ccf6629 Issue a warning but don't fail if PostgreSQL is not running or it's not accessible (ref #3448) 2016-06-08 12:21:27 +02: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
de13582004 remove stderr 2016-05-17 13:45:05 +02:00
artemp
8f74de8525 remove stderr 2016-05-17 13:05:37 +02:00
artemp
25217549f1 fix topojson parsing (work-in-progress) 2016-05-17 12:53:07 +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
artemp
7ad568b54a topojson test - add feature_generator 2016-03-17 15:10:29 +01:00
artemp
f65fae66ba topojson test - check bounding box is valid 2016-03-17 14:22:29 +01:00
artemp
ed37ff4b89 basic TopoJSON parsing tests (work-in-progress) 2016-03-17 12:52:35 +01:00
Dane Springmeyer
2204a983c6 [test][windows] use utf8 encoding + stop using non-portable path comparison 2016-03-12 08:59:54 -08:00
Dane Springmeyer
c18e086026 [csv test][windows] fix string comparison issues on windows 2016-03-11 20:07:54 -08: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
artemp
62de76a66e test bogus *.index files are handled correctly (ref #3300) + indirectly tests #3306 via requiring mapped_memory_cache::instance().clear() 2016-02-19 11:25:27 +01:00
artemp
c4817f7ae1 clear mapped_memory_cache to ensure new '*.index` are used (MAPNIK_MEMORY_MAPPED_FILE) (ref #3306) 2016-02-19 11:02:12 +01:00
artemp
eb1a23d6e4 'invalid index' - testing invalid *.index fallback (ref #3300) 2016-02-18 17:36:18 +01:00
artemp
ca0c0e5888 csv_util - combine auto-decting separator/quote/newline into one method std::tuple<char, bool, char, char> autodect_csv_flavour(T & stream, std::size_t file_length) 2016-02-15 13:55:06 +01:00
Mickey Rose
7594301d98 test/shapeindex: include loop variables in failure message
[skip ci]
2016-02-04 18:54:21 +01:00
Dane Springmeyer
a447c78d2e ensure valid objects in shapeindex test 2016-01-29 16:30:03 -08:00
Dane Springmeyer
c786ff9edf postgis unit test: copy params to ensure that each test is independent and order does not matter 2016-01-27 12:55:26 -08:00
Dane Springmeyer
c037fcba36 fix shapeindex tests - closes #3252 2016-01-25 16:57:32 -08:00
mapsam
7a98745883 adding new passing test that catches failure of feature collection properties 2016-01-15 08:37:30 -08:00
Dane Springmeyer
5a6de7627b improve formatting of INFO output [skip ci] 2016-01-14 16:10:10 -08:00
Dane Springmeyer
bba2826813 make available test functions as macros to allow catch to report correct line numbers 2016-01-14 16:06:20 -08:00
Dane Springmeyer
488af4055d Reduce merge conflicts with master 2016-01-11 16:23:04 -08:00
Dane Springmeyer
96dff395a4 fix usage of base in csv unit tests 2016-01-05 15:18:02 -08:00
artemp
869bff43f0 remove debug printing 2016-01-04 15:15:37 +00:00
artemp
b513d6a07b don't export DYLD_LIBRARY_PATH multiple times 2016-01-04 14:24:25 +00:00
artemp
102671e498 add test with --index-parts option 2016-01-04 14:22:09 +00:00
Dane Springmeyer
fc6556170d let's not depend on CREATE EXTENSION working in C++ code 2015-12-14 15:27:05 -08:00
Dane Springmeyer
b42f072ad3 wip: start chipping away at getting tests running - refs #3180 2015-12-14 15:00:10 -08:00
Dane Springmeyer
dc109a7ae2 Merge branch 'master' of github.com:mapnik/mapnik into postgis-tests-squashed 2015-12-14 13:45:29 -08:00
artemp
e2cf79260f unit tests - add 'ensure original ordering in geojson.input' test ref #3182 2015-11-25 12:46:21 +00:00
artemp
a2b1475ef7 port shapeindex_test.py to c++ (#3184) 2015-11-24 10:50:09 +00:00
bergwerkgis
b4a7b594dd 1st iteration of PostGIS tests 2015-11-20 15:44:43 +01: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
artemp
b85055ee38 unit test - add malformed "Feature" tests 2015-11-06 11:50:25 +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