mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2025-10-03 17:59:46 +02:00
Merge remote-tracking branch 'origin/patch'
This commit is contained in:
commit
ecfd6d39d8
2 changed files with 9 additions and 1 deletions
|
@ -119,6 +119,14 @@ public class UnionEditorNotifiedTest extends AbstractUnionEditorTest {
|
||||||
});
|
});
|
||||||
|
|
||||||
waitForSwing();
|
waitForSwing();
|
||||||
|
|
||||||
|
// Verify the Close Union Editor? dialog is displayed.
|
||||||
|
Window dialog = waitForWindow("Close Union Editor?");
|
||||||
|
assertNotNull(dialog);
|
||||||
|
pressButtonByText(dialog, "No");
|
||||||
|
dialog.dispose();
|
||||||
|
dialog = null;
|
||||||
|
|
||||||
// refUnion* gets removed
|
// refUnion* gets removed
|
||||||
assertEquals(num - 1, model.getNumComponents());
|
assertEquals(num - 1, model.getNumComponents());
|
||||||
assertTrue(dt18.isEquivalent(getDataType(18)));
|
assertTrue(dt18.isEquivalent(getDataType(18)));
|
||||||
|
|
|
@ -109,7 +109,7 @@ public class StorageEditorModelTest extends AbstractGuiTest {
|
||||||
@Test
|
@Test
|
||||||
public void testSizeCheck() {
|
public void testSizeCheck() {
|
||||||
assertEquals(4, model.getCurrentSize());
|
assertEquals(4, model.getCurrentSize());
|
||||||
assertTrue(model.isValid());
|
assertFalse(model.isValid());
|
||||||
assertEquals("Warning: Not enough storage space allocated", model.getStatusText());
|
assertEquals("Warning: Not enough storage space allocated", model.getStatusText());
|
||||||
VarnodeInfo varnode = model.getVarnodes().get(0);
|
VarnodeInfo varnode = model.getVarnodes().get(0);
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue