brouter/brouter-core
Henrik Fehlauer d98b1060d4
Explicitly map internal voice hint ids to external JSON API ids
As c9ae7c8 showed, changing internal ids without being aware of the
possible impact might easily lead to break the external API.

While ids could be fixated by adding respective tests, an even more
elegant solution is to make the mapping from internal ids to external
ids explicit, similar how it is already done for other voice hint
formats.

To underline the purpose of the mapping even more, the
respective method is renamed appropriately.

Test Plan:
  - `./gradlew test`
  - Export a complex route in BRouter-Web and check voice hints have not
  been changed.
2023-07-12 08:59:12 +00:00
..
src Explicitly map internal voice hint ids to external JSON API ids 2023-07-12 08:59:12 +00:00
.gitignore Switched build system to gradle 2020-05-24 16:46:04 +02:00
build.gradle Cleanup testcases (split, dependencies, assertions) 2022-10-23 10:51:02 +02:00