Unity 8
|
Public Member Functions | |
def | setUp (self) |
def | test_interactive (self) |
def | test_sd_one_over_two_layout (self) |
def | test_modal_sd_without_greeter (self) |
def | test_modal_sd_with_greeter (self) |
def | assert_notification_action_id_was_called |
![]() | |
def | setUpClass (cls) |
def | setUp (self) |
def | launch_unity (self, mode="full-greeter", args) |
def | patch_lightdm_mock (self) |
def | wait_for_unity (self) |
def | get_dash (self) |
def | main_window (self) |
Additional Inherited Members | |
![]() | |
unity_geometry_args | |
grid_size | |
![]() | |
tuple | scenarios |
Collection of test for Interactive tests including snap decisions.
Definition at line 112 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 377 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 120 of file test_notifications.py.
def unity8.shell.tests.test_notifications.InteractiveNotificationBase.test_modal_sd_with_greeter | ( | self | ) |
A snap-decision should block input to the greeter/lockscreen beneath it.
Definition at line 245 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/lockscreen.
Definition at line 196 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 155 of file test_notifications.py.