[COLLECTIONS-678] The verification of unsupported iterator methods is
not complete. Closes #36.
This commit is contained in:
parent
8da9a65b63
commit
8354ffffce
|
@ -93,6 +93,9 @@
|
|||
<action issue="COLLECTIONS-676" dev="ggregory" type="add" due-to="Matthew Knight">
|
||||
Modify IteratorUtils.pushbackIterator signature to return PushbackIterator.
|
||||
</action>
|
||||
<action issue="COLLECTIONS-678" dev="ggregory" type="fix" due-to="Oscar Luis Vera Pérez">
|
||||
The verification of unsupported iterator methods is not complete.
|
||||
</action>
|
||||
</release>
|
||||
<release version="4.1" date="2015-11-28" description="This is a security and minor release.">
|
||||
<action issue="COLLECTIONS-508" dev="tn" type="add">
|
||||
|
|
|
@ -166,6 +166,7 @@ public abstract class AbstractListIteratorTest<E> extends AbstractIteratorTest<E
|
|||
// check for UnsupportedOperationException if not supported
|
||||
try {
|
||||
it.add(addValue);
|
||||
fail("UnsupportedOperationException must be thrown from add of " + it.getClass().getSimpleName());
|
||||
} catch (final UnsupportedOperationException ex) {}
|
||||
return;
|
||||
}
|
||||
|
@ -201,6 +202,7 @@ public abstract class AbstractListIteratorTest<E> extends AbstractIteratorTest<E
|
|||
// check for UnsupportedOperationException if not supported
|
||||
try {
|
||||
it.set(addSetValue());
|
||||
fail("UnsupportedOperationException must be thrown from set in " + it.getClass().getSimpleName());
|
||||
} catch (final UnsupportedOperationException ex) {}
|
||||
return;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue