Class DynamicDescendantFilter
java.lang.Object
org.junit.jupiter.engine.descriptor.DynamicDescendantFilter
- All Implemented Interfaces:
BiPredicate<UniqueId,
Integer>
- Direct Known Subclasses:
DynamicDescendantFilter.WithoutIndexFiltering
@API(status=INTERNAL,
since="5.1")
public class DynamicDescendantFilter
extends Object
implements BiPredicate<UniqueId,Integer>
Filter for dynamic descendants of
TestDescriptors
that
implement Filterable
.- Since:
- 5.1
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionprivate static enum
private class
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
allowAll()
void
allowIndex
(Set<Integer> indices) void
allowUniqueIdPrefix
(UniqueId uniqueId) private boolean
private boolean
isPrefixOrViceVersa
(UniqueId currentUniqueId, UniqueId allowedUniqueId) private boolean
isUniqueIdAllowed
(UniqueId uniqueId) boolean
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface java.util.function.BiPredicate
and, negate, or
-
Field Details
-
allowedUniqueIds
-
allowedIndices
-
mode
-
-
Constructor Details
-
DynamicDescendantFilter
public DynamicDescendantFilter()
-
-
Method Details
-
allowUniqueIdPrefix
-
allowIndex
-
allowAll
public void allowAll() -
test
- Specified by:
test
in interfaceBiPredicate<UniqueId,
Integer>
-
isEverythingAllowed
private boolean isEverythingAllowed() -
isUniqueIdAllowed
-
isPrefixOrViceVersa
-
withoutIndexFiltering
-