程序包 org.junit.runner
接口 FilterFactory
- 所有已知实现类:
ExcludeCategories
,IncludeCategories
public interface FilterFactory
Extend this class to create a factory that createsFilter
.
嵌套类概要
嵌套类 修饰符和类型 接口 说明 static class
FilterFactory.FilterNotCreatedException
Exception thrown if theFilter
cannot be created.
方法概要
所有方法 实例方法 抽象方法 修饰符和类型 方法 说明 Filter
createFilter(FilterFactoryParams params)
Creates aFilter
given aFilterFactoryParams
argument.
方法详细资料
createFilter
Filter createFilter(FilterFactoryParams params) throws FilterFactory.FilterNotCreatedException
Creates aFilter
given aFilterFactoryParams
argument.- 参数:
params
- Parameters needed to create theFilter
- 抛出:
FilterFactory.FilterNotCreatedException