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 |
|
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
|
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 |
|
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 |
|
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 |
|
artemp
|
0bd7a980f3
|
unit test - add `query_first_n' test
|
2015-10-06 11:42:34 +01:00 |
|
artemp
|
93a237850b
|
fix spatial_index test after de9de659c3772fdf232a3c24f5c254a0a86046b9
|
2015-10-05 15:28:57 +01:00 |
|
artemp
|
848098baeb
|
spatial_index/quad_tree - remove `operator>>' requirement, instead value_type stored must have standard layout for correct (de)serialisation + update unit test
|
2015-09-29 15:44:57 +01:00 |
|
artemp
|
f549cae46a
|
unit test - add initial spatial_index tests
|
2015-09-29 12:27:56 +01:00 |
|
Blake Thompson
|
161469ed63
|
Fixed an issue with fields over size of int32 in OGR plugin and added tests to cover this situation.
|
2015-08-05 13:47:17 -05: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 |
|
Dane Springmeyer
|
0145476ff7
|
only run geojson unit test if plugin was built
|
2015-07-10 12:34:18 -07:00 |
|
Dane Springmeyer
|
b54b2753a0
|
fixup geojson test
|
2015-07-10 12:10:46 -07:00 |
|
artemp
|
16e6db3281
|
add initial geojson unit test
|
2015-07-10 11:05:48 +02:00 |
|
Dane Springmeyer
|
41ad16f4d7
|
hello world plugin is now standalone at https://github.com/mapnik/hello-world-input-plugin - refs #2790
|
2015-05-11 17:07:33 -07:00 |
|
Dane Springmeyer
|
edf7616b19
|
reorganize c++ tests
|
2015-04-25 22:08:12 +02:00 |
|