Changeset 6483 in josm for trunk/test/unit/org/openstreetmap


Ignore:
Timestamp:
2013-12-17T09:00:56+01:00 (11 years ago)
Author:
Don-vip
Message:

see #9434 - repair unit test

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/test/unit/org/openstreetmap/josm/tools/OsmUrlToBoundsTest.java

    r6155 r6483  
    5151    public void testParse() {
    5252        for (ParseTestItem item : parseTestData) {
    53             Bounds bounds = OsmUrlToBounds.parse(item.url);
     53            Bounds bounds = null;
     54            try {
     55                bounds = OsmUrlToBounds.parse(item.url);
     56            } catch (IllegalArgumentException e) {
     57                // Ignore. check if bounds is null after
     58            }
    5459            Assert.assertEquals(item.url, item.bounds, bounds);
    5560        }
Note: See TracChangeset for help on using the changeset viewer.