ValueMatchFilter selects tests based on some value, which is expected to be contained in the test.
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...
|
|
abstract 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...
|
|
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...
|
|
|
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...
|
|
ValueMatchFilter selects tests based on some value, which is expected to be contained in the test.
NUnit.Framework.Internal.Filters.ValueMatchFilter.ValueMatchFilter |
( |
string |
expectedValue | ) |
|
|
inline |
Construct a ValueMatchFilter for a single value.
- Parameters
-
expectedValue | The value to be included. |
bool NUnit.Framework.Internal.Filters.ValueMatchFilter.Match |
( |
string |
input | ) |
|
|
inlineprotected |
Match the input provided by the derived class
- Parameters
-
input | The value to be matchedT |
- Returns
- True for a match, false otherwise.
override TNode NUnit.Framework.Internal.Filters.ValueMatchFilter.AddToXml |
( |
TNode |
parentNode, |
|
|
bool |
recursive |
|
) |
| |
|
inlinevirtual |
string NUnit.Framework.Internal.Filters.ValueMatchFilter.ExpectedValue |
|
getprivate set |
Returns the value matched by the filter - used for testing
bool NUnit.Framework.Internal.Filters.ValueMatchFilter.IsRegex |
|
getset |
Indicates whether the value is a regular expression
abstract string NUnit.Framework.Internal.Filters.ValueMatchFilter.ElementName |
|
getprotected |
Gets the element name
Element name
The documentation for this class was generated from the following file: