Property | Type | Description | |
---|---|---|---|
Empty | TestFilter |
Method | Description | |
---|---|---|
AddToXml ( TNode parentNode, bool recursive ) : TNode |
Adds an XML node
|
|
FromXml ( TNode node ) : TestFilter |
Create a TestFilter from it's TNode representation
|
|
FromXml ( string xmlText ) : TestFilter |
Create a TestFilter instance from an xml representation.
|
|
IsExplicitMatch ( ITest test ) : bool |
Determine if a test matches the filter explicitly. That is, it must be a direct match of the test itself or one of it's children.
|
|
Match ( ITest test ) : bool |
Determine whether the test itself matches the filter criteria, without examining either parents or descendants. This is overridden by each different type of filter to perform the necessary tests.
|
|
MatchParent ( ITest test ) : bool |
Determine whether any ancestor of the test matches the filter criteria
|
|
Pass ( ITest test ) : bool |
Determine if a particular test passes the filter criteria. The default implementation checks the test itself, its parents and any descendants. Derived classes may override this method or any of the Match methods to change the behavior of the filter.
|
|
ToXml ( bool recursive ) : TNode |
Adds an XML node
|
Method | Description | |
---|---|---|
MatchDescendant ( ITest test ) : bool |
Determine whether any descendant of the test matches the filter criteria.
|
public abstract AddToXml ( TNode parentNode, bool recursive ) : TNode | ||
parentNode | TNode | Parent node |
recursive | bool | True if recursive |
return | TNode |
public static FromXml ( TNode node ) : TestFilter | ||
node | TNode | |
return | TestFilter |
public static FromXml ( string xmlText ) : TestFilter | ||
xmlText | string | |
return | TestFilter |
public IsExplicitMatch ( ITest test ) : bool | ||
test | ITest | The test to which the filter is applied |
return | bool |
public abstract Match ( ITest test ) : bool | ||
test | ITest | The test to which the filter is applied |
return | bool |
protected MatchDescendant ( ITest test ) : bool | ||
test | ITest | The test to be matched |
return | bool |
public MatchParent ( ITest test ) : bool | ||
test | ITest | The test to which the filter is applied |
return | bool |
public Pass ( ITest test ) : bool | ||
test | ITest | The test to which the filter is applied |
return | bool |
public ToXml ( bool recursive ) : TNode | ||
recursive | bool | True if recursive |
return | TNode |
public static TestFilter,NUnit.Framework.Internal Empty | ||
return | TestFilter |