C# Class Jwc.Experiment.Xunit.ExceptionCommand

Inheritance: TestCommand
Show file Open project: jwChung/Experimentalism Class Usage Examples

Public Methods

Method Description
ExceptionCommand ( IMethodInfo method, Exception exception ) : System

Initializes a new instance of the ExceptionCommand class.

Execute ( object testClass ) : MethodResult

이 테스트 실행 결과는 항상 FailedResult를 리턴함.

Private Methods

Method Description
EnsureIsNotNull ( IMethodInfo method ) : IMethodInfo

Method Details

ExceptionCommand() public method

Initializes a new instance of the ExceptionCommand class.
public ExceptionCommand ( IMethodInfo method, Exception exception ) : System
method IMethodInfo /// The method under test. ///
exception System.Exception /// The exception to be expressed. ///
return System

Execute() public method

이 테스트 실행 결과는 항상 FailedResult를 리턴함.
public Execute ( object testClass ) : MethodResult
testClass object /// 테스트 메소드의 owner. ///
return MethodResult