mirror of
https://github.com/NationalSecurityAgency/ghidra
synced 2024-09-13 21:56:19 +00:00
GP-0: Peform selections on the swing thread
This commit is contained in:
parent
6a5265d570
commit
3bd8683fdf
|
@ -543,9 +543,9 @@ public class DebuggerListingProviderTest extends AbstractGhidraHeadedDebuggerGUI
|
|||
createMappedTraceAndProgram();
|
||||
AddressSpace ss = program.getAddressFactory().getDefaultAddressSpace();
|
||||
|
||||
listingProvider.getListingPanel()
|
||||
runSwing(() -> listingProvider.getListingPanel()
|
||||
.setSelection(new ProgramSelection(tb.addr(0x00401234), tb.addr(0x00404321)),
|
||||
EventTrigger.GUI_ACTION);
|
||||
EventTrigger.GUI_ACTION));
|
||||
waitForSwing();
|
||||
|
||||
assertEquals(tb.set(tb.range(ss, 0x00601234, 0x00604321)),
|
||||
|
@ -558,10 +558,10 @@ public class DebuggerListingProviderTest extends AbstractGhidraHeadedDebuggerGUI
|
|||
createMappedTraceAndProgram();
|
||||
AddressSpace ss = program.getAddressFactory().getDefaultAddressSpace();
|
||||
|
||||
codePlugin.getListingPanel()
|
||||
runSwing(() -> codePlugin.getListingPanel()
|
||||
.setSelection(
|
||||
new ProgramSelection(tb.addr(ss, 0x00601234), tb.addr(ss, 0x00604321)),
|
||||
EventTrigger.GUI_ACTION);
|
||||
EventTrigger.GUI_ACTION));
|
||||
waitForSwing();
|
||||
|
||||
assertEquals(tb.set(tb.range(0x00401234, 0x00404321)), listingPlugin.getCurrentSelection());
|
||||
|
|
Loading…
Reference in a new issue