From f225a3e32ae35aa72c4f28c0d8598bd0bc6b535f Mon Sep 17 00:00:00 2001 From: dragonmacher <48328597+dragonmacher@users.noreply.github.com> Date: Thu, 29 May 2025 10:33:18 -0400 Subject: [PATCH] Test fixes --- .../StructureEditorUnlockedEnablementTest.java | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/Ghidra/Features/Base/src/test.slow/java/ghidra/app/plugin/core/compositeeditor/StructureEditorUnlockedEnablementTest.java b/Ghidra/Features/Base/src/test.slow/java/ghidra/app/plugin/core/compositeeditor/StructureEditorUnlockedEnablementTest.java index 54bbfe8c13..5d818449f6 100644 --- a/Ghidra/Features/Base/src/test.slow/java/ghidra/app/plugin/core/compositeeditor/StructureEditorUnlockedEnablementTest.java +++ b/Ghidra/Features/Base/src/test.slow/java/ghidra/app/plugin/core/compositeeditor/StructureEditorUnlockedEnablementTest.java @@ -118,7 +118,8 @@ public class StructureEditorUnlockedEnablementTest extends AbstractStructureEdit (action instanceof ArrayAction) || (action instanceof PointerAction) || (action instanceof HexNumbersAction) || (action instanceof CreateInternalStructureAction) || - (action instanceof ShowDataTypeInTreeAction)) { + (action instanceof ShowDataTypeInTreeAction || + action instanceof FindReferencesToStructureFieldAction)) { checkEnablement(action, true); } else if (action instanceof FavoritesAction) { @@ -158,7 +159,8 @@ public class StructureEditorUnlockedEnablementTest extends AbstractStructureEdit (action instanceof DeleteAction) || (action instanceof ArrayAction) || (action instanceof PointerAction) || (action instanceof HexNumbersAction) || (action instanceof CreateInternalStructureAction) || - (action instanceof ShowDataTypeInTreeAction)) { + (action instanceof ShowDataTypeInTreeAction || + action instanceof FindReferencesToStructureFieldAction)) { checkEnablement(action, true); } else if (action instanceof FavoritesAction) { @@ -199,7 +201,8 @@ public class StructureEditorUnlockedEnablementTest extends AbstractStructureEdit (action instanceof ArrayAction) || (action instanceof PointerAction) || (action instanceof HexNumbersAction) || (action instanceof CreateInternalStructureAction) || - (action instanceof ShowDataTypeInTreeAction)) { + (action instanceof ShowDataTypeInTreeAction || + action instanceof FindReferencesToStructureFieldAction)) { checkEnablement(action, true); } else if (action instanceof FavoritesAction) {