Interface MapTests.KeySetTests.RemoveIfTests<K,V>
-
- Type Parameters:
K
- The key type of the map to test.V
- The value type of the map to test.
- All Superinterfaces:
CollectionTests<K>
,CollectionTests.RemoveIfTests<K>
,IterableTests<K>
,MapTests<K,V>
,MapTests.KeySetTests<K,V>
,SetTests<K>
- Enclosing interface:
- MapTests.KeySetTests<K,V>
@DisplayName("removeIf(Predicate)") public static interface MapTests.KeySetTests.RemoveIfTests<K,V> extends MapTests.KeySetTests<K,V>, CollectionTests.RemoveIfTests<K>
Contains tests forCollection.removeIf(Predicate)
for key sets.- 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>
-
Nested classes/interfaces inherited from interface com.github.robtimus.junit.support.test.collections.MapTests
MapTests.ComputeIfAbsentTests<K,V>, MapTests.ComputeIfPresentTests<K,V>, MapTests.ComputeTests<K,V>, MapTests.ContainsKeyTests<K,V>, MapTests.ContainsValueTests<K,V>, MapTests.EntrySetTests<K,V>, MapTests.EqualsArgumentsProvider, MapTests.GetOrDefaultTests<K,V>, MapTests.GetTests<K,V>, MapTests.KeySetTests<K,V>, MapTests.MergeTests<K,V>, MapTests.PutAllTests<K,V>, MapTests.PutIfAbsentTests<K,V>, MapTests.PutTests<K,V>, MapTests.RemoveArgumentsProvider, MapTests.RemoveExactValueArgumentsProvider, MapTests.RemoveExactValueTests<K,V>, MapTests.ReplaceAllTests<K,V>, MapTests.ReplaceExactValueTests<K,V>, MapTests.ReplaceTests<K,V>, MapTests.ValuesTests<K,V>
-
Nested classes/interfaces inherited from interface com.github.robtimus.junit.support.test.collections.MapTests.KeySetTests
MapTests.KeySetTests.AddAllTests<K,V>, MapTests.KeySetTests.AddTests<K,V>, MapTests.KeySetTests.ClearTests<K,V>, MapTests.KeySetTests.ContainsAllTests<K,V>, MapTests.KeySetTests.ContainsTests<K,V>, MapTests.KeySetTests.EqualsTests<K,V>, MapTests.KeySetTests.ForEachTests<K,V>, MapTests.KeySetTests.HashCodeTests<K,V>, MapTests.KeySetTests.IteratorTests<K,V>, MapTests.KeySetTests.RemoveAllTests<K,V>, MapTests.KeySetTests.RemoveIfTests<K,V>, MapTests.KeySetTests.RemoveTests<K,V>, MapTests.KeySetTests.RetainAllTests<K,V>, MapTests.KeySetTests.SpliteratorTests<K,V>, MapTests.KeySetTests.ToArrayTests<K,V>, MapTests.KeySetTests.ToArrayWithGeneratorTests<K,V>, MapTests.KeySetTests.ToObjectArrayTests<K,V>
-
Nested classes/interfaces inherited from interface com.github.robtimus.junit.support.test.collections.SetTests
SetTests.AddAllArgumentsProvider, SetTests.AddArgumentsProvider, SetTests.EqualsArgumentsProvider
-
-
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.IterableTests
fixedOrder
-
Methods inherited from interface com.github.robtimus.junit.support.test.collections.MapTests
expectedEntries, map, nonContainedEntries
-
Methods inherited from interface com.github.robtimus.junit.support.test.collections.MapTests.KeySetTests
expectedElements, iterable, nonContainedElements
-
-
-
-
Method Detail
-
testRemoveIfWithMatchingPredicate
@Test @DisplayName("removeIf(Predicate) with matching predicate") default void testRemoveIfWithMatchingPredicate()
- Specified by:
testRemoveIfWithMatchingPredicate
in interfaceCollectionTests.RemoveIfTests<K>
-
testRemoveIfWithNonMatchingPredicate
@Test @DisplayName("removeIf(Predicate) with non-matching predicate") default void testRemoveIfWithNonMatchingPredicate()
- Specified by:
testRemoveIfWithNonMatchingPredicate
in interfaceCollectionTests.RemoveIfTests<K>
-
testRemoveIfWithNullPredicate
@Test @DisplayName("removeIf(Predicate) with null predicate") default void testRemoveIfWithNullPredicate()
- Specified by:
testRemoveIfWithNullPredicate
in interfaceCollectionTests.RemoveIfTests<K>
-
-