Dennis Luxen
15ce232f61
partially fixes #1034
2014-05-26 11:59:13 +02:00
Dennis Luxen
644286111f
add test for #1034
2014-05-26 11:46:01 +02:00
Emil Tin
b875765c52
update test to avoid single ring
2014-05-23 12:52:32 +02:00
Emil Tin
a9eebdb1fa
fix test related to via points and #1034
2014-05-23 11:45:18 +02:00
Emil Tin
b25f3a9e91
update test related to via points and #1034
2014-05-23 11:42:44 +02:00
Emil Tin
06f3375a97
test showing bug related to via points. see #1034
2014-05-23 11:23:11 +02:00
Dennis Luxen
493b13364f
move geographical distance computation to floats
2014-05-21 12:33:54 +02:00
Dennis Luxen
6a9541833a
add a leg to roundabout to remove edge case
2014-05-21 10:47:34 +02:00
Dennis Luxen
9a2d701e2e
fix issue #1025 :
...
- add function to count directed outgoing edges
- generate correct instruction for staying on a roundabout
- move test from @bug namespace to the general one
2014-05-20 15:40:14 +02:00
Dennis Luxen
bf6ca22b00
fix #1021 , always check if files exist
2014-05-20 14:33:03 +02:00
Dennis Luxen
4fc329a1eb
remove superflous way in test setup
2014-05-20 14:33:02 +02:00
Dennis Luxen
d028a30f87
fixes issue #1019 :
...
- fix ignored turn restriction on chains of degree-2 nodes
- add a cucumber test to test for potential regressions
2014-05-20 14:33:02 +02:00
Dennis Luxen
2d498cb88b
adapt JSON parsing in tests to allow for omitted fields
2014-05-20 14:33:00 +02:00
Emil Tin
bddad0c57c
add test for roundabout with oneone links
2014-05-20 13:27:32 +02:00
Dennis Luxen
3c5b2286a3
adjust speeds to universally use 4/5th of the free-flow speed as expected avg speed
...
- this is a workaround until we get more thourough work done on the cost model
- this is related to #955 and #989
2014-05-09 11:11:14 +02:00
Emil Tin
b1388b6f30
remove spurious test file
2014-05-07 10:38:28 +02:00
Emil Tin
2cddf90e49
test different status message and query parsing
2014-05-07 10:38:28 +02:00
Emil Tin
85148d1283
tests covering no route found
2014-05-07 10:38:28 +02:00
Dennis Luxen
51e8113a69
make tests use fuzzy matching instead of tweaked expectations
2014-04-25 15:24:18 +02:00
Dennis Luxen
ca6515c58a
fix tests to reflect proper rounding of travel times
2014-04-25 13:23:27 +02:00
Dennis Luxen
0eed39cdf1
rebase branch onto develop
2014-04-24 18:13:50 +02:00
Dennis Luxen
cc915dbef2
take 2: workaround platform dependend outputs, discussed in #986
2014-04-21 19:25:24 +02:00
Dennis Luxen
9a5bf1ee95
workaround platform dependend outputs, discussed in #986
2014-04-21 18:31:45 +02:00
Dennis Luxen
ec372ad01d
implement tests marked todo, implements #986
2014-04-21 17:40:08 +02:00
Dennis Luxen
8a412ef69e
implementing option tests marked @todo
2014-04-21 17:40:08 +02:00
Dennis Luxen
c978364f49
implementing option tests marked @todo
2014-04-21 17:40:07 +02:00
Emil Tin
61d2a99dd4
remove left-over feature file
2014-04-21 17:40:07 +02:00
Emil Tin
fdba916d83
cuke: fix options test, should use osrm file, not osm
2014-04-21 17:40:07 +02:00
Emil Tin
a12209e61d
cuke: test options for osrm-extract and osrm-prepare
2014-04-21 17:40:07 +02:00
Emil Tin
df83dfdfe8
cuke: test travel time of individual instructions
2014-04-02 16:05:09 +02:00
Emil Tin
5f7065848e
clean cucumber comments, fixes 'file to long' problem with latest version of cucumber
2014-04-01 15:30:55 +02:00
Emil Tin
65e020a627
cuke: use new speed tests where relevant
2014-04-01 14:56:25 +02:00
Emil Tin
793e477898
active tests for fixed bugs
2014-04-01 14:56:25 +02:00
Emil Tin
220e7748a9
cuke: use .osm by default, add tests for .pbf
2014-03-31 16:55:39 +02:00
Emil Tin
ba2356d2ba
cuke: optional timeout
2014-03-31 16:55:01 +02:00
Emil Tin
179f53b21b
cuke: fix test for -v on travis
2014-03-31 15:29:00 +02:00
Emil Tin
3ccd3b5650
cuke: increase osrm launch/shutdown timeout
2014-03-31 13:55:29 +02:00
Emil Tin
fd96c7c488
fix travel speeds for cars
2014-03-27 18:22:04 +01:00
Emil Tin
45c96f73c2
cuke test showing odd car speeds
2014-03-27 18:02:42 +01:00
Emil Tin
c5893ef6e8
cuke: check for invalid expectation formats
2014-03-27 17:32:37 +01:00
Emil Tin
8b1f09d302
cuke: test speed, fix logging, clear log files on each run
2014-03-27 10:38:03 +01:00
Emil Tin
cb1b824a75
cuke: improve routability tables, test for speed
2014-03-27 10:38:02 +01:00
Emil Tin
b0ce9e4af7
cuke: don't use scenario outlines, to fix problem with jenkins
2014-03-27 10:38:02 +01:00
Dennis Luxen
aae3637e0c
implements #958
2014-03-25 14:54:52 +01:00
Dennis Luxen
a4306cddef
remove NO-BREAK SPACE (U+00A0) that broke testing
2014-03-24 10:16:32 +01:00
Emil Tin
9e10b94339
cuke: test file options
2014-03-22 12:01:07 +01:00
Emil Tin
7048dd754d
cuke: check exit code as last step, add step to non-existing file
2014-03-22 00:47:20 +01:00
Emil Tin
de29e17d95
cuke: add a few options steps
2014-03-22 00:38:53 +01:00
Emil Tin
c299989ff7
reorganize options tests
2014-03-22 00:33:23 +01:00
Emil Tin
0b655ea6a1
trial option
2014-03-22 00:16:45 +01:00
Dennis Luxen
538827942a
workaround for inconsistent error messages across boost versions
2014-03-20 14:38:16 +01:00
Dennis Luxen
8bd5f69e04
fixes #958 , activates 2 additional tests
2014-03-20 13:19:36 +01:00
Emil Tin
c1806476af
cuke: test osrm-routed options
2014-03-19 19:28:24 +01:00
Emil Tin
af41c9f6e4
cuke: detach osrm-routed to avoid zombie processes
2014-03-19 18:03:47 +01:00
Dennis Luxen
85a007d87b
set backward speed properly, partially fixes #936
2014-03-03 15:31:57 +01:00
Dennis Luxen
d73f3ebd1b
fix tests for scaled maxspeeds
2014-02-14 18:23:25 +01:00
Dennis Luxen
f684fa9a7b
fix tests to resemble the fixed duration calculation
2014-01-21 16:11:51 +01:00
Dennis Luxen
96aff57275
fixes #731 , perpendicular projection to nearest location
2013-12-16 17:36:36 +01:00
Dennis Luxen
25b352aeab
add/delete several files
2013-12-13 17:27:31 -05:00
Dennis Luxen
662714fca3
add another minor viaroute check
2013-12-12 18:37:36 -05:00
Dennis Luxen
4fc4e93ab5
adapt tests to changed output, killed version and transactionId
2013-12-12 18:37:00 -05:00
Dennis Luxen
cd1f45e248
Util/ContainerUtils.h
2013-12-12 18:28:39 -05:00
Emil Tin
5f90ed8b3e
support capitalized option names in extract/prepare
2013-10-12 09:59:42 +02:00
Emil Tin
c4904cc365
test nearest/locate with high lat/lon, fix fuzzy match of negative numbers
2013-10-12 09:59:42 +02:00
Emil Tin
613e38d7f8
use boost program_options in osrm-prepare/routed
2013-10-12 09:59:42 +02:00
Dennis Luxen
822c1c97e3
fixing #412 , wrong offsets cause supoptimal routes with via points
2013-10-04 16:47:59 +02:00
Emil Tin
65df6aa4a0
failing test showing weird loop, issue 412
2013-10-04 13:32:05 +02:00
Emil Tin
f83748fdc2
change test file to cuke table
2013-10-02 20:10:01 +02:00
Emil Tin
a354d7c00b
use testbot for testing for weird loops
2013-10-02 19:28:41 +02:00
Emil Tin
96184b83a3
minor whitespace cleanup
2013-10-02 13:53:09 +02:00
Emil Tin
9bcc057176
mark projection tests as todo
2013-10-02 13:48:49 +02:00
Emil Tin
20f3213477
test projection onto ways at high lat
2013-10-02 13:43:33 +02:00
Dennis Luxen
60546c9788
adding data to check egressions of #726
2013-10-02 11:26:26 +02:00
Dennis Luxen
12f91564fb
adding test to check regressions of #726
2013-10-02 11:25:51 +02:00
Dennis Luxen
ca448e682a
using wider margin for expected result
2013-10-02 11:23:13 +02:00
Emil Tin
6470838065
cleanup indentation of ruby files
2013-09-18 08:16:19 +02:00
Emil Tin
a178555838
update text in cuke test
2013-09-17 21:04:02 +02:00
Emil Tin
47f11fc3a6
bike: normal speed on paths with asphalt, add tests
2013-09-12 14:15:50 +02:00
Emil Tin
0f94fb9d6d
update foot profile, add tests for access, barriers, ferries, names, surface, more
2013-09-08 22:51:44 +02:00
Emil Tin
01097f7225
foot tests for ferries and restrictions
2013-09-07 18:19:52 +02:00
Emil Tin
6c32d97b23
organize cuke test with @todo and @bug
2013-09-05 20:00:42 +02:00
Emil Tin
c9e40d3e59
cuke profiles for running @todo or @bug tests
2013-09-05 19:18:04 +02:00
Emil Tin
d78faea737
better regex for matching origin in cuke test
2013-09-01 21:48:19 +02:00
Emil Tin
3cf72e93e6
allow setting origin in cuke tests
2013-08-31 23:35:26 +02:00
Emil Tin
caa02bbca1
test bearing at high lat
2013-08-31 12:52:36 +02:00
Emil Tin
d17150270e
enable passing .osm file to cuke tests
2013-08-30 12:56:52 +02:00
Emil Tin
463a297f0c
remove incorrect cuke tag
2013-08-30 12:55:17 +02:00
Emil Tin
407d73a735
removing trailing whitespace in cuke/ruby files
2013-08-29 19:39:45 +02:00
Emil Tin
b5bfdb56dc
cleanup indentation of cuke files
2013-08-29 19:29:13 +02:00
Emil Tin
2211dfb741
test for u-turn at via point (failing)
2013-08-29 16:29:21 +02:00
Emil Tin
1d6e602473
test nearest/locate at high lat/lon, fix fuzzy match of negative numbers
2013-08-28 09:49:56 +02:00
Emil Tin
7a5bceae4c
tests for /locate
2013-08-26 22:25:43 +02:00
Emil Tin
e42b8fc37d
use boost program_options in extractor
2013-08-14 15:15:35 +02:00
Dennis Luxen
aeba3aa209
fixes #695 for bike profile
2013-08-12 18:00:56 +02:00
Emil Tin
e50b5202b8
updated tests for car maxspeed forw/backw
2013-08-12 17:37:51 +02:00
Dennis Luxen
cabbe70e47
reverting premature checkin
2013-08-06 14:01:03 +02:00
Dennis Luxen
b86c3681bb
reverting premature checkin
2013-08-06 13:54:04 +02:00
Dennis Luxen
4f5d7f79bd
fixing tests for enhanced coordinate preceision
2013-08-05 19:00:09 +02:00
Emil Tin
63059cfab3
make cuke tests work with ruby 2.x
2013-08-02 09:35:28 +02:00
Emil Tin
2542112301
fix cuke test for roundabout/cars
2013-07-30 18:00:44 +02:00
Emil Tin
a45215ddf2
cuke test roundabout exit nr
2013-07-30 17:58:00 +02:00
Emil Tin
cb28b2de07
cuke test for roundabout instructions
2013-07-30 17:01:25 +02:00
DennisOSRM
d0c4111429
Merge branch 'patch-3' of https://github.com/tyrasd/Project-OSRM into tyrasd-patch-3
2013-07-17 13:23:06 +02:00
DennisOSRM
9ab86ae2bf
Fixes issue #663
2013-07-09 14:08:24 +02:00
Martin Raifer
dbf15c2db2
add test case for overruled implied oneways
...
On a motorway `oneway=no` should overrule the implied oneway rule.
2013-06-30 10:41:29 +02:00
Dennis Luxen
163cfda282
Fixing test to reflect new nn grid data structure
2013-06-26 11:35:25 -04:00
Dennis Luxen
f13694b539
fixing tests to reflect new r-tree data structure
2013-06-26 09:34:01 -04:00
Dennis Luxen
4c8579b340
fixing test to actually test wanted behavior
2013-06-25 10:56:02 -04:00
Emil Tin
c07966408b
add test for consecutive oneways, fails for car
2013-06-03 00:00:14 +02:00
Emil Tin
2557956b68
fix failing car maxspeed test
2013-06-03 00:00:14 +02:00
Emil Tin
735260d21b
fix nearest test definition
2013-06-03 00:00:14 +02:00
Emil Tin
9588ef00a5
use alt=false during cucumber testing
2013-05-10 17:17:24 +02:00
Emil Tin
67addfdb37
test via points
2013-05-05 11:14:09 +02:00
Emil Tin
3afcd31f61
bike: use both ref&name when available
2013-04-28 11:42:21 +02:00
Emil Tin
36f3c0f77a
make cuke use bins in build/
2013-04-26 10:22:32 +02:00
Emil Tin
af490bae8e
fix timestamp test
2013-04-16 16:56:05 +02:00
Emil Tin
edf5a0f677
test processing flow example
2013-04-13 12:13:31 +02:00
Emil Tin
5eecd0a57d
cuke: keep number nodes locally, not in osm file
2013-04-13 11:38:41 +02:00
Emil Tin
1fc11a6b06
return way type in encoded form for unnamed streets
2013-04-08 16:23:42 +02:00
Emil Tin
e3af8cb2e8
move name test
2013-04-08 11:19:17 +02:00
Emil Tin
16cd822555
mark failing name test as todo
2013-04-08 10:54:49 +02:00
Emil Tin
5938368a09
test for way name when way+area overlap
2013-04-08 10:21:23 +02:00
Emil Tin
50f865b81c
add test for pushing bikes on footways etc
2013-04-08 10:04:17 +02:00
Emil Tin
cf6c1e97bb
add test for current contraflow instructions
2013-04-08 10:04:17 +02:00
Emil Tin
f557e1efb4
remove test tag
2013-04-06 17:49:37 +02:00
Emil Tin
8893fd1656
test for bearing param (todo)
2013-03-18 21:26:36 +01:00
Emil Tin
081831e6ea
test for mode flag (todo)
2013-03-18 15:51:41 +01:00
DennisOSRM
2cc2c967d1
Compute turn angles in mercartor projection. Implements issues #596 ,
...
#532
2013-02-28 13:34:48 +01:00
Emil Tin
f9abfbf68a
compute turn penalties in lua profiles
2013-02-27 19:33:33 +01:00
Emil Tin
0399022d25
update turn instruction test
2013-02-23 09:00:44 +01:00
Emil Tin
f88a4baf79
update bike tests
2013-02-22 15:49:44 +01:00
Emil Tin
cc55b016e9
don't push against oneway flow on roundabout. fixes #591
2013-02-22 15:49:44 +01:00
Emil Tin
313b93169d
turn off turn restrictions for bicycle and foot, update tests
2013-02-22 15:49:44 +01:00
Emil Tin
1ecad20a0d
support xml, move duplicated xml/pbf code to base
2013-02-22 15:49:43 +01:00
Emil Tin
a4e322f085
don't allow bikes on highway=construction, fixes #582
2013-02-06 16:58:18 +01:00
DennisOSRM
348e656671
Merge branch 'feature/opposite_direction' into develop
2013-02-04 18:38:15 +01:00
DennisOSRM
54cdf6d6f2
maxspeed:forward and :backward get parsed and tests pass. Implements
...
#569 partially.
2013-02-04 15:58:35 +01:00
DennisOSRM
ee42d94e2d
Fix test to reflect changed maxspeed behavior
2013-02-04 13:10:31 +01:00
DennisOSRM
91baa9dfd7
Merge completed
2013-02-04 13:05:05 +01:00
DennisOSRM
572b176401
Fixes issue #579
2013-02-04 12:13:30 +01:00
Emil Tin
97f1dc0749
update maxspeed tests, remove maxspeed from foot profile
2013-02-04 11:30:46 +01:00
Emil Tin
d67ac1a708
fuzzy matching in routability tables, ported from opposite branch
2013-02-04 10:33:25 +01:00
Emil Tin
bb1064ac42
remove a nearest test, for now
2013-02-03 21:01:10 +01:00
Emil Tin
436cc692da
a few more test for nearest api
2013-02-03 20:37:22 +01:00
Emil Tin
76decf2e8b
fix nearest test
2013-02-03 20:24:46 +01:00
Emil Tin
ccdd0f599a
test nearest API
2013-02-03 20:17:06 +01:00
Emil Tin
c65fed1d38
simplify testbot maxspeed forw/back test
2013-02-03 18:23:23 +01:00
Emil Tin
f7505e8877
test car maxspeed forw/backw (@todo)
2013-02-03 15:43:12 +01:00
Emil Tin
c453f8e7a9
test car maxspeed forw/backw (@todo)
2013-02-03 15:42:14 +01:00
Emil Tin
3a4695713d
test bike maxspeed forw/backw (@todo)
2013-02-03 15:34:41 +01:00
Emil Tin
dd5d520b53
update profile and tests for pushing of bikes
2013-02-03 14:46:18 +01:00
Emil Tin
b3d517943a
fuzzy ranges on routability tables, value shortcuts
2013-02-03 14:03:37 +01:00
DennisOSRM
e0c211085c
Handle route=shuttle_train again
2013-01-29 17:36:28 +01:00
DennisOSRM
bcf4af4a2f
Duration tag now handles 'hh:mm', 'mm' as well as 'hh:mm:ss'
2013-01-29 10:11:04 +01:00
Emil Tin
cb2fcf4f52
add @todo tag to partial way duration test
2013-01-28 09:39:18 +01:00
Emil Tin
061d78c681
test partial duration of ways
2013-01-28 08:30:34 +01:00
DennisOSRM
86f4aebead
Fixes test to expect time in minutes not seconds
2013-01-27 23:03:04 +01:00
DennisOSRM
6317b08090
Fixing test cases to check for different speeds in opposite direction
2013-01-27 14:36:57 +01:00
Emil Tin
aae0547cca
better testbot maxspeed handling, fix test
2013-01-27 14:36:56 +01:00
Emil Tin
4f9c422e2f
test maxspeed forward/backward
2013-01-27 14:36:56 +01:00
Emil Tin
3595ac08f7
fix tag on @opposite test
2013-01-27 14:36:56 +01:00
Emil Tin
5339f440bd
test forward/backward maxspeed (car)
2013-01-27 14:36:56 +01:00
Emil Tin
86d7442a5f
support comments in test tables
2013-01-27 14:36:56 +01:00
DennisOSRM
7b4b7232fc
Fixing test for opposite directions
2013-01-27 14:36:56 +01:00
Emil Tin
aa9d8c773f
fix name of duration test
2013-01-26 19:06:30 +01:00
Emil Tin
c68a03d05c
add test scenario matching wiki graph explanation
2013-01-26 18:59:31 +01:00
Emil Tin
cbea651cf8
test duration on ways
2013-01-26 18:58:33 +01:00
Emil Tin
724e96f0c1
test different forw/backw settings (@todo)
2013-01-11 18:16:17 +01:00
Emil Tin
7d7baa70a9
test routes parsing (@todo)
2013-01-10 17:06:16 +01:00
Emil Tin
2e3947cc6d
support list of ways in relations tests
2013-01-10 17:05:41 +01:00
Emil Tin
54774726b2
test separate weight/speed, still marked as @todo
2013-01-10 14:00:48 +01:00
Emil Tin
d6adc56b3a
add test for multiple except tag values in restrictions
2013-01-06 15:44:15 +01:00
Emil Tin
565b0e97d1
rename @weight test to @fastest
2013-01-06 11:51:45 +01:00
DennisOSRM
5de2aa1cbf
fixing test and removing todo tag
2013-01-05 17:35:50 +01:00
Project OSRM
d2458f3169
Merge pull request #550 from ibikecph/lua_require
...
easy lua require()
2013-01-05 03:03:13 -08:00
Emil Tin
551af0e45a
fix a few restrictions tests
2013-01-04 16:09:00 +01:00
Emil Tin
ff417fac01
update ferry tests
2013-01-01 18:41:38 +01:00
Emil Tin
ce43b09991
support lua require()
2012-12-28 22:40:00 +01:00
Emil Tin
d4db5cca1c
fixing typo in forestry access
2012-12-23 19:32:26 +01:00
Emil Tin
9857fb7696
dont rehash binaries and profiles for every cucumber scenario
2012-12-19 16:09:05 +01:00
Emil Tin
102e87bcc0
clean up log extracts during cuke failures
2012-12-17 19:27:18 +01:00
Emil Tin
604043e3d8
add log extracts if osrm-routed or osmosis fails during tests
2012-12-17 19:22:05 +01:00
Emil Tin
5a5b4eb1f7
output last lines from log if binary exists during testing
2012-12-17 17:32:15 +01:00
DennisOSRM
f4a1d2df96
Allowing greater error instead of expected approximation result.
2012-12-17 13:54:03 +01:00
DennisOSRM
00ed039621
Moving TurnInstruction to unsigned char
2012-12-17 13:14:43 +01:00
Emil Tin
ac06a2ef03
remove angles from a test
2012-12-16 21:03:15 +01:00
Emil Tin
2ea5714d95
use ps to check if process is still running
2012-12-16 20:51:19 +01:00
Emil Tin
a51c7416d5
use ruby 1.9 and Process.spawn when running test
2012-12-16 19:45:26 +01:00
Emil Tin
2231765c9e
fix empty dataset test
2012-12-16 14:10:33 +01:00
Emil Tin
18c948a211
rename stress tests
2012-12-16 13:39:28 +01:00
Emil Tin
ec56478a3c
cucumber cleanup, removed unused code
2012-12-16 13:36:47 +01:00
Emil Tin
7e9614b9ec
kill osrm-routed if it refuses to shutdown in cuke tests
2012-12-15 17:01:24 +01:00
Emil Tin
ae106a3a90
improve cuke process management, support OSRM_PORT
2012-12-15 12:38:07 +01:00
Emil Tin
29344f55ae
fix osrm bin hashes
2012-12-15 12:38:07 +01:00
Emil Tin
cc7f761c3e
revert to alt=true in cuke test
2012-12-10 17:05:22 +01:00
Emil Tin
b10b716733
cuke testing of timestamp api
2012-12-10 17:05:22 +01:00
Emil Tin
b0f035bf3c
mark some tests as @todo
2012-12-10 13:08:26 +01:00
Emil Tin
e41d52570e
support testing of turn directions
2012-12-09 18:21:56 +01:00
Emil Tin
b182cd1fa4
test bikes & public_transport stop_area relations
2012-12-03 11:06:25 +01:00
Emil Tin
6f5fc14f59
support regex in cuke tests
2012-12-03 10:59:24 +01:00