Interface UnmodifiableMapTests.KeySetTests.ContainsTests<K,V>
-
- Type Parameters:
K- The key type of the map to test.V- The value type of the map to test.
- All Superinterfaces:
CollectionTests<K>,CollectionTests.ContainsTests<K>,IterableTests<K>,MapTests<K,V>,SetTests<K>,UnmodifiableCollectionTests<K>,UnmodifiableMapTests<K,V>,UnmodifiableMapTests.KeySetTests<K,V>,UnmodifiableSetTests<K>
- Enclosing interface:
- UnmodifiableMapTests.KeySetTests<K,V>
@DisplayName("contains(Object)") public static interface UnmodifiableMapTests.KeySetTests.ContainsTests<K,V> extends UnmodifiableMapTests.KeySetTests<K,V>, CollectionTests.ContainsTests<K>
Contains tests forSet.contains(Object)for key sets.By default, the tests in this interface assume that calling
Set.contains(Object)withnullor an instance of an incompatible type will simply returnfalse. If either is not the case, annotate your class withContainsNullNotSupportedand/orContainsIncompatibleNotSupported.- 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.MapTests
MapTests.ContainsKeyTests<K,V>, MapTests.ContainsValueTests<K,V>, MapTests.EqualsArgumentsProvider, MapTests.GetOrDefaultTests<K,V>, MapTests.GetTests<K,V>, MapTests.RemoveArgumentsProvider, MapTests.RemoveExactValueArgumentsProvider
-
Nested classes/interfaces inherited from interface com.github.robtimus.junit.support.test.collections.SetTests
SetTests.AddAllArgumentsProvider, SetTests.AddArgumentsProvider, SetTests.EqualsArgumentsProvider
-
Nested classes/interfaces inherited from interface com.github.robtimus.junit.support.test.collections.UnmodifiableMapTests
UnmodifiableMapTests.ComputeIfAbsentTests<K,V>, UnmodifiableMapTests.ComputeIfPresentTests<K,V>, UnmodifiableMapTests.ComputeTests<K,V>, UnmodifiableMapTests.EntrySetTests<K,V>, UnmodifiableMapTests.KeySetTests<K,V>, UnmodifiableMapTests.MergeTests<K,V>, UnmodifiableMapTests.PutAllTests<K,V>, UnmodifiableMapTests.PutIfAbsentTests<K,V>, UnmodifiableMapTests.PutTests<K,V>, UnmodifiableMapTests.RemoveExactValueTests<K,V>, UnmodifiableMapTests.ReplaceAllTests<K,V>, UnmodifiableMapTests.ReplaceExactValueTests<K,V>, UnmodifiableMapTests.ReplaceTests<K,V>, UnmodifiableMapTests.ValuesTests<K,V>
-
Nested classes/interfaces inherited from interface com.github.robtimus.junit.support.test.collections.UnmodifiableMapTests.KeySetTests
UnmodifiableMapTests.KeySetTests.AddAllTests<K,V>, UnmodifiableMapTests.KeySetTests.AddTests<K,V>, UnmodifiableMapTests.KeySetTests.ClearTests<K,V>, UnmodifiableMapTests.KeySetTests.ContainsAllTests<K,V>, UnmodifiableMapTests.KeySetTests.ContainsTests<K,V>, UnmodifiableMapTests.KeySetTests.EqualsTests<K,V>, UnmodifiableMapTests.KeySetTests.ForEachTests<K,V>, UnmodifiableMapTests.KeySetTests.HashCodeTests<K,V>, UnmodifiableMapTests.KeySetTests.IteratorTests<K,V>, UnmodifiableMapTests.KeySetTests.RemoveAllTests<K,V>, UnmodifiableMapTests.KeySetTests.RemoveIfTests<K,V>, UnmodifiableMapTests.KeySetTests.RemoveTests<K,V>, UnmodifiableMapTests.KeySetTests.RetainAllTests<K,V>, UnmodifiableMapTests.KeySetTests.SpliteratorTests<K,V>, UnmodifiableMapTests.KeySetTests.ToArrayTests<K,V>, UnmodifiableMapTests.KeySetTests.ToArrayWithGeneratorTests<K,V>, UnmodifiableMapTests.KeySetTests.ToObjectArrayTests<K,V>
-
-
Method Summary
-
Methods inherited from interface com.github.robtimus.junit.support.test.collections.CollectionTests.ContainsTests
testContains, testContainsWithIncompatibleObject, testContainsWithNull
-
Methods inherited from interface com.github.robtimus.junit.support.test.collections.IterableTests
fixedOrder
-
Methods inherited from interface com.github.robtimus.junit.support.test.collections.MapTests
expectedEntries, map, nonContainedEntries
-
Methods inherited from interface com.github.robtimus.junit.support.test.collections.UnmodifiableMapTests.KeySetTests
expectedElements, iterable, nonContainedElements
-
-