Moritz Kobitzsch
5d91b759d1
Implement Turn Lane Api
2016-06-27 10:07:48 +02:00
Moritz Kobitzsch
efa29edf09
basic turn lane handling
2016-06-27 10:07:41 +02:00
Michael Krasnyk
26879ca91a
Make build directory configurable via OSRM_BUILD_DIR in tests
2016-06-20 22:43:28 +02:00
Patrick Niklaus
ed8d5e0b0a
Add missing semicolon
2016-06-02 14:27:25 +02:00
Lauren Budorick
e8fb312703
Update OSM node IDs annotation cucumber code per d6de2ca71c
2016-06-02 14:27:25 +02:00
Lauren Budorick
6777127497
Add cucumber tests for node IDs
2016-06-02 14:27:25 +02:00
Daniel J. Hofmann
6edc565c01
Add destinations API feature
2016-06-02 12:00:23 +02:00
Patrick Niklaus
0a53775fb3
Expose pronunciation in RouteStep
...
Uses name:pronunciation by default for cars.
2016-06-01 23:17:57 +02:00
Michael Krasnyk
bfbb313088
Conditional hashing of osrm libraries
2016-05-29 07:39:49 +02:00
Dane Springmeyer
a5c5faa21d
drop support for using DYLD_LIBRARY_PATH on OS X
2016-05-29 06:01:16 +02:00
Patrick Niklaus
d6de2ca71c
Really place annotations in RouteLeg and not Route
2016-05-27 16:46:28 +02:00
Patrick Niklaus
2e2f34f241
Fix retry code launch classes
2016-05-26 22:34:39 +02:00
Lauren Budorick
cbbeef5c46
Prune unnecessary cucumber code
2016-05-26 22:34:39 +02:00
Patrick Niklaus
824afdceca
use 5 seconds as cucumber timeout
2016-05-26 20:02:21 +02:00
Michael Krasnyk
6af7e6866c
Sort file extensions in rename lists
2016-05-26 17:05:11 +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
Patrick Niklaus
e3ce0c5887
Add fuzzy matching for bearings and intersections list
2016-05-19 16:44:31 +02:00
Patrick Niklaus
3b37769624
Use bearing_before and bearing_after in the bearings field
2016-05-19 16:44:31 +02:00
Moritz Kobitzsch
9c8bf820de
adjusted to in/out. only emit one of them for depart/arrive
2016-05-19 16:44:31 +02:00
Moritz Kobitzsch
4d9aa65e78
intersection classes with variable degree of discretization
2016-05-19 16:44:31 +02:00
Daniel J. Hofmann
d5294bb5d0
Silences warnings when running npm test
2016-05-16 14:43:54 -04: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
Patrick Niklaus
c2263fec9b
One TIMEOUT to rule them all
2016-05-05 18:36:30 +02:00
Patrick Niklaus
1d33cb96f5
Fix missing semicolon in cucumber support code
2016-05-04 14:00:34 +02:00
Daniel Patterson
f251f93a11
Fix summary generation when empty strings are present.
...
Also corrects step ordering when steps have equal durations.
2016-05-04 14:00:34 +02:00
Moritz Kobitzsch
6018fcf490
Introduce on_ramp and off_ramp, deprecate ramp
2016-05-04 12:09:54 +02:00
Lauren Budorick
b8f7569e93
Implement arbitrary turn penalty file IO and integration ( #2306 )
...
Closes #1830
2016-04-29 00:48:13 -07:00
Moritz Kobitzsch
1544a08ea2
introduce roundabout-turns into instruction set
2016-04-27 12:13:42 +02:00
Daniel J. Hofmann
02f75236cb
Increase the Cucumber timeout, as we're hitting it on Travis.
...
Our OSX Travis builds seem to hit the 2s timeout from time to time,
which is really irritating.
This increases the timeout to 5s, hoping for the best.
2016-04-12 12:17:01 +02:00
Moritz Kobitzsch
fa0a5040e5
adding tests for guidance
2016-04-08 10:43:22 +02:00
Patrick Niklaus
278ec04f5e
Remove left-over summary code
2016-04-05 22:59:14 +02:00
Patrick Niklaus
c209e31ce1
Fix tests for
2016-04-05 22:59:14 +02:00
Patrick Niklaus
8111baa8f9
Remove unused detach parameter
2016-04-05 22:59:14 +02:00
Daniel Patterson
d6e4dc0aa2
Add 'arrive' step to route descriptions.
2016-04-05 22:59:14 +02:00
Daniel Patterson
497da1d29b
Colorize test result diff output.
2016-04-05 22:59:14 +02:00
Lauren Budorick
cbc8b64854
unbreak the zombiekilling
2016-04-05 22:59:14 +02:00
Patrick Niklaus
825a422721
Remove arrive filter
2016-04-05 22:59:14 +02:00
Patrick Niklaus
35c501c203
.json hotfix
2016-04-05 22:59:14 +02:00
Lauren Budorick
4b60fc4747
return geometry from new API
2016-04-05 22:59:14 +02:00
Lauren Budorick
164fb09f2c
Fix route/bearing param
2016-04-05 22:59:14 +02:00
Lauren Budorick
5647e6c199
Fix double shutdown
2016-04-05 22:59:14 +02:00
Lauren Budorick
a4d6544764
Fix alternatives option test, chdirs on fail, spacing
2016-04-05 22:59:14 +02:00
Lauren Budorick
e8035ced5a
Fix trips + matchLocation
2016-04-05 22:59:14 +02:00
Jeff Miccolis
70a086a9e1
make eslint happy
2016-04-05 22:59:14 +02:00
Jeff Miccolis
08cb6d1f63
Fix timestamp handling, restores testbot/matching test
2016-04-05 22:59:14 +02:00
Lauren Budorick
c7f3645fe2
Status fixes
2016-04-05 22:59:14 +02:00
Lauren Budorick
4b6a85aae0
Distance matrix fixes
2016-04-05 22:59:14 +02:00
Lauren Budorick
c8a8859d2f
rm console.log my bad
2016-04-05 22:59:14 +02:00
Jeff Miccolis
eba5f7d275
Matrix times are on seconds now. Removing POST matrix tests
2016-04-05 22:59:14 +02:00
Lauren Budorick
2f793473cc
head/destination -> depart/arrive to reflect guidance API changes; minor fixes for roundabout tests
2016-04-05 22:59:14 +02:00
Jeff Miccolis
d48ee84ae7
Return first alternative in tests
2016-04-05 22:59:14 +02:00
Jeff Miccolis
fd000cad86
Remove compass direction test handling
2016-04-05 22:59:14 +02:00
Jeff Miccolis
f34de8422e
eslinting
2016-04-05 22:59:14 +02:00
Jeff Miccolis
6a65261765
test query params are an object
2016-04-05 22:59:14 +02:00
Jeff Miccolis
07f3e2d457
Removing unneeded stopgap
2016-04-05 22:59:14 +02:00
Jeff Miccolis
e5ebf74d76
Add stopgap for https://github.com/Project-OSRM/osrm-backend/pull/2159
2016-04-05 22:59:14 +02:00
Lauren Budorick
126d2f85ac
Mode changes, guidance comments, fix turns
2016-04-05 22:59:14 +02:00
Lauren Budorick
908e3a2af6
Fixes: double callbacks and untested headers
2016-04-05 22:59:14 +02:00
Jeff Miccolis
25e40d723a
Better handling of test response payloads
2016-04-05 22:59:14 +02:00
Lauren Budorick
7a764ce78b
ensure all nodes are written as decimals
2016-04-05 22:59:14 +02:00
Lauren Budorick
8947c789a9
WIP: race conditions and stalling server
2016-04-05 22:59:14 +02:00
Lauren Budorick
8ac403abb9
start fixing URLs
2016-04-05 22:59:14 +02:00
Lauren Budorick
9752cb8e4d
Add more files to be renamed; fix launch error
2016-04-05 22:59:14 +02:00
Lauren Budorick
c8bb50497b
Rewrite cucumber test suite in JS
2016-03-24 16:01:01 -07:00
Patrick Niklaus
92a06c9a28
Renamed prepared -> contracted
2016-03-04 16:12:10 +01:00
Daniel Patterson
017ff53702
Code review updates.
2016-03-03 13:25:01 -08:00
Daniel Patterson
49441fe204
Make forward/reverse weight/offset calculated at query time,
...
rather than being cached in the StaticRTree. This means we
can freely apply traffic data and not have stale values lying
around. It reduces the size of the RTree on disk, at the expense
of some additional data in RAM.
2016-03-03 10:49:12 -08:00
Patrick Niklaus
085bab749f
osrm-prepare -> osrm-contract
2016-03-01 16:43:34 +01:00
Moritz Kobitzsch
f14352f494
modify turn angles and instructions
2016-02-15 20:13:55 +01:00
Dane Springmeyer
6eebb1c089
Support passing OSRM_SHARED_LIBRARY_PATH env variable for cucumber tests
...
The need for this is that:
- On OS X if libraries are stored in custom locations (not /usr/lib or /usr/local)
and they do not embed an rpath (which is common to not have) then the developer
needs to set DYLD_LIBRARY_PATH to ensure that osrm tools can find dependent libraries
at runtime (this is normal and common).
- But as of OS X > 10.11 DYLD_LIBRARY_PATH no longer is inherited. While it works in
the main shell when running a command like `osrm-extract` you will find that when
`osrm-extract` is run by cucumber (ruby child process) then DYLD_LIBRARY_PATH
is blocked and the command cannot start.
- So, this introduces the ability to pass in a variable that the cucumber tests will
understand and can manually forward along to ensure that DYLD_LIBRARY_PATH is respected
where it counts.
The intended usage of this is therefore:
# set the environment variable
export OSRM_SHARED_LIBRARY_PATH=${DYLD_LIBRARY_PATH}
# then run cucumber tests
cucumber -p verify
2016-02-11 02:43:51 +01:00
Dane Springmeyer
2e762d05f9
Ensure key command line programs can be run before running cucumber tests
...
- Otherwise, currently, if osrm-extract crashes at startup then
the tests continue on and will crash many many times.
- This also tests that --help returns an exit code of zero and will
catch if this behavior ever changes or is inconsistent between
the command line programs
2016-02-09 17:49:47 -08:00
Patrick Niklaus
bf455c8d20
Fix empty parameter list
2016-01-26 22:56:19 +01:00
Patrick Niklaus
c05d23a586
Fix POST request
2016-01-26 22:56:19 +01:00
Freenerd
2a882aa58d
Tests: Preserve param order on POST
2016-01-26 22:56:19 +01:00
Moritz Kobitzsch
1c1bfd7541
Fix routing when start and target are on the same segment
...
Fixes issue #1864 . Given the simple set-up:
a --> b --> c
^-----------|
This would translate into an edge based graph (ab) -> (bc),
(bc) -> (ca), (ca) -> (ab).
Starting at the end of the one-way street (ab) and going to
the beginning, the query has to find a self-loop within the
graph (ab) -> (bc) -> (ca) -> (ab), as both nodes map to the
same segment (ab).
2016-01-19 23:26:19 +01:00
Daniel J. Hofmann
9959fd26bb
Do not convert osm xml files to pbf for the cucumber tests
2016-01-13 17:57:22 +01:00
Patrick Niklaus
78ac3cffde
Add max values for viaroute and trip and reorganize return code handling
...
"status" is now always:
- 200 if the request was successful
- 207 if the result is empty (no path found)
- 400 if the request is invalid
viaroute and trip now have a maximum of 500 and 100 locations
respectively. Override with the --max-viaroute-size and --max-trip-size
parameters.
2015-12-17 04:14:34 +01:00
Daniel Patterson
4ddbd2efb6
Expose component size variable as command-line option (this allows testing of big/small components in cucumber tests).
...
Add ability to pass extra parameters to during tests.
Limit distance table search so that it doesn't return any big components if they're beyond max_distance.
2015-12-11 16:53:10 +01:00
Patrick Niklaus
cdb1918973
Refactor StaticRTree to remove application dependent code
...
StaticRTree now acts like a container, just returning the input data
(NodeBasedEdge) and not PhantomNodes.
2015-12-09 23:37:05 +01:00
Patrick Niklaus
4ec3102df2
Refactor cucumber tests
2015-12-09 21:17:18 +01:00
Fabien Girard
f2ee0aad20
Use now 3 parameters for matrix: loc/dst/src
2015-12-09 21:17:18 +01:00
Daniel Patterson
f87f18a291
Add support for 64bit OSM node id values.
2015-11-30 12:37:58 -08:00
Daniel Patterson
e45656e5bf
Refactor edge expansion into extract phase. New temporary file is generated - '.osrm.ebg' which is used by
2015-10-06 09:23:17 -07:00
Andreas Gruß
de29574314
tests + instructions for map matching
2015-09-11 01:34:10 +02:00
Lauren Budorick
bac6703f8e
Implement raster source feature to read data from third-party sources, to be used in lua profiles.
...
* Adds a data structure, RasterSource, to store parsed + queryable data
* Adds bindings for that and relevant data structures as well as source_function and segment_function
* Adds relevant unit tests and cucumber tests
* Bring-your-own-data feature
2015-09-03 22:28:18 -07:00
Huyen Chau Nguyen
a71159667d
add cucumber test for the trip plugin
2015-09-01 15:20:35 +02:00
Patrick Niklaus
2ff2ce460c
Add .core to cucumber renaming
2015-08-19 12:27:44 +02:00
Andreas Gruß
d726ce6340
removed send_simple_request
2015-06-07 12:20:03 +02:00
Andreas Gruß
b406844c96
rearranged send_request parameters
2015-06-07 11:06:37 +02:00
Andreas Gruß
153d38f10c
post/get handler added, background section for HTTP request
2015-06-05 13:26:27 +02:00
Andreas Gruß
dce917eb74
post tests via query options available
2015-06-04 17:39:54 +02:00
Andreas Gruß
eb711787ae
tests added
2015-06-03 15:31:20 +02:00
alex85k
a457d69034
fix cucumber tests running on Windows
2015-05-09 19:22:16 +05:00
Emil Tin
e1a13f5ce8
remove obsolete cucumber patch
2015-04-30 18:15:46 +02:00
Emil Tin
1ed2c16a51
upgrade to cucumber 2.0
2015-04-30 18:15:46 +02:00
Patrick Niklaus
bc8666df83
Add tests for matching
2015-03-08 01:32:13 +01:00
Patrick Niklaus
7829e3c132
Add step definition and support code for matching
2015-03-05 00:12:26 +01:00
Emil Tin
eebf3a54e2
cuke: abort if bins are missing, closes #1341
2015-01-12 13:56:43 +01:00
Dennis Luxen
b1a12768e1
fix parameter name for maximum number of location in distance table plugin
2015-01-08 17:41:19 +01:00
Emil Tin
593808f24d
initial support for testing distance matrices
2015-01-01 15:12:45 +01:00