C# Class NUnitLite.TestCase

Inheritance: ITest
显示文件 Open project: rhwilburn/MVVM-for-Mono Class Usage Examples

Public Methods

Method 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

Protected Methods

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

Private Methods

Method 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 method

public static HasValidSignature ( MethodInfo method ) : bool
method System.Reflection.MethodInfo
return bool

InvokeMethod() protected method

protected InvokeMethod ( MethodInfo method ) : void
method System.Reflection.MethodInfo
return void

IsTestMethod() public static method

public static IsTestMethod ( MethodInfo method ) : bool
method System.Reflection.MethodInfo
return bool

Run() public method

public Run ( ) : TestResult
return TestResult

Run() public method

public Run ( TestListener listener ) : TestResult
listener TestListener
return TestResult

Run() protected method

protected Run ( TestResult result, TestListener listener ) : void
result TestResult
listener TestListener
return void

RunBare() protected method

protected RunBare ( ) : void
return void

RunTest() protected method

protected RunTest ( ) : void
return void

SetUp() protected method

protected SetUp ( ) : void
return void

TearDown() protected method

protected TearDown ( ) : void
return void

TestCase() public method

public TestCase ( MethodInfo method ) : System
method System.Reflection.MethodInfo
return System

TestCase() public method

public TestCase ( MethodInfo method, object fixture ) : System
method System.Reflection.MethodInfo
fixture object
return System

TestCase() public method

public TestCase ( string name ) : System
name string
return System

TestCase() public method

public TestCase ( string name, object fixture ) : System
name string
fixture object
return System