private void ExecuteNonCancellable(CancellationToken token, IProgressStepExecutionEvents notifier)
 {
     VerificationHelper.CheckState(this.testSubject, StepExecutionState.Executing);
     this.testController.IsCurrentStepCancellable.Should().BeFalse("Not expected to be cancellable");
 }
Exemplo n.º 2
0
 private void ExecuteAndVerify(CancellationToken token, IProgressStepExecutionEvents notifier)
 {
     VerificationHelper.CheckState(this.testSubject, StepExecutionState.Executing);
 }
 private void ExecuteAndFail(CancellationToken token, IProgressStepExecutionEvents notifier)
 {
     VerificationHelper.CheckState(this.testSubject, StepExecutionState.Executing);
     throw new Exception("Boom");
 }