Changeset 12751 in josm for trunk/test


Ignore:
Timestamp:
2017-09-06T02:58:32+02:00 (4 years ago)
Author:
Don-vip
Message:

see #15229 - see #15182 - see #13036 - update unit tests and groovy script

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/test/unit/org/openstreetmap/josm/testutils/JOSMTestRules.java

    r12750 r12751  
    1515import org.openstreetmap.josm.JOSMFixture;
    1616import org.openstreetmap.josm.Main;
     17import org.openstreetmap.josm.actions.DeleteAction;
     18import org.openstreetmap.josm.command.DeleteCommand;
    1719import org.openstreetmap.josm.data.UserIdentityManager;
    1820import org.openstreetmap.josm.data.osm.User;
     
    269271        UserIdentityManager.getInstance().setAnonymous();
    270272        User.clearUserMap();
     273        // Setup callbacks
     274        DeleteCommand.setDeletionCallback(DeleteAction::checkAndConfirmOutlyingDelete);
    271275
    272276        // Set up i18n
Note: See TracChangeset for help on using the changeset viewer.