Interface CollectionTests.RemoveIfTests<T>
-
- Type Parameters:
T
- The element type of the collection to test.
- All Superinterfaces:
CollectionTests<T>
,IterableTests<T>
- All Known Subinterfaces:
MapTests.EntrySetTests.RemoveIfTests<K,V>
,MapTests.KeySetTests.RemoveIfTests<K,V>
,MapTests.ValuesTests.RemoveIfTests<K,V>
- Enclosing interface:
- CollectionTests<T>
@DisplayName("removeIf(Predicate)") public static interface CollectionTests.RemoveIfTests<T> extends CollectionTests<T>
Contains tests forCollection.removeIf(Predicate)
.- Author:
- Rob Spoor
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface com.github.robtimus.junit.support.test.collections.CollectionTests
CollectionTests.ClearTests<T>, CollectionTests.ContainsAllTests<T>, CollectionTests.ContainsTests<T>, CollectionTests.RemoveAllArgumentsProvider, CollectionTests.RemoveAllTests<T>, CollectionTests.RemoveArgumentsProvider, CollectionTests.RemoveIfTests<T>, CollectionTests.RemoveTests<T>, CollectionTests.RetainAllArgumentsProvider, CollectionTests.RetainAllTests<T>, 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>
-
-
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()
-
-