IGLib
1.7.2
The IGLib base library EXTENDED - with other lilbraries and applications.
|
Nested class provides an empty filter - one that always returns true when called. It never matches explicitly. More...
Public Member Functions | |
override bool | Match (ITest test) |
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. More... | |
override bool | Pass (ITest test) |
Determine if a particular test passes the filter criteria. The default implementation checks the test itself, its parents and any descendants. More... | |
override 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... | |
override TNode | AddToXml (TNode parentNode, bool recursive) |
Adds an XML node 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... | |
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... | |
![]() | |
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... | |
Nested class provides an empty filter - one that always returns true when called. It never matches explicitly.
|
inlinevirtual |
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.
test | The test to which the filter is applied |
Implements NUnit.Framework.Internal.TestFilter.
|
inlinevirtual |
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.
test | The test to which the filter is applied |
Reimplemented from NUnit.Framework.Internal.TestFilter.
|
inlinevirtual |
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.
test | The test to which the filter is applied |
Reimplemented from NUnit.Framework.Internal.TestFilter.
|
inlinevirtual |
Adds an XML node
parentNode | Parent node |
recursive | True if recursive |
Implements NUnit.Framework.Internal.TestFilter.
References NUnit.Framework.Interfaces.TNode.AddElement().