Interface SetTests.EqualsTests<T>
-
- Type Parameters:
T
- The element type of the set to test.
- All Superinterfaces:
CollectionTests<T>
,IterableTests<T>
,SetTests<T>
- All Known Subinterfaces:
MapTests.EntrySetTests.EqualsTests<K,V>
,MapTests.KeySetTests.EqualsTests<K,V>
,UnmodifiableMapTests.EntrySetTests.EqualsTests<K,V>
,UnmodifiableMapTests.KeySetTests.EqualsTests<K,V>
@TestInstance(PER_CLASS) @DisplayName("equals(Object)") public static interface SetTests.EqualsTests<T> extends SetTests<T>
Contains tests forSet.equals(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>
-
Nested classes/interfaces inherited from interface com.github.robtimus.junit.support.test.collections.SetTests
SetTests.AddAllArgumentsProvider, SetTests.AddAllTests<T>, SetTests.AddArgumentsProvider, SetTests.AddTests<T>, SetTests.EqualsArgumentsProvider, SetTests.EqualsTests<T>, SetTests.HashCodeTests<T>, SetTests.SpliteratorTests<T>
-
-
Method Summary
All Methods Instance Methods Default Methods Modifier and Type Method Description default void
testEquals(Set<?> other, boolean expected)
default void
testEqualsList()
default void
testEqualsNull()
default void
testEqualsSelf()
-
Methods inherited from interface com.github.robtimus.junit.support.test.collections.CollectionTests
nonContainedElements
-
Methods inherited from interface com.github.robtimus.junit.support.test.collections.IterableTests
expectedElements, fixedOrder
-
-
-
-
Method Detail
-
testEquals
@ParameterizedTest(name="{0}: {1}") @ArgumentsSource(EqualsArgumentsProvider.class) @DisplayName("equals(Object)") default void testEquals(Set<?> other, boolean expected)
-
testEqualsSelf
@Test @DisplayName("equals(Object) with self") default void testEqualsSelf()
-
testEqualsNull
@Test @DisplayName("equals(Object) with null") default void testEqualsNull()
-
testEqualsList
@Test @DisplayName("equals(Object) with list") default void testEqualsList()
-
-