Class MaxTimeCommand
MaxTimeCommand adjusts the result of a successful test to a failure if the elapsed time has exceeded the specified maximum time allowed.
public class MaxTimeCommand : AfterTestCommand
- 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