More complete NetworkManager, and ConnectionManager interface for Ofono #1

Closed
wants to merge 50 commits into
from
Commits
Jump to file or symbol
Failed to load files and symbols.
+600 −82
Split
View
7 NEWS
@@ -1,3 +1,10 @@
+0.14 (UNRELEASED)
+-----------------
+ - Emit DBus PropertiesChanged signals.
+ - NetworkManager: Much more complete support for mocking APs and
+ connections.
+ - Ofono: Add ConnectionManager interface.
+
0.13.1 (UNRELEASED)
-------------------
- Move project hosting to github, update README.rst.
View
@@ -11,7 +11,7 @@
__email__ = 'martin.pitt@ubuntu.com'
__copyright__ = '(c) 2012 Canonical Ltd.'
__license__ = 'LGPL 3+'
-__version__ = '0.13'
+__version__ = '0.14'
from dbusmock.mockobject import (DBusMockObject, MOCK_IFACE,
OBJECT_MANAGER_IFACE, get_object, get_objects)
View
@@ -184,6 +184,14 @@ def Set(self, interface_name, property_name, value, *args, **kwargs):
iface_props[property_name] = value
+ self.EmitSignal('org.freedesktop.DBus.Properties',
+ 'PropertiesChanged',
+ 'sa{sv}as',
+ [interface_name,
+ dbus.Dictionary({property_name: value}, signature='sv'),
+ dbus.Array([], signature='s')
+ ])
+
@dbus.service.method(MOCK_IFACE,
in_signature='ssa{sv}a(ssss)',
out_signature='')
Oops, something went wrong.