Add unit TC about profile connected devices 43/233243/1
authorWootak Jung <wootak.jung@samsung.com>
Wed, 13 May 2020 07:22:57 +0000 (16:22 +0900)
committerWootak Jung <wootak.jung@samsung.com>
Wed, 13 May 2020 07:23:33 +0000 (16:23 +0900)
Change-Id: Ia486c849f8519276d81d72562cb53c84ab1427fd
Signed-off-by: Wootak Jung <wootak.jung@samsung.com>
test/bt_unit_test.c

index 88f0826..0331d63 100644 (file)
@@ -4294,9 +4294,15 @@ int test_input_callback(void *data)
                        ret = bt_adapter_foreach_profile_connected_devices(BT_PROFILE_SERVICE_UUID_A2DP_SOURCE,
                                __bt_adapter_profile_connected_devices_cb, NULL);
                        TC_PRT("A2DP Source connected devices returns %s\n", __bt_get_error_message(ret));
+                       ret = bt_adapter_foreach_profile_connected_devices(BT_PROFILE_SERVICE_UUID_A2DP_SINK,
+                               __bt_adapter_profile_connected_devices_cb, NULL);
+                       TC_PRT("A2DP Sink connected devices returns %s\n", __bt_get_error_message(ret));
                        ret = bt_adapter_foreach_profile_connected_devices(BT_PROFILE_SERVICE_UUID_AVRCP_CONTROL,
                                __bt_adapter_profile_connected_devices_cb, NULL);
                        TC_PRT("AVRCP Control connected devices returns %s\n", __bt_get_error_message(ret));
+                       ret = bt_adapter_foreach_profile_connected_devices(BT_PROFILE_SERVICE_UUID_AVRCP_TARGET,
+                               __bt_adapter_profile_connected_devices_cb, NULL);
+                       TC_PRT("AVRCP Target connected devices returns %s\n", __bt_get_error_message(ret));
                        break;
                }
                case BT_UNIT_TEST_FUNCTION_ADAPTER_GET_BONDED_DEVICE_INFO: {