aboutsummaryrefslogtreecommitdiffstats
path: root/test/commandlinetests.txt
diff options
context:
space:
mode:
Diffstat (limited to 'test/commandlinetests.txt')
-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"
+
+
+