C# Класс NUnit.Framework.RetryAttribute.RetryCommand

The test command for the RetryAttribute
Наследование: NUnit.Framework.Internal.Commands.DelegatingTestCommand
Показать файл Открыть проект

Открытые методы

Метод Описание
Execute ( TestExecutionContext context ) : TestResult

Runs the test, saving a TestResult in the supplied TestExecutionContext.

RetryCommand ( NUnit.Framework.Internal.Commands.TestCommand innerCommand, int retryCount ) : System

Initializes a new instance of the RetryCommand class.

Описание методов

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

Runs the test, saving a TestResult in the supplied TestExecutionContext.
public Execute ( TestExecutionContext context ) : TestResult
context NUnit.Framework.Internal.TestExecutionContext The context in which the test should run.
Результат TestResult

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

Initializes a new instance of the RetryCommand class.
public RetryCommand ( NUnit.Framework.Internal.Commands.TestCommand innerCommand, int retryCount ) : System
innerCommand NUnit.Framework.Internal.Commands.TestCommand The inner command.
retryCount int The number of repetitions
Результат System