Ignore:
Timestamp:
2017-08-27T17:07:54+02:00 (7 years ago)
Author:
Don-vip
Message:

see #15182 - move ConflictCollection from OsmDataLayer to DataSet. Simplifies some code where a data set is enough, and a layer is not needed

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/test/unit/org/openstreetmap/josm/gui/dialogs/InspectPrimitiveDialogTest.java

    r12636 r12672  
    4747    public void testBuildDataText() {
    4848        DataSet ds = new DataSet();
    49         OsmDataLayer layer = new OsmDataLayer(ds, "", null);
    50         assertEquals("", InspectPrimitiveDialog.buildDataText(layer, new ArrayList<>(ds.allPrimitives())));
     49        assertEquals("", InspectPrimitiveDialog.buildDataText(ds, new ArrayList<>(ds.allPrimitives())));
    5150        Node n = new Node(LatLon.ZERO);
    5251        n.setOsmId(1, 1);
     
    6160                "  Coordinates: 0.0, 0.0\n" +
    6261                "  Coordinates (projected): 0.0, -7.081154551613622E-10\n" +
    63                 "\n", InspectPrimitiveDialog.buildDataText(layer, new ArrayList<>(ds.allPrimitives())));
     62                "\n", InspectPrimitiveDialog.buildDataText(ds, new ArrayList<>(ds.allPrimitives())));
    6463    }
    6564
Note: See TracChangeset for help on using the changeset viewer.