summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2009-12-07 22:44:24 +0100
committerMarcel Holtmann <marcel@holtmann.org>2009-12-07 22:44:24 +0100
commit424c620a3248b8850d839997d08336a7cf15818d (patch)
tree21909d41d1a3a5d49f4769dda0ba6ee4d1930f7d
parent2bacfdc955cfd085cee49c4f588d94f2330831ba (diff)
downloadconnman-424c620a3248b8850d839997d08336a7cf15818d.tar.gz
connman-424c620a3248b8850d839997d08336a7cf15818d.tar.bz2
connman-424c620a3248b8850d839997d08336a7cf15818d.zip
Remove now deprecated test scripts
-rw-r--r--Makefile.am4
-rwxr-xr-xtest/list-connections27
-rwxr-xr-xtest/test-manager4
3 files changed, 3 insertions, 32 deletions
diff --git a/Makefile.am b/Makefile.am
index c5e804b2..59de0021 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -122,13 +122,13 @@ tools_polkit_test_LDADD = @DBUS_LIBS@
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
diff --git a/test/list-connections b/test/list-connections
deleted file mode 100755
index 655e50a5..00000000
--- a/test/list-connections
+++ /dev/null
@@ -1,27 +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()
-
- 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
diff --git a/test/test-manager b/test/test-manager
index 07e3d853..38df8da6 100755
--- a/test/test-manager
+++ b/test/test-manager
@@ -14,8 +14,6 @@ def print_properties(key, value):
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:
@@ -60,7 +58,7 @@ def print_properties(key, value):
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",