Lomiri
|
Public Member Functions | |
setUp (self) | |
test_icon_summary_body (self) | |
test_icon_summary (self) | |
test_urgency_order (self) | |
test_summary_and_body (self) | |
test_summary_only (self) | |
test_update_notification_same_layout (self) | |
test_update_notification_layout_change (self) | |
test_notification_helper (self) | |
![]() | |
setUpClass (cls) | |
launch_lomiri (self, mode="full-greeter", *args) | |
patch_lightdm_mock (self) | |
wait_for_lomiri (self) | |
get_dash (self) | |
main_window (self) | |
Additional Inherited Members | |
![]() | |
list | lomiri_geometry_args = [] |
int | grid_size = 8 |
tuple | _qml_mock_enabled |
list | _data_dirs_mock_enabled = ["--mode={}".format(mode)] |
![]() | |
scenarios | |
![]() | |
_get_icon_path (self, icon_name) | |
_get_notifications_list (self) | |
_assert_notification (self, notification, summary=None, body=None, icon=True, secondary_icon=False, opacity=None) | |
![]() | |
_setup_display_details (self) | |
_determine_geometry (self) | |
_setup_grid_size (self, scale_divisor) | |
_geo_larger_than_display (self, width, height) | |
_get_scaled_down_geo (self, width, height) | |
_launch_lomiri_with_upstart (self, binary_path, args) | |
_patch_data_dirs (self) | |
_get_lightdm_mock_path (self) | |
_set_proxy (self, proxy) | |
_clear_proxy (self) | |
![]() | |
_proxy = None | |
bool | _qml_mock_enabled = True |
bool | _data_dirs_mock_enabled = True |
dict | _environment = {} |
_clear_proxy = proxy | |
Collection of tests for Emphemeral notifications (non-interactive.)
Definition at line 412 of file test_notifications.py.
lomiri.shell.tests.test_notifications.EphemeralNotificationsTests.setUp | ( | self | ) |
Reimplemented from lomiri.shell.tests.LomiriTestCase.
Definition at line 415 of file test_notifications.py.
lomiri.shell.tests.test_notifications.EphemeralNotificationsTests.test_icon_summary | ( | self | ) |
Notification must display the expected summary and secondary icon.
Definition at line 458 of file test_notifications.py.
lomiri.shell.tests.test_notifications.EphemeralNotificationsTests.test_icon_summary_body | ( | self | ) |
Notification must display the expected summary and body text.
Definition at line 422 of file test_notifications.py.
lomiri.shell.tests.test_notifications.EphemeralNotificationsTests.test_notification_helper | ( | self | ) |
use the create notification script to get a notification dialog. Check that the arguments passed to the script match the fields.
Definition at line 708 of file test_notifications.py.
lomiri.shell.tests.test_notifications.EphemeralNotificationsTests.test_summary_and_body | ( | self | ) |
Notification must display the expected summary- and body-text.
Definition at line 579 of file test_notifications.py.
lomiri.shell.tests.test_notifications.EphemeralNotificationsTests.test_summary_only | ( | self | ) |
Notification must display only the expected summary-text.
Definition at line 604 of file test_notifications.py.
lomiri.shell.tests.test_notifications.EphemeralNotificationsTests.test_update_notification_layout_change | ( | self | ) |
Notification must allow updating its contents and layout while being displayed.
Definition at line 660 of file test_notifications.py.
lomiri.shell.tests.test_notifications.EphemeralNotificationsTests.test_update_notification_same_layout | ( | self | ) |
Notification must allow updating its contents while being displayed.
Definition at line 621 of file test_notifications.py.
lomiri.shell.tests.test_notifications.EphemeralNotificationsTests.test_urgency_order | ( | self | ) |
Notifications must be displayed in order according to their urgency.
Definition at line 491 of file test_notifications.py.