Uses of Class
org.junit.runner.manipulation.Filter
-
Packages that use Filter Package Description junit.framework Provides JUnit v3.x core classes.org.junit.experimental.categories org.junit.internal.requests Provides implementations ofRequest
.org.junit.internal.runners Provides implementations ofRunner
org.junit.runner Provides classes used to describe, collect, run and analyze multiple tests.org.junit.runner.manipulation org.junit.runners Provides standardRunner
implementations. -
-
Uses of Filter in junit.framework
Methods in junit.framework with parameters of type Filter Modifier and Type Method Description void
JUnit4TestAdapter. filter(Filter filter)
-
Uses of Filter in org.junit.experimental.categories
Subclasses of Filter in org.junit.experimental.categories Modifier and Type Class Description static class
Categories.CategoryFilter
private static class
ExcludeCategories.ExcludesAny
private static class
IncludeCategories.IncludesAny
Methods in org.junit.experimental.categories that return Filter Modifier and Type Method Description protected abstract Filter
CategoryFilterFactory. createFilter(java.util.List<java.lang.Class<?>> categories)
Creates aCategories.CategoryFilter
given an array of classes.Filter
CategoryFilterFactory. createFilter(FilterFactoryParams params)
Creates aCategories.CategoryFilter
given aFilterFactoryParams
argument.protected Filter
ExcludeCategories. createFilter(java.util.List<java.lang.Class<?>> categories)
Creates aFilter
which is only passed by tests that are not categorized with any of the specified categories.protected Filter
IncludeCategories. createFilter(java.util.List<java.lang.Class<?>> categories)
Creates aFilter
which is only passed by tests that are categorized with any of the specified categories. -
Uses of Filter in org.junit.internal.requests
Fields in org.junit.internal.requests declared as Filter Modifier and Type Field Description private Filter
FilterRequest. fFilter
Constructors in org.junit.internal.requests with parameters of type Filter Constructor Description FilterRequest(Request request, Filter filter)
Creates a filtered Request -
Uses of Filter in org.junit.internal.runners
Methods in org.junit.internal.runners with parameters of type Filter Modifier and Type Method Description void
JUnit38ClassRunner. filter(Filter filter)
void
JUnit4ClassRunner. filter(Filter filter)
Deprecated. -
Uses of Filter in org.junit.runner
Methods in org.junit.runner that return Filter Modifier and Type Method Description static Filter
FilterFactories. createFilter(java.lang.Class<? extends FilterFactory> filterFactoryClass, FilterFactoryParams params)
Creates aFilter
.static Filter
FilterFactories. createFilter(java.lang.String filterFactoryFqcn, FilterFactoryParams params)
Creates aFilter
.Filter
FilterFactory. createFilter(FilterFactoryParams params)
Creates aFilter
given aFilterFactoryParams
argument.static Filter
FilterFactories. createFilterFromFilterSpec(Request request, java.lang.String filterSpec)
Creates aFilter
.Methods in org.junit.runner with parameters of type Filter Modifier and Type Method Description Request
Request. filterWith(Filter filter)
Returns a Request that only contains those tests that should run whenfilter
is applied -
Uses of Filter in org.junit.runner.manipulation
Fields in org.junit.runner.manipulation declared as Filter Modifier and Type Field Description static Filter
Filter. ALL
A nullFilter
that passes all tests through.Methods in org.junit.runner.manipulation that return Filter Modifier and Type Method Description Filter
Filter. intersect(Filter second)
Returns a new Filter that accepts the intersection of the tests accepted by this Filter andsecond
static Filter
Filter. matchMethodDescription(Description desiredDescription)
Returns aFilter
that only runs the single method described bydesiredDescription
Methods in org.junit.runner.manipulation with parameters of type Filter Modifier and Type Method Description void
Filterable. filter(Filter filter)
Remove tests that don't pass the parameterfilter
.Filter
Filter. intersect(Filter second)
Returns a new Filter that accepts the intersection of the tests accepted by this Filter andsecond
-
Uses of Filter in org.junit.runners
Methods in org.junit.runners with parameters of type Filter Modifier and Type Method Description void
ParentRunner. filter(Filter filter)
private boolean
ParentRunner. shouldRun(Filter filter, T each)
-