Utility method produces output text optimized for voice interfaces (e.g., Amazon Alexa) that groups prediction information for the same route/headsign - for example "Route 9 UATC to Downtown via 15th St is departing in 5, 35, 85, and 90 minutes", instead of listing each arrival separately and repeating the route/headsign.
Split out scheduled and real-time predicted arrivals into separate groups, even if they are for the same route/headsign, so users can tell which are scheduled and which are real-time
If only a single arrival exists for the route/headsign, then just output the normal summary text for that arrival info object
Updates the unit tests for a small change in the summary text for single arrivals, which was made to make it easier to construct the group summary text
Please make sure these boxes are checked before submitting your pull request - thanks!
Coverage decreased (-0.2%) to 56.711% when pulling 89cfb395d35d5ec1098f7013c63d4204237ef646 on arrivalSummary into 4e6b8dbeefa32733bbb85cdf876abb3ca747a112 on master.
onebusaway-client-library
, implemented in https://github.com/OneBusAway/onebusaway-client-library/pull/17Please make sure these boxes are checked before submitting your pull request - thanks!
[x] Sign the electronic OBA ICLA
[x] Apply the OneBusAway style template to your code.
[x] Run the unit tests with
mvn test
to make sure you didn't break anything[x] If you have multiple commits please combine them into one commit by squashing them.