Changeset 13434 in josm for trunk/test


Ignore:
Timestamp:
2018-02-18T05:02:23+01:00 (18 months ago)
Author:
Don-vip
Message:

see #8039, see #10456 - support read-only data layers

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/test/unit/org/openstreetmap/josm/gui/layer/MainLayerManagerTest.java

    r11324 r13434  
    127127        layerManagerWithActive.addAndFireActiveLayerChangeListener(listener2);
    128128        assertSame(listener2.lastEvent.getPreviousActiveLayer(), null);
    129         assertSame(listener2.lastEvent.getPreviousEditLayer(), null);
     129        assertSame(listener2.lastEvent.getPreviousDataLayer(), null);
    130130
    131131        layerManagerWithActive.setActiveLayer(layer1);
    132132        assertSame(listener2.lastEvent.getPreviousActiveLayer(), layer2);
    133         assertSame(listener2.lastEvent.getPreviousEditLayer(), layer2);
     133        assertSame(listener2.lastEvent.getPreviousDataLayer(), layer2);
    134134
    135135        layerManagerWithActive.setActiveLayer(layer2);
    136136        assertSame(listener2.lastEvent.getPreviousActiveLayer(), layer1);
    137         assertSame(listener2.lastEvent.getPreviousEditLayer(), layer2);
     137        assertSame(listener2.lastEvent.getPreviousDataLayer(), layer2);
    138138    }
    139139
Note: See TracChangeset for help on using the changeset viewer.