Remove deprecated test script for connection interface
authorMarcel Holtmann <marcel@holtmann.org>
Sun, 20 Dec 2009 02:50:18 +0000 (18:50 -0800)
committerMarcel Holtmann <marcel@holtmann.org>
Sun, 20 Dec 2009 02:50:18 +0000 (18:50 -0800)
Makefile.am
test/monitor-services
test/select-connection [deleted file]

index 661fe1e..aced7f1 100644 (file)
@@ -123,7 +123,7 @@ endif
 
 test_scripts = test/get-state test/list-profiles test/list-services \
                test/connect-service test/monitor-services \
-               test/select-connection test/list-devices test/enable-device \
+               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 \
index a334d99..c435a34 100755 (executable)
@@ -11,7 +11,7 @@ def property_changed(name, value, path, interface):
        if iface not in ["Service"]:
                return
        if name in ["Profiles", "Services", "Providers",
-                               "Devices", "Networks", "Connections"]:
+                                               "Devices", "Networks"]:
                val = "["
                for i in value:
                        val = val + " " + i[i.rfind("/") + 1:]
diff --git a/test/select-connection b/test/select-connection
deleted file mode 100755 (executable)
index 34d1f93..0000000
+++ /dev/null
@@ -1,23 +0,0 @@
-#!/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()
-
-       if (properties["Default"] == dbus.Boolean(1)):
-               continue
-
-       print "[ %s ]" % (path)
-
-       connection.SetProperty("Default", dbus.Boolean(1))