Changeset 16606 in josm for trunk/test
- Timestamp:
- 2020-06-11T20:03:41+02:00 (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/test/unit/org/openstreetmap/josm/gui/dialogs/properties/TaginfoActionTest.java
r16597 r16606 31 31 assertEquals("https://taginfo.openstreetmap.org/keys/railway", action.getTaginfoUrlForTag(new Tag("railway"))); 32 32 assertEquals("https://taginfo.openstreetmap.org/tags/railway=tram", action.getTaginfoUrlForTag(new Tag("railway", "tram"))); 33 assertEquals("https://taginfo.openstreetmap.org/tags/addr%3Acity=Bassum%3ACity", 34 action.getTaginfoUrlForTag(new Tag("addr:city", "Bassum:City"))); 33 35 assertEquals("https://taginfo.openstreetmap.org/relations/route", action.getTaginfoUrlForRelationType("route")); 34 36 } … … 48 50 */ 49 51 @Test 50 public void testTagHistoryUrls() {52 public void testTagHistoryUrls() throws Exception { 51 53 TaginfoAction action = new TaginfoAction(() -> null, () -> null).toTagHistoryAction(); 52 54 assertEquals("https://taghistory.raifer.tech/#***/railway/", action.getTaginfoUrlForTag(new Tag("railway"))); 53 55 assertEquals("https://taghistory.raifer.tech/#***/railway/tram", action.getTaginfoUrlForTag(new Tag("railway", "tram"))); 56 assertEquals("https://taghistory.raifer.tech/#***/addr:city/Bassum:City", 57 action.getTaginfoUrlForTag(new Tag("addr:city", "Bassum:City"))); 54 58 assertNull(action.getTaginfoUrlForRelationType("route")); 55 59 }
Note:
See TracChangeset
for help on using the changeset viewer.