shill_proxy: add support for matching against ServiceCompleteList
Companion to CL:50327, which adds a client-side test for the
instantiation of services from the default profile. Because a
client-side test can't assume that APs are live OTA, we need the
ability to find a service in the complete list of services, rather
than the list of visible services.
BUG=chromium:237588
TEST=network_DefaultProfileServices.py
Change-Id: I618ae3cb82595bf6ad61ed83b894398ab130b775
Reviewed-on: https://gerrit.chromium.org/gerrit/50328
Reviewed-by: Paul Stewart <pstew@chromium.org>
Commit-Queue: mukesh agrawal <quiche@chromium.org>
Tested-by: mukesh agrawal <quiche@chromium.org>
diff --git a/test-scripts/shill_proxy.py b/test-scripts/shill_proxy.py
index ee5d367..9f4a29d 100644
--- a/test-scripts/shill_proxy.py
+++ b/test-scripts/shill_proxy.py
@@ -41,11 +41,13 @@
MANAGER_PROPERTY_DEVICES = 'Devices'
MANAGER_PROPERTY_PROFILES = 'Profiles'
MANAGER_PROPERTY_SERVICES = 'Services'
+ MANAGER_PROPERTY_ALL_SERVICES = 'ServiceCompleteList'
OBJECT_TYPE_PROPERTY_MAP = {
'Device': ( DBUS_TYPE_DEVICE, MANAGER_PROPERTY_DEVICES ),
'Profile': ( DBUS_TYPE_PROFILE, MANAGER_PROPERTY_PROFILES ),
- 'Service': ( DBUS_TYPE_SERVICE, MANAGER_PROPERTY_SERVICES )
+ 'Service': ( DBUS_TYPE_SERVICE, MANAGER_PROPERTY_SERVICES ),
+ 'AnyService': ( DBUS_TYPE_SERVICE, MANAGER_PROPERTY_ALL_SERVICES )
}
SERVICE_DISCONNECT_TIMEOUT = 5