summaryrefslogtreecommitdiffstats
path: root/test/commandlinetests.txt
blob: bf0f1363e16811e3c71ac9d883b100d8e89514b0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
Command line tests

Precondition for all test is, that the D-Bus session is launched:
$export `dbus-launch`

---------------------------------------------------------------------------------------------------------------------
Interface:
org.agl.inputevent

Method:
    <method name="hardKeyPressed">
      <arg name="key" type="i" direction="in"/>
    </method>

Preconditions:
- HomeScreen app is running
- InputEventManager app is running

Test:
$dbus-send --session --type=method_call --print-reply --dest=org.agl.inputeventmanager /InputEvent org.agl.inputevent.hardKeyPressed int32:0