mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2025-10-05 02:39:44 +02:00
GP-0: Fix tests
This commit is contained in:
parent
56281c5150
commit
50f74e1db0
2 changed files with 6 additions and 5 deletions
|
@ -1421,16 +1421,13 @@ public class DebuggerLogicalBreakpointServiceTest extends AbstractGhidraHeadedDe
|
|||
LogicalBreakpoint lb = Unique.assertOne(breakpointService.getAllBreakpoints());
|
||||
|
||||
// Simulate a step, which should also cause snap advance in recorder
|
||||
long oldSnap = recorder1.getSnap();
|
||||
mb.testModel.session.simulateStep(mb.testThread1);
|
||||
waitOn(mb.testModel.flushEvents());
|
||||
// NB. recorder may have its own threads / queues
|
||||
waitForPass(() -> assertTrue(recorder1.getSnap() > oldSnap));
|
||||
waitRecorder(recorder1);
|
||||
|
||||
waitOn(lb.delete());
|
||||
|
||||
waitForPass(() -> {
|
||||
assertTrue(breakpointService.getAllBreakpoints().isEmpty());
|
||||
assertEquals(0, breakpointService.getAllBreakpoints().size());
|
||||
});
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue