From a5def7bb8cce4e17fe7d47e7aac1f0e6a2bb76dd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20Dalleau?= <frederic.dalleau@collabora.com> Date: Tue, 15 Nov 2016 16:32:06 +0000 Subject: [PATCH] bluez/ubt: Fix Map profile test MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit MAP profile test was using a deprecated API dating back from 2012. Update it according to version of bluez present in Apertis. Reviewed-by: Philip Withnall <philip.withnall@collabora.co.uk> Signed-off-by: Frédéric Dalleau <frederic.dalleau@collabora.com> Differential Revision: https://phabricator.apertis.org/D4906 --- bluez/ubt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bluez/ubt b/bluez/ubt index adced7ed..3877af26 100644 --- a/bluez/ubt +++ b/bluez/ubt @@ -321,10 +321,10 @@ class PbapDeviceProfileTester(DeviceProfileTester): 'org.bluez.obex.MessageAccess1') set_folder(map, "telecom/msg") - folder = map.GetFolderListing(dict()) + folder = map.ListFolders(dict()) for f in folder: - msg = map.GetMessageListing(f["Name"], dict()) + msg = map.ListMessages(f["Name"], dict()) message_check(msg) TEST_PASSED("MAP MSE") -- GitLab