C# Класс NUnit.Framework.Internal.Filters.NotFilter

Наследование: TestFilter
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
AddToXml ( TNode parentNode, bool recursive ) : TNode

Adds an XML node

IsExplicitMatch ( ITest test ) : bool

Determine if a test matches the filter explicitly. That is, it must be a direct match of the test itself or one of it's children.

Match ( ITest test ) : bool

Check whether the filter matches a test

NotFilter ( TestFilter baseFilter ) : System

Construct a not filter on another filter

Pass ( ITest test ) : bool

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.

Описание методов

AddToXml() публичный Метод

Adds an XML node
public AddToXml ( TNode parentNode, bool recursive ) : TNode
parentNode TNode Parent node
recursive bool True if recursive
Результат TNode

IsExplicitMatch() публичный Метод

Determine if a test matches the filter explicitly. That is, it must be a direct match of the test itself or one of it's children.
public IsExplicitMatch ( ITest test ) : bool
test ITest The test to which the filter is applied
Результат bool

Match() публичный Метод

Check whether the filter matches a test
public Match ( ITest test ) : bool
test ITest The test to be matched
Результат bool

NotFilter() публичный Метод

Construct a not filter on another filter
public NotFilter ( TestFilter baseFilter ) : System
baseFilter TestFilter The filter to be negated
Результат System

Pass() публичный Метод

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.
public Pass ( ITest test ) : bool
test ITest The test to which the filter is applied
Результат bool