Changeset 16109 in josm for trunk/test/unit
- Timestamp:
- 2020-03-10T22:43:23+01:00 (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/test/unit/org/openstreetmap/josm/tools/TerritoriesTest.java
r16032 r16109 4 4 import static java.util.Collections.singleton; 5 5 import static org.junit.Assert.assertEquals; 6 import static org.junit.Assert.assertNull; 6 7 import static org.junit.Assert.assertTrue; 7 8 … … 90 91 assertTrue(error, error.contains(": Invalid token=EOF at (line no=3,")); 91 92 } 93 94 /** 95 * Unit test of {@link Territories#getCustomTags} 96 */ 97 @Test 98 public void testGetCustomTags() { 99 assertNull(Territories.getCustomTags(null)); 100 assertNull(Territories.getCustomTags("foo")); 101 assertEquals("arab", Territories.getCustomTags("BH").get("ldml:nu:ar")); 102 } 92 103 }
Note:
See TracChangeset
for help on using the changeset viewer.