public class DataProviderFilter
extends org.junit.runner.manipulation.Filter
Filter filters test methods or even single data provider rows of a test class which is run by
DataProviderRunner.| Constructor and Description |
|---|
DataProviderFilter(org.junit.runner.manipulation.Filter filter)
Creates a new
DataProvider using the textual Filter.describe() of supplied Filter to
determine if a test method should run or not. |
public DataProviderFilter(org.junit.runner.manipulation.Filter filter)
DataProvider using the textual Filter.describe() of supplied Filter to
determine if a test method should run or not.java.lang.IllegalArgumentException - if supplied Filter is null or
Description.getDisplayName() of supplied Description cannot be parsedpublic boolean shouldRun(org.junit.runner.Description description)
shouldRun in class org.junit.runner.manipulation.Filterjava.lang.IllegalArgumentException - if Description.getDisplayName() of supplied Description cannot
be parsedpublic java.lang.String describe()
describe in class org.junit.runner.manipulation.Filter