summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorBocklage, Jens <Jens_Bocklage@mentor.com>2017-01-18 15:28:22 +0100
committerBocklage, Jens <Jens_Bocklage@mentor.com>2017-01-18 15:28:22 +0100
commit4b9e093c2b20cae1d3ea3c7ff462a48781ba9a30 (patch)
treee22f2f5c157eda97732ac95fda94f646ea4eec21 /test
parente77744c9465c927d526fbbf9adca9f6e2b221b1b (diff)
Initial source commit
Taken from https://gerrit.automotivelinux.org/gerrit/p/staging/HomeScreen.git Signed-off-by: Bocklage, Jens <Jens_Bocklage@mentor.com>
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
+
+