Class TestCaseSegment
Represents a segment within a concurrent test case. A segment contains one or more operation calls. If the segment contains a single operation call, it is executed sequentially. If it contains multiple operation calls, they are executed concurrently.
public class TestCaseSegment
- Inheritance
-
TestCaseSegment
- Inherited Members
Constructors
TestCaseSegment(OperationCall)
Creates a new segment with a single operation call (sequential).
public TestCaseSegment(OperationCall operationCall)
Parameters
operationCallOperationCall
TestCaseSegment(IList<OperationCall>)
Creates a new segment with the given operation calls.
public TestCaseSegment(IList<OperationCall> operationCalls)
Parameters
operationCallsIList<OperationCall>
Properties
IsConcurrent
Returns true if this segment has multiple operation calls (concurrent execution).
public bool IsConcurrent { get; }
Property Value
IsSequential
Returns true if this segment has a single operation call (sequential execution).
public bool IsSequential { get; }
Property Value
OperationCalls
The operation calls in this segment. A single call means sequential execution; multiple calls means concurrent execution.
public IList<OperationCall> OperationCalls { get; set; }