C# Class NUnitLite.TestCase

Inheritance: ITest
Afficher le fichier Open project: rhwilburn/MVVM-for-Mono Class Usage Examples

Méthodes publiques

Méthode Description
HasValidSignature ( MethodInfo method ) : bool
IsTestMethod ( MethodInfo method ) : bool
Run ( ) : TestResult
Run ( TestListener listener ) : TestResult
TestCase ( MethodInfo method ) : System
TestCase ( MethodInfo method, object fixture ) : System
TestCase ( string name ) : System
TestCase ( string name, object fixture ) : System

Méthodes protégées

Méthode Description
InvokeMethod ( MethodInfo method ) : void
Run ( TestResult result, TestListener listener ) : void
RunBare ( ) : void
RunTest ( ) : void
SetUp ( ) : void
TearDown ( ) : void

Private Methods

Méthode Description
GetExceptionHandler ( Type type, string handlerName ) : MethodInfo
HasValidSetUpTearDownSignature ( MethodInfo method ) : bool
Initialize ( MethodInfo method, object fixture ) : void
ProcessException ( MethodInfo method, Exception caughtException ) : void
ProcessNoException ( MethodInfo method ) : void

Method Details

HasValidSignature() public static méthode

public static HasValidSignature ( MethodInfo method ) : bool
method System.Reflection.MethodInfo
Résultat bool

InvokeMethod() protected méthode

protected InvokeMethod ( MethodInfo method ) : void
method System.Reflection.MethodInfo
Résultat void

IsTestMethod() public static méthode

public static IsTestMethod ( MethodInfo method ) : bool
method System.Reflection.MethodInfo
Résultat bool

Run() public méthode

public Run ( ) : TestResult
Résultat TestResult

Run() public méthode

public Run ( TestListener listener ) : TestResult
listener TestListener
Résultat TestResult

Run() protected méthode

protected Run ( TestResult result, TestListener listener ) : void
result TestResult
listener TestListener
Résultat void

RunBare() protected méthode

protected RunBare ( ) : void
Résultat void

RunTest() protected méthode

protected RunTest ( ) : void
Résultat void

SetUp() protected méthode

protected SetUp ( ) : void
Résultat void

TearDown() protected méthode

protected TearDown ( ) : void
Résultat void

TestCase() public méthode

public TestCase ( MethodInfo method ) : System
method System.Reflection.MethodInfo
Résultat System

TestCase() public méthode

public TestCase ( MethodInfo method, object fixture ) : System
method System.Reflection.MethodInfo
fixture object
Résultat System

TestCase() public méthode

public TestCase ( string name ) : System
name string
Résultat System

TestCase() public méthode

public TestCase ( string name, object fixture ) : System
name string
fixture object
Résultat System