Commit Graph

216 Commits

Author SHA1 Message Date
Daniel Patterson
7f1f044fa0 Fix context returned in JSON error (had null bytes).
Update status test cases to match new API.
2016-04-01 10:42:49 -07:00
Moritz Kobitzsch
144536a09d fix cucumber tests and issues 2016-04-01 17:13:13 +02:00
Daniel Patterson
6a4abfffda Add missing arrival instruction. 2016-03-31 18:37:08 -07:00
Lauren Budorick
0084f54f0d Add arrival instruction 2016-03-31 17:46:27 -07:00
Daniel Patterson
34337ec3c9 Add missing arrival instruction. 2016-03-31 17:30:47 -07:00
Daniel Patterson
83134c4cbd Add missing arrival instruction. 2016-03-31 17:28:30 -07:00
Daniel Patterson
909d341eb8 Add missing arrival instruction. 2016-03-31 17:27:30 -07:00
Daniel Patterson
a5de5451f8 Add missing arrival instruction. 2016-03-31 17:25:37 -07:00
Daniel Patterson
93dd806913 Add missing arrival instruction. This test was incorrect. 2016-03-31 17:23:43 -07:00
Lauren Budorick
cab023726c Add missing arrival instructions 2016-03-31 17:23:12 -07:00
Daniel Patterson
c75c22e652 Add missing arrive instruction. 2016-03-31 17:20:43 -07:00
Daniel Patterson
c7c46d3ff6 Add missing arrive instruction. 2016-03-31 17:20:03 -07:00
Daniel Patterson
55c6bc49d4 Add missing arrive instruction. 2016-03-31 17:17:34 -07:00
Daniel Patterson
6a72e61497 Add missing arrive instruction. 2016-03-31 17:15:56 -07:00
Daniel Patterson
a5cdb85d79 Add missing arrive instruction to distance feature. 2016-03-31 17:13:58 -07:00
Daniel Patterson
f32a21b02c Fix missing arrive instruction on bearing tests. 2016-03-31 17:08:55 -07:00
Daniel Patterson
0a12aab97b Add missing arrive instructions to time tests. 2016-03-31 16:56:50 -07:00
Lauren Budorick
52af0a615d start updating testbot fixtures (TODO: the rest) 2016-03-31 16:48:06 -07:00
Patrick Niklaus
6e2b4d3cc3 Fix some via tests 2016-04-01 01:30:40 +02:00
Daniel Patterson
0a06641c2c Fix bearing param tests. Have not yet fixed the cause of the two failing cases. 2016-03-31 16:29:12 -07:00
Daniel Patterson
9859808d03 Add 'arrive' step to route descriptions. 2016-03-31 14:32:00 -07:00
Lauren Budorick
335be174d2 Fix routability now that we don't chop off a step 2016-03-31 13:21:14 -07:00
Lauren Budorick
eeefb24a8e Remove one more compass column; update polyline encoding tests 2016-03-31 12:33:48 -07:00
Lauren Budorick
ee96cbfd00 Fix alternatives option test, chdirs on fail, spacing 2016-03-31 18:58:52 +02:00
Lauren Budorick
467d93ffff Status fixes 2016-03-31 18:58:52 +02:00
Lauren Budorick
d820ef0796 enter_roundabout -> roundabout-exit (these are still off by one @mokob ?) 2016-03-31 18:58:52 +02:00
Jeff Miccolis
dcb7651f40 Fix testbot turns 2016-03-31 18:58:52 +02:00
Jeff Miccolis
909be09ebf Matrix times are on seconds now. Removing POST matrix tests 2016-03-31 18:58:52 +02:00
Lauren Budorick
de2205cac7 head/destination -> depart/arrive to reflect guidance API changes; minor fixes for roundabout tests 2016-03-31 18:58:52 +02:00
Jeff Miccolis
f54419d4dd Return first alternative in tests 2016-03-31 18:58:52 +02:00
Jeff Miccolis
99c8c4e7cb Remove compass direction test handling 2016-03-31 18:58:52 +02:00
Jeff Miccolis
848b3815bd Update alternatives flag 2016-03-31 18:58:52 +02:00
Lauren Budorick
598c78200f Mode changes, guidance comments, fix turns 2016-03-31 18:58:52 +02:00
Patrick Niklaus
09a9d6c417 Add failing test for map matching of outlier 2016-03-31 18:58:52 +02:00
Lauren Budorick
c8bb50497b Rewrite cucumber test suite in JS 2016-03-24 16:01:01 -07:00
Patrick Niklaus
e125f3a897 Add core factor tests 2016-03-07 21:44:32 +01:00
Patrick Niklaus
92a06c9a28 Renamed prepared -> contracted 2016-03-04 16:12:10 +01:00
Moritz Kobitzsch
2679c1cf0a correct handling of travel modes 2016-02-16 01:35:04 +01:00
Moritz Kobitzsch
f14352f494 modify turn angles and instructions 2016-02-15 20:13:55 +01:00
Moritz Kobitzsch
603b83e1c3 Fixes Alternative Routing when including loops 2016-01-28 16:33:07 +01:00
Daniel J. Hofmann
2211731c80 Alternative test depends on random order, make less random-ish 2016-01-26 17:54:08 +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
Patrick Niklaus
42942bb1e0 Add regression test 2016-01-19 17:36:29 +01:00
Moritz Kobitzsch
8a745ecdfd fixed u-turn testcase to actually emit u-turn instruction 2016-01-15 19:56:39 +01:00
Patrick Niklaus
cc4713d878 Add regression test for uturn before barrier 2016-01-15 00:56:31 +01:00
Patrick Niklaus
490e838c60 Add regression test for Disney Land bug 2016-01-15 00:39:49 +01:00
Patrick Niklaus
1157cb9b95 Remove obsolete protobuf test 2016-01-13 17:57:22 +01:00
Daniel Patterson
95d1efb7f8 Disable via test that fails on OSX so that we can test everything else on Travis on OSX. 2016-01-06 14:42:31 -08:00
Patrick Niklaus
57f257dce5 Fix status messages and don't include 2015-12-18 18:18:48 +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