Class DynamicDescendantFilter

java.lang.Object
org.junit.jupiter.engine.descriptor.DynamicDescendantFilter
All Implemented Interfaces:
BiPredicate<org.junit.platform.engine.UniqueId,Integer>

@API(status=INTERNAL, since="5.1") public class DynamicDescendantFilter extends Object implements BiPredicate<org.junit.platform.engine.UniqueId,Integer>
Filter for dynamic descendants of TestDescriptors that implement Filterable.
Since:
5.1
See Also:
  • Constructor Details

    • DynamicDescendantFilter

      public DynamicDescendantFilter()
  • Method Details

    • allowUniqueIdPrefix

      public void allowUniqueIdPrefix(org.junit.platform.engine.UniqueId uniqueId)
    • allowIndex

      public void allowIndex(Set<Integer> indices)
    • allowAll

      public void allowAll()
    • test

      public boolean test(org.junit.platform.engine.UniqueId uniqueId, Integer index)
      Specified by:
      test in interface BiPredicate<org.junit.platform.engine.UniqueId,Integer>
    • withoutIndexFiltering

      public DynamicDescendantFilter withoutIndexFiltering()