Changeset 17434 in josm
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/data/validation/tests/ConditionalKeys.java
r16643 r17434 29 29 private static final Set<String> RESTRICTION_TYPES = new HashSet<>(Arrays.asList("oneway", "toll", "noexit", "maxspeed", "minspeed", 30 30 "maxstay", "maxweight", "maxaxleload", "maxheight", "maxwidth", "maxlength", "overtaking", "maxgcweight", "maxgcweightrating", 31 "fee", "restriction", "interval", "duration" ));31 "fee", "restriction", "interval", "duration", "dog")); 32 32 private static final Set<String> RESTRICTION_VALUES = new HashSet<>(Arrays.asList("yes", "official", "designated", "destination", 33 33 "delivery", "customers", "permissive", "private", "agricultural", "forestry", "no")); -
trunk/test/unit/org/openstreetmap/josm/data/validation/tests/ConditionalKeysTest.java
r17275 r17434 40 40 @Test 41 41 void testKeyValid() { 42 assertTrue(test.isKeyValid("dog:conditional")); 42 43 assertTrue(test.isKeyValid("maxspeed:conditional")); 43 44 assertTrue(test.isKeyValid("motor_vehicle:conditional"));
Note:
See TracChangeset
for help on using the changeset viewer.