Changeset 14313 in josm


Ignore:
Timestamp:
2018-10-10T18:38:18+02:00 (6 years ago)
Author:
Don-vip
Message:

see #16819 - use another action to make test pass on macOS

File:
1 edited

Legend:

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

    r14168 r14313  
    3030import org.junit.Test;
    3131import org.openstreetmap.josm.TestUtils;
    32 import org.openstreetmap.josm.actions.AboutAction;
     32import org.openstreetmap.josm.actions.JosmAction;
     33import org.openstreetmap.josm.actions.OpenLocationAction;
    3334import org.openstreetmap.josm.data.Version;
    3435import org.openstreetmap.josm.data.osm.DataSet;
     
    294295        assertNotNull(noAction.getKeyStroke());
    295296        assertNull(MainApplication.getRegisteredActionShortcut(noAction));
    296         AboutAction about = new AboutAction();
    297         assertEquals(about, MainApplication.getRegisteredActionShortcut(about.getShortcut()));
     297        JosmAction action = new OpenLocationAction();
     298        assertEquals(action, MainApplication.getRegisteredActionShortcut(action.getShortcut()));
    298299    }
    299300
Note: See TracChangeset for help on using the changeset viewer.