Command line tests
Precondition for all test is, that the D-Bus session is launched:
$export `dbus-launch`
---------------------------------------------------------------------------------------------------------------------
Interface:
org.agl.appframework
Method:
Preconditions:
- HomeScreenAppFrameworkBinderTizen app is running
Test:
$dbus-send --session --type=method_call --print-reply --dest=org.agl.homescreenappframeworkbindertizen /AppFramework org.agl.appframework.getAvailableAppNames
Method:
Preconditions:
- HomeScreenAppFrameworkBinderTizen app is running
Test:
$dbus-send --session --type=method_call --print-reply --dest=org.agl.homescreenappframeworkbindertizen /AppFramework org.agl.appframework.launchApp string:"org.tizen.amhelloworld"
---------------------------------------------------------------------------------------------------------------------
Interface:
org.agl.daynightmode
Signal:
Preconditions:
- HomeScreen app is running
Test:
no command line test available right now
---------------------------------------------------------------------------------------------------------------------
Interface:
org.agl.homescreen
Method:
Preconditions:
- HomeScreen app is running
Test:
$dbus-send --session --type=method_call --print-reply --dest=org.agl.homescreen /HomeScreen org.agl.homescreen.hardKeyPressed int32:0
Method:
$dbus-send --session --type=method_call --print-reply --dest=org.agl.homescreen /HomeScreen org.agl.homescreen.setToFullscreen int32:0
---------------------------------------------------------------------------------------------------------------------
Interface:
org.agl.inputevent
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
---------------------------------------------------------------------------------------------------------------------
Interface:
org.agl.popup
Method:
Preconditions:
- HomeScreen app is running
Test:
$dbus-send --session --type=method_call --dest=org.agl.homescreen /Popup org.agl.popup.showPopup int32:1 string:"TEST"
Method:
Preconditions:
- HomeScreen app is running
Test:
$dbus-send --session --type=method_call --dest=org.agl.homescreen /Popup org.agl.popup.showPopupComboBox string:"TEST" array:string:"test1","test2"
---------------------------------------------------------------------------------------------------------------------
Interface:
org.agl.proximity
Method:
Preconditions:
- HomeScreen app is running
Test:
$dbus-send --session --type=method_call --dest=org.agl.homescreen /Proximity org.agl.proximity.setObjectDetected boolean:true
---------------------------------------------------------------------------------------------------------------------
Interface:
org.agl.statusbar
Method:
Preconditions:
- HomeScreen app is running
Test:
$dbus-send --session --type=method_call --print-reply --dest=org.agl.homescreen /StatusBar org.agl.statusbar.getAvailablePlaceholders
Method:
Preconditions:
- HomeScreen app is running
Test:
$dbus-send --session --type=method_call --print-reply --dest=org.agl.homescreen /StatusBar org.agl.statusbar.getStatusText int32:1
Method:
Preconditions:
- HomeScreen app is running
Test:
$dbus-send --session --type=method_call --print-reply --dest=org.agl.homescreen /StatusBar org.agl.statusbar.getStatusIcon int32:1
Method:
Preconditions:
- HomeScreen app is running
Test:
$dbus-send --session --type=method_call --print-reply --dest=org.agl.homescreen /StatusBar org.agl.statusbar.setStatusText int32:1 string:"Test1"
Method:
Preconditions:
- HomeScreen app is running
Test:
$dbus-send --session --type=method_call --print-reply --dest=org.agl.homescreen /StatusBar org.agl.statusbar.setStatusIcon int32:1 string:""
---------------------------------------------------------------------------------------------------------------------
Interface:
org.agl.windowmanager
dbus-send --session --type=method_call --print-reply --dest=org.agl.windowmanager /windowmanager org.freedesktop.DBus.Properties.GetAll string:"org.agl.windowmanager"
dbus-send --session --type=method_call --print-reply --dest=org.agl.windowmanager /windowmanager org.freedesktop.DBus.Properties.Get string:"org.agl.windowmanager" string:"homeScreenPid"
dbus-send --session --type=method_call --print-reply --dest=org.agl.windowmanager /windowmanager org.freedesktop.DBus.Properties.Set string:"org.agl.windowmanager" string:"homeScreenPid" variant:int32:1
Method:
Preconditions:
- WindowManager app is running
Test:
it is not possible to send isa(iiii) via the dbus-send tool.
Method:
Preconditions:
- HomeScreen app is running
- WindowManager app is running
Test:
$dbus-send --session --type=method_call --print-reply --dest=org.agl.windowmanager /windowmanager org.agl.windowmanager.getAvailableLayouts int32:1
Method:
Preconditions:
- HomeScreen app is running
- WindowManager app is running
Test:
$dbus-send --session --type=method_call --print-reply --dest=org.agl.windowmanager /windowmanager org.agl.windowmanager.setLayoutById int32:1
Method:
Preconditions:
- HomeScreen app is running
- WindowManager app is running
Test:
$dbus-send --session --type=method_call --print-reply --dest=org.agl.windowmanager /windowmanager org.agl.windowmanager.setLayoutByName string:"name"
Method:
Preconditions:
- HomeScreen app is running
- WindowManager app is running
Test:
$dbus-send --session --type=method_call --print-reply --dest=org.agl.windowmanager /windowmanager org.agl.windowmanager.getLayout
Method:
Preconditions:
- HomeScreen app is running
- WindowManager app is running
Test:
$dbus-send --session --type=method_call --print-reply --dest=org.agl.windowmanager /windowmanager org.agl.windowmanager.setPidToLayoutArea int32:1123 int32:1
Method:
Preconditions:
- HomeScreen app is running
- WindowManager app is running
Test:
$dbus-send --session --type=method_call --print-reply --dest=org.agl.windowmanager /windowmanager org.agl.windowmanager.getAvailableSurfaces
Method:
Preconditions:
- HomeScreen app is running
- WindowManager app is running
Test:
$dbus-send --session --type=method_call --print-reply --dest=org.agl.windowmanager /windowmanager org.agl.windowmanager.getLayoutName int32:1