C# Class GoogleTestAdapter.TestAdapter.Helpers.TestCaseFilter

Exibir arquivo Open project: csoltenborn/GoogleTestAdapter Class Usage Examples

Private Properties

Property Type Description
GetFilterExpression ITestCaseFilterExpression
GetTraitValues object
InitProperties void
Matches bool
PropertyProvider TestProperty
PropertyValueProvider object

Public Methods

Method Description
Filter ( IEnumerable testCases ) : IEnumerable
Matches ( TestCase testCase ) : bool
TestCaseFilter ( IRunContext runContext, ISet traitNames, TestEnvironment testEnvironment ) : System

Private Methods

Method Description
GetFilterExpression ( ) : ITestCaseFilterExpression
GetTraitValues ( TestCase testCase, string traitName ) : object
InitProperties ( ISet traitNames ) : void
Matches ( TestCase testCase, ITestCaseFilterExpression filterExpression ) : bool
PropertyProvider ( string propertyName ) : TestProperty
PropertyValueProvider ( TestCase currentTest, string propertyName ) : object

Method Details

Filter() public method

public Filter ( IEnumerable testCases ) : IEnumerable
testCases IEnumerable
return IEnumerable

Matches() public method

public Matches ( TestCase testCase ) : bool
testCase TestCase
return bool

TestCaseFilter() public method

public TestCaseFilter ( IRunContext runContext, ISet traitNames, TestEnvironment testEnvironment ) : System
runContext IRunContext
traitNames ISet
testEnvironment GoogleTestAdapter.Helpers.TestEnvironment
return System