List<DynamicTest> () { List<NamedFailure> failures = new ArrayList<>(); Set<String> knownBoundActions = getBoundActions(); Keymap[] keymaps = KeymapManagerEx.getInstanceEx().getAllKeymaps(); for (Keymap keymap : keymaps) { KeymapImpl keymapImpl = (KeymapImpl)keymap; for (String actionId : keymapImpl.getActionIds()) { if (knownBoundActions.contains(actionId)) continue; boolean isBound = keymapImpl.isActionBound(actionId); if (isBound) { failures.add(new NamedFailure("bound action with shortcut in " + keymap.getName() + ": " + actionId, "Please remove action from keymaps, or add to the 'known bound actions' list")); } } } return DynamicTests.asDynamicTests(failures, "problems with bound actions"); }