IGLib
1.7.2
The IGLib base library EXTENDED - with other lilbraries and applications.
|
Combines multiple filters so that a test must pass all of them in order to pass this filter. More...
Public Member Functions | |
AndFilter () | |
Constructs an empty AndFilter More... | |
AndFilter (params ITestFilter[] filters) | |
Constructs an AndFilter from an array of filters More... | |
override bool | Pass (ITest test) |
Checks whether the AndFilter is matched by a test More... | |
override bool | Match (ITest test) |
Checks whether the AndFilter is matched by a test More... | |
![]() | |
CompositeFilter () | |
Constructs an empty CompositeFilter More... | |
CompositeFilter (params ITestFilter[] filters) | |
Constructs a CompositeFilter from an array of filters More... | |
void | Add (ITestFilter filter) |
Adds a filter to the list of filters More... | |
override TNode | AddToXml (TNode parentNode, bool recursive) |
Adds an XML node More... | |
![]() | |
virtual bool | IsExplicitMatch (ITest test) |
Determine if a test matches the filter expicitly. That is, it must be a direct match of the test itself or one of it's children. More... | |
bool | MatchParent (ITest test) |
Determine whether any ancestor of the test matches the filter criteria More... | |
TNode | ToXml (bool recursive) |
Adds an XML node More... | |
Properties | |
override string | ElementName [get] |
Gets the element name More... | |
![]() | |
IList< ITestFilter > | Filters [get, private set] |
Return a list of the composing filters. More... | |
abstract string | ElementName [get] |
Gets the element name More... | |
![]() | |
bool | IsEmpty [get] |
Indicates whether this is the EmptyFilter More... | |
bool | TopLevel [get, set] |
Indicates whether this is a top-level filter, not contained in any other filter. More... | |
Additional Inherited Members | |
![]() | |
static TestFilter | FromXml (string xmlText) |
Create a TestFilter instance from an xml representation. More... | |
static TestFilter | FromXml (TNode node) |
Create a TestFilter from it's TNode representation More... | |
![]() | |
static readonly TestFilter | Empty = new EmptyFilter() |
Unique Empty filter. More... | |
![]() | |
virtual bool | MatchDescendant (ITest test) |
Determine whether any descendant of the test matches the filter criteria. More... | |
Combines multiple filters so that a test must pass all of them in order to pass this filter.
|
inline |
Constructs an empty AndFilter
|
inline |
Constructs an AndFilter from an array of filters
filters |
|
inlinevirtual |
Checks whether the AndFilter is matched by a test
test | The test to be matched |
Reimplemented from NUnit.Framework.Internal.TestFilter.
References NUnit.Framework.Interfaces.ITestFilter.Pass().
|
inlinevirtual |
Checks whether the AndFilter is matched by a test
test | The test to be matched |
Implements NUnit.Framework.Internal.TestFilter.
References NUnit.Framework.Internal.TestFilter.Match().
|
getprotected |
Gets the element name
Element name