mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2026-09-25 17:00:36 -09:00
Test fixes
This commit is contained in:
@@ -505,8 +505,8 @@ public class SymbolTreePlugin1Test extends AbstractGhidraHeadedIntegrationTest {
|
||||
DefaultTreeCellEditor cellEditor = (DefaultTreeCellEditor) tree.getCellEditor();
|
||||
JTree jTree = (JTree) AbstractGenericTest.getInstanceField("tree", tree);
|
||||
|
||||
Container container = (Container) cellEditor.getTreeCellEditorComponent(jTree, newNsNode,
|
||||
true, true, true, row);
|
||||
Container container = (Container) runSwing(
|
||||
() -> cellEditor.getTreeCellEditorComponent(jTree, newNsNode, true, true, true, row));
|
||||
JTextField textField = (JTextField) container.getComponent(0);
|
||||
assertEquals("NewNamespace", textField.getText());
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user