Class DynamicDescendantFilter

java.lang.Object
org.junit.jupiter.engine.descriptor.DynamicDescendantFilter
All Implemented Interfaces:
java.util.function.Predicate<org.junit.platform.engine.UniqueId>

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

    Constructors
    Constructor Description
    DynamicDescendantFilter()  
  • Method Summary

    Modifier and Type Method Description
    void allow​(org.junit.platform.engine.UniqueId uniqueId)  
    void allowAll()  
    boolean test​(org.junit.platform.engine.UniqueId uniqueId)  

    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.Predicate

    and, negate, or
  • Constructor Details

    • DynamicDescendantFilter

      public DynamicDescendantFilter()
  • Method Details

    • allow

      public void allow​(org.junit.platform.engine.UniqueId uniqueId)
    • allowAll

      public void allowAll()
    • test

      public boolean test​(org.junit.platform.engine.UniqueId uniqueId)
      Specified by:
      test in interface java.util.function.Predicate<org.junit.platform.engine.UniqueId>