Changeset 7396 in josm for trunk/test/unit
- Timestamp:
- 2014-08-15T02:37:51+02:00 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/test/unit/org/openstreetmap/josm/gui/tagging/PresetClassificationsTest.java
r7356 r7396 62 62 public void testRelationsForTram() { 63 63 final OsmPrimitive tram = OsmUtils.createPrimitive("way railway=tram"); 64 assertTrue("railway=tram should match 'Railway route' for relation creation", getMatchingPresetNames("route", tram).contains("Railway route"));65 assertTrue("railway=tram should match 'Public transport route' for relation creation", getMatchingPresetNames("route", tram).contains("Public transport route"));64 assertTrue("railway=tram should match 'Railway Route' for relation creation", getMatchingPresetNames("route", tram).contains("Railway Route")); 65 assertTrue("railway=tram should match 'Public Transport Route' for relation creation", getMatchingPresetNames("route", tram).contains("Public Transport Route")); 66 66 assertTrue("railway=tram should not match 'Bus route'", !getMatchingPresetNames("route", tram).contains("Bus route")); 67 67 }
Note:
See TracChangeset
for help on using the changeset viewer.