[UTC][capi-ui-autofill][non-ACR] Remove unused elementary dependency 51/268751/5
authorJihoon Kim <jihoon48.kim@samsung.com>
Fri, 31 Dec 2021 06:31:15 +0000 (15:31 +0900)
committerJihoon Kim <jihoon48.kim@samsung.com>
Wed, 5 Jan 2022 05:53:14 +0000 (14:53 +0900)
Change-Id: I272b82244267d634a5f71e986ae14171ba2d43b5
Signed-off-by: Jihoon Kim <jihoon48.kim@samsung.com>
packaging/utc/core-capi-ui-autofill-tests.spec
packaging/utc/core-capi-ui-autofill-tests.xml
src/utc/capi-ui-autofill/CMakeLists.txt
src/utc/capi-ui-autofill/tct-capi-ui-autofill-core.c

index d36ed4543dd739edb0df8a688015124dcacb0e1c..e3349dad3588d53599a677d3936b90f302e0829c 100644 (file)
@@ -10,11 +10,10 @@ Source0:    %{name}-%{version}.tar.gz
 BuildRequires: pkgconfig(%{MODULE_LIBNAME})
 BuildRequires: pkgconfig(bundle)
 BuildRequires: cmake
-BuildRequires: pkgconfig(capi-appfw-application)
+BuildRequires: pkgconfig(capi-service-application)
 BuildRequires: pkgconfig(dlog)
 BuildRequires: pkgconfig(capi-system-info)
 BuildRequires: pkgconfig(glib-2.0)
-BuildRequires: pkgconfig(elementary)
 BuildRequires: pkgconfig(capi-ui-autofill)
 %description
 Core API unit TC (%{name})
index f9c2309de43be04ac155d93a8bb27e8ac662f943..1ba86a4dde2fb2142b6dede9da7369465a835258 100644 (file)
@@ -3,14 +3,14 @@
     <label>CoreCapiUiAutofillTest</label>
     <author email="test@tizen.org" href="www.tizen.org">test</author>
     <description>Core API test Application</description>
-    <ui-application appid="core.capi-ui-autofill-tests" exec="/usr/apps/core-capi-ui-autofill-tests/bin/tct-capi-ui-autofill-core" nodisplay="false" multiple="false" type="capp" taskmanage="true">
+    <service-application appid="core.capi-ui-autofill-tests" exec="/usr/apps/core-capi-ui-autofill-tests/bin/tct-capi-ui-autofill-core" nodisplay="false" multiple="false" type="capp" taskmanage="true">
     <background-category value="background-network"/>
        <background-category value="download"/>
        <background-category value="iot-communication"/>
        <background-category value="location"/>
        <background-category value="media"/>
        <background-category value="sensor"/>
-       </ui-application>
+       </service-application>
        <privileges>
                <privilege>http://tizen.org/privilege/appmanager.launch</privilege>
                <privilege>http://tizen.org/privilege/datasharing</privilege>
index dc8604d9a8775cde088ed5affc3febdc3652fa86..866aacd0b973c00a5caa575c35ee6113c36807df 100644 (file)
@@ -12,7 +12,7 @@ SET(TC_SOURCES
 
 PKG_CHECK_MODULES(${CAPI_LIB} REQUIRED
        ${CAPI_LIB}
-       capi-appfw-application
+       capi-appfw-service-application
        capi-system-info
        glib-2.0
        bundle
index 0e42524143f7d89fe45ffcb0bd6ef7fc0ab43892..282d3902a1e2110e93793fe6de05f2fcba9856b1 100644 (file)
 #include <sys/wait.h>
 #include <glib.h>
 #include <stdbool.h>
-#include <app.h>
+#include <service_app.h>
 #include <dlog.h>
 
-#include <Elementary.h>
-
 typedef struct appdata {
-       Evas_Object *win;
-       Evas_Object *conform;
-       Evas_Object *label;
+
 } appdata_s;
 
 static bool app_create(void *data)
@@ -116,7 +112,7 @@ int main(int argc, char *argv[])
        int ret = 0;
        appdata_s ad = {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;
@@ -126,11 +122,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, &ad);
+       ret = service_app_main(argc, argv, &event_callback, &ad);
        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;
        }