test: Add support for DisplayActionInformation
authorJeevaka Badrappan <jeevaka.badrappan@elektrobit.com>
Wed, 26 Jan 2011 12:38:08 +0000 (14:38 +0200)
committerMarcel Holtmann <marcel@holtmann.org>
Wed, 26 Jan 2011 14:24:01 +0000 (15:24 +0100)
test/test-stk-menu

index 85b98ca..639fe77 100755 (executable)
@@ -192,6 +192,12 @@ class StkAgent(dbus.service.Object):
                if key == 't':
                        raise EndSession("User wishes to terminate session");
 
+       @dbus.service.method("org.ofono.SimToolkitAgent",
+                                       in_signature="sy", out_signature="")
+       def DisplayActionInformation(self, text, icon):
+               print "Text: %s" % (text)
+               print "Icon: %d" % (icon)
+
 def property_changed(name, value):
        print "SimToolKit property: %s changed to '%s'" % (name, value)