Class IdFilter
IdFilter selects tests based on their id
public class IdFilter : ValueMatchFilter<int>, ITestFilter
- Inheritance
-
IdFilter
- Implements
- Inherited Members
Constructors
IdFilter()
Construct an empty IdFilter
public IdFilter()
IdFilter(IEnumerable<int>)
Construct a IdFilter for multiple ids
public IdFilter(IEnumerable<int> ids)
Parameters
ids
IEnumerable<int>The ids the filter will recognize.
IdFilter(int)
Construct an IdFilter for a single value
public IdFilter(int id)
Parameters
id
intThe id the filter will recognize.
Methods
Match(ITest, int)
Match a test against a single value.
protected override bool Match(ITest test, int id)