OpenTAP 9.27
API Reference
Static Public Member Functions | List of all members
OpenTap.BreakConditionProperty Class Reference

Break condition is an 'attached property' that can be attached to any implementor of ITestStep. This ensures that the API for ITestStep does not need to be modified to support the BreakConditions feature. More...

Static Public Member Functions

static void SetBreakCondition (ITestStepParent step, BreakCondition condition)
 Sets the break condition for a test step. More...
 
static BreakCondition GetBreakCondition (ITestStepParent step)
 Gets the break condition for a given test step. More...
 

Detailed Description

Break condition is an 'attached property' that can be attached to any implementor of ITestStep. This ensures that the API for ITestStep does not need to be modified to support the BreakConditions feature.

Member Function Documentation

◆ GetBreakCondition()

static BreakCondition OpenTap.BreakConditionProperty.GetBreakCondition ( ITestStepParent  step)
inlinestatic

Gets the break condition for a given test step.

Parameters
step
Returns

◆ SetBreakCondition()

static void OpenTap.BreakConditionProperty.SetBreakCondition ( ITestStepParent  step,
BreakCondition  condition 
)
inlinestatic

Sets the break condition for a test step.

Parameters
stepWhich step to set it on.
condition

OpenTAP 9.27 API built Wed Nov 27 2024 13:14:45