Test-case upstart-app-launch/click-app
<dl>
    <dt>Ensure the clock is installed via click by running: <tt>click list</tt></dt>
        <dd><tt>com.ubuntu.clock</tt> should be listed. <i>Note the version for later</i></dd>
    <dt>Ensure the clock app is not currently running: <tt>upstart-app-list</tt></dt>
        <dd>Clock application shouldn't be listed</dd>
    <dt>Launch the clock application: <tt>upstart-app-launch com.ubuntu.clock_clock_$(version from click list)</tt></dt>
        <dd>The clock application should be brought to focus and shown to the user</dd>
</dl>

Test-case upstart-app-launch/legacy-app
<dl>
    <dt>Ensure that the system-settings is installed: <tt>apt-cache policy ubuntu-system-settings</tt></dt>
        <dd>One of the versions in the version table should a <tt>***</tt> next to it</dd>
    <dt>Ensure the settings app is not currently running: <tt>upstart-app-list</tt></dt>
        <dd>Settings shouldn't be listed</dd>
    <dt>Launch the settings application: <tt>upstart-app-launch ubuntu-system-settings</tt></dt>
        <dd>The settings application should be brought to focus and shown to the user</dd>
</dl>

Test-case upstart-app-launch/secondary-activation
<dl>
    <dt>Run test case: upstart-app-launch/legacy-app</dt>
        <dd>Everything behaves as expected</dd>
    <dt>Use the launcher to return to the home screen</dt>
        <dd>The settings app is no longer shown</dd>
    <dt>Send a URL to the service: <tt>upstart-app-launch ubuntu-system-settings settings:///system/battery</tt></dt>
        <dd>The settings application should come back into focus and be on the power settings pane</dd>
</dl>

Test-case upstart-app-launch/helper-run
<dl>
    <dt>NOTE: Test is theoretical today, needs other components to be written</dt>
    <dt>Get a device that supports sending SMS</dt>
        <dd>Typically this is a phone</dd>
    <dt>Note the SMS sent count visible on the lock screen infographic for this user</dt>
    <dt>Start the messaging app</dt>
    <dt>Send an SMS</dt>
        <dd>SMS should report as being sent successfully</dd>
    <dt>Wait approximately 1 minute</dt>
        <dd>Screen should lock</dd>
    <dt>Look at the lock screen infographic for the SMS sent count</dt>
        <dd>Count should have incremented by 1</dd>
</dl>

Test-case upstart-app-launch/security-app-launch
<dl>
    <dt>Setup the security tests: https://wiki.ubuntu.com/Touch/Testing#Running_Security_tests</dt>
    <dt>Execute the <tt>click-apparmor</tt> test to start and stop several confined applications</dt>
        <dd>Ensure that all applications start and stop correctly</dd>
</dl>
