T
- The element type of the set to test.public interface SetTests<T> extends CollectionTests<T>
Set
functionalities.Modifier and Type | Interface and Description |
---|---|
static class |
SetTests.AddAllArgumentsProvider
An arguments provider for
SetTests.AddAllTests.testAddAll(Collection, boolean) . |
static interface |
SetTests.AddAllTests<T>
Contains tests for
Set.addAll(Collection) . |
static class |
SetTests.AddArgumentsProvider
An arguments provider for
SetTests.AddTests.testAdd(Object, boolean) . |
static interface |
SetTests.AddTests<T>
Contains tests for
Set.add(Object) . |
static class |
SetTests.EqualsArgumentsProvider
An arguments provider for
SetTests.EqualsTests.testEquals(Set, boolean) . |
static interface |
SetTests.EqualsTests<T>
Contains tests for
Set.equals(Object) . |
static interface |
SetTests.HashCodeTests<T>
Contains tests for
Set.hashCode() . |
static interface |
SetTests.SpliteratorTests<T>
Contains tests for
Set.spliterator() . |
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.ToObjectArrayTests<T>
IterableTests.ForEachTests<T>
Modifier and Type | Method and Description |
---|---|
Set<T> |
iterable()
Returns the iterable to test.
|
nonContainedElements
expectedElements, fixedOrder
Set<T> iterable()
IterableTests
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.
iterable
in interface CollectionTests<T>
iterable
in interface IterableTests<T>
Copyright © 2020–2023. All rights reserved.