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

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

공개 메소드들

메소드 설명
AddToXml ( TNode parentNode, bool recursive ) : TNode
IsExplicitMatch ( ITest test ) : bool
Match ( ITest test ) : bool
MockTestFilter ( ITest expectedTest, MatchFunction expectedMatchFunction, bool matchFunctionResult ) : System

Construct an MockTestFilter.

Pass ( ITest test ) : bool

비공개 메소드들

메소드 설명
AssertAndGetEquality ( ITest test, MatchFunction calledFunction ) : bool

메소드 상세

AddToXml() 공개 메소드

public AddToXml ( TNode parentNode, bool recursive ) : TNode
parentNode TNode
recursive bool
리턴 TNode

IsExplicitMatch() 공개 메소드

public IsExplicitMatch ( ITest test ) : bool
test ITest
리턴 bool

Match() 공개 메소드

public Match ( ITest test ) : bool
test ITest
리턴 bool

MockTestFilter() 공개 메소드

Construct an MockTestFilter.
public MockTestFilter ( ITest expectedTest, MatchFunction expectedMatchFunction, bool matchFunctionResult ) : System
expectedTest ITest The test for which calling the match-function is allowed.
expectedMatchFunction MatchFunction The matching function that should be called.
matchFunctionResult bool The result of the match function for the expected /// test.
리턴 System

Pass() 공개 메소드

public Pass ( ITest test ) : bool
test ITest
리턴 bool