Class CancelAfterCommand
CancelAfterCommand creates a timer in order to cancel a test if it exceeds a specified time and adjusts the test result if it did time out.
public class CancelAfterCommand : DelegatingTestCommand
- Inheritance
-
CancelAfterCommand
- Inherited Members
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