com.atlassian.jira.functest.framework.suite
Class CategoryFilter

java.lang.Object
  extended by org.junit.runner.manipulation.Filter
      extended by 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 Categories code. Sorry for that Kent!

Since:
v4.4

Field Summary
 
Fields inherited from class org.junit.runner.manipulation.Filter
ALL
 
Constructor Summary
CategoryFilter(Set<Category> includedCategories, Set<Category> excludedCategories)
           
 
Method Summary
 String describe()
           
 boolean shouldRun(org.junit.runner.Description description)
           
 
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
 

Constructor Detail

CategoryFilter

public CategoryFilter(Set<Category> includedCategories,
                      Set<Category> excludedCategories)
Method Detail

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-2014 Atlassian. All Rights Reserved.