Interface SetTests<T>
-
- Type Parameters:
T
- The element type of the set to test.
- All Superinterfaces:
CollectionTests<T>
,IterableTests<T>
- All Known Subinterfaces:
MapTests.EntrySetTests<K,V>
,MapTests.EntrySetTests.AddAllTests<K,V>
,MapTests.EntrySetTests.AddTests<K,V>
,MapTests.EntrySetTests.ClearTests<K,V>
,MapTests.EntrySetTests.ContainsAllTests<K,V>
,MapTests.EntrySetTests.ContainsTests<K,V>
,MapTests.EntrySetTests.EqualsTests<K,V>
,MapTests.EntrySetTests.ForEachTests<K,V>
,MapTests.EntrySetTests.HashCodeTests<K,V>
,MapTests.EntrySetTests.IteratorTests<K,V>
,MapTests.EntrySetTests.IteratorTests.ForEachRemainingTests<K,V>
,MapTests.EntrySetTests.IteratorTests.IterationTests<K,V>
,MapTests.EntrySetTests.IteratorTests.RemoveTests<K,V>
,MapTests.EntrySetTests.RemoveAllTests<K,V>
,MapTests.EntrySetTests.RemoveIfTests<K,V>
,MapTests.EntrySetTests.RemoveTests<K,V>
,MapTests.EntrySetTests.RetainAllTests<K,V>
,MapTests.EntrySetTests.SpliteratorTests<K,V>
,MapTests.EntrySetTests.ToArrayTests<K,V>
,MapTests.EntrySetTests.ToArrayWithGeneratorTests<K,V>
,MapTests.EntrySetTests.ToObjectArrayTests<K,V>
,MapTests.KeySetTests<K,V>
,MapTests.KeySetTests.AddAllTests<K,V>
,MapTests.KeySetTests.AddTests<K,V>
,MapTests.KeySetTests.ClearTests<K,V>
,MapTests.KeySetTests.ContainsAllTests<K,V>
,MapTests.KeySetTests.ContainsTests<K,V>
,MapTests.KeySetTests.EqualsTests<K,V>
,MapTests.KeySetTests.ForEachTests<K,V>
,MapTests.KeySetTests.HashCodeTests<K,V>
,MapTests.KeySetTests.IteratorTests<K,V>
,MapTests.KeySetTests.IteratorTests.ForEachRemainingTests<K,V>
,MapTests.KeySetTests.IteratorTests.IterationTests<K,V>
,MapTests.KeySetTests.IteratorTests.RemoveTests<K,V>
,MapTests.KeySetTests.RemoveAllTests<K,V>
,MapTests.KeySetTests.RemoveIfTests<K,V>
,MapTests.KeySetTests.RemoveTests<K,V>
,MapTests.KeySetTests.RetainAllTests<K,V>
,MapTests.KeySetTests.SpliteratorTests<K,V>
,MapTests.KeySetTests.ToArrayTests<K,V>
,MapTests.KeySetTests.ToArrayWithGeneratorTests<K,V>
,MapTests.KeySetTests.ToObjectArrayTests<K,V>
,SetTests.AddAllTests<T>
,SetTests.AddTests<T>
,SetTests.EqualsTests<T>
,SetTests.HashCodeTests<T>
,SetTests.SpliteratorTests<T>
,UnmodifiableMapTests.EntrySetTests<K,V>
,UnmodifiableMapTests.EntrySetTests.AddAllTests<K,V>
,UnmodifiableMapTests.EntrySetTests.AddTests<K,V>
,UnmodifiableMapTests.EntrySetTests.ClearTests<K,V>
,UnmodifiableMapTests.EntrySetTests.ContainsAllTests<K,V>
,UnmodifiableMapTests.EntrySetTests.ContainsTests<K,V>
,UnmodifiableMapTests.EntrySetTests.EqualsTests<K,V>
,UnmodifiableMapTests.EntrySetTests.ForEachTests<K,V>
,UnmodifiableMapTests.EntrySetTests.HashCodeTests<K,V>
,UnmodifiableMapTests.EntrySetTests.IteratorTests<K,V>
,UnmodifiableMapTests.EntrySetTests.IteratorTests.ForEachRemainingTests<K,V>
,UnmodifiableMapTests.EntrySetTests.IteratorTests.IterationTests<K,V>
,UnmodifiableMapTests.EntrySetTests.IteratorTests.RemoveTests<K,V>
,UnmodifiableMapTests.EntrySetTests.RemoveAllTests<K,V>
,UnmodifiableMapTests.EntrySetTests.RemoveIfTests<K,V>
,UnmodifiableMapTests.EntrySetTests.RemoveTests<K,V>
,UnmodifiableMapTests.EntrySetTests.RetainAllTests<K,V>
,UnmodifiableMapTests.EntrySetTests.SpliteratorTests<K,V>
,UnmodifiableMapTests.EntrySetTests.ToArrayTests<K,V>
,UnmodifiableMapTests.EntrySetTests.ToArrayWithGeneratorTests<K,V>
,UnmodifiableMapTests.EntrySetTests.ToObjectArrayTests<K,V>
,UnmodifiableMapTests.KeySetTests<K,V>
,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.IteratorTests.ForEachRemainingTests<K,V>
,UnmodifiableMapTests.KeySetTests.IteratorTests.IterationTests<K,V>
,UnmodifiableMapTests.KeySetTests.IteratorTests.RemoveTests<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>
,UnmodifiableSetTests<T>
public interface SetTests<T> extends CollectionTests<T>
Base interface for testing separateSet
functionalities.- Author:
- Rob Spoor
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static class
SetTests.AddAllArgumentsProvider
An arguments provider forSetTests.AddAllTests.testAddAll(Collection, boolean)
.static interface
SetTests.AddAllTests<T>
Contains tests forSet.addAll(Collection)
.static class
SetTests.AddArgumentsProvider
An arguments provider forSetTests.AddTests.testAdd(Object, boolean)
.static interface
SetTests.AddTests<T>
Contains tests forSet.add(Object)
.static class
SetTests.EqualsArgumentsProvider
An arguments provider forSetTests.EqualsTests.testEquals(Set, boolean)
.static interface
SetTests.EqualsTests<T>
Contains tests forSet.equals(Object)
.static interface
SetTests.HashCodeTests<T>
Contains tests forSet.hashCode()
.static interface
SetTests.SpliteratorTests<T>
Contains tests forSet.spliterator()
.-
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>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Set<T>
iterable()
Returns the iterable to test.-
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
-
iterable
Set<T> iterable()
Description copied from interface:IterableTests
Returns the iterable to test. This should be populated, i.e. not empty, unless the iterable can only be empty.This method will be called only once for each test. This makes it possible to initialize the iterable in a method annotated with
BeforeEach
, and perform additional tests after the pre-defined test has finished.- Specified by:
iterable
in interfaceCollectionTests<T>
- Specified by:
iterable
in interfaceIterableTests<T>
- Returns:
- The iterable to test.
-
-