CurveAllExpectation

class CurveAllExpectation

Represents an expectation on all elements of a curve. All elements of the curve must fulfill the expectation for this curve expectation to be fulfilled.

The expectation is specified as a Boolean expression in Python syntax. The special identifier “value” refers to the actual value of each curve element.

Returned by

Clone()

Call this method if you want to use API-objects in multiple contexts, e.g. if you want to insert a specific test step in multiple blocks.

Returns:

A copy of this object

Return type:

CurveAllExpectation

GetExpectation()

Returns the expectation object.

Returns:

The expectation object

Return type:

Expectation

GetExpectationExpression()

Returns the expectation expression.

Returns:

The expression

Return type:

str

SetExpectation(expectationObject)

Sets the expectation object.

Parameters:
expectationObject

The expectation object

SetExpectationExpression(expression)

Sets the expectation expression.

Parameters:
expression : str

The expression