Changeset 10883 in josm


Ignore:
Timestamp:
2016-08-23T23:38:23+02:00 (8 years ago)
Author:
Don-vip
Message:

fix #13432 - Test #invalidate instead of isChanged (patch by michael2402) - gsoc-core

Location:
trunk/test/unit/org/openstreetmap/josm/gui/layer
Files:
1 added
1 edited

Legend:

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

    r10436 r10883  
    220220
    221221    /**
    222      * Unit test of {@link OsmDataLayer#isChanged}.
    223      */
    224     @Test
    225     public void testIsChanged() {
    226         DataSet ds = new DataSet();
    227         OsmDataLayer layer = new OsmDataLayer(ds, "", null);
    228         assertTrue(layer.isChanged());
    229     }
    230 
    231     /**
    232222     * Unit test of {@link OsmDataLayer#isModified}.
    233223     */
Note: See TracChangeset for help on using the changeset viewer.