Changeset 9938 in josm


Ignore:
Timestamp:
2016-03-05T23:51:05+01:00 (9 years ago)
Author:
simon04
Message:

see #8460 - Update unit tests for r9931

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/test/unit/org/openstreetmap/josm/gui/tagging/presets/PresetClassificationsTest.java

    r8863 r9938  
    7979        assertTrue("railway=tram should match 'Railway Route' for relation creation", getMatchingPresetNames("route", tram)
    8080                .contains("Railway Route"));
    81         assertTrue("railway=tram should match 'Public Transport Route' for relation creation", getMatchingPresetNames("route", tram)
    82                 .contains("Public Transport Route"));
    83         assertFalse("railway=tram should not match 'Bus route'", getMatchingPresetNames("route", tram).contains("Bus route"));
     81        assertTrue("railway=tram should match 'Public Transport Route (Rail)' for relation creation", getMatchingPresetNames("route", tram)
     82                .contains("Public Transport Route (Rail)"));
     83        assertFalse("railway=tram should not match 'Bus'", getMatchingPresetNames("route", tram).toString().contains("Bus"));
    8484    }
    8585}
Note: See TracChangeset for help on using the changeset viewer.