Class 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
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      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 Detail

      • DynamicDescendantFilter

        public DynamicDescendantFilter()
    • Method Detail

      • 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>