C# Class NUnit.Framework.Internal.Filters.CategoryFilter

Inheritance: ValueMatchFilter
ファイルを表示 Open project: nunit/nunit Class Usage Examples

Public Methods

Method Description
CategoryFilter ( string name ) : System

Construct a CategoryFilter using a single category name

Match ( ITest test ) : bool

Check whether the filter matches a test

Method Details

CategoryFilter() public method

Construct a CategoryFilter using a single category name
public CategoryFilter ( string name ) : System
name string A category name
return System

Match() public method

Check whether the filter matches a test
public Match ( ITest test ) : bool
test ITest The test to be matched
return bool