From 381755e4686a08e766316aaf40e8fdfa202d48d4 Mon Sep 17 00:00:00 2001 From: zheng_wenlong Date: Fri, 29 Sep 2017 21:00:25 +0900 Subject: Add homescreen-2017 Add new homescreen-2017 with agl-service-windowmanaeger-2017 and agl-service-homescreen-2017. About this information see JIRA SPEC-871. [PatchSet2] Use aglwgt make package. Delete homescreensimulator and sampleapptimedate beacuse not use them. Change-Id: I402134d0386e76b2127ca95b9b0b48c1721b4086 Signed-off-by: zheng_wenlong --- test/commandlinetests.txt | 150 ++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 150 insertions(+) create mode 100644 test/commandlinetests.txt (limited to 'test') diff --git a/test/commandlinetests.txt b/test/commandlinetests.txt new file mode 100644 index 0000000..428b1ca --- /dev/null +++ b/test/commandlinetests.txt @@ -0,0 +1,150 @@ +Command line tests + +Precondition for all test is, that the D-Bus session is launched: +$export `dbus-launch` + +--------------------------------------------------------------------------------------------------------------------- +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.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:"" + + -- cgit 1.2.3-korg