C# Class TechTalk.SpecFlow.ErrorHandling.ErrorProvider

Inheritance: IErrorProvider
Show file Open project: aqueduct/SpecflowWithNunitRunner Class Usage Examples

Public Methods

Method Description
ErrorProvider ( IStepFormatter stepFormatter, TechTalk.SpecFlow.Configuration.RuntimeConfiguration runtimeConfiguration, IUnitTestRuntimeProvider unitTestRuntimeProvider ) : System
GetAmbiguousBecauseParamCheckMatchError ( List matches, TechTalk.SpecFlow.Bindings.StepInstance stepInstance ) : Exception
GetAmbiguousMatchError ( List matches, TechTalk.SpecFlow.Bindings.StepInstance stepInstance ) : Exception
GetCallError ( IBindingMethod method, Exception ex ) : Exception
GetMethodText ( IBindingMethod method ) : string
GetMissingStepDefinitionError ( ) : MissingStepDefinitionException
GetNoMatchBecauseOfScopeFilterError ( List matches, TechTalk.SpecFlow.Bindings.StepInstance stepInstance ) : Exception
GetNonStaticEventError ( IBindingMethod method ) : Exception
GetParameterCountError ( TechTalk.SpecFlow.Bindings.BindingMatch match, int expectedParameterCount ) : Exception
GetPendingStepDefinitionError ( ) : PendingStepException
GetTooManyBindingParamError ( int maxParam ) : Exception
ThrowPendingError ( TestStatus testStatus, string message ) : void

Method Details

ErrorProvider() public method

public ErrorProvider ( IStepFormatter stepFormatter, TechTalk.SpecFlow.Configuration.RuntimeConfiguration runtimeConfiguration, IUnitTestRuntimeProvider unitTestRuntimeProvider ) : System
stepFormatter IStepFormatter
runtimeConfiguration TechTalk.SpecFlow.Configuration.RuntimeConfiguration
unitTestRuntimeProvider IUnitTestRuntimeProvider
return System

GetAmbiguousBecauseParamCheckMatchError() public method

public GetAmbiguousBecauseParamCheckMatchError ( List matches, TechTalk.SpecFlow.Bindings.StepInstance stepInstance ) : Exception
matches List
stepInstance TechTalk.SpecFlow.Bindings.StepInstance
return System.Exception

GetAmbiguousMatchError() public method

public GetAmbiguousMatchError ( List matches, TechTalk.SpecFlow.Bindings.StepInstance stepInstance ) : Exception
matches List
stepInstance TechTalk.SpecFlow.Bindings.StepInstance
return System.Exception

GetCallError() public method

public GetCallError ( IBindingMethod method, Exception ex ) : Exception
method IBindingMethod
ex System.Exception
return System.Exception

GetMethodText() public method

public GetMethodText ( IBindingMethod method ) : string
method IBindingMethod
return string

GetMissingStepDefinitionError() public method

public GetMissingStepDefinitionError ( ) : MissingStepDefinitionException
return MissingStepDefinitionException

GetNoMatchBecauseOfScopeFilterError() public method

public GetNoMatchBecauseOfScopeFilterError ( List matches, TechTalk.SpecFlow.Bindings.StepInstance stepInstance ) : Exception
matches List
stepInstance TechTalk.SpecFlow.Bindings.StepInstance
return System.Exception

GetNonStaticEventError() public method

public GetNonStaticEventError ( IBindingMethod method ) : Exception
method IBindingMethod
return System.Exception

GetParameterCountError() public method

public GetParameterCountError ( TechTalk.SpecFlow.Bindings.BindingMatch match, int expectedParameterCount ) : Exception
match TechTalk.SpecFlow.Bindings.BindingMatch
expectedParameterCount int
return System.Exception

GetPendingStepDefinitionError() public method

public GetPendingStepDefinitionError ( ) : PendingStepException
return PendingStepException

GetTooManyBindingParamError() public method

public GetTooManyBindingParamError ( int maxParam ) : Exception
maxParam int
return System.Exception

ThrowPendingError() public method

public ThrowPendingError ( TestStatus testStatus, string message ) : void
testStatus TestStatus
message string
return void