Class MaxTimeCommand
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
TestCommandThe inner command.
maxTime
intThe 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
TestExecutionContextThe context in which the test should run.
Returns
- TestResult
A TestResult