IGLib
1.7.2
The IGLib base library EXTENDED - with other lilbraries and applications.
|
IdFilter selects tests based on their id More...
Public Member Functions | |
IdFilter (string id) | |
Construct an IdFilter for a single value More... | |
override bool | Match (ITest test) |
Match a test against a single value. More... | |
![]() | |
ValueMatchFilter (string expectedValue) | |
Construct a ValueMatchFilter for a single value. More... | |
override TNode | AddToXml (TNode parentNode, bool recursive) |
Adds an XML node More... | |
![]() | |
virtual 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... | |
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... | |
![]() | |
string | ExpectedValue [get, private set] |
Returns the value matched by the filter - used for testing More... | |
bool | IsRegex [get, set] |
Indicates whether the value is a regular expression 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... | |
![]() | |
bool | Match (string input) |
Match the input provided by the derived class More... | |
![]() | |
virtual bool | MatchDescendant (ITest test) |
Determine whether any descendant of the test matches the filter criteria. More... | |
IdFilter selects tests based on their id
|
inline |
Construct an IdFilter for a single value
id | The id the filter will recognize. |
|
inlinevirtual |
Match a test against a single value.
Implements NUnit.Framework.Internal.TestFilter.
References NUnit.Framework.Interfaces.ITest.Id.
|
getprotected |
Gets the element name
Element name