Interface CollectionTests.ToArrayTests<T>
-
- Type Parameters:
T
- The element type of the collection to test.
- All Superinterfaces:
CollectionTests<T>
,IterableTests<T>
- All Known Subinterfaces:
MapTests.EntrySetTests.ToArrayTests<K,V>
,MapTests.KeySetTests.ToArrayTests<K,V>
,MapTests.ValuesTests.ToArrayTests<K,V>
,UnmodifiableMapTests.EntrySetTests.ToArrayTests<K,V>
,UnmodifiableMapTests.KeySetTests.ToArrayTests<K,V>
,UnmodifiableMapTests.ValuesTests.ToArrayTests<K,V>
- Enclosing interface:
- CollectionTests<T>
@DisplayName("toArray(Object[])") public static interface CollectionTests.ToArrayTests<T> extends CollectionTests<T>
Contains tests forCollection.toArray(Object[])
.- 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
testToArrayWithLargerLength()
default void
testToArrayWithNullArray()
default void
testToArrayWithSameLength()
default void
testToArrayWithSmallerLength()
-
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
-
testToArrayWithSameLength
@Test @DisplayName("toArray(Object[]) with same length") default void testToArrayWithSameLength()
-
testToArrayWithLargerLength
@Test @DisplayName("toArray(Object[]) with larger length") default void testToArrayWithLargerLength()
-
testToArrayWithSmallerLength
@Test @DisplayName("toArray(Object[]) with smaller length") default void testToArrayWithSmallerLength()
-
testToArrayWithNullArray
@Test @DisplayName("toArray(Object[]) with null array") default void testToArrayWithNullArray()
-
-