mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2025-10-03 17:59:46 +02:00
Test fixes
This commit is contained in:
parent
7f671da253
commit
fc39df2dd1
1 changed files with 2 additions and 2 deletions
|
@ -505,8 +505,8 @@ public class SymbolTreePlugin1Test extends AbstractGhidraHeadedIntegrationTest {
|
||||||
DefaultTreeCellEditor cellEditor = (DefaultTreeCellEditor) tree.getCellEditor();
|
DefaultTreeCellEditor cellEditor = (DefaultTreeCellEditor) tree.getCellEditor();
|
||||||
JTree jTree = (JTree) AbstractGenericTest.getInstanceField("tree", tree);
|
JTree jTree = (JTree) AbstractGenericTest.getInstanceField("tree", tree);
|
||||||
|
|
||||||
Container container = (Container) cellEditor.getTreeCellEditorComponent(jTree, newNsNode,
|
Container container = (Container) runSwing(
|
||||||
true, true, true, row);
|
() -> cellEditor.getTreeCellEditorComponent(jTree, newNsNode, true, true, true, row));
|
||||||
JTextField textField = (JTextField) container.getComponent(0);
|
JTextField textField = (JTextField) container.getComponent(0);
|
||||||
assertEquals("NewNamespace", textField.getText());
|
assertEquals("NewNamespace", textField.getText());
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue