C# Класс TechTalk.SpecFlow.ErrorHandling.ErrorProvider

Наследование: IErrorProvider
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
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

Описание методов

ErrorProvider() публичный Метод

public ErrorProvider ( IStepFormatter stepFormatter, TechTalk.SpecFlow.Configuration.RuntimeConfiguration runtimeConfiguration, IUnitTestRuntimeProvider unitTestRuntimeProvider ) : System
stepFormatter IStepFormatter
runtimeConfiguration TechTalk.SpecFlow.Configuration.RuntimeConfiguration
unitTestRuntimeProvider IUnitTestRuntimeProvider
Результат System

GetAmbiguousBecauseParamCheckMatchError() публичный Метод

public GetAmbiguousBecauseParamCheckMatchError ( List matches, TechTalk.SpecFlow.Bindings.StepInstance stepInstance ) : Exception
matches List
stepInstance TechTalk.SpecFlow.Bindings.StepInstance
Результат System.Exception

GetAmbiguousMatchError() публичный Метод

public GetAmbiguousMatchError ( List matches, TechTalk.SpecFlow.Bindings.StepInstance stepInstance ) : Exception
matches List
stepInstance TechTalk.SpecFlow.Bindings.StepInstance
Результат System.Exception

GetCallError() публичный Метод

public GetCallError ( IBindingMethod method, Exception ex ) : Exception
method IBindingMethod
ex System.Exception
Результат System.Exception

GetMethodText() публичный Метод

public GetMethodText ( IBindingMethod method ) : string
method IBindingMethod
Результат string

GetMissingStepDefinitionError() публичный Метод

public GetMissingStepDefinitionError ( ) : MissingStepDefinitionException
Результат MissingStepDefinitionException

GetNoMatchBecauseOfScopeFilterError() публичный Метод

public GetNoMatchBecauseOfScopeFilterError ( List matches, TechTalk.SpecFlow.Bindings.StepInstance stepInstance ) : Exception
matches List
stepInstance TechTalk.SpecFlow.Bindings.StepInstance
Результат System.Exception

GetNonStaticEventError() публичный Метод

public GetNonStaticEventError ( IBindingMethod method ) : Exception
method IBindingMethod
Результат System.Exception

GetParameterCountError() публичный Метод

public GetParameterCountError ( TechTalk.SpecFlow.Bindings.BindingMatch match, int expectedParameterCount ) : Exception
match TechTalk.SpecFlow.Bindings.BindingMatch
expectedParameterCount int
Результат System.Exception

GetPendingStepDefinitionError() публичный Метод

public GetPendingStepDefinitionError ( ) : PendingStepException
Результат PendingStepException

GetTooManyBindingParamError() публичный Метод

public GetTooManyBindingParamError ( int maxParam ) : Exception
maxParam int
Результат System.Exception

ThrowPendingError() публичный Метод

public ThrowPendingError ( TestStatus testStatus, string message ) : void
testStatus TestStatus
message string
Результат void