Interface MapEntryTests.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:
MapEntryTests<K,V>
,MapTests<K,V>
- Enclosing interface:
- MapEntryTests<K,V>
@DisplayName("equals(Object)") public static interface MapEntryTests.EqualsTests<K,V> extends MapEntryTests<K,V>
Contains tests forMap.Entry.equals(Object)
.- Author:
- Rob Spoor
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface com.github.robtimus.junit.support.test.collections.MapEntryTests
MapEntryTests.EqualsTests<K,V>, MapEntryTests.GetValueTests<K,V>, MapEntryTests.HashCodeTests<K,V>, MapEntryTests.SetValueTests<K,V>
-
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.ForEachTests<K,V>, MapTests.GetOrDefaultTests<K,V>, MapTests.GetTests<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()
default void
testEqualsIncompatibleObject()
default void
testEqualsNull()
default void
testEqualsSelf()
default void
testEqualsWithNullKey()
default void
testEqualsWithNullValue()
default void
testEqualsWithOtherKey()
default void
testEqualsWithOtherValue()
-
Methods inherited from interface com.github.robtimus.junit.support.test.collections.MapTests
expectedEntries, map, nonContainedEntries
-
-
-
-
Method Detail
-
testEquals
@Test @DisplayName("equals(Object)") default void testEquals()
-
testEqualsSelf
@Test @DisplayName("equals(Object) with self") default void testEqualsSelf()
-
testEqualsWithOtherKey
@Test @DisplayName("equals(Object) with other key") default void testEqualsWithOtherKey()
-
testEqualsWithOtherValue
@Test @DisplayName("equals(Object) with other value") default void testEqualsWithOtherValue()
-
testEqualsWithNullKey
@Test @DisplayName("equals(Object) with null key") default void testEqualsWithNullKey()
-
testEqualsWithNullValue
@Test @DisplayName("equals(Object) with null value") default void testEqualsWithNullValue()
-
testEqualsNull
@Test @DisplayName("equals(Object) with null") default void testEqualsNull()
-
testEqualsIncompatibleObject
@Test @DisplayName("equals(Object) with incompatible object") default void testEqualsIncompatibleObject()
-
-