Table of Contents

Class MaxTimeCommand

Namespace
NUnit.Framework.Internal.Commands
Assembly
nunit.framework.dll

TODO: Documentation needed for class

public class MaxTimeCommand : DelegatingTestCommand
Inheritance
MaxTimeCommand
Inherited Members

Constructors

MaxTimeCommand(TestCommand, int)

Initializes a new instance of the MaxTimeCommand class.

public MaxTimeCommand(TestCommand innerCommand, int maxTime)

Parameters

innerCommand TestCommand

The inner command.

maxTime int

The max time allowed in milliseconds

Methods

Execute(TestExecutionContext)

Runs the test, saving a TestResult in the supplied TestExecutionContext

public override TestResult Execute(TestExecutionContext context)

Parameters

context TestExecutionContext

The context in which the test should run.

Returns

TestResult

A TestResult