Ignore:
Timestamp:
2016-01-01T02:35:34+01:00 (8 years ago)
Author:
Don-vip
Message:

javadoc update

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/test/unit/org/openstreetmap/josm/data/validation/tests/TagCheckerTest.java

    r9023 r9231  
    4040    }
    4141
     42    /**
     43     * Check for mispelled key.
     44     * @throws IOException if any I/O error occurs
     45     */
    4246    @Test
    43     public void testInvalidKey() throws Exception {
     47    public void testInvalidKey() throws IOException {
    4448        final List<TestError> errors = test(OsmUtils.createPrimitive("node Name=Main"));
    4549        assertEquals(1, errors.size());
     
    4852    }
    4953
     54    /**
     55     * Check for mispelled key.
     56     * @throws IOException if any I/O error occurs
     57     */
    5058    @Test
    51     public void testMisspelledKey() throws Exception {
     59    public void testMisspelledKey() throws IOException {
    5260        final List<TestError> errors = test(OsmUtils.createPrimitive("node landuse;=forest"));
    5361        assertEquals(1, errors.size());
     
    5664    }
    5765
     66    /**
     67     * Check for unknown key.
     68     * @throws IOException if any I/O error occurs
     69     */
    5870    @Test
    59     public void testTranslatedNameKey() throws Exception {
     71    public void testTranslatedNameKey() throws IOException {
    6072        final List<TestError> errors = test(OsmUtils.createPrimitive("node namez=Baz"));
    6173        assertEquals(1, errors.size());
     
    6476    }
    6577
     78    /**
     79     * Check for mispelled value.
     80     * @throws IOException if any I/O error occurs
     81     */
    6682    @Test
    67     public void testMisspelledTag() throws Exception {
     83    public void testMisspelledTag() throws IOException {
    6884        final List<TestError> errors = test(OsmUtils.createPrimitive("node landuse=forrest"));
    6985        assertEquals(1, errors.size());
Note: See TracChangeset for help on using the changeset viewer.