From: Jihoon Kim Date: Thu, 6 Jan 2022 05:22:40 +0000 (+0900) Subject: [ITC][capi-ui-autofill][non-ACR] Remove unused UI dependency X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=a787ffb061b5ce92cb08eec2b20be720f03faee9;p=test%2Ftct%2Fnative%2Fapi.git [ITC][capi-ui-autofill][non-ACR] Remove unused UI dependency Change-Id: I9f17029ca1e7a5872b9830016b8243798ab34c6a Signed-off-by: Jihoon Kim --- diff --git a/packaging/itc/native-autofill-itc.spec b/packaging/itc/native-autofill-itc.spec index 7629cca28..124153a02 100755 --- a/packaging/itc/native-autofill-itc.spec +++ b/packaging/itc/native-autofill-itc.spec @@ -20,7 +20,6 @@ BuildRequires: pkgconfig(bundle) BuildRequires: pkgconfig(glib-2.0) BuildRequires: pkgconfig(capi-system-info) BuildRequires: pkgconfig(dlog) -BuildRequires: pkgconfig(elementary) %description Native API Integration TC (%{name}) diff --git a/packaging/itc/native-autofill-itc.xml b/packaging/itc/native-autofill-itc.xml index 68c2a713f..24076471c 100755 --- a/packaging/itc/native-autofill-itc.xml +++ b/packaging/itc/native-autofill-itc.xml @@ -3,7 +3,7 @@ test Native API test Autofill - + @@ -11,5 +11,5 @@ - + diff --git a/src/itc/autofill/CMakeLists.txt b/src/itc/autofill/CMakeLists.txt index 9526b2a21..cf1e66c28 100755 --- a/src/itc/autofill/CMakeLists.txt +++ b/src/itc/autofill/CMakeLists.txt @@ -12,7 +12,7 @@ SET(TC_SOURCES PKG_CHECK_MODULES(${CAPI_LIB} REQUIRED ${CAPI_LIB} - capi-appfw-application + capi-service-application bundle capi-base-common dlog diff --git a/src/itc/autofill/tct-autofill-native.c b/src/itc/autofill/tct-autofill-native.c index 861b157ba..10ef6ac19 100755 --- a/src/itc/autofill/tct-autofill-native.c +++ b/src/itc/autofill/tct-autofill-native.c @@ -40,7 +40,7 @@ #include #include #include -#include +#include #include static bool app_create(void *data) @@ -108,7 +108,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; @@ -118,11 +118,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; }