Interface UnmodifiableMapTests.EntrySetTests.RetainAllTests<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<Map.Entry<K,V>>
,IterableTests<Map.Entry<K,V>>
,MapTests<K,V>
,SetTests<Map.Entry<K,V>>
,UnmodifiableCollectionTests<Map.Entry<K,V>>
,UnmodifiableCollectionTests.RetainAllTests<Map.Entry<K,V>>
,UnmodifiableMapTests<K,V>
,UnmodifiableMapTests.EntrySetTests<K,V>
- Enclosing interface:
- UnmodifiableMapTests.EntrySetTests<K,V>
@TestInstance(PER_CLASS) @DisplayName("retainAll(Collection)") public static interface UnmodifiableMapTests.EntrySetTests.RetainAllTests<K,V> extends UnmodifiableMapTests.EntrySetTests<K,V>, UnmodifiableCollectionTests.RetainAllTests<Map.Entry<K,V>>
Contains tests forSet.retainAll(Collection)
for entry sets.By default, the tests in this interface assume that calling
Set.retainAll(Collection)
with a collection containingnull
or an instance of an incompatible type will simply ignore thenull
and incompatible element. If either is not the case, annotate your class withContainsNullNotSupported
and/orContainsIncompatibleNotSupported
- 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.MapTests
MapTests.ContainsKeyTests<K,V>, MapTests.ContainsValueTests<K,V>, MapTests.EqualsArgumentsProvider, MapTests.GetOrDefaultTests<K,V>, MapTests.GetTests<K,V>, MapTests.RemoveArgumentsProvider, MapTests.RemoveExactValueArgumentsProvider
-
Nested classes/interfaces inherited from interface com.github.robtimus.junit.support.test.collections.SetTests
SetTests.AddAllArgumentsProvider, SetTests.AddArgumentsProvider, SetTests.EqualsArgumentsProvider
-
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>
-
Nested classes/interfaces inherited from interface com.github.robtimus.junit.support.test.collections.UnmodifiableMapTests
UnmodifiableMapTests.ComputeIfAbsentTests<K,V>, UnmodifiableMapTests.ComputeIfPresentTests<K,V>, UnmodifiableMapTests.ComputeTests<K,V>, UnmodifiableMapTests.EntrySetTests<K,V>, UnmodifiableMapTests.KeySetTests<K,V>, UnmodifiableMapTests.MergeTests<K,V>, UnmodifiableMapTests.PutAllTests<K,V>, UnmodifiableMapTests.PutIfAbsentTests<K,V>, UnmodifiableMapTests.PutTests<K,V>, UnmodifiableMapTests.RemoveExactValueTests<K,V>, UnmodifiableMapTests.ReplaceAllTests<K,V>, UnmodifiableMapTests.ReplaceExactValueTests<K,V>, UnmodifiableMapTests.ReplaceTests<K,V>, UnmodifiableMapTests.ValuesTests<K,V>
-
Nested classes/interfaces inherited from interface com.github.robtimus.junit.support.test.collections.UnmodifiableMapTests.EntrySetTests
UnmodifiableMapTests.EntrySetTests.AddAllTests<K,V>, UnmodifiableMapTests.EntrySetTests.AddTests<K,V>, UnmodifiableMapTests.EntrySetTests.ClearTests<K,V>, UnmodifiableMapTests.EntrySetTests.ContainsAllTests<K,V>, UnmodifiableMapTests.EntrySetTests.ContainsTests<K,V>, UnmodifiableMapTests.EntrySetTests.EqualsTests<K,V>, UnmodifiableMapTests.EntrySetTests.ForEachTests<K,V>, UnmodifiableMapTests.EntrySetTests.HashCodeTests<K,V>, UnmodifiableMapTests.EntrySetTests.IteratorTests<K,V>, UnmodifiableMapTests.EntrySetTests.RemoveAllTests<K,V>, UnmodifiableMapTests.EntrySetTests.RemoveIfTests<K,V>, UnmodifiableMapTests.EntrySetTests.RemoveTests<K,V>, UnmodifiableMapTests.EntrySetTests.RetainAllTests<K,V>, UnmodifiableMapTests.EntrySetTests.SpliteratorTests<K,V>, UnmodifiableMapTests.EntrySetTests.ToArrayTests<K,V>, UnmodifiableMapTests.EntrySetTests.ToArrayWithGeneratorTests<K,V>, UnmodifiableMapTests.EntrySetTests.ToObjectArrayTests<K,V>
-
-
Method Summary
-
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.UnmodifiableCollectionTests.RetainAllTests
testRetainAllWithAllContainedElements, testRetainAllWithContainedElements, testRetainAllWithIncompatibleObject, testRetainAllWithNonContainedElements, testRetainAllWithNull, testRetainAllWithNullElement
-
Methods inherited from interface com.github.robtimus.junit.support.test.collections.UnmodifiableMapTests.EntrySetTests
expectedElements, iterable, nonContainedElements
-
-