From: DoHyun Pyun Date: Thu, 18 Apr 2019 05:51:03 +0000 (+0900) Subject: Remove capi-appfw-app-control dependency X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=f242f1cc39c9664a4bad066da3adcfc57a1cbc60;p=platform%2Fcore%2Fapi%2Fbluetooth.git Remove capi-appfw-app-control dependency Change-Id: I408d73d5b886595fb69ede2a3923a94ac55ba37d Signed-off-by: DoHyun Pyun --- diff --git a/packaging/capi-network-bluetooth.spec b/packaging/capi-network-bluetooth.spec index 867676e..14a364d 100644 --- a/packaging/capi-network-bluetooth.spec +++ b/packaging/capi-network-bluetooth.spec @@ -14,7 +14,6 @@ BuildRequires: pkgconfig(dlog) BuildRequires: pkgconfig(glib-2.0) BuildRequires: pkgconfig(vconf) BuildRequires: pkgconfig(bluetooth-api) -BuildRequires: pkgconfig(capi-appfw-app-control) BuildRequires: pkgconfig(capi-base-common) BuildRequires: pkgconfig(capi-system-info) BuildRequires: cmake diff --git a/test/CMakeLists.txt b/test/CMakeLists.txt index bb1758f..04d3041 100644 --- a/test/CMakeLists.txt +++ b/test/CMakeLists.txt @@ -1,7 +1,7 @@ SET(fw_test "${fw_name}-test") INCLUDE(FindPkgConfig) -pkg_check_modules(${fw_test} REQUIRED glib-2.0 capi-appfw-app-control) +pkg_check_modules(${fw_test} REQUIRED glib-2.0) FOREACH(flag ${${fw_test}_CFLAGS}) SET(EXTRA_CFLAGS "${EXTRA_CFLAGS} ${flag}") ENDFOREACH(flag) diff --git a/test/bt_unit_test.c b/test/bt_unit_test.c index 66abf01..339d72e 100644 --- a/test/bt_unit_test.c +++ b/test/bt_unit_test.c @@ -37,7 +37,6 @@ #include #include #include -#include #include #include "bluetooth.h" @@ -9804,78 +9803,6 @@ int test_input_callback(void *data) bt_adapter_disable(); break; } - case BT_UNIT_TEST_FUNCTION_APP_CONTROL_DEFAULT: { - char *mode = "setting"; - - if (g_test_param.param_count > 0) - mode = g_test_param.params[0]; - - app_control_h service = NULL; - - app_control_create(&service); - app_control_set_app_id(service, "com.samsung.bluetooth-single"); - app_control_set_operation(service, APP_CONTROL_OPERATION_DEFAULT); - app_control_add_extra_data(service, "launch-type", mode); - ret = app_control_send_launch_request(service, NULL, NULL); - TC_PRT("returns %d", ret); - - app_control_destroy(service); - break; - } - case BT_UNIT_TEST_FUNCTION_APP_CONTROL_2_3_BT_ONOFF: { - app_control_h service = NULL; - - app_control_create(&service); - app_control_set_operation(service, APP_CONTROL_OPERATION_EDIT); - app_control_set_mime(service, "application/x-bluetooth-on-off"); - - ret = app_control_send_launch_request(service, NULL, NULL); - TC_PRT("returns %d", ret); - - app_control_destroy(service); - - break; - } - case BT_UNIT_TEST_FUNCTION_APP_CONTROL_2_3_BT_VISIBILITY: { - app_control_h service = NULL; - - app_control_create(&service); - app_control_set_operation(service, APP_CONTROL_OPERATION_EDIT); - app_control_set_mime(service, "application/x-bluetooth-visibility"); - - ret = app_control_send_launch_request(service, NULL, NULL); - TC_PRT("returns %d", ret); - - app_control_destroy(service); - - break; - } - case BT_UNIT_TEST_FUNCTION_APP_CONTROL_2_4_BT_ONOFF: { - app_control_h service = NULL; - - app_control_create(&service); - app_control_set_operation(service, APP_CONTROL_OPERATION_SETTING_BT_ENABLE); - - ret = app_control_send_launch_request(service, NULL, NULL); - TC_PRT("returns %d", ret); - - app_control_destroy(service); - - break; - } - case BT_UNIT_TEST_FUNCTION_APP_CONTROL_2_4_BT_VISIBILITY: { - app_control_h service = NULL; - - app_control_create(&service); - app_control_set_operation(service, APP_CONTROL_OPERATION_SETTING_BT_VISIBILITY); - - ret = app_control_send_launch_request(service, NULL, NULL); - TC_PRT("returns %d", ret); - - app_control_destroy(service); - - break; - } case BT_UNIT_TEST_FUNCTION_CHECK_FEATURE: { int ret; bool is_supported = false;