Skip to content

Commit 84a7abb

Browse files
GP-0: Test fixes.
1 parent 860c754 commit 84a7abb

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

Ghidra/Debug/Debugger/src/test/java/ghidra/app/plugin/core/debug/gui/AbstractGhidraHeadedDebuggerTest.java

+14
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,7 @@
4242
import docking.widgets.table.DynamicTableColumn;
4343
import docking.widgets.tree.GTree;
4444
import docking.widgets.tree.GTreeNode;
45+
import ghidra.GhidraTestApplicationLayout;
4546
import ghidra.app.nav.Navigatable;
4647
import ghidra.app.plugin.core.debug.gui.action.*;
4748
import ghidra.app.plugin.core.debug.gui.model.ObjectTableModel.ValueRow;
@@ -73,6 +74,7 @@
7374
import ghidra.util.datastruct.TestDataStructureErrorHandlerInstaller;
7475
import ghidra.util.exception.CancelledException;
7576
import ghidra.util.task.ConsoleTaskMonitor;
77+
import utility.application.ApplicationLayout;
7678

7779
public abstract class AbstractGhidraHeadedDebuggerTest
7880
extends AbstractGhidraHeadedIntegrationTest implements AsyncTestUtils {
@@ -110,6 +112,18 @@ public abstract class AbstractGhidraHeadedDebuggerTest
110112
}
111113
}
112114

115+
@Override
116+
protected ApplicationLayout createApplicationLayout() throws IOException {
117+
return new GhidraTestApplicationLayout(new File(getTestDirectoryPath())) {
118+
@Override
119+
protected Set<String> getDependentModulePatterns() {
120+
Set<String> patterns = super.getDependentModulePatterns();
121+
patterns.add("Debugger-agent");
122+
return patterns;
123+
}
124+
};
125+
}
126+
113127
public static final String LANGID_TOYBE64 = "Toy:BE:64:default";
114128

115129
protected static byte[] arr(String hex) {

0 commit comments

Comments
 (0)