Class DynamicDescendantFilter
java.lang.Object
org.junit.jupiter.engine.descriptor.DynamicDescendantFilter
- All Implemented Interfaces:
BiPredicate<UniqueId,Integer>
@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:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidallowAll()voidallowIndex(int index) voidallowIndex(Set<Integer> indices) voidallowUniqueIdPrefix(UniqueId uniqueId) protected DynamicDescendantFilterconfigure(UnaryOperator<UniqueId> uniqueIdTransformer, DynamicDescendantFilter copy) copy(UnaryOperator<UniqueId> uniqueIdTransformer) booleanMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface BiPredicate
and, negate, or
-
Constructor Details
-
DynamicDescendantFilter
public DynamicDescendantFilter()
-
-
Method Details
-
allowUniqueIdPrefix
-
allowIndex
public void allowIndex(int index) -
allowIndex
-
allowAll
public void allowAll() -
test
-
withoutIndexFiltering
-
copy
-
configure
protected DynamicDescendantFilter configure(UnaryOperator<UniqueId> uniqueIdTransformer, DynamicDescendantFilter copy)
-