|
Unity 8
|


Public Member Functions | |
| def | setUp |
| def | test_interactive |
| def | test_sd_incoming_call |
| def | test_sd_one_over_two_layout |
| def | test_modal_sd_without_greeter |
| def | test_modal_sd_with_greeter |
| 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 | wait_for_unity |
| 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 117 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 424 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 125 of file test_notifications.py.
| def unity8.shell.tests.test_notifications.InteractiveNotificationBase.test_modal_sd_with_greeter | ( | self | ) |
A snap-decision should not block input to the greeter beneath it.
Definition at line 297 of file test_notifications.py.
| def unity8.shell.tests.test_notifications.InteractiveNotificationBase.test_modal_sd_without_greeter | ( | self | ) |
Snap-decision should block input to shell without greeter.
Definition at line 250 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 160 of file test_notifications.py.
| def unity8.shell.tests.test_notifications.InteractiveNotificationBase.test_sd_one_over_two_layout | ( | self | ) |
Snap-decision with three actions should use one-over two button layout.
Definition at line 211 of file test_notifications.py.