public static class

Categories.CategoryFilter

extends Filter
java.lang.Object
   ↳ org.junit.runner.manipulation.Filter
     ↳ org.junit.experimental.categories.Categories.CategoryFilter

Summary

[Expand]
Inherited Fields
From class org.junit.runner.manipulation.Filter
Public Constructors
Categories.CategoryFilter(Class<?> includedCategory, Class<?> excludedCategory)
Public Methods
String describe()
Returns a textual description of this Filter
static Categories.CategoryFilter include(Class<?> categoryType)
boolean shouldRun(Description description)
[Expand]
Inherited Methods
From class org.junit.runner.manipulation.Filter
From class java.lang.Object

Public Constructors

public Categories.CategoryFilter (Class<?> includedCategory, Class<?> excludedCategory)

Public Methods

public String describe ()

Returns a textual description of this Filter

Returns
  • a textual description of this Filter

public static Categories.CategoryFilter include (Class<?> categoryType)

public boolean shouldRun (Description description)

Parameters
description the description of the test to be run
Returns
  • true if the test should be run