Lomiri
|
Public Member Functions | |
setUpClass (cls) | |
setUp (self) | |
launch_lomiri (self, mode="full-greeter", *args) | |
patch_lightdm_mock (self) | |
wait_for_lomiri (self) | |
get_dash (self) | |
main_window (self) | |
Public Attributes | |
list | lomiri_geometry_args = [] |
int | grid_size = 8 |
tuple | _qml_mock_enabled |
list | _data_dirs_mock_enabled = ["--mode={}".format(mode)] |
Protected Member Functions | |
_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) | |
Protected Attributes | |
_proxy = None | |
bool | _qml_mock_enabled = True |
bool | _data_dirs_mock_enabled = True |
dict | _environment = {} |
_clear_proxy = proxy | |
A test case base class for the Lomiri shell tests.
Definition at line 88 of file __init__.py.
|
protected |
Definition at line 285 of file __init__.py.
|
protected |
Use the geometry that may be supplied or use the default.
Definition at line 131 of file __init__.py.
|
protected |
Definition at line 167 of file __init__.py.
|
protected |
Definition at line 264 of file __init__.py.
|
protected |
Definition at line 177 of file __init__.py.
|
protected |
Definition at line 233 of file __init__.py.
|
protected |
Definition at line 245 of file __init__.py.
|
protected |
Keep a copy of the proxy object, so we can use it to get common parts of the shell later on.
Definition at line 277 of file __init__.py.
|
protected |
Definition at line 127 of file __init__.py.
|
protected |
Use the grid size that may be supplied or use the default.
Definition at line 156 of file __init__.py.
lomiri.shell.tests.LomiriTestCase.get_dash | ( | self | ) |
Definition at line 292 of file __init__.py.
lomiri.shell.tests.LomiriTestCase.launch_lomiri | ( | self, | |
mode = "full-greeter", | |||
* | args ) |
Launch the lomiri shell, return a proxy object for it. :param str mode: The type of greeter/shell mode to use :param args: A list of aguments to pass to lomiri
Definition at line 183 of file __init__.py.
lomiri.shell.tests.LomiriTestCase.main_window | ( | self | ) |
Definition at line 302 of file __init__.py.
lomiri.shell.tests.LomiriTestCase.patch_lightdm_mock | ( | self | ) |
Definition at line 250 of file __init__.py.
lomiri.shell.tests.LomiriTestCase.setUp | ( | self | ) |
Definition at line 115 of file __init__.py.
lomiri.shell.tests.LomiriTestCase.setUpClass | ( | cls | ) |
Definition at line 93 of file __init__.py.
lomiri.shell.tests.LomiriTestCase.wait_for_lomiri | ( | self | ) |
Definition at line 288 of file __init__.py.
|
protected |
Definition at line 283 of file __init__.py.
|
protected |
Definition at line 122 of file __init__.py.
list lomiri.shell.tests.LomiriTestCase._data_dirs_mock_enabled = ["--mode={}".format(mode)] |
Definition at line 207 of file __init__.py.
|
protected |
Definition at line 123 of file __init__.py.
|
protected |
Definition at line 120 of file __init__.py.
|
protected |
Definition at line 121 of file __init__.py.
tuple lomiri.shell.tests.LomiriTestCase._qml_mock_enabled |
Definition at line 202 of file __init__.py.
lomiri.shell.tests.LomiriTestCase.grid_size = 8 |
Definition at line 160 of file __init__.py.
list lomiri.shell.tests.LomiriTestCase.lomiri_geometry_args = [] |
Definition at line 136 of file __init__.py.