Changeset 9231 in josm for trunk/test/unit/org/openstreetmap/josm/data/validation
- Timestamp:
- 2016-01-01T02:35:34+01:00 (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/test/unit/org/openstreetmap/josm/data/validation/tests/TagCheckerTest.java
r9023 r9231 40 40 } 41 41 42 /** 43 * Check for mispelled key. 44 * @throws IOException if any I/O error occurs 45 */ 42 46 @Test 43 public void testInvalidKey() throws Exception {47 public void testInvalidKey() throws IOException { 44 48 final List<TestError> errors = test(OsmUtils.createPrimitive("node Name=Main")); 45 49 assertEquals(1, errors.size()); … … 48 52 } 49 53 54 /** 55 * Check for mispelled key. 56 * @throws IOException if any I/O error occurs 57 */ 50 58 @Test 51 public void testMisspelledKey() throws Exception {59 public void testMisspelledKey() throws IOException { 52 60 final List<TestError> errors = test(OsmUtils.createPrimitive("node landuse;=forest")); 53 61 assertEquals(1, errors.size()); … … 56 64 } 57 65 66 /** 67 * Check for unknown key. 68 * @throws IOException if any I/O error occurs 69 */ 58 70 @Test 59 public void testTranslatedNameKey() throws Exception {71 public void testTranslatedNameKey() throws IOException { 60 72 final List<TestError> errors = test(OsmUtils.createPrimitive("node namez=Baz")); 61 73 assertEquals(1, errors.size()); … … 64 76 } 65 77 78 /** 79 * Check for mispelled value. 80 * @throws IOException if any I/O error occurs 81 */ 66 82 @Test 67 public void testMisspelledTag() throws Exception {83 public void testMisspelledTag() throws IOException { 68 84 final List<TestError> errors = test(OsmUtils.createPrimitive("node landuse=forrest")); 69 85 assertEquals(1, errors.size());
Note:
See TracChangeset
for help on using the changeset viewer.