Skip to content

Ghidra is a software reverse engineering (SRE) framework

Test fixes

dragonmacher72d7986e6b12
diff --git a/Ghidra/Features/Base/src/test.slow/java/ghidra/app/plugin/core/compositeeditor/StructureEditorLockedEnablementTest.java b/Ghidra/Features/Base/src/test.slow/java/ghidra/app/plugin/core/compositeeditor/StructureEditorLockedEnablementTest.java
index c699438b48..9f2c26c9e7 100644
--- a/Ghidra/Features/Base/src/test.slow/java/ghidra/app/plugin/core/compositeeditor/StructureEditorLockedEnablementTest.java
+++ b/Ghidra/Features/Base/src/test.slow/java/ghidra/app/plugin/core/compositeeditor/StructureEditorLockedEnablementTest.java
@@ -168,7 +168,8 @@ public class StructureEditorLockedEnablementTest extends AbstractStructureEditor
(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 {
@@ -198,7 +199,8 @@ public class StructureEditorLockedEnablementTest extends AbstractStructureEditor
(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 {
@@ -228,7 +230,8 @@ public class StructureEditorLockedEnablementTest extends AbstractStructureEditor
(action instanceof DuplicateMultipleAction) || (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 {