|
Unity 8
|


Public Member Functions | |
| def | setUp |
| def | test_interactive |
| def | test_sd_incoming_call |
| def | assert_notification_action_id_was_called |
Public Member Functions inherited from unity8.shell.tests.UnityTestCase | |
| def | setUpClass |
| def | setUp |
| def | launch_unity |
| def | patch_lightdm_mock |
| def | assertUnityReady |
| def | get_dash |
| def | main_window |
Additional Inherited Members | |
Public Attributes inherited from unity8.shell.tests.UnityTestCase | |
| touch | |
| unity_geometry_args | |
| grid_size | |
Static Public Attributes inherited from unity8.shell.tests.test_notifications.NotificationsBase | |
| tuple | scenarios = _get_device_emulation_scenarios('Nexus4') |
Collection of test for Interactive tests including snap decisions.
Definition at line 115 of file test_notifications.py.
| def unity8.shell.tests.test_notifications.InteractiveNotificationBase.assert_notification_action_id_was_called | ( | self, | |
| action_id, | |||
timeout = 10 |
|||
| ) |
Assert that the interactive notification callback of id *action_id*
was called.
:raises AssertionError: If no interactive notification has actually
been created.
:raises AssertionError: When *action_id* does not match the actual
returned.
:raises AssertionError: If no callback was called at all.
Definition at line 294 of file test_notifications.py.
| def unity8.shell.tests.test_notifications.InteractiveNotificationBase.test_interactive | ( | self | ) |
Interactive notification must react upon click on itself.
Definition at line 123 of file test_notifications.py.
| def unity8.shell.tests.test_notifications.InteractiveNotificationBase.test_sd_incoming_call | ( | self | ) |
Rejecting a call should make notification expand and
offer more options.
Definition at line 161 of file test_notifications.py.