Changeset 7901 in josm for trunk/test


Ignore:
Timestamp:
2014-12-28T14:27:49+01:00 (5 years ago)
Author:
Don-vip
Message:

fix #10892 - update multipolygon preset + javadoc update

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/test/unit/org/openstreetmap/josm/data/validation/tests/RelationCheckerTest.groovy

    r7884 r7901  
    4646        assert errors.size() == 1
    4747        assert errors.get(0).getMessage() == "Relation is empty"
     48    }
     49
     50    void testNormal() {
     51        def r = createRelation("type=multipolygon")
     52        r.addMember(new RelationMember("outer", new Way()))
     53        r.addMember(new RelationMember("inner", new Way()))
     54        assert testRelation(r).isEmpty()
    4855    }
    4956
Note: See TracChangeset for help on using the changeset viewer.