StringExpressionExpectation¶
- class StringExpressionExpectation¶
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:
- GetCaseSensitive()¶
Returns whether the comparison should be case-sensitive.
- Returns:
True if case-sensitive, else False.
- Return type:
boolean
- GetExpression()¶
Returns the expectations expression.
- Returns:
The expression
- Return type:
str
- SetCaseSensitive(caseSensitive)¶
Sets whether the comparison should be case-sensitive.
- Parameters:
- caseSensitive : boolean¶
True if case-sensitive, else False.
- SetExpression(expression)¶
Sets the expectations expression.
- Parameters:
- expression : str¶
The expression