Karen Shea
799a677e7a
Conditional turn restriction support ( #3841 )
...
* optionally include condition and via node coords in InputRestrictionContainer
* only write conditionals to disk, custom serialization for restrictions
* conditional turn lookup, reuse timezone validation from
extract-conditionals
* adapt updater to use coordinates/osm ids, remove internal to external map
* add utc time now parameter to contraction
* only compile timezone code where libshp is found, adapt test running
* slight refactor, more tests
* catch invalid via nodes in restriction parsing, set default cucumber
origin to guinée
* add another run to test mld routed paths
* cosmetic review changes
* Simplify Timezoner for windows build
* Split declaration and parsing parts for opening hours
* adjust conditional tests to run without shapefiles
* always include parse conditionals option
* Adjust travis timeout
* Added dummy TZ shapefile with test timezone polygons
* [skip ci] update changelog
2017-05-11 12:13:52 +02:00
Michael Krasnyk
a44b63fbb9
Add response codes of trip and routability queries
2017-05-11 09:13:42 +00:00
Michael Krasnyk
a5bfcd876f
Add response code to test result values
2017-05-09 16:58:23 +00:00
Daniel J. Hofmann
5532ee627f
Fixes util.format calls in Cucumber support code
2017-05-02 12:52:10 +02:00
Michael Krasnyk
604f4957f7
correctly fail on unimplemented map matching feature
2017-04-06 11:17:23 +00:00
Michael Krasnyk
20c6b4682f
MLD regression tests
2017-03-17 13:20:32 +01:00
Michael Krasnyk
97c442482d
Prepare test data for both CH and MLD algorithms
...
Leaving log files opened was intentional to avoid missing output
that can appear `child.on('exit',...)`.
With this approach cucumber tests hit locally maximum number
of opened files, because node.js keeps all log files opened.
2017-03-17 13:20:32 +01:00
Michael Krasnyk
fe5d1a6e74
Add MLD testing to cucumber tests
2017-03-17 12:27:47 +01:00
Patrick Niklaus
a636e8cc13
Include datasources in .geometries file and refactor .datasource_names
2017-03-10 20:40:59 +00:00
Emil Tin
ee076e6156
cucumber: enable checking mode in routability tables ( #3748 )
...
* cucumber: enable checking mode in routability tables
* show actual mode when expected was none
* minor fixes
2017-03-07 09:56:19 +01:00
Patrick Niklaus
9f61f72ee8
Print 0 rate
2017-03-02 14:55:52 +00:00
Lev Dragunov
421d336b0f
Cucumber test support for alternatives count parameter
2017-03-01 01:29:00 +00:00
Michael Krasnyk
82acd59a8e
shared monitor implementation with a conditional variable
...
or a ring buffer with semaphores
2017-02-24 16:01:56 +00:00
Patrick Niklaus
d28713b845
Make rate support code a little bit more obvious
2017-02-10 14:27:28 +00:00
karenzshea
1f3a8d4538
remove units from rate columns in routability testing
2017-02-10 14:27:28 +00:00
karenzshea
140f1ad923
convert speed to meters per second when used to set rate
2017-02-10 14:27:28 +00:00
karenzshea
1c25070572
provide rate and weight headers for checking in routability tests
2017-02-10 14:27:28 +00:00
Kajari Ghosh
2218658969
Trip with Fixed Start and End points (TFSE) ( #3408 )
...
* fixed start and end trip feature to trip service
2017-02-10 05:13:20 -05:00
Emil Tin
ddb60c34e6
align cucumber diff tables
2017-02-07 11:42:20 +00:00
karenzshea
ab91a05680
update cucumber suport code to return separate annotations headers
2017-02-07 09:15:16 +00:00
Michael Krasnyk
75e0b5a5c4
Fix Lua static library linking
2017-01-19 17:06:00 +01:00
Michael Krasnyk
f48bbb78de
Enable npm and library tests on windows
2017-01-03 10:24:48 +01:00
Michael Krasnyk
ed9d10e96c
Tests for profile API version
2016-12-23 15:02:10 +01:00
Patrick Niklaus
f19bf70b55
Account for imprecision in distance computation
2016-11-18 17:46:32 +01:00
Patrick Niklaus
24fa94af59
Remove obsolete test code
2016-11-18 17:46:32 +01:00
Kajari Ghosh
f33180f092
request polyline with precision of 5 or 6 positions ( #3220 )
2016-11-07 15:11:21 -05:00
Patrick Niklaus
9693f9269b
Add regression test
2016-11-02 17:52:41 +00:00
Daniel J. Hofmann
ccf5552406
Fixes Cucumber's Unknown Node Error Reporting
...
Before: `unknown node %s`
After: `unknown node t`
https://nodejs.org/api/util.html#util_util_format_format_args
2016-11-02 16:46:51 +00:00
Kajari Ghosh
c30f43b148
added max_speed to the profiles ( #3089 )
2016-11-01 17:13:10 -04:00
Kajari Ghosh
6fc0609a62
Map matching test coverage fix ( #3201 )
...
* fixed map matching test coverage
2016-10-29 11:22:09 -04:00
karenzshea
5617d3886d
Fix cucumber support code for routability testing to actually test
...
input/output for speed and time values, adjust resulting broken tests
2016-10-17 15:45:11 -07:00
Emil Tin
7cbb1807e7
cucumber: change syntax of node maps
2016-10-11 09:07:48 +02:00
Michael Krasnyk
da15c014f5
Avoid doubled reprocessing for scenarios without caching
2016-10-04 14:35:21 +02:00
karenzshea
3d5a53566c
implement flag edge-weight-updates-over-factor, to log edge weight
...
updates over provided x factor
2016-09-28 15:19:59 +02:00
Moritz Kobitzsch
0abd32fca3
prefer first result
2016-09-28 10:32:33 +02:00
Michael Krasnyk
3f3c85ba72
Added profile files per test generation
2016-09-28 09:04:58 +02:00
Patrick Niklaus
7d124ce54d
Close GH-2795: Rewrite cucumber test caching (and support logic). Fixes #2745
2016-09-19 14:13:44 -07:00
Daniel Patterson
65def1a9e2
We should be returning an error if any errors that occur during reprocessing.
2016-08-05 15:11:12 -07:00
Daniel Patterson
176c2244ad
Catch and report errors during osrm-contract tests.
2016-08-05 14:19:22 -07:00
Moritz Kobitzsch
2ddc00c21e
update cucumber to 1.2.1 and remove hack
2016-07-13 11:04:35 +02:00
Daniel Patterson
6dedd9cb72
Fix segfault when route includes very short segments.
2016-06-22 14:48:57 -07:00
Michael Krasnyk
8c378191df
Fix omitting the last point's coordinates in the geometry field
2016-06-21 07:06:43 +02:00
Lauren Budorick
6777127497
Add cucumber tests for node IDs
2016-06-02 14:27:25 +02:00
Patrick Niklaus
262354f733
Rename annotate to annotations
2016-05-26 23:35:11 +02:00
Lauren Budorick
cbbeef5c46
Prune unnecessary cucumber code
2016-05-26 22:34:39 +02:00
Michael Krasnyk
aaa27333ba
Remove force flags and update extractor/contractor hashes
...
with command line arguments and argument files data.
2016-05-26 16:36:26 +02:00
Moritz Kobitzsch
51066ff18f
fix options in step-definitions
2016-05-26 15:38:55 +02:00
Daniel Patterson
0587c5f5c4
Trim datasource names before writing to datafile.
2016-05-24 15:20:14 +02:00
Moritz Kobitzsch
4d9aa65e78
intersection classes with variable degree of discretization
2016-05-19 16:44:31 +02:00
Daniel Patterson
fa525ad610
Return an array with meta-data for each coordinate.
...
Currently supports duration and distance for each coordinate.
This is particularly useful in map-matching, comparing how
a trip progresses compared to a real GPS trace that is
map-matched.
2016-05-12 01:11:09 +02:00