Class DynamicDescendantFilter
- java.lang.Object
-
- org.junit.jupiter.engine.descriptor.DynamicDescendantFilter
-
- All Implemented Interfaces:
java.util.function.Predicate<UniqueId>
@API(status=INTERNAL, since="5.1") public class DynamicDescendantFilter extends java.lang.Object implements java.util.function.Predicate<UniqueId>
Filter for dynamic descendants ofTestDescriptors
that implementFilterable
.- Since:
- 5.1
- See Also:
Filterable
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description private static class
DynamicDescendantFilter.Mode
-
Field Summary
Fields Modifier and Type Field Description private java.util.Set<UniqueId>
allowed
private DynamicDescendantFilter.Mode
mode
-
Constructor Summary
Constructors Constructor Description DynamicDescendantFilter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
allow(UniqueId uniqueId)
void
allowAll()
private boolean
isAllowed(UniqueId currentUniqueId, UniqueId allowedUniqueId)
boolean
test(UniqueId uniqueId)
-
-
-
Field Detail
-
allowed
private final java.util.Set<UniqueId> allowed
-
mode
private DynamicDescendantFilter.Mode mode
-
-