Interface UnmodifiableCollectionTests.RetainAllTests<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.RetainAllTests<K,V>
,UnmodifiableMapTests.KeySetTests.RetainAllTests<K,V>
,UnmodifiableMapTests.ValuesTests.RetainAllTests<K,V>
- Enclosing interface:
- UnmodifiableCollectionTests<T>
@DisplayName("retainAll(Collection)") public static interface UnmodifiableCollectionTests.RetainAllTests<T> extends UnmodifiableCollectionTests<T>
Contains tests forCollection.retainAll(Collection)
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
testRetainAllWithAllContainedElements()
default void
testRetainAllWithContainedElements()
default void
testRetainAllWithIncompatibleObject()
default void
testRetainAllWithNonContainedElements()
default void
testRetainAllWithNull()
default void
testRetainAllWithNullElement()
-
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
-
testRetainAllWithContainedElements
@Test @DisplayName("retainAll(Collection) with contained elements") default void testRetainAllWithContainedElements()
-
testRetainAllWithNonContainedElements
@Test @DisplayName("retainAll(Collection) with non-contained elements") default void testRetainAllWithNonContainedElements()
-
testRetainAllWithAllContainedElements
@Test @DisplayName("retainAll(Collection) with all contained elements") default void testRetainAllWithAllContainedElements()
-
testRetainAllWithNull
@Test @DisplayName("retainAll(Object) with null") default void testRetainAllWithNull()
-
testRetainAllWithNullElement
@Test @DisplayName("retainAll(Object) with null element") default void testRetainAllWithNullElement()
-
testRetainAllWithIncompatibleObject
@Test @DisplayName("retainAll(Object) with an incompatible object") default void testRetainAllWithIncompatibleObject()
-
-