From: wn.jang Date: Mon, 3 Jan 2022 08:41:35 +0000 (+0900) Subject: [ITC][stt][non-ACR] Remove unused EFL dependencies X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=32401c82e82f434fa6df0786133026e18e56536e;p=test%2Ftct%2Fnative%2Fapi.git [ITC][stt][non-ACR] Remove unused EFL dependencies Change-Id: Ie64e6842a7df72c7d10520829387cb457a3b00cc --- diff --git a/packaging/itc/native-stt-itc.spec b/packaging/itc/native-stt-itc.spec index 2b3e3cb8d..ff964b296 100755 --- a/packaging/itc/native-stt-itc.spec +++ b/packaging/itc/native-stt-itc.spec @@ -8,7 +8,7 @@ Group: Development/Tools License: Apache-2.0 Source0: %{name}-%{version}.tar.gz BuildRequires: pkgconfig(%{MODULE_LIBNAME}) -BuildRequires: pkgconfig(capi-appfw-application) +BuildRequires: pkgconfig(capi-appfw-service-application) BuildRequires: pkgconfig(aul) BuildRequires: pkgconfig(bundle) BuildRequires: pkgconfig(capi-media-audio-io) @@ -17,7 +17,6 @@ BuildRequires: pkgconfig(capi-media-wav-player) BuildRequires: pkgconfig(dbus-1) BuildRequires: pkgconfig(dlog) BuildRequires: pkgconfig(ecore) -BuildRequires: pkgconfig(elementary) BuildRequires: pkgconfig(glib-2.0) BuildRequires: pkgconfig(libxml-2.0) BuildRequires: pkgconfig(vconf) diff --git a/packaging/itc/native-stt-itc.xml b/packaging/itc/native-stt-itc.xml index 7328ce219..cc9f26ac9 100755 --- a/packaging/itc/native-stt-itc.xml +++ b/packaging/itc/native-stt-itc.xml @@ -3,14 +3,14 @@ test Native API test Application - + - + http://tizen.org/privilege/recorder http://tizen.org/privilege/appmanager.launch diff --git a/src/itc/stt/CMakeLists.txt b/src/itc/stt/CMakeLists.txt index 5809290f9..c105a622a 100755 --- a/src/itc/stt/CMakeLists.txt +++ b/src/itc/stt/CMakeLists.txt @@ -12,7 +12,7 @@ SET(TC_SOURCES PKG_CHECK_MODULES(${CAPI_LIB} REQUIRED ${CAPI_LIB} - capi-appfw-application + capi-appfw-service-application bundle capi-system-info glib-2.0 diff --git a/src/itc/stt/ITs-stt-common.h b/src/itc/stt/ITs-stt-common.h index 269e6c8b4..460011ba7 100755 --- a/src/itc/stt/ITs-stt-common.h +++ b/src/itc/stt/ITs-stt-common.h @@ -21,7 +21,7 @@ #include #include -#include +#include #include #include diff --git a/src/itc/stt/tct-stt-native.c b/src/itc/stt/tct-stt-native.c index 4713e0cb7..dfb8b961c 100755 --- a/src/itc/stt/tct-stt-native.c +++ b/src/itc/stt/tct-stt-native.c @@ -42,7 +42,7 @@ #include #include -#include +#include #include #include @@ -97,7 +97,7 @@ static void app_control(app_control_h app_control, void *data) if (0 == strncmp(pszGetTCName, "ITc_stt_set_unset_engine_changed_cb_p", strlen(pszGetTCName)) || 0 == strncmp("ITc_stte_", pszGetTCName, strlen("ITc_stte_"))) { dlog_print(DLOG_INFO, "NativeTCT", "%s must be exited", pszGetTCName); - ui_app_exit(); + service_app_exit(); } FREE_MEMORY_TC(pszGetTCName); @@ -121,7 +121,7 @@ int main(int argc, char *argv[]) { int ret = 0; - ui_app_lifecycle_callback_s event_callback = {0,}; + service_app_lifecycle_callback_s event_callback = {0,}; event_callback.create = app_create; event_callback.terminate = app_terminate; event_callback.app_control = app_control; @@ -131,11 +131,11 @@ int main(int argc, char *argv[]) dlog_print(DLOG_INFO, "NativeTCT", "[%s:%d] Coverage *.gcda File location set to /tmp/home/abuild/rpmbuild/BUILD/ ", __FUNCTION__, __LINE__); dlog_print(DLOG_INFO, "NativeTCT", "[%s:%d] Application Main Function is Invoked", __FUNCTION__, __LINE__); - ret = ui_app_main(argc, argv, &event_callback, NULL); + ret = service_app_main(argc, argv, &event_callback, NULL); if (ret != APP_ERROR_NONE) { - dlog_print(DLOG_ERROR, "NativeTCT", "Application ui_app_main call gets failed. err = %d", ret); - PRINT_UTC_LOG("\\n[%s][Line : %d]Application ui_app_main call gets failed. err = %d\\n", __FILE__, __LINE__, ret); + dlog_print(DLOG_ERROR, "NativeTCT", "Application service_app_main call gets failed. err = %d", ret); + PRINT_UTC_LOG("\\n[%s][Line : %d]Application service_app_main call gets failed. err = %d\\n", __FILE__, __LINE__, ret); PRINT_TC_RESULT("%d",1); return ret; }