| 1 |
Test-case lomiri-app-launch/legacy-app |
| 2 |
<dl> |
| 3 |
<dt>Ensure that the system-settings is installed: <tt>apt-cache policy lomiri-system-settings</tt></dt> |
| 4 |
<dd>One of the versions in the version table should a <tt>***</tt> next to it</dd> |
| 5 |
<dt>Ensure the settings app is not currently running: <tt>lomiri-app-list</tt></dt> |
| 6 |
<dd>Settings shouldn't be listed</dd> |
| 7 |
<dt>Launch the settings application: <tt>lomiri-app-launch lomiri-system-settings</tt></dt> |
| 8 |
<dd>The settings application should be brought to focus and shown to the user</dd> |
| 9 |
</dl> |
| 10 |
|
| 11 |
Test-case lomiri-app-launch/secondary-activation |
| 12 |
<dl> |
| 13 |
<dt>Run test case: lomiri-app-launch/legacy-app</dt> |
| 14 |
<dd>Everything behaves as expected</dd> |
| 15 |
<dt>Use the launcher to return to the home screen</dt> |
| 16 |
<dd>The settings app is no longer shown</dd> |
| 17 |
<dt>Send a URL to the service: <tt>lomiri-app-launch lomiri-system-settings settings:///system/battery</tt></dt> |
| 18 |
<dd>The settings application should come back into focus and be on the power settings pane</dd> |
| 19 |
</dl> |
| 20 |
|
| 21 |
Test-case lomiri-app-launch/helper-run |
| 22 |
<dl> |
| 23 |
<dt>NOTE: Test is theoretical today, needs other components to be written</dt> |
| 24 |
<dt>Get a device that supports sending SMS</dt> |
| 25 |
<dd>Typically this is a phone</dd> |
| 26 |
<dt>Note the SMS sent count visible on the lock screen infographic for this user</dt> |
| 27 |
<dt>Start the messaging app</dt> |
| 28 |
<dt>Send an SMS</dt> |
| 29 |
<dd>SMS should report as being sent successfully</dd> |
| 30 |
<dt>Wait approximately 1 minute</dt> |
| 31 |
<dd>Screen should lock</dd> |
| 32 |
<dt>Look at the lock screen infographic for the SMS sent count</dt> |
| 33 |
<dd>Count should have incremented by 1</dd> |
| 34 |
</dl> |
| 35 |
|
| 36 |
Test-case lomiri-app-launch/cgroup-containment |
| 37 |
<dl> |
| 38 |
<dt>Install the Terminal app if not already installed</dt> |
| 39 |
<dd>It can be found in the Application Store if not currently installed</dd> |
| 40 |
<dt>Launch the Terminal app</dt> |
| 41 |
<dd>A new application should open with a terminal prompt where you can type commands</dd> |
| 42 |
<dt>Ensure the Terminal is in a terminal specific cgroup</dt> |
| 43 |
<dd>Type the command <tt>cat /proc/self/cgroup</tt> on the Terminal app.</dd> |
| 44 |
<dd>Under the "freeze" cgroup the end of the path should include the AppID of the terminal. An example would be (the version many change): <tt>4:freezer:/user.slice/user-32011.slice/session-c2.scope/upstart/application-click-com.lomiri.terminal_terminal_0.5.106</tt></dd> |
| 45 |
</dl> |