fix cucumber tests and issues

This commit is contained in:
Moritz Kobitzsch
2016-04-01 11:39:47 +02:00
parent 6a4abfffda
commit 144536a09d
24 changed files with 217 additions and 339 deletions
+30 -30
View File
@@ -21,19 +21,19 @@ Feature: Roundabout Instructions
| abcda | roundabout |
When I route I should get
| from | to | route | turns |
| s | t | sa,tb | depart,roundabout-exit-1,arrive |
| s | u | sa,uc | depart,roundabout-exit-2,arrive |
| s | v | sa,vd | depart,roundabout-exit-3,arrive |
| t | u | tb,uc | depart,roundabout-exit-1,arrive |
| t | v | tb,vd | depart,roundabout-exit-2,arrive |
| t | s | tb,sa | depart,roundabout-exit-3,arrive |
| u | v | uc,vd | depart,roundabout-exit-1,arrive |
| u | s | uc,sa | depart,roundabout-exit-2,arrive |
| u | t | uc,tb | depart,roundabout-exit-3,arrive |
| v | s | vd,sa | depart,roundabout-exit-1,arrive |
| v | t | vd,tb | depart,roundabout-exit-2,arrive |
| v | u | vd,uc | depart,roundabout-exit-3,arrive |
| from | to | route | turns |
| s | t | sa,tb,tb | depart,roundabout-exit-1,arrive |
| s | u | sa,uc,uc | depart,roundabout-exit-2,arrive |
| s | v | sa,vd,vd | depart,roundabout-exit-3,arrive |
| t | u | tb,uc,uc | depart,roundabout-exit-1,arrive |
| t | v | tb,vd,vd | depart,roundabout-exit-2,arrive |
| t | s | tb,sa,sa | depart,roundabout-exit-3,arrive |
| u | v | uc,vd,vd | depart,roundabout-exit-1,arrive |
| u | s | uc,sa,sa | depart,roundabout-exit-2,arrive |
| u | t | uc,tb,tb | depart,roundabout-exit-3,arrive |
| v | s | vd,sa,sa | depart,roundabout-exit-1,arrive |
| v | t | vd,tb,tb | depart,roundabout-exit-2,arrive |
| v | u | vd,uc,uc | depart,roundabout-exit-3,arrive |
Scenario: Testbot - Roundabout with oneway links
Given the node map
@@ -57,20 +57,20 @@ Feature: Roundabout Instructions
| abcdefgha | roundabout | |
When I route I should get
| from | to | route | turns |
| j | k | jb,ck | depart,roundabout-exit-1,arrive |
| j | m | jb,em | depart,roundabout-exit-2,arrive |
| j | o | jb,go | depart,roundabout-exit-3,arrive |
| j | i | jb,ai | depart,roundabout-exit-4,arrive |
| l | m | ld,em | depart,roundabout-exit-1,arrive |
| l | o | ld,go | depart,roundabout-exit-2,arrive |
| l | i | ld,ai | depart,roundabout-exit-3,arrive |
| l | k | ld,ck | depart,roundabout-exit-4,arrive |
| n | o | nf,go | depart,roundabout-exit-1,arrive |
| n | i | nf,ai | depart,roundabout-exit-2,arrive |
| n | k | nf,ck | depart,roundabout-exit-3,arrive |
| n | m | nf,em | depart,roundabout-exit-4,arrive |
| p | i | ph,ai | depart,roundabout-exit-1,arrive |
| p | k | ph,ck | depart,roundabout-exit-2,arrive |
| p | m | ph,em | depart,roundabout-exit-3,arrive |
| p | o | ph,go | depart,roundabout-exit-4,arrive |
| from | to | route | turns |
| j | k | jb,ck,ck | depart,roundabout-exit-1,arrive |
| j | m | jb,em,em | depart,roundabout-exit-2,arrive |
| j | o | jb,go,go | depart,roundabout-exit-3,arrive |
| j | i | jb,ai,ai | depart,roundabout-exit-4,arrive |
| l | m | ld,em,em | depart,roundabout-exit-1,arrive |
| l | o | ld,go,go | depart,roundabout-exit-2,arrive |
| l | i | ld,ai,ai | depart,roundabout-exit-3,arrive |
| l | k | ld,ck,ck | depart,roundabout-exit-4,arrive |
| n | o | nf,go,go | depart,roundabout-exit-1,arrive |
| n | i | nf,ai,ai | depart,roundabout-exit-2,arrive |
| n | k | nf,ck,ck | depart,roundabout-exit-3,arrive |
| n | m | nf,em,em | depart,roundabout-exit-4,arrive |
| p | i | ph,ai,ai | depart,roundabout-exit-1,arrive |
| p | k | ph,ck,ck | depart,roundabout-exit-2,arrive |
| p | m | ph,em,em | depart,roundabout-exit-3,arrive |
| p | o | ph,go,go | depart,roundabout-exit-4,arrive |