C# Class SonarLint.VisualStudio.Progress.UnitTests.VerificationHelper

Verification helper class
Exibir arquivo Open project: SonarSource-VisualStudio/sonarlint-visualstudio Class Usage Examples

Public Methods

Method Description
CheckState ( IProgressStep testSubject, StepExecutionState expectedState ) : void

Checks the current state of a IProgressStep

VerifyInitialized ( ProgressControllerStep testSubject, StepAttributes attributes, string displayText = null ) : void

Verifies that the ProgressControllerStep was initialized correctly

Method Details

CheckState() public static method

Checks the current state of a IProgressStep
public static CheckState ( IProgressStep testSubject, StepExecutionState expectedState ) : void
testSubject IProgressStep The step to check
expectedState StepExecutionState The expected state of the step
return void

VerifyInitialized() public static method

Verifies that the ProgressControllerStep was initialized correctly
public static VerifyInitialized ( ProgressControllerStep testSubject, StepAttributes attributes, string displayText = null ) : void
testSubject SonarLint.VisualStudio.Progress.Controller.ProgressControllerStep The step to verify
attributes StepAttributes Step attributes
displayText string Step display text
return void