mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2026-06-04 05:24:57 +08:00
Merge remote-tracking branch 'origin/GP-0-dragonmacher-test-fixes-11-1-21'
This commit is contained in:
+2
-1
@@ -85,7 +85,8 @@ public class CloseToolTest extends AbstractGhidraHeadedIntegrationTest {
|
|||||||
|
|
||||||
DockingActionIf closeOthersAction = getAction(pm, "Close Others");
|
DockingActionIf closeOthersAction = getAction(pm, "Close Others");
|
||||||
assertNotNull(closeOthersAction);
|
assertNotNull(closeOthersAction);
|
||||||
assertEquals(true, closeOthersAction.isEnabled());
|
ProgramActionContext context = new ProgramActionContext(null, program1);
|
||||||
|
assertEquals(true, closeOthersAction.isEnabledForContext(context));
|
||||||
performAction(closeOthersAction, true);
|
performAction(closeOthersAction, true);
|
||||||
|
|
||||||
allOpenPrograms = pm.getAllOpenPrograms();
|
allOpenPrograms = pm.getAllOpenPrograms();
|
||||||
|
|||||||
Reference in New Issue
Block a user