Ignore:
Timestamp:
2018-04-12T01:18:50+02:00 (7 years ago)
Author:
Don-vip
Message:

fix #16180 - make sure changeset dialog example URLs are valid

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/test/unit/org/openstreetmap/josm/gui/dialogs/changeset/query/UrlBasedQueryPanelTest.java

    r10962 r13617  
    33
    44import static org.junit.Assert.assertNotNull;
     5import static org.junit.Assert.assertTrue;
    56
    67import org.junit.Rule;
     
    2930        assertNotNull(new UrlBasedQueryPanel());
    3031    }
     32
     33    /**
     34     * Checks that examples displayed in panel are correct.
     35     */
     36    @Test
     37    public void testExamplesAreCorrect() {
     38        for (String example : UrlBasedQueryPanel.getExamples()) {
     39            assertTrue(example, UrlBasedQueryPanel.isValidChangesetQueryUrl(example));
     40        }
     41    }
    3142}
Note: See TracChangeset for help on using the changeset viewer.