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

Verification helper class
Afficher le fichier Open project: SonarSource-VisualStudio/sonarlint-visualstudio Class Usage Examples

Méthodes publiques

Méthode 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 méthode

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
Résultat void

VerifyInitialized() public static méthode

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
Résultat void