C# 클래스 SonarLint.VisualStudio.Progress.UnitTests.ProgressEventsVerifier

Test helper to verify general IProgressController and IProgressStepOperation execution and also verification of the event mechanism IProgressEvents
파일 보기 프로젝트 열기: SonarSource-VisualStudio/sonarlint-visualstudio 1 사용 예제들

공개 메소드들

메소드 설명
AssertCancellationChanges ( int expectedChanges ) : void
AssertCorrectExecution ( ProgressControllerResult result ) : void
AssertExecutionProgress ( IProgressStep step ) : void
AssertStepCorrectExecution ( IProgressStep step, StepExecutionState finalState ) : void
ProgressEventsVerifier ( IProgressEvents events ) : SonarLint.VisualStudio.Progress.Controller

비공개 메소드들

메소드 설명
AssertEventHandlerArgsNotNull ( object sender, EventArgs e ) : void
IsFinalState ( StepExecutionState state ) : bool
OnCancellationSupportChanged ( object sender, CancellationSupportChangedEventArgs e ) : void
OnFinished ( object sender, ProgressControllerFinishedEventArgs e ) : void
OnStarted ( object sender, ProgressEventArgs e ) : void
OnStepExecutionChanged ( object sender, StepExecutionChangedEventArgs e ) : void
VerifyProgressSequence ( bool determinate, double>.Tuple expectedSequence, double>.Tuple actualSequence ) : void
VerifyStateTransitions ( StepExecutionState transition, StepExecutionState finalState ) : void

메소드 상세

AssertCancellationChanges() 공개 메소드

public AssertCancellationChanges ( int expectedChanges ) : void
expectedChanges int
리턴 void

AssertCorrectExecution() 공개 메소드

public AssertCorrectExecution ( ProgressControllerResult result ) : void
result ProgressControllerResult
리턴 void

AssertExecutionProgress() 공개 메소드

public AssertExecutionProgress ( IProgressStep step ) : void
step IProgressStep
리턴 void

AssertStepCorrectExecution() 공개 메소드

public AssertStepCorrectExecution ( IProgressStep step, StepExecutionState finalState ) : void
step IProgressStep
finalState StepExecutionState
리턴 void

ProgressEventsVerifier() 공개 메소드

public ProgressEventsVerifier ( IProgressEvents events ) : SonarLint.VisualStudio.Progress.Controller
events IProgressEvents
리턴 SonarLint.VisualStudio.Progress.Controller