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) | |
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.