GP-6692 - Added an option to limit the number of symbols displayed at an address

This commit is contained in:
dragonmacher
2026-04-28 18:17:58 -04:00
parent 7ff28d30bc
commit f9f71fe576
32 changed files with 1424 additions and 600 deletions
@@ -21,8 +21,8 @@ import javax.swing.*;
import org.junit.Test;
import docking.widgets.combobox.GhidraComboBox;
import ghidra.app.plugin.core.label.*;
import ghidra.app.plugin.core.label.LabelHistoryDialog;
import ghidra.app.plugin.core.label.LabelHistoryInputDialog;
import ghidra.app.util.*;
import ghidra.program.model.address.*;
import ghidra.program.model.symbol.LabelHistory;
@@ -85,22 +85,6 @@ public class LabelMgrPluginScreenShots extends GhidraScreenShotGenerator {
captureDialog();
}
@Test
public void testSetLabel() {
LabelMgrPlugin plugin = getPlugin(tool, LabelMgrPlugin.class);
final OperandLabelDialog dialog = new OperandLabelDialog(plugin);
final GhidraComboBox<?> combo = (GhidraComboBox<?>) getInstanceField("myChoice", dialog);
runSwing(new Runnable() {
@Override
public void run() {
dialog.setTitle("Set Label at 004a671");
combo.setSelectedItem("LAB_0040a671");
}
});
showDialogWithoutBlocking(tool, dialog);
captureDialog(350, 116);
}
@Test
public void testShowLabelHistory() {
AddressSpace space = new GenericAddressSpace("Test", 32, AddressSpace.TYPE_RAM, 0);