C# Class NUnit.Framework.Internal.Filters.MockTestFilter

Inheritance: TestFilter
Afficher le fichier Open project: nunit/nunit Class Usage Examples

Méthodes publiques

Méthode Description
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

Private Methods

Méthode Description
AssertAndGetEquality ( ITest test, MatchFunction calledFunction ) : bool

Method Details

AddToXml() public méthode

public AddToXml ( TNode parentNode, bool recursive ) : TNode
parentNode TNode
recursive bool
Résultat TNode

IsExplicitMatch() public méthode

public IsExplicitMatch ( ITest test ) : bool
test ITest
Résultat bool

Match() public méthode

public Match ( ITest test ) : bool
test ITest
Résultat bool

MockTestFilter() public méthode

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.
Résultat System

Pass() public méthode

public Pass ( ITest test ) : bool
test ITest
Résultat bool