Ghidra is a software reverse engineering (SRE) framework
Tests - fixed test broken to the shared owner name changing
dragonmacher4d728abc71e7
diff --git a/Ghidra/Features/Base/src/test.slow/java/docking/ComponentProviderActionsTest.java b/Ghidra/Features/Base/src/test.slow/java/docking/ComponentProviderActionsTest.javaindex 8fe1c5042a..b42e10852e 100644--- a/Ghidra/Features/Base/src/test.slow/java/docking/ComponentProviderActionsTest.java+++ b/Ghidra/Features/Base/src/test.slow/java/docking/ComponentProviderActionsTest.java@@ -449,8 +449,8 @@ public class ComponentProviderActionsTest extends AbstractGhidraHeadedIntegratioprivate void setOptionsKeyStroke(KeyStroke newKs) {ToolOptions keyOptions = tool.getOptions(DockingToolConstants.KEY_BINDINGS);- // shared option name/format: "Provider Name (Tool)" - the shared action's owner is the Tool- runSwing(() -> keyOptions.setKeyStroke(provider.getName() + " (Tool)", newKs));+ // shared option name/format: "Provider Name (Shared)" - the shared action's owner is the Tool+ runSwing(() -> keyOptions.setKeyStroke(provider.getName() + " (Shared)", newKs));waitForSwing();}@@ -496,8 +496,8 @@ public class ComponentProviderActionsTest extends AbstractGhidraHeadedIntegratioToolOptions options = getKeyBindingOptions();- // Option name: the action name with the 'Tool' as the owner- String fullName = provider.getName() + " (Tool)";+ // Option name: the action name with the 'Shared' owner+ String fullName = provider.getName() + " (Shared)";KeyStroke optionsKs = runSwing(() -> options.getKeyStroke(fullName, null));assertEquals("Key stroke in options does not match expected key stroke", expectedKs,optionsKs);