Interface UnmodifiableCollectionTests.RemoveIfTests<T>
-
- Type Parameters:
T
- The element type of the collection to test.
- All Superinterfaces:
CollectionTests<T>
,IterableTests<T>
,UnmodifiableCollectionTests<T>
- All Known Subinterfaces:
UnmodifiableMapTests.EntrySetTests.RemoveIfTests<K,V>
,UnmodifiableMapTests.KeySetTests.RemoveIfTests<K,V>
,UnmodifiableMapTests.ValuesTests.RemoveIfTests<K,V>
- Enclosing interface:
- UnmodifiableCollectionTests<T>
@DisplayName("removeIf(Predicate)") public static interface UnmodifiableCollectionTests.RemoveIfTests<T> extends UnmodifiableCollectionTests<T>
Contains tests forCollection.removeIf(Predicate)
for unmodifiable collections.- Author:
- Rob Spoor
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface com.github.robtimus.junit.support.test.collections.CollectionTests
CollectionTests.ContainsAllTests<T>, CollectionTests.ContainsTests<T>, CollectionTests.RemoveAllArgumentsProvider, CollectionTests.RemoveArgumentsProvider, CollectionTests.RetainAllArgumentsProvider, CollectionTests.ToArrayTests<T>, CollectionTests.ToArrayWithGeneratorTests<T>, CollectionTests.ToObjectArrayTests<T>
-
Nested classes/interfaces inherited from interface com.github.robtimus.junit.support.test.collections.IterableTests
IterableTests.ForEachTests<T>
-
Nested classes/interfaces inherited from interface com.github.robtimus.junit.support.test.collections.UnmodifiableCollectionTests
UnmodifiableCollectionTests.AddAllTests<T>, UnmodifiableCollectionTests.AddTests<T>, UnmodifiableCollectionTests.ClearTests<T>, UnmodifiableCollectionTests.RemoveAllTests<T>, UnmodifiableCollectionTests.RemoveIfTests<T>, UnmodifiableCollectionTests.RemoveTests<T>, UnmodifiableCollectionTests.RetainAllTests<T>
-
-
Method Summary
All Methods Instance Methods Default Methods Modifier and Type Method Description default void
testRemoveIfWithMatchingPredicate()
default void
testRemoveIfWithNonMatchingPredicate()
default void
testRemoveIfWithNullPredicate()
-
Methods inherited from interface com.github.robtimus.junit.support.test.collections.CollectionTests
iterable, nonContainedElements
-
Methods inherited from interface com.github.robtimus.junit.support.test.collections.IterableTests
expectedElements, fixedOrder
-
-
-
-
Method Detail
-
testRemoveIfWithMatchingPredicate
@Test @DisplayName("removeIf(Predicate) with matching predicate") default void testRemoveIfWithMatchingPredicate()
-
testRemoveIfWithNonMatchingPredicate
@Test @DisplayName("removeIf(Predicate) with non-matching predicate") default void testRemoveIfWithNonMatchingPredicate()
-
testRemoveIfWithNullPredicate
@Test @DisplayName("removeIf(Predicate) with null predicate") default void testRemoveIfWithNullPredicate()
-
-