C# Class SonarLint.VisualStudio.Progress.UnitTests.ProgressObserverTests.ExecutionVerifier

ファイルを表示 Open project: SonarSource-VisualStudio/sonarlint-visualstudio

Public Methods

Method Description
AppendStepToGroup ( int group, IProgressStep step ) : void

The method should be used to constructed the expected groups of steps

ExecutionVerifier ( IProgressVisualizer visualizer, ProgressObserver testSubject ) : SonarLint.VisualStudio.Progress.MVVM
RunAndVerifyExecutingStep ( ConfigurableProgressEvents progressEvents, IProgressStep currentStep, int currentVmIndex ) : void

Private Methods

Method Description
GetAllStepsInGroup ( IProgressStep step ) : IProgressStep[]

Returns all the steps which are in the same group as the specified step

IsLastStep ( IProgressStep step ) : bool

Returns whether the specified step is the last in group

Method Details

AppendStepToGroup() public method

The method should be used to constructed the expected groups of steps
public AppendStepToGroup ( int group, IProgressStep step ) : void
group int The target group index
step IProgressStep The step to add to a group
return void

ExecutionVerifier() public method

public ExecutionVerifier ( IProgressVisualizer visualizer, ProgressObserver testSubject ) : SonarLint.VisualStudio.Progress.MVVM
visualizer IProgressVisualizer
testSubject SonarLint.VisualStudio.Progress.Observation.ProgressObserver
return SonarLint.VisualStudio.Progress.MVVM

RunAndVerifyExecutingStep() public method

public RunAndVerifyExecutingStep ( ConfigurableProgressEvents progressEvents, IProgressStep currentStep, int currentVmIndex ) : void
progressEvents ConfigurableProgressEvents
currentStep IProgressStep
currentVmIndex int
return void