Carla Test Helper v0.1.6 CarlaTestHelper.Assertions View Source
Assertions used by CarlaTestHelper
Link to this section Summary
Functions
Helpers function for asserting a resulting response action with an expected action
Helper function for asserting that the first button in response
that has
the label label
Helper function for asserting that the first button in response
that has
the label label
contains the given value
Helper function for asserting that the first button in response
that has
the label label
contains the given uri
Helper function for asserting that the first button in response
that has
the label label
contains the given uri
and params
Helper function for asserting a gallery card at index
is not null
Helper function for asserting the gallery card at index
contains
a button with the label label
Helper function for asserting the gallery card at index
contains
a button with the label label
and contains the given uri
Helper function for asserting the gallery card at index
contains
a button with the label label
and contains the given uri
and params
Helper function for asserting a response uri contains a uri
Helper function for asserting a response uri contains a uri and parameters
Link to this section Functions
Helpers function for asserting a resulting response action with an expected action.
Parameters:
- expected_action - Action expected from the response
- actual_action - Resulting action from the response
Helper function for asserting that the first button in response
that has
the label label
.
Parameters:
- response - The response to search through
- label - The label of the button to find
Helper function for asserting that the first button in response
that has
the label label
contains the given value
Parameters:
- response - The response to search through
- label - The label of the button to find
- value - Expected value of that button
Helper function for asserting that the first button in response
that has
the label label
contains the given uri
Parameters:
- response - The response to search through
- label - The label of the button to find
- uri - Expected value of the button
Helper function for asserting that the first button in response
that has
the label label
contains the given uri
and params
Parameters:
- response - The response to search through
- label - The label of the button to find
- uri - Expected value of the button
- params - Expected parameter values of the uri
Helper function for asserting a gallery card at index
is not null
Parameters:
- response - The response to search through
- index - The index of the gallery card
Helper function for asserting the gallery card at index
contains
a button with the label label
Parameters:
- response - The response to search through
- index - The index of the gallery card
- label - The label of the button to find
Helper function for asserting the gallery card at index
contains
a button with the label label
and contains the given uri
Parameters:
- response - The response to search through
- index - The index of the gallery card
- label - The label of the button to find
- uri - Expected value of the button
Helper function for asserting the gallery card at index
contains
a button with the label label
and contains the given uri
and params
Parameters:
- response - The response to search through
- index - The index of the gallery card
- label - The label of the button to find
- uri - Expected value of the button
- params - Expected parameter values of the uri
Helper function for asserting a response uri contains a uri.
Parameters:
- uri - The resulting uri
- expected_uri - The expected uri to be contained in the resulting uri
Helper function for asserting a response uri contains a uri and parameters.
Parameters:
- uri - The resulting uri
- expected_uri - The expected uri to be contained in the resulting uri
- expected_params - The expected paramms to be contained in the resulting uri