Class MatchDescriptions

java.lang.Object
org.junit.runner.manipulation.Filter
org.apache.maven.surefire.common.junit4.MatchDescriptions

public final class MatchDescriptions extends org.junit.runner.manipulation.Filter
Only run test methods in the given failure set.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    private final List<org.junit.runner.manipulation.Filter>
     

    Fields inherited from class org.junit.runner.manipulation.Filter

    ALL
  • Constructor Summary

    Constructors
    Constructor
    Description
    MatchDescriptions(Iterable<org.junit.runner.Description> descriptions)
     
  • Method Summary

    Modifier and Type
    Method
    Description
     
    private static org.junit.runner.manipulation.Filter
    matchDescription(org.junit.runner.Description desiredDescription)
     
    boolean
    shouldRun(org.junit.runner.Description description)
     

    Methods inherited from class org.junit.runner.manipulation.Filter

    apply, intersect, matchMethodDescription

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • filters

      private final List<org.junit.runner.manipulation.Filter> filters
  • Constructor Details

    • MatchDescriptions

      public MatchDescriptions(Iterable<org.junit.runner.Description> descriptions)
  • Method Details

    • shouldRun

      public boolean shouldRun(org.junit.runner.Description description)
      Specified by:
      shouldRun in class org.junit.runner.manipulation.Filter
    • describe

      public String describe()
      Specified by:
      describe in class org.junit.runner.manipulation.Filter
    • matchDescription

      private static org.junit.runner.manipulation.Filter matchDescription(org.junit.runner.Description desiredDescription)