OSDN Git Service

Network: Removed old test script
authorClaudio Takahasi <claudio.takahasi@openbossa.org>
Mon, 1 Sep 2008 21:41:26 +0000 (18:41 -0300)
committerClaudio Takahasi <claudio.takahasi@openbossa.org>
Mon, 1 Sep 2008 21:41:26 +0000 (18:41 -0300)
network/Makefile.am
network/test-network [deleted file]

index 71291d9..5966a61 100644 (file)
@@ -19,6 +19,6 @@ AM_CFLAGS = @BLUEZ_CFLAGS@ @DBUS_CFLAGS@ @GLIB_CFLAGS@ @GDBUS_CFLAGS@
 
 INCLUDES = -I$(top_srcdir)/common -I$(top_srcdir)/src
 
-EXTRA_DIST = network.conf network-api.txt test-network
+EXTRA_DIST = network.conf
 
 MAINTAINERCLEANFILES = Makefile.in
diff --git a/network/test-network b/network/test-network
deleted file mode 100755 (executable)
index f428c25..0000000
+++ /dev/null
@@ -1,37 +0,0 @@
-#!/usr/bin/python
-
-import dbus
-
-bus = dbus.SystemBus()
-
-manager = dbus.Interface(bus.get_object('org.bluez', '/org/bluez'),
-                                                       'org.bluez.Manager')
-
-conn = manager.ActivateService('network')
-
-network = dbus.Interface(bus.get_object(conn, '/org/bluez/network'),
-                                               'org.bluez.network.Manager')
-
-try:
-       nap = dbus.Interface(bus.get_object(conn, network.FindServer('nap')),
-                                               'org.bluez.network.Server')
-except:
-       pass
-
-try:
-       gn = dbus.Interface(bus.get_object(conn, network.FindServer('gn')),
-                                               'org.bluez.network.Server')
-except:
-       pass
-
-try:
-       panu = dbus.Interface(bus.get_object(conn, network.FindServer('panu')),
-                                               'org.bluez.network.Server')
-except:
-       pass
-
-try:
-       client = dbus.Interface(bus.get_object(conn, network.LastConnection()),
-                                               'org.bluez.network.Connection')
-except:
-       pass