Interface UnmodifiableCollectionTests.AddTests<T>
-
- Type Parameters:
T
- The element type of the collection to test.
- All Superinterfaces:
CollectionTests<T>
,IterableTests<T>
,UnmodifiableCollectionTests<T>
- All Known Subinterfaces:
MapTests.EntrySetTests.AddTests<K,V>
,MapTests.KeySetTests.AddTests<K,V>
,MapTests.ValuesTests.AddTests<K,V>
,UnmodifiableMapTests.EntrySetTests.AddTests<K,V>
,UnmodifiableMapTests.KeySetTests.AddTests<K,V>
,UnmodifiableMapTests.ValuesTests.AddTests<K,V>
- Enclosing interface:
- UnmodifiableCollectionTests<T>
@DisplayName("add(Object)") public static interface UnmodifiableCollectionTests.AddTests<T> extends UnmodifiableCollectionTests<T>
Contains tests forCollection.add(Object)
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
testAddContainedElements()
default void
testAddNonContainedElements()
default void
testAddNull()
-
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
-
testAddContainedElements
@Test @DisplayName("add(Object) with contained elements") default void testAddContainedElements()
-
testAddNonContainedElements
@Test @DisplayName("add(Object) with non-contained elements") default void testAddNonContainedElements()
-
testAddNull
@Test @DisplayName("add(Object) with null") default void testAddNull()
-
-