Changeset 9480 in josm for trunk/test/unit


Ignore:
Timestamp:
2016-01-16T03:00:56+01:00 (6 years ago)
Author:
Don-vip
Message:

fix #12376 - Multipolygon test hangs (patch by cmuelle8), regression from r9351

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/test/unit/org/openstreetmap/josm/data/osm/MultipolygonBuilderTest.java

    r9476 r9480  
    11// License: GPL. For details, see LICENSE file.
    22package org.openstreetmap.josm.data.osm;
     3
     4import static org.junit.Assert.assertNull;
    35
    46import java.io.FileInputStream;
     
    4244            DataSet ds = OsmReader.parseDataSet(Compression.BZIP2.getUncompressedInputStream(is), null);
    4345            for (Relation r : ds.getRelations()) {
    44                 new MultipolygonBuilder().makeFromWays(r.getMemberPrimitives(Way.class));
     46                assertNull(new MultipolygonBuilder().makeFromWays(r.getMemberPrimitives(Way.class)));
    4547            }
    4648        }
Note: See TracChangeset for help on using the changeset viewer.