mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2025-10-06 03:50:02 +02:00
Merge remote-tracking branch 'origin/GP-0_Dan_testFixes-2022-05-06'
This commit is contained in:
commit
1a94a17723
1 changed files with 5 additions and 5 deletions
|
@ -1079,7 +1079,7 @@ public class DebuggerMemoryBytesProviderTest extends AbstractGhidraHeadedDebugge
|
|||
}
|
||||
|
||||
@Test
|
||||
public void testEditLiveBytesWritesTarget() throws Exception {
|
||||
public void testEditLiveBytesWritesTarget() throws Throwable {
|
||||
createTestModel();
|
||||
mb.createTestProcessesAndThreads();
|
||||
|
||||
|
@ -1097,12 +1097,12 @@ public class DebuggerMemoryBytesProviderTest extends AbstractGhidraHeadedDebugge
|
|||
performAction(actionEdit);
|
||||
triggerText(memBytesProvider.getByteViewerPanel().getCurrentComponent(), "42");
|
||||
performAction(actionEdit);
|
||||
waitForSwing();
|
||||
waitRecorder(recorder);
|
||||
|
||||
byte[] data = new byte[4];
|
||||
waitForPass(() -> {
|
||||
mb.testProcess1.memory.getMemory(mb.addr(0x55550800), data);
|
||||
assertArrayEquals(mb.arr(0x42, 0, 0, 0), data);
|
||||
});
|
||||
mb.testProcess1.memory.getMemory(mb.addr(0x55550800), data);
|
||||
assertArrayEquals(mb.arr(0x42, 0, 0, 0), data);
|
||||
}
|
||||
|
||||
@Test
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue