mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2026-06-02 12:09:28 +08:00
Merge remote-tracking branch 'origin/GP-0_ghidragon_fixing_encoded_string_test'
This commit is contained in:
+1
-1
@@ -435,8 +435,8 @@ public class EncodedStringsDialog extends DialogComponentProvider {
|
|||||||
table.getSelectionModel().addListSelectionListener(e -> selectedRowChange());
|
table.getSelectionModel().addListSelectionListener(e -> selectedRowChange());
|
||||||
|
|
||||||
table.installNavigation(tool);
|
table.installNavigation(tool);
|
||||||
filterPanel.getAccessibleContext().setAccessibleName("Filter");
|
|
||||||
filterPanel = new GhidraTableFilterPanel<>(table, tableModel);
|
filterPanel = new GhidraTableFilterPanel<>(table, tableModel);
|
||||||
|
filterPanel.getAccessibleContext().setAccessibleName("Filter");
|
||||||
}
|
}
|
||||||
|
|
||||||
private void buildCharsetPickerComponents() {
|
private void buildCharsetPickerComponents() {
|
||||||
|
|||||||
-2
@@ -41,7 +41,6 @@ public class EncodedStringsDialogTest extends AbstractProgramBasedTest {
|
|||||||
private EncodedStringsTableModel tableModel;
|
private EncodedStringsTableModel tableModel;
|
||||||
private EncodedStringsPlugin plugin;
|
private EncodedStringsPlugin plugin;
|
||||||
|
|
||||||
|
|
||||||
@Before
|
@Before
|
||||||
public void setUp() throws Exception {
|
public void setUp() throws Exception {
|
||||||
initialize();
|
initialize();
|
||||||
@@ -177,7 +176,6 @@ public class EncodedStringsDialogTest extends AbstractProgramBasedTest {
|
|||||||
Swing.runNow(() -> dialog.getCreateButton().doClick());
|
Swing.runNow(() -> dialog.getCreateButton().doClick());
|
||||||
|
|
||||||
waitForSwing();
|
waitForSwing();
|
||||||
|
|
||||||
data = program.getListing().getDataAt(addr(0x100));
|
data = program.getListing().getDataAt(addr(0x100));
|
||||||
assertNotNull(data);
|
assertNotNull(data);
|
||||||
assertTrue(data.getDataType() instanceof AbstractStringDataType);
|
assertTrue(data.getDataType() instanceof AbstractStringDataType);
|
||||||
|
|||||||
Reference in New Issue
Block a user