mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2025-02-18 16:40:08 +00:00
Fixing an NPE in tests.
This commit is contained in:
parent
f162782416
commit
97b43a4c4e
@ -664,8 +664,11 @@ public class DebuggerListingProviderTest extends AbstractGhidraHeadedDebuggerGUI
|
||||
assertArrayEquals(zero, buf.array());
|
||||
|
||||
runSwing(() -> goToDyn(addr(trace, 0x55551800)));
|
||||
waitForPass(() -> assertEquals(addr(trace, 0x55551800),
|
||||
listingProvider.getLocation().getAddress()));
|
||||
waitForPass(() -> {
|
||||
ProgramLocation location = listingProvider.getLocation();
|
||||
assertNotNull(location);
|
||||
assertEquals(addr(trace, 0x55551800), location.getAddress());
|
||||
});
|
||||
waitForDomainObject(trace);
|
||||
buf.clear();
|
||||
assertEquals(data.length,
|
||||
|
Loading…
Reference in New Issue
Block a user