TechTalk.SpecFlow.ErrorHandling.ErrorProvider.ThrowPendingError C# (CSharp) Метод

ThrowPendingError() публичный Метод

public ThrowPendingError ( TestStatus testStatus, string message ) : void
testStatus TestStatus
message string
Результат void
        public void ThrowPendingError(TestStatus testStatus, string message)
        {
            switch (runtimeConfiguration.MissingOrPendingStepsOutcome)
            {
                case MissingOrPendingStepsOutcome.Pending:
                    unitTestRuntimeProvider.TestPending(message);
                    break;
                case MissingOrPendingStepsOutcome.Inconclusive:
                    unitTestRuntimeProvider.TestInconclusive(message);
                    break;
                case MissingOrPendingStepsOutcome.Ignore:
                    unitTestRuntimeProvider.TestIgnore(message);
                    break;
                default:
                    if (testStatus == TestStatus.MissingStepDefinition)
                        throw GetMissingStepDefinitionError();
                    throw GetPendingStepDefinitionError();
            }

        }