Changeset 14437 in josm for trunk/test/unit
- Timestamp:
- 2018-11-20T17:01:47+01:00 (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/test/unit/org/openstreetmap/josm/data/validation/tests/RelationCheckerTest.java
r12002 r14437 47 47 @Test 48 48 public void testUnknownType() { 49 List<TestError> errors = testRelation(createRelation("type=foobar")); 49 Relation r = createRelation("type=foobar"); 50 r.addMember(new RelationMember("", new Way())); 51 List<TestError> errors = testRelation(r); 52 50 53 assertTrue(errors.size() >= 1); 51 54 assertEquals("Relation type is unknown", errors.get(0).getMessage());
Note:
See TracChangeset
for help on using the changeset viewer.