C# Class Microsoft.Silverlight.Testing.Harness.TagManager

A helper class that manages tags and associated metadata. Tag expressions are evaluated at the TestClass level.
Mostra file Open project: garyjohnson/wpnest Class Usage Examples

Private Properties

Property Type Description
CreateClassTags void
CreateMethodTags void

Public Methods

Method Description
EvaluateExpression ( string tagExpression ) : IEnumerable

Get the test methods that correspond to a tag expression.

TagManager ( Type test, IEnumerable methods ) : System

Initializes a new tag manager.

Private Methods

Method Description
CreateClassTags ( Type test ) : void

Reflect, read and prepare the tags for the class metadata. Performs the work if this is the first time the metadata has been seen.

CreateMethodTags ( ITestMethod method ) : void

Reflect, read and prepare the tags for the method metadata. Performs the work if this is the first time the metadata has been seen.

Method Details

EvaluateExpression() public method

Get the test methods that correspond to a tag expression.
public EvaluateExpression ( string tagExpression ) : IEnumerable
tagExpression string Tag expression.
return IEnumerable

TagManager() public method

Initializes a new tag manager.
public TagManager ( Type test, IEnumerable methods ) : System
test System.Type The test class type.
methods IEnumerable The set of methods to run.
return System