Class IterationSelector
java.lang.Object
org.junit.platform.engine.discovery.IterationSelector
- All Implemented Interfaces:
DiscoverySelector
@API(status=EXPERIMENTAL,
since="1.9")
public class IterationSelector
extends Object
implements DiscoverySelector
A
DiscoverySelector
that selects the iterations of a parent
DiscoverySelector
via their indices so that
TestEngines
can discover
a subset of the iterations of tests or containers.- Since:
- 1.9
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
-
Method Summary
Modifier and TypeMethodDescriptionboolean
Get the selected iteration indices.Get the selected parentDiscoverySelector
.int
hashCode()
Return the identifier of this selector.toString()
-
Method Details
-
getParentSelector
Get the selected parentDiscoverySelector
. -
getIterationIndices
Get the selected iteration indices. -
equals
-
hashCode
public int hashCode() -
toString
-
toIdentifier
Description copied from interface:DiscoverySelector
Return the identifier of this selector.The returned identifier has to be parsable by a corresponding
DiscoverySelectorIdentifierParser
.- Specified by:
toIdentifier
in interfaceDiscoverySelector
- Returns:
- the identifier of this selector or empty if it is not supported;
never
null
-