Skip to content

Ghidra is a software reverse engineering (SRE) framework

Test fixes

dragonmacherf225a3e32ae3
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) {