VectorAllExpectation¶
- class VectorAllExpectation¶
Represents an expectation on all elements of a vector. All elements of the vector must fulfill the expectation for this vector 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 vector 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:
- GetExpectation()¶
Returns the expectation object.
- Returns:
The expectation object
- Return type:
- 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