mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2026-05-10 05:39:36 +08:00
Merge remote-tracking branch 'origin/GP-0-dragonmacher-test-debug'
This commit is contained in:
+8
-1
@@ -502,7 +502,14 @@ public class KeyBindingUtilsTest extends AbstractGhidraHeadedIntegrationTest {
|
||||
assertEquals(keyText.toUpperCase(), keyField.getText());
|
||||
|
||||
runSwing(() -> panel.apply());
|
||||
assertEquals(KeyStroke.getKeyStroke(keyCode, 0), action.getKeyBinding());
|
||||
|
||||
if (!Objects.equals(KeyStroke.getKeyStroke(keyCode, 0), action.getKeyBinding())) {
|
||||
|
||||
Msg.debug(this, "Action did not take keybinding: " + action.getFullName());
|
||||
|
||||
assertEquals("Key binding was not applied", KeyStroke.getKeyStroke(keyCode, 0),
|
||||
action.getKeyBinding());
|
||||
}
|
||||
}
|
||||
|
||||
private void selectRowForAction(DockingActionIf action) throws Exception {
|
||||
|
||||
Reference in New Issue
Block a user