diff options
author | Marcel Holtmann <marcel@holtmann.org> | 2008-06-28 10:27:13 +0200 |
---|---|---|
committer | Marcel Holtmann <marcel@holtmann.org> | 2008-06-28 10:27:13 +0200 |
commit | abd3d59620a11ba5c9aec630bf28cf04ea6c3cf6 (patch) | |
tree | 54dc819be095bb8a9cc878f8982f7dace3cf845b /test | |
parent | ddebf05b54091172088efbf57069f14163ea33c8 (diff) | |
download | connman-abd3d59620a11ba5c9aec630bf28cf04ea6c3cf6.tar.gz connman-abd3d59620a11ba5c9aec630bf28cf04ea6c3cf6.tar.bz2 connman-abd3d59620a11ba5c9aec630bf28cf04ea6c3cf6.zip |
Use org.moblin instead of org.freedesktop
Diffstat (limited to 'test')
-rwxr-xr-x | test/get-state | 4 | ||||
-rwxr-xr-x | test/list-interfaces | 12 | ||||
-rwxr-xr-x | test/select-network | 12 | ||||
-rwxr-xr-x | test/show-introspection | 8 | ||||
-rwxr-xr-x | test/simple-agent | 6 | ||||
-rwxr-xr-x | test/start-scanning | 8 |
6 files changed, 25 insertions, 25 deletions
diff --git a/test/get-state b/test/get-state index e5b130c8..f82b44c5 100755 --- a/test/get-state +++ b/test/get-state @@ -4,8 +4,8 @@ import dbus bus = dbus.SystemBus() -manager = dbus.Interface(bus.get_object('org.freedesktop.connman', "/"), - 'org.freedesktop.connman.Manager') +manager = dbus.Interface(bus.get_object('org.moblin.connman', "/"), + 'org.moblin.connman.Manager') state = manager.GetState() diff --git a/test/list-interfaces b/test/list-interfaces index 5a1d28fa..3a54a269 100755 --- a/test/list-interfaces +++ b/test/list-interfaces @@ -4,16 +4,16 @@ import dbus bus = dbus.SystemBus() -manager = dbus.Interface(bus.get_object('org.freedesktop.connman', "/"), - 'org.freedesktop.connman.Manager') +manager = dbus.Interface(bus.get_object('org.moblin.connman', "/"), + 'org.moblin.connman.Manager') interfaces = manager.ListInterfaces() for path in interfaces: print "[ %s ]" % (path) - interface = dbus.Interface(bus.get_object('org.freedesktop.connman', path), - 'org.freedesktop.connman.Interface') + interface = dbus.Interface(bus.get_object('org.moblin.connman', path), + 'org.moblin.connman.Interface') properties = interface.GetProperties() for key in properties.keys(): @@ -27,8 +27,8 @@ for path in interfaces: for i in networks: print " Network.Path = %s" % (i) - network = dbus.Interface(bus.get_object('org.freedesktop.connman', i), - 'org.freedesktop.connman.Network') + network = dbus.Interface(bus.get_object('org.moblin.connman', i), + 'org.moblin.connman.Network') print " Network.Identifier = %s" % (network.GetIdentifier()) print " Network.Passphrase = %s" % (network.GetPassphrase()) diff --git a/test/select-network b/test/select-network index e009d75b..7de8d65c 100755 --- a/test/select-network +++ b/test/select-network @@ -4,24 +4,24 @@ import dbus bus = dbus.SystemBus() -manager = dbus.Interface(bus.get_object('org.freedesktop.connman', "/"), - 'org.freedesktop.connman.Manager') +manager = dbus.Interface(bus.get_object('org.moblin.connman', "/"), + 'org.moblin.connman.Manager') interfaces = manager.ListInterfaces() for path in interfaces: print "[ %s ]" % (path) - interface = dbus.Interface(bus.get_object('org.freedesktop.connman', path), - 'org.freedesktop.connman.Interface') + interface = dbus.Interface(bus.get_object('org.moblin.connman', path), + 'org.moblin.connman.Interface') properties = interface.GetProperties() if (properties["Type"] == "80211"): networks = interface.ListNetworks() for i in networks: - network = dbus.Interface(bus.get_object('org.freedesktop.connman', i), - 'org.freedesktop.connman.Network') + network = dbus.Interface(bus.get_object('org.moblin.connman', i), + 'org.moblin.connman.Network') if (network.GetIdentifier() == "ConnMan Testing"): print " Selecting network %s" % (i) diff --git a/test/show-introspection b/test/show-introspection index 9acdd112..c1cb0ef9 100755 --- a/test/show-introspection +++ b/test/show-introspection @@ -4,18 +4,18 @@ import dbus bus = dbus.SystemBus() -object = dbus.Interface(bus.get_object('org.freedesktop.connman', '/'), +object = dbus.Interface(bus.get_object('org.moblin.connman', '/'), 'org.freedesktop.DBus.Introspectable') print object.Introspect() -manager = dbus.Interface(bus.get_object('org.freedesktop.connman', "/"), - 'org.freedesktop.connman.Manager') +manager = dbus.Interface(bus.get_object('org.moblin.connman', "/"), + 'org.moblin.connman.Manager') interfaces = manager.ListInterfaces() for path in interfaces: - object = dbus.Interface(bus.get_object('org.freedesktop.connman', path), + object = dbus.Interface(bus.get_object('org.moblin.connman', path), 'org.freedesktop.DBus.Introspectable') print object.Introspect() diff --git a/test/simple-agent b/test/simple-agent index 47a61f62..cb3a6751 100755 --- a/test/simple-agent +++ b/test/simple-agent @@ -7,7 +7,7 @@ import dbus.service import dbus.mainloop.glib class Agent(dbus.service.Object): - @dbus.service.method("org.freedesktop.connman.Agent", + @dbus.service.method("org.moblin.connman.Agent", in_signature='', out_signature='') def Release(self): print("Release") @@ -17,8 +17,8 @@ if __name__ == '__main__': dbus.mainloop.glib.DBusGMainLoop(set_as_default=True) bus = dbus.SystemBus() - manager = dbus.Interface(bus.get_object('org.freedesktop.connman', "/"), - 'org.freedesktop.connman.Manager') + manager = dbus.Interface(bus.get_object('org.moblin.connman', "/"), + 'org.moblin.connman.Manager') path = "/test/agent" object = Agent(bus, path) diff --git a/test/start-scanning b/test/start-scanning index 712b3e93..b5933231 100755 --- a/test/start-scanning +++ b/test/start-scanning @@ -4,16 +4,16 @@ import dbus bus = dbus.SystemBus() -manager = dbus.Interface(bus.get_object('org.freedesktop.connman', "/"), - 'org.freedesktop.connman.Manager') +manager = dbus.Interface(bus.get_object('org.moblin.connman', "/"), + 'org.moblin.connman.Manager') interfaces = manager.ListInterfaces() for path in interfaces: print "[ %s ]" % (path) - interface = dbus.Interface(bus.get_object('org.freedesktop.connman', path), - 'org.freedesktop.connman.Interface') + interface = dbus.Interface(bus.get_object('org.moblin.connman', path), + 'org.moblin.connman.Interface') properties = interface.GetProperties() |