Changeset 12357 in josm for trunk/test


Ignore:
Timestamp:
2017-06-09T11:54:04+02:00 (7 years ago)
Author:
michael2402
Message:

JoinAreasActionTest: Set the active edit layer

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/test/unit/org/openstreetmap/josm/actions/JoinAreasActionTest.java

    r11826 r12357  
    1414import java.util.Set;
    1515
     16import org.junit.Ignore;
    1617import org.junit.Rule;
    1718import org.junit.Test;
     
    3536
    3637import edu.umd.cs.findbugs.annotations.SuppressFBWarnings;
    37 import org.junit.Ignore;
    3838
    3939/**
     
    110110            dsExpected = OsmReader.parseDataSet(is, NullProgressMonitor.INSTANCE);
    111111        }
     112
     113        // set current edit layer
     114        Main.getLayerManager().addLayer(new OsmDataLayer(dsToJoin, "join", null));
     115
    112116        Collection<OsmPrimitive> testPrims = dsToJoin.getPrimitives(osm -> osm.get("test") != null);
    113117        MultiMap<String, OsmPrimitive> tests = new MultiMap<>();
Note: See TracChangeset for help on using the changeset viewer.