blob: 31363577e40b69425fb98f058a49b80cf377ccef (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
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<AppInfo>"/>
</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"
|