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