[ITC][capi-ui-autofill][non-ACR] Remove unused UI dependency 93/268993/1
authorJihoon Kim <jihoon48.kim@samsung.com>
Thu, 6 Jan 2022 05:22:40 +0000 (14:22 +0900)
committerJihoon Kim <jihoon48.kim@samsung.com>
Thu, 6 Jan 2022 05:22:40 +0000 (14:22 +0900)
Change-Id: I9f17029ca1e7a5872b9830016b8243798ab34c6a
Signed-off-by: Jihoon Kim <jihoon48.kim@samsung.com>
packaging/itc/native-autofill-itc.spec
packaging/itc/native-autofill-itc.xml
src/itc/autofill/CMakeLists.txt
src/itc/autofill/tct-autofill-native.c

index 7629cca28646436d41b987a350571842a4b4d493..124153a02e02d686af60ffd0010dc9049a1a43b6 100755 (executable)
@@ -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})
index 68c2a713f406f9a76307b82c8935db0cef3f6578..24076471c354fa00aadfd1755d600445847fb89d 100755 (executable)
@@ -3,7 +3,7 @@
     <label>CoreAutofillTest</label>
     <author email="mymail@tizentest.com" href="www.tizentest.com">test</author>
     <description>Native API test Autofill</description>
-    <ui-application appid="native.autofill-itc" exec="/usr/apps/native-autofill-itc/bin/tct-autofill-native" nodisplay="false" multiple="false" type="capp" taskmanage="true">
+    <service-application appid="native.autofill-itc" exec="/usr/apps/native-autofill-itc/bin/tct-autofill-native" nodisplay="false" multiple="false" type="capp" taskmanage="true">
        <label>CoreAutofillTest</label>
     <background-category value="background-network"/>
        <background-category value="download"/>
@@ -11,5 +11,5 @@
        <background-category value="location"/>
        <background-category value="media"/>
        <background-category value="sensor"/>
-    </ui-application>
+    </service-application>
 </manifest>
index 9526b2a21c7806e13d03eed07754d8cfdd3866ee..cf1e66c283e6d158de81e7f010fddb274ab7e5e3 100755 (executable)
@@ -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
index 861b157bac0c53bff0b90cb096a75887bdf5e5bc..10ef6ac19e13eb59a583f560cb33ea2bf0cf0cb8 100755 (executable)
@@ -40,7 +40,7 @@
 #include <sys/wait.h>
 #include <glib.h>
 #include <stdbool.h>
-#include <app.h>
+#include <service_app.h>
 #include <dlog.h>
 
 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;
        }