Command line tests
Precondition for all test is, that the D-Bus session is launched:
$export `dbus-launch`
---------------------------------------------------------------------------------------------------------------------
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