endif
test_scripts = test/get-state test/list-profiles test/list-services \
- test/connect-service test/list-connections \
+ test/connect-service test/monitor-services \
test/select-connection test/list-devices test/enable-device \
test/disable-device test/start-scanning test/list-networks \
test/set-passphrase test/set-address test/test-profile \
test/simple-agent test/show-introspection test/test-compat \
test/test-manager test/test-connman test/monitor-connman \
- test/monitor-services test/debug-connman
+ test/debug-connman
if TEST
testdir = $(pkglibdir)/test
+++ /dev/null
-#!/usr/bin/python
-
-import dbus
-
-bus = dbus.SystemBus()
-
-manager = dbus.Interface(bus.get_object("org.moblin.connman", "/"),
- "org.moblin.connman.Manager")
-
-properties = manager.GetProperties()
-
-for path in properties["Connections"]:
- connection = dbus.Interface(bus.get_object("org.moblin.connman", path),
- "org.moblin.connman.Connection")
-
- properties = connection.GetProperties()
-
- print "[ %s ]" % (path)
-
- for key in properties.keys():
- if key in ["Strength", "Priority"]:
- val = int(properties[key])
- else:
- val = str(properties[key])
- print " %s = %s" % (key, val)
-
- print
interface = "org.moblin.connman.Profile"
elif key == "Devices":
interface = "org.moblin.connman.Device"
- elif key == "Connections":
- interface = "org.moblin.connman.Connection"
elif key == "Services":
interface = "org.moblin.connman.Service"
else:
print " Services = [ %s]" % (list)
for key in properties.keys():
- if key in ["Profiles", "Devices", "Connections", "Services"]:
+ if key in ["Profiles", "Devices", "Services"]:
print_properties(key, properties[key])
elif key in ["AvailableTechnologies", "EnabledTechnologies",
"ConnectedTechnologies",