Commit Graph

473 Commits

Author SHA1 Message Date
Dennis Luxen
f7469f298d add a tail to the oneway circle to avoid edge cases 2014-10-15 11:33:43 +02:00
Emil Tin
8438024370 avoid unnessecary process check 2014-10-14 16:05:06 +02:00
Emil Tin
71b967d243 test both datastore and direct data load 2014-10-14 15:35:14 +02:00
Dennis Luxen
c7ee402b0e make link tests less brittle, no overlapping paths 2014-10-13 14:56:17 +02:00
Emil Tin
76fb0cb965 get process handling up to date 2014-10-13 11:19:49 +02:00
Emil Tin
14eac50261 remove datastore test 2014-10-13 11:10:40 +02:00
Emil Tin
cf3eae1c91 disable failing test 2014-10-13 10:58:03 +02:00
Emil Tin
db06cdb4ce adjust datastore testing 2014-10-13 10:58:03 +02:00
Emil Tin
7ba8e51fa9 use osrm-database during testing 2014-10-13 10:58:03 +02:00
Dennis Luxen
5bb7e62a7c fix test on 'some' Intel FPU 2014-10-10 10:36:24 +02:00
Dennis Luxen
4e00ebcd74 Merge pull request #1211 from Project-OSRM/fix_1173
Fix and close #1173
2014-10-08 11:44:48 +02:00
Dennis Luxen
415f8ef2d8 add test-case for bug 2014-10-08 11:01:33 +02:00
Emil Tin
5072252c72 test link speeds 2014-10-07 17:05:39 +02:00
Emil Tin
0df81c49d5 surface, tracktype, smoothness tags in car profile 2014-10-07 10:43:47 +02:00
Dennis Luxen
5653516b32 traverse *_link roads at a significantly lower speed than the main link, fixes #1174 2014-10-06 13:42:30 +02:00
Frédéric Rodrigo
ec119a6d52 Add test for maxspeed like 'countrycode:zone type' for car profile 2014-10-04 21:17:18 +02:00
Dennis Luxen
af02fc6bbe add tests for ferry durations 2014-09-29 11:44:51 +02:00
Dennis Luxen
cc0bbc42a2 add duration to backward speed, fixes #1192 2014-09-29 11:37:36 +02:00
Dennis Luxen
d7fbd416ba fix expected values of backward speed in test 2014-08-21 12:18:19 +02:00
Emil Tin
6e2608b2f2 fix cuke support file 2014-08-20 11:08:59 +02:00
Emil Tin
c37c8dc21d add mode test 2014-08-20 11:08:59 +02:00
Emil Tin
6ee7a81f10 update foot profile, add ferry mode 2014-08-20 11:08:58 +02:00
Emil Tin
3d94638d86 update car profile, add ferry mode 2014-08-20 11:08:58 +02:00
Emil Tin
eb122a2b8c tidy feature file 2014-08-20 11:08:58 +02:00
Emil Tin
feaf8711d3 announce mode changes 2014-08-20 11:08:58 +02:00
Emil Tin
0244060806 add a few tests 2014-08-20 11:08:42 +02:00
Emil Tin
bfdc296f43 reduce failing test 2014-08-20 11:08:42 +02:00
Emil Tin
8e625a5d07 rename test 2014-08-20 11:08:42 +02:00
Emil Tin
3460bd0ba9 fix problems with mode, 1 failing test left 2014-08-20 11:08:42 +02:00
Emil Tin
6e1ab9fe3a profile fixes 2014-08-20 11:08:42 +02:00
Emil Tin
235a52032a more tests passing 2014-08-20 11:08:42 +02:00
Emil Tin
a5ee7e78f6 fixes 2014-08-20 11:08:41 +02:00
Emil Tin
181dbe8493 improve tests for travel mode 2014-08-20 11:08:41 +02:00
Emil Tin
6d6d299ea4 most tests passing 2014-08-20 11:08:41 +02:00
Emil Tin
6fd615b9cd first cut at porting travel mode, some tests fail 2014-08-20 11:08:41 +02:00
Emil Tin
d09394ed52 add failing tests for travel mode 2014-08-20 11:08:41 +02:00
Dennis Luxen
5add28410f Adapt test cases to output of way points
- waypoints are now announced in the route guidance
- implements #584
2014-08-12 09:27:17 +02:00
Dennis Luxen
c9afd9a281 make dummy date in generated test files valid 2014-07-31 16:41:38 +02:00
Emil Tin
2b041e09ac tests uturn query param 2014-07-22 13:24:26 +02:00
Emil Tin
73b32bb45e enable setting query params in cuke tests 2014-07-22 13:24:26 +02:00
Dennis Luxen
c8b4ef3eed add two tests for turn restrictions starting/ending on the same segment 2014-07-15 15:10:13 +02:00
Emil Tin
dba9998118 update rspec matchers to use expect() 2014-06-30 20:43:51 +02:00
Guillaume Beraudo
6ee2d1103e Remove duplicated point in polyline encoded data
First point was outputted twice.
Add test case.
2014-06-24 17:25:36 +02:00
Guillaume Beraudo
d6bc3c5175 Remove unused test method 2014-06-24 17:18:52 +02:00
Dennis Luxen
c12fae47e7 allow results at high latitudes to be a bit more imprecise 2014-06-17 13:00:13 +02:00
alex85k
d0284991ed patch Ruby files for successful testing on Windows 2014-06-11 18:38:01 +06:00
Dennis Luxen
d80c8cbd2f add another turn restriction test 2014-06-10 17:23:24 +02:00
Patrick Niklaus
4b81331d53 Don't reset response, so log_fail won't crash cucumber 2014-06-09 14:33:30 +02:00
Emil Tin
21c4691d40 cuke: make File.tail utility more robust 2014-06-08 12:06:34 +02:00
Dennis Luxen
38ebdbb563 implements #949, wrong duration on first segment 2014-05-27 16:54:10 +02:00
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