Table of Contents

Class TestCaseSegment

Namespace
Microsoft.Accordant
Assembly
Accordant.Operations.dll

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

operationCall OperationCall

TestCaseSegment(IList<OperationCall>)

Creates a new segment with the given operation calls.

public TestCaseSegment(IList<OperationCall> operationCalls)

Parameters

operationCalls IList<OperationCall>

Properties

IsConcurrent

Returns true if this segment has multiple operation calls (concurrent execution).

public bool IsConcurrent { get; }

Property Value

bool

IsSequential

Returns true if this segment has a single operation call (sequential execution).

public bool IsSequential { get; }

Property Value

bool

OperationCalls

The operation calls in this segment. A single call means sequential execution; multiple calls means concurrent execution.

public IList<OperationCall> OperationCalls { get; set; }

Property Value

IList<OperationCall>