From: Wootak Jung Date: Wed, 13 May 2020 07:22:57 +0000 (+0900) Subject: Add unit TC about profile connected devices X-Git-Tag: submit/tizen/20200507.063043~2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=refs%2Fchanges%2F43%2F233243%2F1;p=platform%2Fcore%2Fapi%2Fbluetooth.git Add unit TC about profile connected devices Change-Id: Ia486c849f8519276d81d72562cb53c84ab1427fd Signed-off-by: Wootak Jung --- diff --git a/test/bt_unit_test.c b/test/bt_unit_test.c index 88f0826..0331d63 100644 --- a/test/bt_unit_test.c +++ b/test/bt_unit_test.c @@ -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: {