com.atlassian.jira.functest.framework.suite
Class CategoryFilter
java.lang.Object
org.junit.runner.manipulation.Filter
com.atlassian.jira.functest.framework.suite.CategoryFilter
public class CategoryFilter
- extends org.junit.runner.manipulation.Filter
A Junit4 filter that filters given set of tests by the included and excluded web test categories.
NOTE: shamelessly ripped off from the org.junit.experimental.categories.Categories
code. Sorry for that Kent!
- Since:
- v4.4
Fields inherited from class org.junit.runner.manipulation.Filter |
ALL |
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 |
CategoryFilter
public CategoryFilter(Set<Category> includedCategories,
Set<Category> excludedCategories)
describe
public String describe()
- Specified by:
describe
in class org.junit.runner.manipulation.Filter
shouldRun
public boolean shouldRun(org.junit.runner.Description description)
- Specified by:
shouldRun
in class org.junit.runner.manipulation.Filter
Copyright © 2002-2012 Atlassian. All Rights Reserved.