Skip to content

Ghidra is a software reverse engineering (SRE) framework

GP-0: Test fixes.

Dan84a7abb3ff6d
diff --git a/Ghidra/Debug/Debugger/src/test/java/ghidra/app/plugin/core/debug/gui/AbstractGhidraHeadedDebuggerTest.java b/Ghidra/Debug/Debugger/src/test/java/ghidra/app/plugin/core/debug/gui/AbstractGhidraHeadedDebuggerTest.java
index 8c060a32fa..8714faf735 100644
--- a/Ghidra/Debug/Debugger/src/test/java/ghidra/app/plugin/core/debug/gui/AbstractGhidraHeadedDebuggerTest.java
+++ b/Ghidra/Debug/Debugger/src/test/java/ghidra/app/plugin/core/debug/gui/AbstractGhidraHeadedDebuggerTest.java
@@ -42,6 +42,7 @@ import docking.action.DockingActionIf;
import docking.widgets.table.DynamicTableColumn;
import docking.widgets.tree.GTree;
import docking.widgets.tree.GTreeNode;
+import ghidra.GhidraTestApplicationLayout;
import ghidra.app.nav.Navigatable;
import ghidra.app.plugin.core.debug.gui.action.*;
import ghidra.app.plugin.core.debug.gui.model.ObjectTableModel.ValueRow;
@@ -73,6 +74,7 @@ import ghidra.util.NumericUtilities;
import ghidra.util.datastruct.TestDataStructureErrorHandlerInstaller;
import ghidra.util.exception.CancelledException;
import ghidra.util.task.ConsoleTaskMonitor;
+import utility.application.ApplicationLayout;
public abstract class AbstractGhidraHeadedDebuggerTest
extends AbstractGhidraHeadedIntegrationTest implements AsyncTestUtils {
@@ -110,6 +112,18 @@ public abstract class AbstractGhidraHeadedDebuggerTest
}
}
+ @Override
+ protected ApplicationLayout createApplicationLayout() throws IOException {
+ return new GhidraTestApplicationLayout(new File(getTestDirectoryPath())) {
+ @Override
+ protected Set<String> getDependentModulePatterns() {
+ Set<String> patterns = super.getDependentModulePatterns();
+ patterns.add("Debugger-agent");
+ return patterns;
+ }
+ };
+ }
+
public static final String LANGID_TOYBE64 = "Toy:BE:64:default";
protected static byte[] arr(String hex) {