mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2025-10-05 10:49:34 +02:00
Merge remote-tracking branch 'origin/patch'
This commit is contained in:
commit
16a82642b2
27 changed files with 352 additions and 115 deletions
|
@ -115,7 +115,7 @@ public class AddressKeyIteratorTest extends AbstractGhidraHeadedIntegrationTest
|
|||
|
||||
@Test
|
||||
public void testIterator0() throws Exception {
|
||||
AddressKeyIterator it = new AddressKeyIterator();
|
||||
AddressKeyIterator it = AddressKeyIterator.EMPTY_ITERATOR;
|
||||
assertTrue(!it.hasNext());
|
||||
assertTrue(!it.hasPrevious());
|
||||
try {
|
||||
|
@ -123,12 +123,14 @@ public class AddressKeyIteratorTest extends AbstractGhidraHeadedIntegrationTest
|
|||
Assert.fail();
|
||||
}
|
||||
catch (NoSuchElementException e) {
|
||||
// expected
|
||||
}
|
||||
try {
|
||||
it.previous();
|
||||
Assert.fail();
|
||||
}
|
||||
catch (NoSuchElementException e) {
|
||||
// expected
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue