Class AbstractClassNameFilter

    • Constructor Summary

      Constructors 
      Constructor Description
      AbstractClassNameFilter​(java.lang.String... patterns)  
    • Method Summary

      All Methods Instance Methods Abstract Methods Concrete Methods 
      Modifier and Type Method Description
      protected java.util.Optional<java.util.regex.Pattern> findMatchingPattern​(java.lang.String className)  
      abstract java.util.function.Predicate<java.lang.String> toPredicate()
      Return a Predicate that returns true if this filter includes the object supplied to the predicate's test method.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface org.junit.platform.engine.Filter

        apply
    • Field Detail

      • patterns

        protected final java.util.List<java.util.regex.Pattern> patterns
      • patternDescription

        protected final java.lang.String patternDescription
    • Constructor Detail

      • AbstractClassNameFilter

        AbstractClassNameFilter​(java.lang.String... patterns)
    • Method Detail

      • toPredicate

        public abstract java.util.function.Predicate<java.lang.String> toPredicate()
        Description copied from interface: Filter
        Return a Predicate that returns true if this filter includes the object supplied to the predicate's test method.
        Specified by:
        toPredicate in interface Filter<java.lang.String>
      • findMatchingPattern

        protected java.util.Optional<java.util.regex.Pattern> findMatchingPattern​(java.lang.String className)