C# 클래스 NUnit.Framework.Internal.Filters.NotFilter

상속: TestFilter
파일 보기 프로젝트 열기: nunit/nunit 1 사용 예제들

공개 메소드들

메소드 설명
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