Interface UnmodifiableMapTests.ValuesTests.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<V>
,CollectionTests.ContainsTests<V>
,IterableTests<V>
,MapTests<K,V>
,UnmodifiableMapTests<K,V>
,UnmodifiableMapTests.ValuesTests<K,V>
- Enclosing interface:
- UnmodifiableMapTests.ValuesTests<K,V>
@DisplayName("contains(Object)") public static interface UnmodifiableMapTests.ValuesTests.ContainsTests<K,V> extends UnmodifiableMapTests.ValuesTests<K,V>, CollectionTests.ContainsTests<V>
Contains tests forCollection.contains(Object)
for values collections.By default, the tests in this interface assume that calling
Collection.contains(Object)
withnull
or an instance of an incompatible type will simply returnfalse
. If either is not the case, annotate your class withContainsNullNotSupported
and/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.EqualsTests<K,V>, MapTests.GetOrDefaultTests<K,V>, MapTests.GetTests<K,V>, MapTests.HashCodeTests<K,V>, MapTests.RemoveArgumentsProvider, MapTests.RemoveExactValueArgumentsProvider
-
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.ValuesTests
UnmodifiableMapTests.ValuesTests.AddAllTests<K,V>, UnmodifiableMapTests.ValuesTests.AddTests<K,V>, UnmodifiableMapTests.ValuesTests.ClearTests<K,V>, UnmodifiableMapTests.ValuesTests.ContainsAllTests<K,V>, UnmodifiableMapTests.ValuesTests.ContainsTests<K,V>, UnmodifiableMapTests.ValuesTests.ForEachTests<K,V>, UnmodifiableMapTests.ValuesTests.IteratorTests<K,V>, UnmodifiableMapTests.ValuesTests.RemoveAllTests<K,V>, UnmodifiableMapTests.ValuesTests.RemoveIfTests<K,V>, UnmodifiableMapTests.ValuesTests.RemoveTests<K,V>, UnmodifiableMapTests.ValuesTests.RetainAllTests<K,V>, UnmodifiableMapTests.ValuesTests.ToArrayTests<K,V>, UnmodifiableMapTests.ValuesTests.ToArrayWithGeneratorTests<K,V>, UnmodifiableMapTests.ValuesTests.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.ValuesTests
expectedElements, iterable, nonContainedElements
-
-