NotFilter negates the operation of another filter
More...
|
| NotFilter (TestFilter baseFilter) |
| Construct a not filter on another filter 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 | Match (ITest test) |
| Check whether the filter matches a test 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...
|
|
NotFilter negates the operation of another filter
NUnit.Framework.Internal.Filters.NotFilter.NotFilter |
( |
TestFilter |
baseFilter | ) |
|
|
inline |
Construct a not filter on another filter
- Parameters
-
baseFilter | The filter to be negated |
override bool NUnit.Framework.Internal.Filters.NotFilter.Pass |
( |
ITest |
test | ) |
|
|
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.
- Parameters
-
test | The test to which the filter is applied |
- Returns
- True if the test passes the filter, otherwise false
Reimplemented from NUnit.Framework.Internal.TestFilter.
override bool NUnit.Framework.Internal.Filters.NotFilter.Match |
( |
ITest |
test | ) |
|
|
inlinevirtual |
override bool NUnit.Framework.Internal.Filters.NotFilter.IsExplicitMatch |
( |
ITest |
test | ) |
|
|
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.
- Parameters
-
test | The test to which the filter is applied |
- Returns
- True if the test matches the filter explicityly, otherwise false
Reimplemented from NUnit.Framework.Internal.TestFilter.
override TNode NUnit.Framework.Internal.Filters.NotFilter.AddToXml |
( |
TNode |
parentNode, |
|
|
bool |
recursive |
|
) |
| |
|
inlinevirtual |
TestFilter NUnit.Framework.Internal.Filters.NotFilter.BaseFilter |
|
getprivate set |
The documentation for this class was generated from the following file:
- unittests/NUnit_3_0_1_src/src/NUnitFramework/framework/Internal/Filters/NotFilter.cs