summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorBocklage, Jens <Jens_Bocklage@mentor.com>2017-01-18 15:27:02 +0100
committerBocklage, Jens <Jens_Bocklage@mentor.com>2017-01-18 15:27:02 +0100
commitff4d716fb8034cf7ab89a2bd6b28647a788b9068 (patch)
treec107bb0bb1e377007b4e320d35e2a6b621a986b3 /test
parent1e4ff9ad72e7b8f4f3d46d62b833627d04840a1d (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.txt35
1 files changed, 35 insertions, 0 deletions
diff --git a/test/commandlinetests.txt b/test/commandlinetests.txt
new file mode 100644
index 0000000..3136357
--- /dev/null
+++ b/test/commandlinetests.txt
@@ -0,0 +1,35 @@
+Command line tests
+
+Precondition for all test is, that the D-Bus session is launched:
+$export `dbus-launch`
+
+---------------------------------------------------------------------------------------------------------------------
+Interface:
+org.agl.appframework
+
+Method:
+ <method name="getAvailableApps">
+ <arg name="apps" type="{ssiisssss}" direction="out"/>
+ <annotation name="org.qtproject.QtDBus.QtTypeName.Out0" value="QList&lt;AppInfo&gt;"/>
+ </method>
+
+Preconditions:
+- HomeScreenAppFrameworkBinderAGL app is running
+
+Test:
+$dbus-send --session --type=method_call --print-reply --dest=org.agl.homescreenappframeworkbinder /AppFramework org.agl.appframework.getAvailableApps
+
+Method:
+ <method name="launchApp">
+ <arg name="name" type="s" direction="in"/>
+ <arg name="pid" type="i" direction="out"/>
+ </method>
+
+Preconditions:
+- HomeScreenAppFrameworkBinderAGL app is running
+
+Test:
+$dbus-send --session --type=method_call --print-reply --dest=org.agl.homescreenappframeworkbinder /AppFramework org.agl.appframework.launchApp string:"hvac@0.1"
+
+
+