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

Inheritance: ValueMatchFilter
Mostra file Open project: nunit/nunit Class Usage Examples

Public Methods

Method Description
AddToXml ( TNode parentNode, bool recursive ) : TNode

Adds an XML node

Match ( ITest test ) : bool

Check whether the filter matches a test

PropertyFilter ( string propertyName, string expectedValue ) : System

Construct a PropertyFilter using a property name and expected value

Method Details

AddToXml() public method

Adds an XML node
public AddToXml ( TNode parentNode, bool recursive ) : TNode
parentNode TNode Parent node
recursive bool True if recursive
return TNode

Match() public method

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

PropertyFilter() public method

Construct a PropertyFilter using a property name and expected value
public PropertyFilter ( string propertyName, string expectedValue ) : System
propertyName string A property name
expectedValue string The expected value of the property
return System