Changeset 19014 in josm for trunk/test
- Timestamp:
- 2024-03-08T10:58:03+01:00 (8 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/test/unit/org/openstreetmap/josm/gui/dialogs/relation/actions/RelationEditorActionsTest.java
r18433 r19014 17 17 import org.openstreetmap.josm.data.coor.LatLon; 18 18 import org.openstreetmap.josm.data.osm.DataSet; 19 import org.openstreetmap.josm.data.osm.IRelation; 19 20 import org.openstreetmap.josm.data.osm.Node; 20 21 import org.openstreetmap.josm.data.osm.Relation; … … 169 170 relationEditorAccess.getTagModel().initFromPrimitive(relation); 170 171 relationEditorAccess.getEditor().reloadDataFromRelation(); 171 assertDoesNotThrow(relationEditorAccess::getChangedRelation); 172 173 assertDoesNotThrow(() -> { 174 IRelation<?> tempRelation = relationEditorAccess.getChangedRelation(); 175 if (tempRelation.getDataSet() == null) 176 tempRelation.setMembers(null); // see #19885 177 }); 172 178 } 173 179 }
Note:
See TracChangeset
for help on using the changeset viewer.