Interface MapTests.EqualsTests<K,V>
-
- Type Parameters:
K
- The key type of the map to test.V
- The value type of the map to test.
- All Superinterfaces:
MapTests<K,V>
@TestInstance(PER_CLASS) @DisplayName("equals(Object)") public static interface MapTests.EqualsTests<K,V> extends MapTests<K,V>
Contains tests forMap.equals(Object)
.- Author:
- Rob Spoor
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface com.github.robtimus.junit.support.test.collections.MapTests
MapTests.ClearTests<K,V>, MapTests.ComputeIfAbsentTests<K,V>, MapTests.ComputeIfPresentTests<K,V>, MapTests.ComputeTests<K,V>, MapTests.ContainsKeyTests<K,V>, MapTests.ContainsValueTests<K,V>, MapTests.EntrySetTests<K,V>, MapTests.EqualsArgumentsProvider, MapTests.EqualsTests<K,V>, MapTests.ForEachTests<K,V>, MapTests.GetOrDefaultTests<K,V>, MapTests.GetTests<K,V>, MapTests.HashCodeTests<K,V>, MapTests.KeySetTests<K,V>, MapTests.MergeTests<K,V>, MapTests.PutAllTests<K,V>, MapTests.PutIfAbsentTests<K,V>, MapTests.PutTests<K,V>, MapTests.RemoveArgumentsProvider, MapTests.RemoveExactValueArgumentsProvider, MapTests.RemoveExactValueTests<K,V>, MapTests.RemoveTests<K,V>, MapTests.ReplaceAllTests<K,V>, MapTests.ReplaceExactValueTests<K,V>, MapTests.ReplaceTests<K,V>, MapTests.ValuesTests<K,V>
-
-
Method Summary
All Methods Instance Methods Default Methods Modifier and Type Method Description default void
testEquals(Map<?,?> other, boolean expected)
default void
testEqualsList()
default void
testEqualsNull()
default void
testEqualsSelf()
-
Methods inherited from interface com.github.robtimus.junit.support.test.collections.MapTests
expectedEntries, map, nonContainedEntries
-
-
-
-
Method Detail
-
testEquals
@ParameterizedTest(name="{0}: {1}") @ArgumentsSource(EqualsArgumentsProvider.class) @DisplayName("equals(Object)") default void testEquals(Map<?,?> 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 set") default void testEqualsList()
-
-