org.junit.experimental.categories
Class Categories.CategoryFilter
java.lang.Object
org.junit.runner.manipulation.Filter
org.junit.experimental.categories.Categories.CategoryFilter
- Enclosing class:
- Categories
public static class Categories.CategoryFilter
- extends Filter
Fields inherited from class org.junit.runner.manipulation.Filter |
ALL |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Categories.CategoryFilter
public Categories.CategoryFilter(Class<?> includedCategory,
Class<?> excludedCategory)
include
public static Categories.CategoryFilter include(Class<?> categoryType)
describe
public String describe()
- Description copied from class:
Filter
- Returns a textual description of this Filter
- Specified by:
describe
in class Filter
- Returns:
- a textual description of this Filter
shouldRun
public boolean shouldRun(Description description)
- Specified by:
shouldRun
in class Filter
- Parameters:
description
- the description of the test to be run
- Returns:
true
if the test should be run