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.
DiscoverySelectors#selectIteration(DiscoverySelector, int...)
| Modifier and Type | Class and Description |
|---|---|
| public static class |
| Modifier and Type | Field and Description |
|---|---|
| private final SortedSet | |
| private final DiscoverySelector |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public boolean | equals(Object o)
Overrides java. Indicates whether some other object is "equal to" this one. |
| private String | |
| public SortedSet | |
| public DiscoverySelector | |
| public int | |
| public Optional | toIdentifier()
Overrides default org. Return the identifier of this selector. |
| private SortedSet | |
| public String |
| iterationIndices | back to summary |
|---|---|
| private final SortedSet<Integer> iterationIndices | |
| parentSelector | back to summary |
|---|---|
| private final DiscoverySelector parentSelector | |
| IterationSelector | back to summary |
|---|---|
| pack-priv IterationSelector(DiscoverySelector parentSelector, int... iterationIndices) | |
| equals | back to summary |
|---|---|
| public boolean equals(Object o) Overrides java. Doc from java. Indicates whether some other object is "equal to" this one.
The
An equivalence relation partitions the elements it operates on into equivalence classes; all the members of an equivalence class are equal to each other. Members of an equivalence class are substitutable for each other, at least for some purposes.
| |
| formatIterationIndicesAsRanges | back to summary |
|---|---|
| private String formatIterationIndicesAsRanges() | |
| getIterationIndices | back to summary |
|---|---|
| public SortedSet Get the selected iteration indices. | |
| getParentSelector | back to summary |
|---|---|
| public DiscoverySelector getParentSelector() Get the selected parent | |
| hashCode | back to summary |
|---|---|
| public int hashCode() Overrides java. Doc from java. Returns a hash code value for this object. This method is
supported for the benefit of hash tables such as those provided by
The general contract of
| |
| toIdentifier | back to summary |
|---|---|
| public Optional Overrides default org. Doc from org. Return the identifier of this selector. The returned identifier must be parsable by a corresponding
The default implementation returns
| |
| toSortedSet | back to summary |
|---|---|
| private SortedSet | |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns a string representation of the object.
Satisfying this method's contract implies a non-
| |
| Modifier and Type | Field and Description |
|---|---|
| private static final Pattern | |
| public static final String |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public String | getPrefix()
Implements org. Get the prefix that this parser supports. |
| public Optional | parse(DiscoverySelectorIdentifier identifier, DiscoverySelectorIdentifierParser.
Implements org. Parse the supplied |
| private IntStream |
| PATTERN | back to summary |
|---|---|
| private static final Pattern PATTERN | |
| PREFIX | back to summary |
|---|---|
| public static final String PREFIX | |
| IdentifierParser | back to summary |
|---|---|
| public IdentifierParser() | |
| getPrefix | back to summary |
|---|---|
| public String getPrefix() Implements org. Doc from org. Get the prefix that this parser supports.
| |
| parse | back to summary |
|---|---|
| public Optional Implements org. Doc from org. Parse the supplied The JUnit Platform will only invoke this method if the supplied
| |
| parseIndexDefinition | back to summary |
|---|---|
| private IntStream parseIndexDefinition(String value) | |