Changeset 14313 in josm for trunk/test
- Timestamp:
- 2018-10-10T18:38:18+02:00 (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/test/unit/org/openstreetmap/josm/gui/MainApplicationTest.java
r14168 r14313 30 30 import org.junit.Test; 31 31 import org.openstreetmap.josm.TestUtils; 32 import org.openstreetmap.josm.actions.AboutAction; 32 import org.openstreetmap.josm.actions.JosmAction; 33 import org.openstreetmap.josm.actions.OpenLocationAction; 33 34 import org.openstreetmap.josm.data.Version; 34 35 import org.openstreetmap.josm.data.osm.DataSet; … … 294 295 assertNotNull(noAction.getKeyStroke()); 295 296 assertNull(MainApplication.getRegisteredActionShortcut(noAction)); 296 AboutAction about = new AboutAction();297 assertEquals(a bout, MainApplication.getRegisteredActionShortcut(about.getShortcut()));297 JosmAction action = new OpenLocationAction(); 298 assertEquals(action, MainApplication.getRegisteredActionShortcut(action.getShortcut())); 298 299 } 299 300
Note:
See TracChangeset
for help on using the changeset viewer.