summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/commandlinetests.txt22
1 files changed, 22 insertions, 0 deletions
diff --git a/test/commandlinetests.txt b/test/commandlinetests.txt
new file mode 100644
index 0000000..bf0f136
--- /dev/null
+++ b/test/commandlinetests.txt
@@ -0,0 +1,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
+
+