BuildRequires: pkgconfig(fido-client-devel)
BuildRequires: pkgconfig(capi-network-softap)
BuildRequires: pkgconfig(multi-assistant)
+BuildRequires: pkgconfig(capi-ui-autofill)
Requires(post): /sbin/ldconfig
Requires(postun): /sbin/ldconfig
--- /dev/null
+%define MODULE_NAME capi-ui-autofill
+%define MODULE_LIBNAME capi-ui-autofill
+Name: core-%{MODULE_NAME}-tests
+Summary: Core API unit TC (%{name})
+Version: 0.1
+Release: 0
+Group: Development/Tools
+License: Apache License, Version 2.0, Samsung Properietary
+Source0: %{name}-%{version}.tar.gz
+BuildRequires: pkgconfig(%{MODULE_LIBNAME})
+BuildRequires: pkgconfig(bundle)
+BuildRequires: cmake
+BuildRequires: pkgconfig(capi-appfw-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})
+
+%prep
+%setup -q
+
+%build
+
+%define PREFIX "%{_libdir}/%{name}"
+
+export LDFLAGS+="-Wl,--rpath=%{PREFIX} -Wl,--as-needed"
+
+%if %{?ASAN_BUILD:1}0
+ %if %{?DEVICE_BUILD_TYPE_MOBILE:1}0
+ cmake . -DMODULE="%{MODULE_NAME}" -DBUILDTCTYPE="utc" -DDEVICE_BUILD_TYPE="mobile" -DASANBUILD="true" -DCMAKE_INSTALL_PREFIX=%{_prefix}
+ %endif
+ %if %{?DEVICE_BUILD_TYPE_WEARABLE:1}0
+ cmake . -DMODULE="%{MODULE_NAME}" -DBUILDTCTYPE="utc" -DDEVICE_BUILD_TYPE="wearable" -DASANBUILD="true" -DCMAKE_INSTALL_PREFIX=%{_prefix}
+ %endif
+ %if %{?DEVICE_BUILD_TYPE_TV:1}0
+ cmake . -DMODULE="%{MODULE_NAME}" -DBUILDTCTYPE="utc" -DDEVICE_BUILD_TYPE="tv" -DASANBUILD="true" -DCMAKE_INSTALL_PREFIX=%{_prefix}
+ %endif
+ %if %{?DEVICE_BUILD_TYPE_TIZENIOT:1}0
+ cmake . -DMODULE="%{MODULE_NAME}" -DBUILDTCTYPE="utc" -DDEVICE_BUILD_TYPE="tizeniot" -DASANBUILD="true" -DCMAKE_INSTALL_PREFIX=%{_prefix}
+ %endif
+%else
+ %if %{?DEVICE_BUILD_TYPE_MOBILE:1}0
+ cmake . -DMODULE="%{MODULE_NAME}" -DBUILDTCTYPE="utc" -DDEVICE_BUILD_TYPE="mobile" -DASANBUILD="false" -DCMAKE_INSTALL_PREFIX=%{_prefix}
+ %endif
+ %if %{?DEVICE_BUILD_TYPE_WEARABLE:1}0
+ cmake . -DMODULE="%{MODULE_NAME}" -DBUILDTCTYPE="utc" -DDEVICE_BUILD_TYPE="wearable" -DASANBUILD="false" -DCMAKE_INSTALL_PREFIX=%{_prefix}
+ %endif
+ %if %{?DEVICE_BUILD_TYPE_TV:1}0
+ cmake . -DMODULE="%{MODULE_NAME}" -DBUILDTCTYPE="utc" -DDEVICE_BUILD_TYPE="tv" -DASANBUILD="false" -DCMAKE_INSTALL_PREFIX=%{_prefix}
+ %endif
+ %if %{?DEVICE_BUILD_TYPE_TIZENIOT:1}0
+ cmake . -DMODULE="%{MODULE_NAME}" -DBUILDTCTYPE="utc" -DDEVICE_BUILD_TYPE="tizeniot" -DASANBUILD="false" -DCMAKE_INSTALL_PREFIX=%{_prefix}
+ %endif
+%endif
+
+make %{?jobs:-j%jobs}
+
+%install
+rm -rf %{buildroot}
+%make_install
+mkdir -p %{buildroot}/usr/share/license
+cp LICENSE %{buildroot}/usr/share/license/%{name}
+mkdir -p %{buildroot}/tmp/
+mkdir -p %{buildroot}/usr/share/packages/
+cp packaging/utc/%{name}.xml %{buildroot}/usr/share/packages/
+mkdir -p %{buildroot}/usr/apps/%{name}/bin
+#cp templates/external_wrapper.sh %{buildroot}/usr/apps/%{name}/bin
+%post
+
+%postun
+
+
+%files
+/usr/apps/%{name}/*
+/usr/share/packages/%{name}.xml
+/usr/share/license/%{name}
--- /dev/null
+<?xml version="1.0" encoding="utf-8"?>
+<manifest xmlns="http://tizen.org/ns/packages" package="core-capi-ui-autofill-tests" version="0.1.0" api-version="3.0">
+ <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">
+ <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>
+ <privileges>
+ <privilege>http://tizen.org/privilege/appmanager.launch</privilege>
+ <privilege>http://tizen.org/privilege/datasharing</privilege>
+ </privileges>
+</manifest>
--- /dev/null
+SET(PKG_NAME "capi-ui-autofill")
+
+SET(EXEC_NAME "tct-${PKG_NAME}-core")
+SET(RPM_NAME "core-${PKG_NAME}-tests")
+
+SET(CAPI_LIB "capi-ui-autofill")
+SET(TC_SOURCES
+ utc-capi-ui-autofill-common.c
+ utc-capi-ui-autofill.c
+ utc-capi-ui-autofill-service.c
+)
+
+PKG_CHECK_MODULES(${CAPI_LIB} REQUIRED
+ ${CAPI_LIB}
+ capi-appfw-application
+ capi-system-info
+ glib-2.0
+ bundle
+ dlog
+ elementary
+)
+
+INCLUDE_DIRECTORIES(
+ ${${CAPI_LIB}_INCLUDE_DIRS}
+)
+
+ADD_EXECUTABLE(${EXEC_NAME} ${EXEC_NAME}.c ${TC_SOURCES} ${COMMON_FILE})
+TARGET_LINK_LIBRARIES(${EXEC_NAME}
+ ${${CAPI_LIB}_LIBRARIES}
+ bundle
+)
+
+INSTALL(PROGRAMS ${EXEC_NAME}
+ DESTINATION ${BIN_DIR}/${RPM_NAME}/bin
+)
+
+IF( DEFINED ASAN )
+SET(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -fPIC -Wall -pie -g -fsanitize=address -fsanitize-recover=address -U_FORTIFY_SOURCE -fno-omit-frame-pointer")
+SET(CMAKE_EXE_LINKER_FLAGS "-Wl,--as-needed -Wl,--rpath=/usr/lib -Wl,-fsanitize=address")
+ELSE()
+SET(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -O0 -g -fPIE -Wall")
+SET(CMAKE_EXE_LINKER_FLAGS "-Wl,--as-needed -Wl,--rpath=/usr/lib -pie")
+ENDIF()
--- /dev/null
+//
+// Copyright (c) 2014 Samsung Electronics Co., Ltd.
+//
+// Licensed under the Apache License, Version 2.0 (the License);
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+// http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+//
+#include "tct_common.h"
+
+#ifdef MOBILE //Starts MOBILE
+#include "tct-capi-ui-autofill-core_mobile.h"
+#endif //MOBILE //End MOBILE
+
+#ifdef WEARABLE //Starts WEARABLE
+#include "tct-capi-ui-autofill-core_wearable.h"
+#endif //WEARABLE //End WEARABLE
+
+#ifdef TV //Starts TV
+#include "tct-capi-ui-autofill-core_tv.h"
+#endif //TV //End TV
+
+#ifdef TIZENIOT //Starts TIZENIOT
+#include "tct-capi-ui-autofill-core_tizeniot.h"
+#endif //TIZENIOT //End TIZENIOT
+
+#include <stdio.h>
+#include <string.h>
+#include <malloc.h>
+#include <unistd.h>
+#include <sys/types.h>
+#include <sys/stat.h>
+#include <sys/wait.h>
+#include <glib.h>
+#include <stdbool.h>
+#include <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)
+{
+ return true;
+}
+
+static void app_control(app_control_h app_control, void *data)
+{
+ char* pszGetTCName = NULL;
+ int i=0, result=0, nRet=0;
+ nRet = app_control_get_extra_data(app_control, "testcase_name", &pszGetTCName);
+ if(nRet != APP_CONTROL_ERROR_NONE)
+ {
+ dlog_print(DLOG_ERROR, "NativeTCT", "[%s:%d] app_control_get_extra_data returns error = %d", __FUNCTION__, __LINE__, nRet);
+ PRINT_UTC_LOG("\\n[%s][Line : %d]Unable to fetch test case name: app_control_get_extra_data API call fails\\n", __FILE__, __LINE__);
+ PRINT_TC_RESULT("%d",1);
+ FREE_MEMORY_TC(pszGetTCName);
+ return;
+ }
+
+ dlog_print(DLOG_INFO, "NativeTCT", "[%s:%d] Executing TC Name = %s", __FUNCTION__, __LINE__, pszGetTCName);
+ for ( i = 0; tc_array[i].name; i++ )
+ {
+ if ( 0 == strncmp(pszGetTCName, tc_array[i].name, strlen(pszGetTCName)) )
+ {
+ DUMP_UTC_ERRLOG();
+ if ( tc_array[i].startup )
+ {
+ dlog_print(DLOG_INFO, "NativeTCT", "%s : Start up", pszGetTCName);
+ tc_array[i].startup();
+ }
+
+ dlog_print(DLOG_INFO, "NativeTCT", "%s : Body", pszGetTCName);
+ result = tc_array[i].function();
+ dlog_print(DLOG_INFO, "NativeTCT", "%s returns value = %d", pszGetTCName, result);
+
+ if ( tc_array[i].cleanup )
+ {
+ dlog_print(DLOG_INFO, "NativeTCT", "%s : Clean up", pszGetTCName);
+ tc_array[i].cleanup();
+ }
+
+ CLOSE_UTC_ERRLOG();
+ PRINT_TC_RESULT("%d",result);
+ FREE_MEMORY_TC(pszGetTCName);
+ return;
+ }
+ }
+
+ dlog_print(DLOG_ERROR, "NativeTCT", "[%s:%d] Unable to execute %s : Unknown Test Case Name", __FUNCTION__, __LINE__, pszGetTCName);
+ PRINT_UTC_LOG("\\n[%s][Line : %d]Unable to execute %s : Unknown Test Case Name\\n", __FILE__, __LINE__, pszGetTCName);
+ PRINT_TC_RESULT("%d",1);
+ FREE_MEMORY_TC(pszGetTCName);
+ return;
+}
+
+static void app_terminate(void *data)
+{
+ dlog_print(DLOG_INFO, "NativeTCT", "[%s:%d] Application Package is now Terminating", __FUNCTION__, __LINE__);
+}
+
+int main(int argc, char *argv[])
+{
+ int ret = 0;
+ appdata_s ad = {0,};
+
+ ui_app_lifecycle_callback_s event_callback = {0,};
+ event_callback.create = app_create;
+ event_callback.terminate = app_terminate;
+ event_callback.app_control = app_control;
+
+ //setting gcda file location for coverage
+ setenv("GCOV_PREFIX","/tmp",1);
+ 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);
+ 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);
+ PRINT_TC_RESULT("%d",1);
+ return ret;
+ }
+
+ dlog_print(DLOG_INFO, "NativeTCT", "[%s:%d] Application Package is Terminated", __FUNCTION__, __LINE__);
+ return ret;
+}
--- /dev/null
+//
+// Copyright (c) 2014 Samsung Electronics Co., Ltd.
+//
+// Licensed under the Apache License, Version 2.0 (the License);
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+// http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+//
+#ifndef __TCT_CAPI_UI_AUTOFILL_NATIVE_H__
+#define __TCT_CAPI_UI_AUTOFILL_NATIVE_H__
+
+#include "testcase.h"
+#include "tct_common.h"
+
+// common
+extern void utc_capi_ui_autofill_common_startup(void);
+extern void utc_capi_ui_autofill_common_cleanup(void);
+
+extern int utc_autofill_item_create_p(void);
+extern int utc_autofill_item_create_n(void);
+extern int utc_autofill_item_destroy_p(void);
+extern int utc_autofill_item_destroy_n(void);
+
+extern int utc_autofill_item_clone_p(void);
+extern int utc_autofill_item_clone_n(void);
+
+extern int utc_autofill_item_set_autofill_hint_p(void);
+extern int utc_autofill_item_set_autofill_hint_n(void);
+extern int utc_autofill_item_get_autofill_hint_p(void);
+extern int utc_autofill_item_get_autofill_hint_n(void);
+
+extern int utc_autofill_item_set_id_p(void);
+extern int utc_autofill_item_set_id_n(void);
+extern int utc_autofill_item_get_id_p(void);
+extern int utc_autofill_item_get_id_n(void);
+
+extern int utc_autofill_item_set_label_p(void);
+extern int utc_autofill_item_set_label_n(void);
+extern int utc_autofill_item_get_label_p(void);
+extern int utc_autofill_item_get_label_n(void);
+
+extern int utc_autofill_item_set_sensitive_data_p(void);
+extern int utc_autofill_item_set_sensitive_data_n(void);
+extern int utc_autofill_item_get_sensitive_data_p(void);
+extern int utc_autofill_item_get_sensitive_data_n(void);
+
+extern int utc_autofill_item_set_value_p(void);
+extern int utc_autofill_item_set_value_n(void);
+extern int utc_autofill_item_get_value_p(void);
+extern int utc_autofill_item_get_value_n(void);
+
+extern int utc_autofill_auth_info_create_p(void);
+extern int utc_autofill_auth_info_create_n(void);
+extern int utc_autofill_auth_info_destroy_p(void);
+extern int utc_autofill_auth_info_destroy_n(void);
+
+extern int utc_autofill_auth_info_set_app_id_p(void);
+extern int utc_autofill_auth_info_set_app_id_n(void);
+extern int utc_autofill_auth_info_get_app_id_p(void);
+extern int utc_autofill_auth_info_get_app_id_n(void);
+
+extern int utc_autofill_auth_info_set_view_id_p(void);
+extern int utc_autofill_auth_info_set_view_id_n(void);
+extern int utc_autofill_auth_info_get_view_id_p(void);
+extern int utc_autofill_auth_info_get_view_id_n(void);
+
+extern int utc_autofill_auth_info_set_autofill_data_present_p(void);
+extern int utc_autofill_auth_info_set_autofill_data_present_n(void);
+extern int utc_autofill_auth_info_get_autofill_data_present_p(void);
+extern int utc_autofill_auth_info_get_autofill_data_present_n(void);
+
+extern int utc_autofill_auth_info_set_authentication_needed_p(void);
+extern int utc_autofill_auth_info_set_authentication_needed_n(void);
+extern int utc_autofill_auth_info_get_authentication_needed_p(void);
+extern int utc_autofill_auth_info_get_authentication_needed_n(void);
+
+extern int utc_autofill_auth_info_set_service_name_p(void);
+extern int utc_autofill_auth_info_set_service_name_n(void);
+extern int utc_autofill_auth_info_get_service_name_p(void);
+extern int utc_autofill_auth_info_get_service_name_n(void);
+
+extern int utc_autofill_auth_info_set_service_message_p(void);
+extern int utc_autofill_auth_info_set_service_message_n(void);
+extern int utc_autofill_auth_info_get_service_message_p(void);
+extern int utc_autofill_auth_info_get_service_message_n(void);
+
+extern int utc_autofill_auth_info_set_service_logo_image_path_p(void);
+extern int utc_autofill_auth_info_set_service_logo_image_path_n(void);
+extern int utc_autofill_auth_info_get_service_logo_image_path_p(void);
+extern int utc_autofill_auth_info_get_service_logo_image_path_n(void);
+
+extern int utc_autofill_view_info_create_p(void);
+extern int utc_autofill_view_info_create_n(void);
+extern int utc_autofill_view_info_destroy_p(void);
+extern int utc_autofill_view_info_destroy_n(void);
+
+extern int utc_autofill_view_info_set_app_id_p(void);
+extern int utc_autofill_view_info_set_app_id_n(void);
+extern int utc_autofill_view_info_get_app_id_p(void);
+extern int utc_autofill_view_info_get_app_id_n(void);
+
+extern int utc_autofill_view_info_set_view_id_p(void);
+extern int utc_autofill_view_info_set_view_id_n(void);
+extern int utc_autofill_view_info_get_view_id_p(void);
+extern int utc_autofill_view_info_get_view_id_n(void);
+
+extern int utc_autofill_view_info_add_item_p(void);
+extern int utc_autofill_view_info_add_item_n(void);
+
+extern int utc_autofill_view_info_foreach_item_p(void);
+extern int utc_autofill_view_info_foreach_item_n(void);
+
+extern int utc_autofill_save_view_info_create_p(void);
+extern int utc_autofill_save_view_info_create_n(void);
+extern int utc_autofill_save_view_info_destroy_p(void);
+extern int utc_autofill_save_view_info_destroy_n(void);
+
+extern int utc_autofill_save_view_info_set_app_id_p(void);
+extern int utc_autofill_save_view_info_set_app_id_n(void);
+extern int utc_autofill_save_view_info_get_app_id_p(void);
+extern int utc_autofill_save_view_info_get_app_id_n(void);
+
+extern int utc_autofill_save_view_info_set_view_id_p(void);
+extern int utc_autofill_save_view_info_set_view_id_n(void);
+extern int utc_autofill_save_view_info_get_view_id_p(void);
+extern int utc_autofill_save_view_info_get_view_id_n(void);
+
+extern int utc_autofill_save_view_info_add_item_p(void);
+extern int utc_autofill_save_view_info_add_item_n(void);
+
+extern int utc_autofill_save_view_info_foreach_item_p(void);
+extern int utc_autofill_save_view_info_foreach_item_n(void);
+
+extern int utc_autofill_fill_response_create_p(void);
+extern int utc_autofill_fill_response_create_n(void);
+extern int utc_autofill_fill_response_destroy_p(void);
+extern int utc_autofill_fill_response_destroy_n(void);
+
+extern int utc_autofill_fill_response_set_app_id_p(void);
+extern int utc_autofill_fill_response_set_app_id_n(void);
+extern int utc_autofill_fill_response_get_app_id_p(void);
+extern int utc_autofill_fill_response_get_app_id_n(void);
+
+extern int utc_autofill_fill_response_set_view_id_p(void);
+extern int utc_autofill_fill_response_set_view_id_n(void);
+extern int utc_autofill_fill_response_get_view_id_p(void);
+extern int utc_autofill_fill_response_get_view_id_n(void);
+
+extern int utc_autofill_fill_response_add_group_p(void);
+extern int utc_autofill_fill_response_add_group_n(void);
+
+extern int utc_autofill_fill_response_foreach_group_p(void);
+extern int utc_autofill_fill_response_foreach_group_n(void);
+
+extern int utc_autofill_fill_response_get_group_count_p(void);
+extern int utc_autofill_fill_response_get_group_count_n(void);
+
+extern int utc_autofill_fill_response_group_add_item_p(void);
+extern int utc_autofill_fill_response_group_add_item_n(void);
+
+extern int utc_autofill_fill_response_group_create_p(void);
+extern int utc_autofill_fill_response_group_create_n(void);
+
+extern int utc_autofill_fill_response_group_clone_p(void);
+extern int utc_autofill_fill_response_group_clone_n(void);
+
+extern int utc_autofill_fill_response_group_foreach_item_p(void);
+extern int utc_autofill_fill_response_group_foreach_item_n(void);
+
+extern int utc_autofill_fill_response_item_create_p(void);
+extern int utc_autofill_fill_response_item_create_n(void);
+
+extern int utc_autofill_fill_response_item_destroy_p(void);
+extern int utc_autofill_fill_response_item_destroy_n(void);
+
+extern int utc_autofill_fill_response_item_clone_p(void);
+extern int utc_autofill_fill_response_item_clone_n(void);
+
+extern int utc_autofill_fill_response_item_set_id_p(void);
+extern int utc_autofill_fill_response_item_set_id_n(void);
+
+extern int utc_autofill_fill_response_item_get_id_p(void);
+extern int utc_autofill_fill_response_item_get_id_n(void);
+
+extern int utc_autofill_fill_response_item_set_value_p(void);
+extern int utc_autofill_fill_response_item_set_value_n(void);
+
+extern int utc_autofill_fill_response_item_get_value_p(void);
+extern int utc_autofill_fill_response_item_get_value_n(void);
+
+extern int utc_autofill_fill_response_item_set_presentation_text_p(void);
+extern int utc_autofill_fill_response_item_set_presentation_text_n(void);
+
+extern int utc_autofill_fill_response_item_get_presentation_text_p(void);
+extern int utc_autofill_fill_response_item_get_presentation_text_n(void);
+
+extern int utc_autofill_save_item_create_p(void);
+extern int utc_autofill_save_item_create_n(void);
+extern int utc_autofill_save_item_destroy_p(void);
+extern int utc_autofill_save_item_destroy_n(void);
+
+extern int utc_autofill_save_item_clone_p(void);
+extern int utc_autofill_save_item_clone_n(void);
+
+extern int utc_autofill_save_item_set_autofill_hint_p(void);
+extern int utc_autofill_save_item_set_autofill_hint_n(void);
+extern int utc_autofill_save_item_get_autofill_hint_p(void);
+extern int utc_autofill_save_item_get_autofill_hint_n(void);
+
+extern int utc_autofill_save_item_set_id_p(void);
+extern int utc_autofill_save_item_set_id_n(void);
+extern int utc_autofill_save_item_get_id_p(void);
+extern int utc_autofill_save_item_get_id_n(void);
+
+extern int utc_autofill_save_item_set_label_p(void);
+extern int utc_autofill_save_item_set_label_n(void);
+extern int utc_autofill_save_item_get_label_p(void);
+extern int utc_autofill_save_item_get_label_n(void);
+
+extern int utc_autofill_save_item_set_sensitive_data_p(void);
+extern int utc_autofill_save_item_set_sensitive_data_n(void);
+extern int utc_autofill_save_item_get_sensitive_data_p(void);
+extern int utc_autofill_save_item_get_sensitive_data_n(void);
+
+extern int utc_autofill_save_item_set_value_p(void);
+extern int utc_autofill_save_item_set_value_n(void);
+extern int utc_autofill_save_item_get_value_p(void);
+extern int utc_autofill_save_item_get_value_n(void);
+
+// client
+extern void utc_capi_ui_autofill_startup(void);
+extern void utc_capi_ui_autofill_cleanup(void);
+
+extern int utc_autofill_connect_p(void);
+extern int utc_autofill_connect_n(void);
+
+extern int utc_autofill_auth_info_request_p(void);
+extern int utc_autofill_auth_info_request_n(void);
+
+extern int utc_autofill_auth_info_set_received_cb_p(void);
+extern int utc_autofill_auth_info_set_received_cb_n(void);
+
+extern int utc_autofill_auth_info_unset_received_cb_p(void);
+extern int utc_autofill_auth_info_unset_received_cb_n(void);
+
+extern int utc_autofill_fill_request_p(void);
+extern int utc_autofill_fill_request_n(void);
+
+extern int utc_autofill_fill_response_set_received_cb_p(void);
+extern int utc_autofill_fill_response_set_received_cb_n(void);
+
+extern int utc_autofill_fill_response_unset_received_cb_p(void);
+extern int utc_autofill_fill_response_unset_received_cb_n(void);
+
+extern int utc_autofill_commit_p(void);
+extern int utc_autofill_commit_n(void);
+
+// service
+extern void utc_capi_ui_autofill_service_startup(void);
+extern void utc_capi_ui_autofill_service_cleanup(void);
+
+extern int utc_autofill_service_set_auth_info_requested_cb_p(void);
+extern int utc_autofill_service_set_auth_info_requested_cb_n(void);
+
+extern int utc_autofill_service_unset_auth_info_requested_cb_p(void);
+
+extern int utc_autofill_service_send_auth_info_cb_p(void);
+extern int utc_autofill_service_send_auth_info_cb_n(void);
+
+extern int utc_autofill_service_set_fill_requested_cb_p(void);
+extern int utc_autofill_service_set_fill_requested_cb_n(void);
+
+extern int utc_autofill_service_unset_fill_requested_cb_p(void);
+
+extern int utc_autofill_service_send_fill_response_p(void);
+extern int utc_autofill_service_send_fill_response_n(void);
+
+extern int utc_autofill_service_set_commited_cb_p(void);
+extern int utc_autofill_service_set_commited_cb_n(void);
+
+extern int utc_autofill_service_unset_commited_cb_p(void);
+
+extern int utc_autofill_service_set_terminate_received_cb_p(void);
+extern int utc_autofill_service_set_terminate_received_cb_n(void);
+
+extern int utc_autofill_service_unset_terminate_received_cb_p(void);
+
+testcase tc_array[] = {
+ // common
+ {"utc_autofill_item_create_p", utc_autofill_item_create_p, utc_capi_ui_autofill_common_startup, utc_capi_ui_autofill_common_cleanup},
+ {"utc_autofill_item_create_n", utc_autofill_item_create_n, utc_capi_ui_autofill_common_startup, utc_capi_ui_autofill_common_cleanup},
+ {"utc_autofill_item_destroy_p", utc_autofill_item_destroy_p, utc_capi_ui_autofill_common_startup, utc_capi_ui_autofill_common_cleanup},
+ {"utc_autofill_item_destroy_n", utc_autofill_item_destroy_n, utc_capi_ui_autofill_common_startup, utc_capi_ui_autofill_common_cleanup},
+
+ {"utc_autofill_item_clone_p", utc_autofill_item_clone_p, utc_capi_ui_autofill_common_startup, utc_capi_ui_autofill_common_cleanup},
+ {"utc_autofill_item_clone_n", utc_autofill_item_clone_n, utc_capi_ui_autofill_common_startup, utc_capi_ui_autofill_common_cleanup},
+
+ {"utc_autofill_item_set_autofill_hint_p", utc_autofill_item_set_autofill_hint_p, utc_capi_ui_autofill_common_startup, utc_capi_ui_autofill_common_cleanup},
+ {"utc_autofill_item_set_autofill_hint_n", utc_autofill_item_set_autofill_hint_n, utc_capi_ui_autofill_common_startup, utc_capi_ui_autofill_common_cleanup},
+ {"utc_autofill_item_get_autofill_hint_p", utc_autofill_item_get_autofill_hint_p, utc_capi_ui_autofill_common_startup, utc_capi_ui_autofill_common_cleanup},
+ {"utc_autofill_item_get_autofill_hint_n", utc_autofill_item_get_autofill_hint_n, utc_capi_ui_autofill_common_startup, utc_capi_ui_autofill_common_cleanup},
+
+ {"utc_autofill_item_set_id_p", utc_autofill_item_set_id_p, utc_capi_ui_autofill_common_startup, utc_capi_ui_autofill_common_cleanup},
+ {"utc_autofill_item_set_id_n", utc_autofill_item_set_id_n, utc_capi_ui_autofill_common_startup, utc_capi_ui_autofill_common_cleanup},
+ {"utc_autofill_item_get_id_p", utc_autofill_item_get_id_p, utc_capi_ui_autofill_common_startup, utc_capi_ui_autofill_common_cleanup},
+ {"utc_autofill_item_get_id_n", utc_autofill_item_get_id_n, utc_capi_ui_autofill_common_startup, utc_capi_ui_autofill_common_cleanup},
+
+ {"utc_autofill_item_set_label_p", utc_autofill_item_set_label_p, utc_capi_ui_autofill_common_startup, utc_capi_ui_autofill_common_cleanup},
+ {"utc_autofill_item_set_label_n", utc_autofill_item_set_label_n, utc_capi_ui_autofill_common_startup, utc_capi_ui_autofill_common_cleanup},
+ {"utc_autofill_item_get_label_p", utc_autofill_item_get_label_p, utc_capi_ui_autofill_common_startup, utc_capi_ui_autofill_common_cleanup},
+ {"utc_autofill_item_get_label_n", utc_autofill_item_get_label_n, utc_capi_ui_autofill_common_startup, utc_capi_ui_autofill_common_cleanup},
+
+ {"utc_autofill_item_set_sensitive_data_p", utc_autofill_item_set_sensitive_data_p, utc_capi_ui_autofill_common_startup, utc_capi_ui_autofill_common_cleanup},
+ {"utc_autofill_item_set_sensitive_data_n", utc_autofill_item_set_sensitive_data_n, utc_capi_ui_autofill_common_startup, utc_capi_ui_autofill_common_cleanup},
+ {"utc_autofill_item_get_sensitive_data_p", utc_autofill_item_get_sensitive_data_p, utc_capi_ui_autofill_common_startup, utc_capi_ui_autofill_common_cleanup},
+ {"utc_autofill_item_get_sensitive_data_n", utc_autofill_item_get_sensitive_data_n, utc_capi_ui_autofill_common_startup, utc_capi_ui_autofill_common_cleanup},
+
+ {"utc_autofill_item_set_value_p", utc_autofill_item_set_value_p, utc_capi_ui_autofill_common_startup, utc_capi_ui_autofill_common_cleanup},
+ {"utc_autofill_item_set_value_n", utc_autofill_item_set_value_n, utc_capi_ui_autofill_common_startup, utc_capi_ui_autofill_common_cleanup},
+ {"utc_autofill_item_get_value_p", utc_autofill_item_get_value_p, utc_capi_ui_autofill_common_startup, utc_capi_ui_autofill_common_cleanup},
+ {"utc_autofill_item_get_value_n", utc_autofill_item_get_value_n, utc_capi_ui_autofill_common_startup, utc_capi_ui_autofill_common_cleanup},
+
+ {"utc_autofill_auth_info_create_p", utc_autofill_auth_info_create_p, utc_capi_ui_autofill_common_startup, utc_capi_ui_autofill_common_cleanup},
+ {"utc_autofill_auth_info_create_n", utc_autofill_auth_info_create_n, utc_capi_ui_autofill_common_startup, utc_capi_ui_autofill_common_cleanup},
+ {"utc_autofill_auth_info_destroy_p", utc_autofill_auth_info_destroy_p, utc_capi_ui_autofill_common_startup, utc_capi_ui_autofill_common_cleanup},
+ {"utc_autofill_auth_info_destroy_n", utc_autofill_auth_info_destroy_n, utc_capi_ui_autofill_common_startup, utc_capi_ui_autofill_common_cleanup},
+
+ {"utc_autofill_auth_info_set_app_id_p", utc_autofill_auth_info_set_app_id_p, utc_capi_ui_autofill_common_startup, utc_capi_ui_autofill_common_cleanup},
+ {"utc_autofill_auth_info_set_app_id_n", utc_autofill_auth_info_set_app_id_n, utc_capi_ui_autofill_common_startup, utc_capi_ui_autofill_common_cleanup},
+ {"utc_autofill_auth_info_get_app_id_p", utc_autofill_auth_info_get_app_id_p, utc_capi_ui_autofill_common_startup, utc_capi_ui_autofill_common_cleanup},
+ {"utc_autofill_auth_info_get_app_id_n", utc_autofill_auth_info_get_app_id_n, utc_capi_ui_autofill_common_startup, utc_capi_ui_autofill_common_cleanup},
+
+ {"utc_autofill_auth_info_set_view_id_p", utc_autofill_auth_info_set_view_id_p, utc_capi_ui_autofill_common_startup, utc_capi_ui_autofill_common_cleanup},
+ {"utc_autofill_auth_info_set_view_id_n", utc_autofill_auth_info_set_view_id_n, utc_capi_ui_autofill_common_startup, utc_capi_ui_autofill_common_cleanup},
+ {"utc_autofill_auth_info_get_view_id_p", utc_autofill_auth_info_get_view_id_p, utc_capi_ui_autofill_common_startup, utc_capi_ui_autofill_common_cleanup},
+ {"utc_autofill_auth_info_get_view_id_n", utc_autofill_auth_info_get_view_id_n, utc_capi_ui_autofill_common_startup, utc_capi_ui_autofill_common_cleanup},
+
+ {"utc_autofill_auth_info_set_autofill_data_present_p", utc_autofill_auth_info_set_autofill_data_present_p, utc_capi_ui_autofill_common_startup, utc_capi_ui_autofill_common_cleanup},
+ {"utc_autofill_auth_info_set_autofill_data_present_n", utc_autofill_auth_info_set_autofill_data_present_n, utc_capi_ui_autofill_common_startup, utc_capi_ui_autofill_common_cleanup},
+ {"utc_autofill_auth_info_get_autofill_data_present_p", utc_autofill_auth_info_get_autofill_data_present_p, utc_capi_ui_autofill_common_startup, utc_capi_ui_autofill_common_cleanup},
+ {"utc_autofill_auth_info_get_autofill_data_present_n", utc_autofill_auth_info_get_autofill_data_present_n, utc_capi_ui_autofill_common_startup, utc_capi_ui_autofill_common_cleanup},
+
+ {"utc_autofill_auth_info_set_authentication_needed_p", utc_autofill_auth_info_set_authentication_needed_p, utc_capi_ui_autofill_common_startup, utc_capi_ui_autofill_common_cleanup},
+ {"utc_autofill_auth_info_set_authentication_needed_n", utc_autofill_auth_info_set_authentication_needed_n, utc_capi_ui_autofill_common_startup, utc_capi_ui_autofill_common_cleanup},
+ {"utc_autofill_auth_info_get_authentication_needed_p", utc_autofill_auth_info_get_authentication_needed_p, utc_capi_ui_autofill_common_startup, utc_capi_ui_autofill_common_cleanup},
+ {"utc_autofill_auth_info_get_authentication_needed_n", utc_autofill_auth_info_get_authentication_needed_n, utc_capi_ui_autofill_common_startup, utc_capi_ui_autofill_common_cleanup},
+
+ {"utc_autofill_auth_info_set_service_name_p", utc_autofill_auth_info_set_service_name_p, utc_capi_ui_autofill_common_startup, utc_capi_ui_autofill_common_cleanup},
+ {"utc_autofill_auth_info_set_service_name_n", utc_autofill_auth_info_set_service_name_n, utc_capi_ui_autofill_common_startup, utc_capi_ui_autofill_common_cleanup},
+ {"utc_autofill_auth_info_get_service_name_p", utc_autofill_auth_info_get_service_name_p, utc_capi_ui_autofill_common_startup, utc_capi_ui_autofill_common_cleanup},
+ {"utc_autofill_auth_info_get_service_name_n", utc_autofill_auth_info_get_service_name_n, utc_capi_ui_autofill_common_startup, utc_capi_ui_autofill_common_cleanup},
+
+ {"utc_autofill_auth_info_set_service_message_p", utc_autofill_auth_info_set_service_message_p, utc_capi_ui_autofill_common_startup, utc_capi_ui_autofill_common_cleanup},
+ {"utc_autofill_auth_info_set_service_message_n", utc_autofill_auth_info_set_service_message_n, utc_capi_ui_autofill_common_startup, utc_capi_ui_autofill_common_cleanup},
+ {"utc_autofill_auth_info_get_service_message_p", utc_autofill_auth_info_get_service_message_p, utc_capi_ui_autofill_common_startup, utc_capi_ui_autofill_common_cleanup},
+ {"utc_autofill_auth_info_get_service_message_n", utc_autofill_auth_info_get_service_message_n, utc_capi_ui_autofill_common_startup, utc_capi_ui_autofill_common_cleanup},
+
+ {"utc_autofill_auth_info_set_service_logo_image_path_p", utc_autofill_auth_info_set_service_logo_image_path_p, utc_capi_ui_autofill_common_startup, utc_capi_ui_autofill_common_cleanup},
+ {"utc_autofill_auth_info_set_service_logo_image_path_n", utc_autofill_auth_info_set_service_logo_image_path_n, utc_capi_ui_autofill_common_startup, utc_capi_ui_autofill_common_cleanup},
+ {"utc_autofill_auth_info_get_service_logo_image_path_p", utc_autofill_auth_info_get_service_logo_image_path_p, utc_capi_ui_autofill_common_startup, utc_capi_ui_autofill_common_cleanup},
+ {"utc_autofill_auth_info_get_service_logo_image_path_n", utc_autofill_auth_info_get_service_logo_image_path_n, utc_capi_ui_autofill_common_startup, utc_capi_ui_autofill_common_cleanup},
+
+ {"utc_autofill_view_info_create_p", utc_autofill_view_info_create_p, utc_capi_ui_autofill_common_startup, utc_capi_ui_autofill_common_cleanup},
+ {"utc_autofill_view_info_create_n", utc_autofill_view_info_create_n, utc_capi_ui_autofill_common_startup, utc_capi_ui_autofill_common_cleanup},
+ {"utc_autofill_view_info_destroy_p", utc_autofill_view_info_destroy_p, utc_capi_ui_autofill_common_startup, utc_capi_ui_autofill_common_cleanup},
+ {"utc_autofill_view_info_destroy_n", utc_autofill_view_info_destroy_n, utc_capi_ui_autofill_common_startup, utc_capi_ui_autofill_common_cleanup},
+
+ {"utc_autofill_view_info_set_app_id_p", utc_autofill_view_info_set_app_id_p, utc_capi_ui_autofill_common_startup, utc_capi_ui_autofill_common_cleanup},
+ {"utc_autofill_view_info_set_app_id_n", utc_autofill_view_info_set_app_id_n, utc_capi_ui_autofill_common_startup, utc_capi_ui_autofill_common_cleanup},
+ {"utc_autofill_view_info_get_app_id_p", utc_autofill_view_info_get_app_id_p, utc_capi_ui_autofill_common_startup, utc_capi_ui_autofill_common_cleanup},
+ {"utc_autofill_view_info_get_app_id_n", utc_autofill_view_info_get_app_id_n, utc_capi_ui_autofill_common_startup, utc_capi_ui_autofill_common_cleanup},
+
+ {"utc_autofill_view_info_set_view_id_p", utc_autofill_view_info_set_view_id_p, utc_capi_ui_autofill_common_startup, utc_capi_ui_autofill_common_cleanup},
+ {"utc_autofill_view_info_set_view_id_n", utc_autofill_view_info_set_view_id_n, utc_capi_ui_autofill_common_startup, utc_capi_ui_autofill_common_cleanup},
+ {"utc_autofill_view_info_get_view_id_p", utc_autofill_view_info_get_view_id_p, utc_capi_ui_autofill_common_startup, utc_capi_ui_autofill_common_cleanup},
+ {"utc_autofill_view_info_get_view_id_n", utc_autofill_view_info_get_view_id_n, utc_capi_ui_autofill_common_startup, utc_capi_ui_autofill_common_cleanup},
+
+ {"utc_autofill_view_info_add_item_p", utc_autofill_view_info_add_item_p, utc_capi_ui_autofill_common_startup, utc_capi_ui_autofill_common_cleanup},
+ {"utc_autofill_view_info_add_item_n", utc_autofill_view_info_add_item_n, utc_capi_ui_autofill_common_startup, utc_capi_ui_autofill_common_cleanup},
+
+ {"utc_autofill_view_info_foreach_item_p", utc_autofill_view_info_foreach_item_p, utc_capi_ui_autofill_common_startup, utc_capi_ui_autofill_common_cleanup},
+ {"utc_autofill_view_info_foreach_item_n", utc_autofill_view_info_foreach_item_n, utc_capi_ui_autofill_common_startup, utc_capi_ui_autofill_common_cleanup},
+
+ {"utc_autofill_fill_response_create_p", utc_autofill_fill_response_create_p, utc_capi_ui_autofill_common_startup, utc_capi_ui_autofill_common_cleanup},
+ {"utc_autofill_fill_response_create_n", utc_autofill_fill_response_create_n, utc_capi_ui_autofill_common_startup, utc_capi_ui_autofill_common_cleanup},
+ {"utc_autofill_fill_response_destroy_p", utc_autofill_fill_response_destroy_p, utc_capi_ui_autofill_common_startup, utc_capi_ui_autofill_common_cleanup},
+ {"utc_autofill_fill_response_destroy_n", utc_autofill_fill_response_destroy_n, utc_capi_ui_autofill_common_startup, utc_capi_ui_autofill_common_cleanup},
+
+ {"utc_autofill_fill_response_set_app_id_p", utc_autofill_fill_response_set_app_id_p, utc_capi_ui_autofill_common_startup, utc_capi_ui_autofill_common_cleanup},
+ {"utc_autofill_fill_response_set_app_id_n", utc_autofill_fill_response_set_app_id_n, utc_capi_ui_autofill_common_startup, utc_capi_ui_autofill_common_cleanup},
+ {"utc_autofill_fill_response_get_app_id_p", utc_autofill_fill_response_get_app_id_p, utc_capi_ui_autofill_common_startup, utc_capi_ui_autofill_common_cleanup},
+ {"utc_autofill_fill_response_get_app_id_n", utc_autofill_fill_response_get_app_id_n, utc_capi_ui_autofill_common_startup, utc_capi_ui_autofill_common_cleanup},
+
+ {"utc_autofill_fill_response_set_view_id_p", utc_autofill_fill_response_set_view_id_p, utc_capi_ui_autofill_common_startup, utc_capi_ui_autofill_common_cleanup},
+ {"utc_autofill_fill_response_set_view_id_n", utc_autofill_fill_response_set_view_id_n, utc_capi_ui_autofill_common_startup, utc_capi_ui_autofill_common_cleanup},
+ {"utc_autofill_fill_response_get_view_id_p", utc_autofill_fill_response_get_view_id_p, utc_capi_ui_autofill_common_startup, utc_capi_ui_autofill_common_cleanup},
+ {"utc_autofill_fill_response_get_view_id_n", utc_autofill_fill_response_get_view_id_n, utc_capi_ui_autofill_common_startup, utc_capi_ui_autofill_common_cleanup},
+
+ {"utc_autofill_fill_response_add_group_p", utc_autofill_fill_response_add_group_p, utc_capi_ui_autofill_common_startup, utc_capi_ui_autofill_common_cleanup},
+ {"utc_autofill_fill_response_add_group_n", utc_autofill_fill_response_add_group_n, utc_capi_ui_autofill_common_startup, utc_capi_ui_autofill_common_cleanup},
+
+ {"utc_autofill_fill_response_foreach_group_p", utc_autofill_fill_response_foreach_group_p, utc_capi_ui_autofill_common_startup, utc_capi_ui_autofill_common_cleanup},
+ {"utc_autofill_fill_response_foreach_group_n", utc_autofill_fill_response_foreach_group_n, utc_capi_ui_autofill_common_startup, utc_capi_ui_autofill_common_cleanup},
+
+ {"utc_autofill_fill_response_get_group_count_p", utc_autofill_fill_response_get_group_count_p, utc_capi_ui_autofill_common_startup, utc_capi_ui_autofill_common_cleanup},
+ {"utc_autofill_fill_response_get_group_count_n", utc_autofill_fill_response_get_group_count_n, utc_capi_ui_autofill_common_startup, utc_capi_ui_autofill_common_cleanup},
+
+ {"utc_autofill_fill_response_group_add_item_p", utc_autofill_fill_response_group_add_item_p, utc_capi_ui_autofill_common_startup, utc_capi_ui_autofill_common_cleanup},
+ {"utc_autofill_fill_response_group_add_item_n", utc_autofill_fill_response_group_add_item_n, utc_capi_ui_autofill_common_startup, utc_capi_ui_autofill_common_cleanup},
+
+ {"utc_autofill_fill_response_group_create_p", utc_autofill_fill_response_group_create_p, utc_capi_ui_autofill_common_startup, utc_capi_ui_autofill_common_cleanup},
+ {"utc_autofill_fill_response_group_create_n", utc_autofill_fill_response_group_create_n, utc_capi_ui_autofill_common_startup, utc_capi_ui_autofill_common_cleanup},
+
+ {"utc_autofill_fill_response_group_clone_p", utc_autofill_fill_response_group_clone_p, utc_capi_ui_autofill_common_startup, utc_capi_ui_autofill_common_cleanup},
+ {"utc_autofill_fill_response_group_clone_n", utc_autofill_fill_response_group_clone_n, utc_capi_ui_autofill_common_startup, utc_capi_ui_autofill_common_cleanup},
+
+ {"utc_autofill_fill_response_group_foreach_item_p", utc_autofill_fill_response_group_foreach_item_p, utc_capi_ui_autofill_common_startup, utc_capi_ui_autofill_common_cleanup},
+ {"utc_autofill_fill_response_group_foreach_item_n", utc_autofill_fill_response_group_foreach_item_n, utc_capi_ui_autofill_common_startup, utc_capi_ui_autofill_common_cleanup},
+
+ {"utc_autofill_save_view_info_create_p", utc_autofill_save_view_info_create_p, utc_capi_ui_autofill_common_startup, utc_capi_ui_autofill_common_cleanup},
+ {"utc_autofill_save_view_info_create_n", utc_autofill_save_view_info_create_n, utc_capi_ui_autofill_common_startup, utc_capi_ui_autofill_common_cleanup},
+ {"utc_autofill_save_view_info_destroy_p", utc_autofill_save_view_info_destroy_p, utc_capi_ui_autofill_common_startup, utc_capi_ui_autofill_common_cleanup},
+ {"utc_autofill_save_view_info_destroy_n", utc_autofill_save_view_info_destroy_n, utc_capi_ui_autofill_common_startup, utc_capi_ui_autofill_common_cleanup},
+
+ {"utc_autofill_save_view_info_set_app_id_p", utc_autofill_save_view_info_set_app_id_p, utc_capi_ui_autofill_common_startup, utc_capi_ui_autofill_common_cleanup},
+ {"utc_autofill_save_view_info_set_app_id_n", utc_autofill_save_view_info_set_app_id_n, utc_capi_ui_autofill_common_startup, utc_capi_ui_autofill_common_cleanup},
+ {"utc_autofill_save_view_info_get_app_id_p", utc_autofill_save_view_info_get_app_id_p, utc_capi_ui_autofill_common_startup, utc_capi_ui_autofill_common_cleanup},
+ {"utc_autofill_save_view_info_get_app_id_n", utc_autofill_save_view_info_get_app_id_n, utc_capi_ui_autofill_common_startup, utc_capi_ui_autofill_common_cleanup},
+
+ {"utc_autofill_save_view_info_set_view_id_p", utc_autofill_save_view_info_set_view_id_p, utc_capi_ui_autofill_common_startup, utc_capi_ui_autofill_common_cleanup},
+ {"utc_autofill_save_view_info_set_view_id_n", utc_autofill_save_view_info_set_view_id_n, utc_capi_ui_autofill_common_startup, utc_capi_ui_autofill_common_cleanup},
+ {"utc_autofill_save_view_info_get_view_id_p", utc_autofill_save_view_info_get_view_id_p, utc_capi_ui_autofill_common_startup, utc_capi_ui_autofill_common_cleanup},
+ {"utc_autofill_save_view_info_get_view_id_n", utc_autofill_save_view_info_get_view_id_n, utc_capi_ui_autofill_common_startup, utc_capi_ui_autofill_common_cleanup},
+
+ {"utc_autofill_save_view_info_add_item_p", utc_autofill_save_view_info_add_item_p, utc_capi_ui_autofill_common_startup, utc_capi_ui_autofill_common_cleanup},
+ {"utc_autofill_save_view_info_add_item_n", utc_autofill_save_view_info_add_item_n, utc_capi_ui_autofill_common_startup, utc_capi_ui_autofill_common_cleanup},
+
+ {"utc_autofill_save_view_info_foreach_item_p", utc_autofill_save_view_info_foreach_item_p, utc_capi_ui_autofill_common_startup, utc_capi_ui_autofill_common_cleanup},
+ {"utc_autofill_save_view_info_foreach_item_n", utc_autofill_save_view_info_foreach_item_n, utc_capi_ui_autofill_common_startup, utc_capi_ui_autofill_common_cleanup},
+
+ {"utc_autofill_fill_response_item_create_p", utc_autofill_fill_response_item_create_p, utc_capi_ui_autofill_common_startup, utc_capi_ui_autofill_common_cleanup},
+ {"utc_autofill_fill_response_item_create_n", utc_autofill_fill_response_item_create_n, utc_capi_ui_autofill_common_startup, utc_capi_ui_autofill_common_cleanup},
+
+ {"utc_autofill_fill_response_item_destroy_p", utc_autofill_fill_response_item_destroy_p, utc_capi_ui_autofill_common_startup, utc_capi_ui_autofill_common_cleanup},
+ {"utc_autofill_fill_response_item_destroy_n", utc_autofill_fill_response_item_destroy_n, utc_capi_ui_autofill_common_startup, utc_capi_ui_autofill_common_cleanup},
+
+ {"utc_autofill_fill_response_item_clone_p", utc_autofill_fill_response_item_clone_p, utc_capi_ui_autofill_common_startup, utc_capi_ui_autofill_common_cleanup},
+ {"utc_autofill_fill_response_item_clone_n", utc_autofill_fill_response_item_clone_n, utc_capi_ui_autofill_common_startup, utc_capi_ui_autofill_common_cleanup},
+
+ {"utc_autofill_fill_response_item_set_id_p", utc_autofill_fill_response_item_set_id_p, utc_capi_ui_autofill_common_startup, utc_capi_ui_autofill_common_cleanup},
+ {"utc_autofill_fill_response_item_set_id_n", utc_autofill_fill_response_item_set_id_n, utc_capi_ui_autofill_common_startup, utc_capi_ui_autofill_common_cleanup},
+
+ {"utc_autofill_fill_response_item_get_id_p", utc_autofill_fill_response_item_get_id_p, utc_capi_ui_autofill_common_startup, utc_capi_ui_autofill_common_cleanup},
+ {"utc_autofill_fill_response_item_get_id_n", utc_autofill_fill_response_item_get_id_n, utc_capi_ui_autofill_common_startup, utc_capi_ui_autofill_common_cleanup},
+
+ {"utc_autofill_fill_response_item_set_value_p", utc_autofill_fill_response_item_set_value_p, utc_capi_ui_autofill_common_startup, utc_capi_ui_autofill_common_cleanup},
+ {"utc_autofill_fill_response_item_set_value_n", utc_autofill_fill_response_item_set_value_n, utc_capi_ui_autofill_common_startup, utc_capi_ui_autofill_common_cleanup},
+
+ {"utc_autofill_fill_response_item_get_value_p", utc_autofill_fill_response_item_get_value_p, utc_capi_ui_autofill_common_startup, utc_capi_ui_autofill_common_cleanup},
+ {"utc_autofill_fill_response_item_get_value_n", utc_autofill_fill_response_item_get_value_n, utc_capi_ui_autofill_common_startup, utc_capi_ui_autofill_common_cleanup},
+
+ {"utc_autofill_fill_response_item_set_presentation_text_p", utc_autofill_fill_response_item_set_presentation_text_p, utc_capi_ui_autofill_common_startup, utc_capi_ui_autofill_common_cleanup},
+ {"utc_autofill_fill_response_item_set_presentation_text_n", utc_autofill_fill_response_item_set_presentation_text_n, utc_capi_ui_autofill_common_startup, utc_capi_ui_autofill_common_cleanup},
+
+ {"utc_autofill_fill_response_item_get_presentation_text_p", utc_autofill_fill_response_item_get_presentation_text_p, utc_capi_ui_autofill_common_startup, utc_capi_ui_autofill_common_cleanup},
+ {"utc_autofill_fill_response_item_get_presentation_text_n", utc_autofill_fill_response_item_get_presentation_text_n, utc_capi_ui_autofill_common_startup, utc_capi_ui_autofill_common_cleanup},
+
+ {"utc_autofill_save_item_create_p", utc_autofill_save_item_create_p, utc_capi_ui_autofill_common_startup, utc_capi_ui_autofill_common_cleanup},
+ {"utc_autofill_save_item_create_n", utc_autofill_save_item_create_n, utc_capi_ui_autofill_common_startup, utc_capi_ui_autofill_common_cleanup},
+ {"utc_autofill_save_item_destroy_p", utc_autofill_save_item_destroy_p, utc_capi_ui_autofill_common_startup, utc_capi_ui_autofill_common_cleanup},
+ {"utc_autofill_save_item_destroy_n", utc_autofill_save_item_destroy_n, utc_capi_ui_autofill_common_startup, utc_capi_ui_autofill_common_cleanup},
+ {"utc_autofill_save_item_clone_p", utc_autofill_save_item_clone_p, utc_capi_ui_autofill_common_startup, utc_capi_ui_autofill_common_cleanup},
+ {"utc_autofill_save_item_clone_n", utc_autofill_save_item_clone_n, utc_capi_ui_autofill_common_startup, utc_capi_ui_autofill_common_cleanup},
+
+ {"utc_autofill_save_item_set_autofill_hint_p", utc_autofill_save_item_set_autofill_hint_p, utc_capi_ui_autofill_common_startup, utc_capi_ui_autofill_common_cleanup},
+ {"utc_autofill_save_item_set_autofill_hint_n", utc_autofill_save_item_set_autofill_hint_n, utc_capi_ui_autofill_common_startup, utc_capi_ui_autofill_common_cleanup},
+ {"utc_autofill_save_item_get_autofill_hint_p", utc_autofill_save_item_get_autofill_hint_p, utc_capi_ui_autofill_common_startup, utc_capi_ui_autofill_common_cleanup},
+ {"utc_autofill_save_item_get_autofill_hint_n", utc_autofill_save_item_get_autofill_hint_n, utc_capi_ui_autofill_common_startup, utc_capi_ui_autofill_common_cleanup},
+
+ {"utc_autofill_save_item_set_id_p", utc_autofill_save_item_set_id_p, utc_capi_ui_autofill_common_startup, utc_capi_ui_autofill_common_cleanup},
+ {"utc_autofill_save_item_set_id_n", utc_autofill_save_item_set_id_n, utc_capi_ui_autofill_common_startup, utc_capi_ui_autofill_common_cleanup},
+ {"utc_autofill_save_item_get_id_p", utc_autofill_save_item_get_id_p, utc_capi_ui_autofill_common_startup, utc_capi_ui_autofill_common_cleanup},
+ {"utc_autofill_save_item_get_id_n", utc_autofill_save_item_get_id_n, utc_capi_ui_autofill_common_startup, utc_capi_ui_autofill_common_cleanup},
+
+ {"utc_autofill_save_item_set_label_p", utc_autofill_save_item_set_label_p, utc_capi_ui_autofill_common_startup, utc_capi_ui_autofill_common_cleanup},
+ {"utc_autofill_save_item_set_label_n", utc_autofill_save_item_set_label_n, utc_capi_ui_autofill_common_startup, utc_capi_ui_autofill_common_cleanup},
+ {"utc_autofill_save_item_get_label_p", utc_autofill_save_item_get_label_p, utc_capi_ui_autofill_common_startup, utc_capi_ui_autofill_common_cleanup},
+ {"utc_autofill_save_item_get_label_n", utc_autofill_save_item_get_label_n, utc_capi_ui_autofill_common_startup, utc_capi_ui_autofill_common_cleanup},
+
+ {"utc_autofill_save_item_set_sensitive_data_p", utc_autofill_save_item_set_sensitive_data_p, utc_capi_ui_autofill_common_startup, utc_capi_ui_autofill_common_cleanup},
+ {"utc_autofill_save_item_set_sensitive_data_n", utc_autofill_save_item_set_sensitive_data_n, utc_capi_ui_autofill_common_startup, utc_capi_ui_autofill_common_cleanup},
+ {"utc_autofill_save_item_get_sensitive_data_p", utc_autofill_save_item_get_sensitive_data_p, utc_capi_ui_autofill_common_startup, utc_capi_ui_autofill_common_cleanup},
+ {"utc_autofill_save_item_get_sensitive_data_n", utc_autofill_save_item_get_sensitive_data_n, utc_capi_ui_autofill_common_startup, utc_capi_ui_autofill_common_cleanup},
+
+ {"utc_autofill_save_item_set_value_p", utc_autofill_save_item_set_value_p, utc_capi_ui_autofill_common_startup, utc_capi_ui_autofill_common_cleanup},
+ {"utc_autofill_save_item_set_value_n", utc_autofill_save_item_set_value_n, utc_capi_ui_autofill_common_startup, utc_capi_ui_autofill_common_cleanup},
+ {"utc_autofill_save_item_get_value_p", utc_autofill_save_item_get_value_p, utc_capi_ui_autofill_common_startup, utc_capi_ui_autofill_common_cleanup},
+ {"utc_autofill_save_item_get_value_n", utc_autofill_save_item_get_value_n, utc_capi_ui_autofill_common_startup, utc_capi_ui_autofill_common_cleanup},
+
+ // client
+ {"utc_autofill_connect_p", utc_autofill_connect_p, utc_capi_ui_autofill_startup, utc_capi_ui_autofill_cleanup},
+ {"utc_autofill_connect_n", utc_autofill_connect_n, utc_capi_ui_autofill_startup, utc_capi_ui_autofill_cleanup},
+
+ {"utc_autofill_auth_info_request_p", utc_autofill_auth_info_request_p, utc_capi_ui_autofill_startup, utc_capi_ui_autofill_cleanup},
+ {"utc_autofill_auth_info_request_n", utc_autofill_auth_info_request_n, utc_capi_ui_autofill_startup, utc_capi_ui_autofill_cleanup},
+
+ {"utc_autofill_auth_info_set_received_cb_p", utc_autofill_auth_info_set_received_cb_p, utc_capi_ui_autofill_startup, utc_capi_ui_autofill_cleanup},
+ {"utc_autofill_auth_info_set_received_cb_n", utc_autofill_auth_info_set_received_cb_n, utc_capi_ui_autofill_startup, utc_capi_ui_autofill_cleanup},
+
+ {"utc_autofill_auth_info_unset_received_cb_p", utc_autofill_auth_info_unset_received_cb_p, utc_capi_ui_autofill_startup, utc_capi_ui_autofill_cleanup},
+ {"utc_autofill_auth_info_unset_received_cb_n", utc_autofill_auth_info_unset_received_cb_n, utc_capi_ui_autofill_startup, utc_capi_ui_autofill_cleanup},
+
+ {"utc_autofill_fill_request_p", utc_autofill_fill_request_p, utc_capi_ui_autofill_startup, utc_capi_ui_autofill_cleanup},
+ {"utc_autofill_fill_request_n", utc_autofill_fill_request_n, utc_capi_ui_autofill_startup, utc_capi_ui_autofill_cleanup},
+
+ {"utc_autofill_fill_response_set_received_cb_p", utc_autofill_fill_response_set_received_cb_p, utc_capi_ui_autofill_startup, utc_capi_ui_autofill_cleanup},
+ {"utc_autofill_fill_response_set_received_cb_n", utc_autofill_fill_response_set_received_cb_n, utc_capi_ui_autofill_startup, utc_capi_ui_autofill_cleanup},
+
+ {"utc_autofill_fill_response_unset_received_cb_p", utc_autofill_fill_response_unset_received_cb_p, utc_capi_ui_autofill_startup, utc_capi_ui_autofill_cleanup},
+ {"utc_autofill_fill_response_unset_received_cb_n", utc_autofill_fill_response_unset_received_cb_n, utc_capi_ui_autofill_startup, utc_capi_ui_autofill_cleanup},
+
+ {"utc_autofill_commit_p", utc_autofill_commit_p, utc_capi_ui_autofill_startup, utc_capi_ui_autofill_cleanup},
+ {"utc_autofill_commit_n", utc_autofill_commit_n, utc_capi_ui_autofill_startup, utc_capi_ui_autofill_cleanup},
+
+ // service
+ {"utc_autofill_service_set_auth_info_requested_cb_p", utc_autofill_service_set_auth_info_requested_cb_p, utc_capi_ui_autofill_service_startup, utc_capi_ui_autofill_service_cleanup},
+ {"utc_autofill_service_set_auth_info_requested_cb_n", utc_autofill_service_set_auth_info_requested_cb_n, utc_capi_ui_autofill_service_startup, utc_capi_ui_autofill_service_cleanup},
+ {"utc_autofill_service_unset_auth_info_requested_cb_p", utc_autofill_service_unset_auth_info_requested_cb_p, utc_capi_ui_autofill_service_startup, utc_capi_ui_autofill_service_cleanup},
+ {"utc_autofill_service_send_auth_info_cb_p", utc_autofill_service_send_auth_info_cb_p, utc_capi_ui_autofill_service_startup, utc_capi_ui_autofill_service_cleanup},
+ {"utc_autofill_service_send_auth_info_cb_n", utc_autofill_service_send_auth_info_cb_n, utc_capi_ui_autofill_service_startup, utc_capi_ui_autofill_service_cleanup},
+ {"utc_autofill_service_set_fill_requested_cb_p", utc_autofill_service_set_fill_requested_cb_p, utc_capi_ui_autofill_service_startup, utc_capi_ui_autofill_service_cleanup},
+ {"utc_autofill_service_set_fill_requested_cb_n", utc_autofill_service_set_fill_requested_cb_n, utc_capi_ui_autofill_service_startup, utc_capi_ui_autofill_service_cleanup},
+ {"utc_autofill_service_unset_fill_requested_cb_p", utc_autofill_service_unset_fill_requested_cb_p, utc_capi_ui_autofill_service_startup, utc_capi_ui_autofill_service_cleanup},
+ {"utc_autofill_service_send_fill_response_p", utc_autofill_service_send_fill_response_p, utc_capi_ui_autofill_service_startup, utc_capi_ui_autofill_service_cleanup},
+ {"utc_autofill_service_send_fill_response_n", utc_autofill_service_send_fill_response_n, utc_capi_ui_autofill_service_startup, utc_capi_ui_autofill_service_cleanup},
+ {"utc_autofill_service_set_commited_cb_p", utc_autofill_service_set_commited_cb_p, utc_capi_ui_autofill_service_startup, utc_capi_ui_autofill_service_cleanup},
+ {"utc_autofill_service_set_commited_cb_n", utc_autofill_service_set_commited_cb_n, utc_capi_ui_autofill_service_startup, utc_capi_ui_autofill_service_cleanup},
+ {"utc_autofill_service_unset_commited_cb_p", utc_autofill_service_unset_commited_cb_p, utc_capi_ui_autofill_service_startup, utc_capi_ui_autofill_service_cleanup},
+ {"utc_autofill_service_set_terminate_received_cb_p", utc_autofill_service_set_terminate_received_cb_p, utc_capi_ui_autofill_service_startup, utc_capi_ui_autofill_service_cleanup},
+ {"utc_autofill_service_set_terminate_received_cb_n", utc_autofill_service_set_terminate_received_cb_n, utc_capi_ui_autofill_service_startup, utc_capi_ui_autofill_service_cleanup},
+ {"utc_autofill_service_unset_terminate_received_cb_p", utc_autofill_service_unset_terminate_received_cb_p, utc_capi_ui_autofill_service_startup, utc_capi_ui_autofill_service_cleanup},
+
+ {NULL, NULL}
+};
+
+#endif // __TCT_CAPI_UI_AUTOFILL_NATIVE_H__
--- /dev/null
+//
+// Copyright (c) 2014 Samsung Electronics Co., Ltd.
+//
+// Licensed under the Apache License, Version 2.0 (the License);
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+// http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+//
+#ifndef __TCT_CAPI_UI_AUTOFILL_NATIVE_H__
+#define __TCT_CAPI_UI_AUTOFILL_NATIVE_H__
+
+#include "testcase.h"
+#include "tct_common.h"
+
+// common
+extern void utc_capi_ui_autofill_common_startup(void);
+extern void utc_capi_ui_autofill_common_cleanup(void);
+
+extern int utc_autofill_item_create_p(void);
+extern int utc_autofill_item_create_n(void);
+extern int utc_autofill_item_destroy_p(void);
+extern int utc_autofill_item_destroy_n(void);
+
+extern int utc_autofill_item_clone_p(void);
+extern int utc_autofill_item_clone_n(void);
+
+extern int utc_autofill_item_set_autofill_hint_p(void);
+extern int utc_autofill_item_set_autofill_hint_n(void);
+extern int utc_autofill_item_get_autofill_hint_p(void);
+extern int utc_autofill_item_get_autofill_hint_n(void);
+
+extern int utc_autofill_item_set_id_p(void);
+extern int utc_autofill_item_set_id_n(void);
+extern int utc_autofill_item_get_id_p(void);
+extern int utc_autofill_item_get_id_n(void);
+
+extern int utc_autofill_item_set_label_p(void);
+extern int utc_autofill_item_set_label_n(void);
+extern int utc_autofill_item_get_label_p(void);
+extern int utc_autofill_item_get_label_n(void);
+
+extern int utc_autofill_item_set_sensitive_data_p(void);
+extern int utc_autofill_item_set_sensitive_data_n(void);
+extern int utc_autofill_item_get_sensitive_data_p(void);
+extern int utc_autofill_item_get_sensitive_data_n(void);
+
+extern int utc_autofill_item_set_value_p(void);
+extern int utc_autofill_item_set_value_n(void);
+extern int utc_autofill_item_get_value_p(void);
+extern int utc_autofill_item_get_value_n(void);
+
+extern int utc_autofill_auth_info_create_p(void);
+extern int utc_autofill_auth_info_create_n(void);
+extern int utc_autofill_auth_info_destroy_p(void);
+extern int utc_autofill_auth_info_destroy_n(void);
+
+extern int utc_autofill_auth_info_set_app_id_p(void);
+extern int utc_autofill_auth_info_set_app_id_n(void);
+extern int utc_autofill_auth_info_get_app_id_p(void);
+extern int utc_autofill_auth_info_get_app_id_n(void);
+
+extern int utc_autofill_auth_info_set_view_id_p(void);
+extern int utc_autofill_auth_info_set_view_id_n(void);
+extern int utc_autofill_auth_info_get_view_id_p(void);
+extern int utc_autofill_auth_info_get_view_id_n(void);
+
+extern int utc_autofill_auth_info_set_autofill_data_present_p(void);
+extern int utc_autofill_auth_info_set_autofill_data_present_n(void);
+extern int utc_autofill_auth_info_get_autofill_data_present_p(void);
+extern int utc_autofill_auth_info_get_autofill_data_present_n(void);
+
+extern int utc_autofill_auth_info_set_authentication_needed_p(void);
+extern int utc_autofill_auth_info_set_authentication_needed_n(void);
+extern int utc_autofill_auth_info_get_authentication_needed_p(void);
+extern int utc_autofill_auth_info_get_authentication_needed_n(void);
+
+extern int utc_autofill_auth_info_set_service_name_p(void);
+extern int utc_autofill_auth_info_set_service_name_n(void);
+extern int utc_autofill_auth_info_get_service_name_p(void);
+extern int utc_autofill_auth_info_get_service_name_n(void);
+
+extern int utc_autofill_auth_info_set_service_message_p(void);
+extern int utc_autofill_auth_info_set_service_message_n(void);
+extern int utc_autofill_auth_info_get_service_message_p(void);
+extern int utc_autofill_auth_info_get_service_message_n(void);
+
+extern int utc_autofill_auth_info_set_service_logo_image_path_p(void);
+extern int utc_autofill_auth_info_set_service_logo_image_path_n(void);
+extern int utc_autofill_auth_info_get_service_logo_image_path_p(void);
+extern int utc_autofill_auth_info_get_service_logo_image_path_n(void);
+
+extern int utc_autofill_view_info_create_p(void);
+extern int utc_autofill_view_info_create_n(void);
+extern int utc_autofill_view_info_destroy_p(void);
+extern int utc_autofill_view_info_destroy_n(void);
+
+extern int utc_autofill_view_info_set_app_id_p(void);
+extern int utc_autofill_view_info_set_app_id_n(void);
+extern int utc_autofill_view_info_get_app_id_p(void);
+extern int utc_autofill_view_info_get_app_id_n(void);
+
+extern int utc_autofill_view_info_set_view_id_p(void);
+extern int utc_autofill_view_info_set_view_id_n(void);
+extern int utc_autofill_view_info_get_view_id_p(void);
+extern int utc_autofill_view_info_get_view_id_n(void);
+
+extern int utc_autofill_view_info_add_item_p(void);
+extern int utc_autofill_view_info_add_item_n(void);
+
+extern int utc_autofill_view_info_foreach_item_p(void);
+extern int utc_autofill_view_info_foreach_item_n(void);
+
+extern int utc_autofill_save_view_info_create_p(void);
+extern int utc_autofill_save_view_info_create_n(void);
+extern int utc_autofill_save_view_info_destroy_p(void);
+extern int utc_autofill_save_view_info_destroy_n(void);
+
+extern int utc_autofill_save_view_info_set_app_id_p(void);
+extern int utc_autofill_save_view_info_set_app_id_n(void);
+extern int utc_autofill_save_view_info_get_app_id_p(void);
+extern int utc_autofill_save_view_info_get_app_id_n(void);
+
+extern int utc_autofill_save_view_info_set_view_id_p(void);
+extern int utc_autofill_save_view_info_set_view_id_n(void);
+extern int utc_autofill_save_view_info_get_view_id_p(void);
+extern int utc_autofill_save_view_info_get_view_id_n(void);
+
+extern int utc_autofill_save_view_info_add_item_p(void);
+extern int utc_autofill_save_view_info_add_item_n(void);
+
+extern int utc_autofill_save_view_info_foreach_item_p(void);
+extern int utc_autofill_save_view_info_foreach_item_n(void);
+
+extern int utc_autofill_fill_response_create_p(void);
+extern int utc_autofill_fill_response_create_n(void);
+extern int utc_autofill_fill_response_destroy_p(void);
+extern int utc_autofill_fill_response_destroy_n(void);
+
+extern int utc_autofill_fill_response_set_app_id_p(void);
+extern int utc_autofill_fill_response_set_app_id_n(void);
+extern int utc_autofill_fill_response_get_app_id_p(void);
+extern int utc_autofill_fill_response_get_app_id_n(void);
+
+extern int utc_autofill_fill_response_set_view_id_p(void);
+extern int utc_autofill_fill_response_set_view_id_n(void);
+extern int utc_autofill_fill_response_get_view_id_p(void);
+extern int utc_autofill_fill_response_get_view_id_n(void);
+
+extern int utc_autofill_fill_response_add_group_p(void);
+extern int utc_autofill_fill_response_add_group_n(void);
+
+extern int utc_autofill_fill_response_foreach_group_p(void);
+extern int utc_autofill_fill_response_foreach_group_n(void);
+
+extern int utc_autofill_fill_response_get_group_count_p(void);
+extern int utc_autofill_fill_response_get_group_count_n(void);
+
+extern int utc_autofill_fill_response_group_add_item_p(void);
+extern int utc_autofill_fill_response_group_add_item_n(void);
+
+extern int utc_autofill_fill_response_group_create_p(void);
+extern int utc_autofill_fill_response_group_create_n(void);
+
+extern int utc_autofill_fill_response_group_clone_p(void);
+extern int utc_autofill_fill_response_group_clone_n(void);
+
+extern int utc_autofill_fill_response_group_foreach_item_p(void);
+extern int utc_autofill_fill_response_group_foreach_item_n(void);
+
+extern int utc_autofill_fill_response_item_create_p(void);
+extern int utc_autofill_fill_response_item_create_n(void);
+
+extern int utc_autofill_fill_response_item_destroy_p(void);
+extern int utc_autofill_fill_response_item_destroy_n(void);
+
+extern int utc_autofill_fill_response_item_clone_p(void);
+extern int utc_autofill_fill_response_item_clone_n(void);
+
+extern int utc_autofill_fill_response_item_set_id_p(void);
+extern int utc_autofill_fill_response_item_set_id_n(void);
+
+extern int utc_autofill_fill_response_item_get_id_p(void);
+extern int utc_autofill_fill_response_item_get_id_n(void);
+
+extern int utc_autofill_fill_response_item_set_value_p(void);
+extern int utc_autofill_fill_response_item_set_value_n(void);
+
+extern int utc_autofill_fill_response_item_get_value_p(void);
+extern int utc_autofill_fill_response_item_get_value_n(void);
+
+extern int utc_autofill_fill_response_item_set_presentation_text_p(void);
+extern int utc_autofill_fill_response_item_set_presentation_text_n(void);
+
+extern int utc_autofill_fill_response_item_get_presentation_text_p(void);
+extern int utc_autofill_fill_response_item_get_presentation_text_n(void);
+
+extern int utc_autofill_save_item_create_p(void);
+extern int utc_autofill_save_item_create_n(void);
+extern int utc_autofill_save_item_destroy_p(void);
+extern int utc_autofill_save_item_destroy_n(void);
+
+extern int utc_autofill_save_item_clone_p(void);
+extern int utc_autofill_save_item_clone_n(void);
+
+extern int utc_autofill_save_item_set_autofill_hint_p(void);
+extern int utc_autofill_save_item_set_autofill_hint_n(void);
+extern int utc_autofill_save_item_get_autofill_hint_p(void);
+extern int utc_autofill_save_item_get_autofill_hint_n(void);
+
+extern int utc_autofill_save_item_set_id_p(void);
+extern int utc_autofill_save_item_set_id_n(void);
+extern int utc_autofill_save_item_get_id_p(void);
+extern int utc_autofill_save_item_get_id_n(void);
+
+extern int utc_autofill_save_item_set_label_p(void);
+extern int utc_autofill_save_item_set_label_n(void);
+extern int utc_autofill_save_item_get_label_p(void);
+extern int utc_autofill_save_item_get_label_n(void);
+
+extern int utc_autofill_save_item_set_sensitive_data_p(void);
+extern int utc_autofill_save_item_set_sensitive_data_n(void);
+extern int utc_autofill_save_item_get_sensitive_data_p(void);
+extern int utc_autofill_save_item_get_sensitive_data_n(void);
+
+extern int utc_autofill_save_item_set_value_p(void);
+extern int utc_autofill_save_item_set_value_n(void);
+extern int utc_autofill_save_item_get_value_p(void);
+extern int utc_autofill_save_item_get_value_n(void);
+
+// client
+extern void utc_capi_ui_autofill_startup(void);
+extern void utc_capi_ui_autofill_cleanup(void);
+
+extern int utc_autofill_connect_p(void);
+extern int utc_autofill_connect_n(void);
+
+extern int utc_autofill_auth_info_request_p(void);
+extern int utc_autofill_auth_info_request_n(void);
+
+extern int utc_autofill_auth_info_set_received_cb_p(void);
+extern int utc_autofill_auth_info_set_received_cb_n(void);
+
+extern int utc_autofill_auth_info_unset_received_cb_p(void);
+extern int utc_autofill_auth_info_unset_received_cb_n(void);
+
+extern int utc_autofill_fill_request_p(void);
+extern int utc_autofill_fill_request_n(void);
+
+extern int utc_autofill_fill_response_set_received_cb_p(void);
+extern int utc_autofill_fill_response_set_received_cb_n(void);
+
+extern int utc_autofill_fill_response_unset_received_cb_p(void);
+extern int utc_autofill_fill_response_unset_received_cb_n(void);
+
+extern int utc_autofill_commit_p(void);
+extern int utc_autofill_commit_n(void);
+
+// service
+extern void utc_capi_ui_autofill_service_startup(void);
+extern void utc_capi_ui_autofill_service_cleanup(void);
+
+extern int utc_autofill_service_set_auth_info_requested_cb_p(void);
+extern int utc_autofill_service_set_auth_info_requested_cb_n(void);
+
+extern int utc_autofill_service_unset_auth_info_requested_cb_p(void);
+
+extern int utc_autofill_service_send_auth_info_cb_p(void);
+extern int utc_autofill_service_send_auth_info_cb_n(void);
+
+extern int utc_autofill_service_set_fill_requested_cb_p(void);
+extern int utc_autofill_service_set_fill_requested_cb_n(void);
+
+extern int utc_autofill_service_unset_fill_requested_cb_p(void);
+
+extern int utc_autofill_service_send_fill_response_p(void);
+extern int utc_autofill_service_send_fill_response_n(void);
+
+extern int utc_autofill_service_set_commited_cb_p(void);
+extern int utc_autofill_service_set_commited_cb_n(void);
+
+extern int utc_autofill_service_unset_commited_cb_p(void);
+
+extern int utc_autofill_service_set_terminate_received_cb_p(void);
+extern int utc_autofill_service_set_terminate_received_cb_n(void);
+
+extern int utc_autofill_service_unset_terminate_received_cb_p(void);
+
+testcase tc_array[] = {
+ // common
+ {"utc_autofill_item_create_p", utc_autofill_item_create_p, utc_capi_ui_autofill_common_startup, utc_capi_ui_autofill_common_cleanup},
+ {"utc_autofill_item_create_n", utc_autofill_item_create_n, utc_capi_ui_autofill_common_startup, utc_capi_ui_autofill_common_cleanup},
+ {"utc_autofill_item_destroy_p", utc_autofill_item_destroy_p, utc_capi_ui_autofill_common_startup, utc_capi_ui_autofill_common_cleanup},
+ {"utc_autofill_item_destroy_n", utc_autofill_item_destroy_n, utc_capi_ui_autofill_common_startup, utc_capi_ui_autofill_common_cleanup},
+
+ {"utc_autofill_item_clone_p", utc_autofill_item_clone_p, utc_capi_ui_autofill_common_startup, utc_capi_ui_autofill_common_cleanup},
+ {"utc_autofill_item_clone_n", utc_autofill_item_clone_n, utc_capi_ui_autofill_common_startup, utc_capi_ui_autofill_common_cleanup},
+
+ {"utc_autofill_item_set_autofill_hint_p", utc_autofill_item_set_autofill_hint_p, utc_capi_ui_autofill_common_startup, utc_capi_ui_autofill_common_cleanup},
+ {"utc_autofill_item_set_autofill_hint_n", utc_autofill_item_set_autofill_hint_n, utc_capi_ui_autofill_common_startup, utc_capi_ui_autofill_common_cleanup},
+ {"utc_autofill_item_get_autofill_hint_p", utc_autofill_item_get_autofill_hint_p, utc_capi_ui_autofill_common_startup, utc_capi_ui_autofill_common_cleanup},
+ {"utc_autofill_item_get_autofill_hint_n", utc_autofill_item_get_autofill_hint_n, utc_capi_ui_autofill_common_startup, utc_capi_ui_autofill_common_cleanup},
+
+ {"utc_autofill_item_set_id_p", utc_autofill_item_set_id_p, utc_capi_ui_autofill_common_startup, utc_capi_ui_autofill_common_cleanup},
+ {"utc_autofill_item_set_id_n", utc_autofill_item_set_id_n, utc_capi_ui_autofill_common_startup, utc_capi_ui_autofill_common_cleanup},
+ {"utc_autofill_item_get_id_p", utc_autofill_item_get_id_p, utc_capi_ui_autofill_common_startup, utc_capi_ui_autofill_common_cleanup},
+ {"utc_autofill_item_get_id_n", utc_autofill_item_get_id_n, utc_capi_ui_autofill_common_startup, utc_capi_ui_autofill_common_cleanup},
+
+ {"utc_autofill_item_set_label_p", utc_autofill_item_set_label_p, utc_capi_ui_autofill_common_startup, utc_capi_ui_autofill_common_cleanup},
+ {"utc_autofill_item_set_label_n", utc_autofill_item_set_label_n, utc_capi_ui_autofill_common_startup, utc_capi_ui_autofill_common_cleanup},
+ {"utc_autofill_item_get_label_p", utc_autofill_item_get_label_p, utc_capi_ui_autofill_common_startup, utc_capi_ui_autofill_common_cleanup},
+ {"utc_autofill_item_get_label_n", utc_autofill_item_get_label_n, utc_capi_ui_autofill_common_startup, utc_capi_ui_autofill_common_cleanup},
+
+ {"utc_autofill_item_set_sensitive_data_p", utc_autofill_item_set_sensitive_data_p, utc_capi_ui_autofill_common_startup, utc_capi_ui_autofill_common_cleanup},
+ {"utc_autofill_item_set_sensitive_data_n", utc_autofill_item_set_sensitive_data_n, utc_capi_ui_autofill_common_startup, utc_capi_ui_autofill_common_cleanup},
+ {"utc_autofill_item_get_sensitive_data_p", utc_autofill_item_get_sensitive_data_p, utc_capi_ui_autofill_common_startup, utc_capi_ui_autofill_common_cleanup},
+ {"utc_autofill_item_get_sensitive_data_n", utc_autofill_item_get_sensitive_data_n, utc_capi_ui_autofill_common_startup, utc_capi_ui_autofill_common_cleanup},
+
+ {"utc_autofill_item_set_value_p", utc_autofill_item_set_value_p, utc_capi_ui_autofill_common_startup, utc_capi_ui_autofill_common_cleanup},
+ {"utc_autofill_item_set_value_n", utc_autofill_item_set_value_n, utc_capi_ui_autofill_common_startup, utc_capi_ui_autofill_common_cleanup},
+ {"utc_autofill_item_get_value_p", utc_autofill_item_get_value_p, utc_capi_ui_autofill_common_startup, utc_capi_ui_autofill_common_cleanup},
+ {"utc_autofill_item_get_value_n", utc_autofill_item_get_value_n, utc_capi_ui_autofill_common_startup, utc_capi_ui_autofill_common_cleanup},
+
+ {"utc_autofill_auth_info_create_p", utc_autofill_auth_info_create_p, utc_capi_ui_autofill_common_startup, utc_capi_ui_autofill_common_cleanup},
+ {"utc_autofill_auth_info_create_n", utc_autofill_auth_info_create_n, utc_capi_ui_autofill_common_startup, utc_capi_ui_autofill_common_cleanup},
+ {"utc_autofill_auth_info_destroy_p", utc_autofill_auth_info_destroy_p, utc_capi_ui_autofill_common_startup, utc_capi_ui_autofill_common_cleanup},
+ {"utc_autofill_auth_info_destroy_n", utc_autofill_auth_info_destroy_n, utc_capi_ui_autofill_common_startup, utc_capi_ui_autofill_common_cleanup},
+
+ {"utc_autofill_auth_info_set_app_id_p", utc_autofill_auth_info_set_app_id_p, utc_capi_ui_autofill_common_startup, utc_capi_ui_autofill_common_cleanup},
+ {"utc_autofill_auth_info_set_app_id_n", utc_autofill_auth_info_set_app_id_n, utc_capi_ui_autofill_common_startup, utc_capi_ui_autofill_common_cleanup},
+ {"utc_autofill_auth_info_get_app_id_p", utc_autofill_auth_info_get_app_id_p, utc_capi_ui_autofill_common_startup, utc_capi_ui_autofill_common_cleanup},
+ {"utc_autofill_auth_info_get_app_id_n", utc_autofill_auth_info_get_app_id_n, utc_capi_ui_autofill_common_startup, utc_capi_ui_autofill_common_cleanup},
+
+ {"utc_autofill_auth_info_set_view_id_p", utc_autofill_auth_info_set_view_id_p, utc_capi_ui_autofill_common_startup, utc_capi_ui_autofill_common_cleanup},
+ {"utc_autofill_auth_info_set_view_id_n", utc_autofill_auth_info_set_view_id_n, utc_capi_ui_autofill_common_startup, utc_capi_ui_autofill_common_cleanup},
+ {"utc_autofill_auth_info_get_view_id_p", utc_autofill_auth_info_get_view_id_p, utc_capi_ui_autofill_common_startup, utc_capi_ui_autofill_common_cleanup},
+ {"utc_autofill_auth_info_get_view_id_n", utc_autofill_auth_info_get_view_id_n, utc_capi_ui_autofill_common_startup, utc_capi_ui_autofill_common_cleanup},
+
+ {"utc_autofill_auth_info_set_autofill_data_present_p", utc_autofill_auth_info_set_autofill_data_present_p, utc_capi_ui_autofill_common_startup, utc_capi_ui_autofill_common_cleanup},
+ {"utc_autofill_auth_info_set_autofill_data_present_n", utc_autofill_auth_info_set_autofill_data_present_n, utc_capi_ui_autofill_common_startup, utc_capi_ui_autofill_common_cleanup},
+ {"utc_autofill_auth_info_get_autofill_data_present_p", utc_autofill_auth_info_get_autofill_data_present_p, utc_capi_ui_autofill_common_startup, utc_capi_ui_autofill_common_cleanup},
+ {"utc_autofill_auth_info_get_autofill_data_present_n", utc_autofill_auth_info_get_autofill_data_present_n, utc_capi_ui_autofill_common_startup, utc_capi_ui_autofill_common_cleanup},
+
+ {"utc_autofill_auth_info_set_authentication_needed_p", utc_autofill_auth_info_set_authentication_needed_p, utc_capi_ui_autofill_common_startup, utc_capi_ui_autofill_common_cleanup},
+ {"utc_autofill_auth_info_set_authentication_needed_n", utc_autofill_auth_info_set_authentication_needed_n, utc_capi_ui_autofill_common_startup, utc_capi_ui_autofill_common_cleanup},
+ {"utc_autofill_auth_info_get_authentication_needed_p", utc_autofill_auth_info_get_authentication_needed_p, utc_capi_ui_autofill_common_startup, utc_capi_ui_autofill_common_cleanup},
+ {"utc_autofill_auth_info_get_authentication_needed_n", utc_autofill_auth_info_get_authentication_needed_n, utc_capi_ui_autofill_common_startup, utc_capi_ui_autofill_common_cleanup},
+
+ {"utc_autofill_auth_info_set_service_name_p", utc_autofill_auth_info_set_service_name_p, utc_capi_ui_autofill_common_startup, utc_capi_ui_autofill_common_cleanup},
+ {"utc_autofill_auth_info_set_service_name_n", utc_autofill_auth_info_set_service_name_n, utc_capi_ui_autofill_common_startup, utc_capi_ui_autofill_common_cleanup},
+ {"utc_autofill_auth_info_get_service_name_p", utc_autofill_auth_info_get_service_name_p, utc_capi_ui_autofill_common_startup, utc_capi_ui_autofill_common_cleanup},
+ {"utc_autofill_auth_info_get_service_name_n", utc_autofill_auth_info_get_service_name_n, utc_capi_ui_autofill_common_startup, utc_capi_ui_autofill_common_cleanup},
+
+ {"utc_autofill_auth_info_set_service_message_p", utc_autofill_auth_info_set_service_message_p, utc_capi_ui_autofill_common_startup, utc_capi_ui_autofill_common_cleanup},
+ {"utc_autofill_auth_info_set_service_message_n", utc_autofill_auth_info_set_service_message_n, utc_capi_ui_autofill_common_startup, utc_capi_ui_autofill_common_cleanup},
+ {"utc_autofill_auth_info_get_service_message_p", utc_autofill_auth_info_get_service_message_p, utc_capi_ui_autofill_common_startup, utc_capi_ui_autofill_common_cleanup},
+ {"utc_autofill_auth_info_get_service_message_n", utc_autofill_auth_info_get_service_message_n, utc_capi_ui_autofill_common_startup, utc_capi_ui_autofill_common_cleanup},
+
+ {"utc_autofill_auth_info_set_service_logo_image_path_p", utc_autofill_auth_info_set_service_logo_image_path_p, utc_capi_ui_autofill_common_startup, utc_capi_ui_autofill_common_cleanup},
+ {"utc_autofill_auth_info_set_service_logo_image_path_n", utc_autofill_auth_info_set_service_logo_image_path_n, utc_capi_ui_autofill_common_startup, utc_capi_ui_autofill_common_cleanup},
+ {"utc_autofill_auth_info_get_service_logo_image_path_p", utc_autofill_auth_info_get_service_logo_image_path_p, utc_capi_ui_autofill_common_startup, utc_capi_ui_autofill_common_cleanup},
+ {"utc_autofill_auth_info_get_service_logo_image_path_n", utc_autofill_auth_info_get_service_logo_image_path_n, utc_capi_ui_autofill_common_startup, utc_capi_ui_autofill_common_cleanup},
+
+ {"utc_autofill_view_info_create_p", utc_autofill_view_info_create_p, utc_capi_ui_autofill_common_startup, utc_capi_ui_autofill_common_cleanup},
+ {"utc_autofill_view_info_create_n", utc_autofill_view_info_create_n, utc_capi_ui_autofill_common_startup, utc_capi_ui_autofill_common_cleanup},
+ {"utc_autofill_view_info_destroy_p", utc_autofill_view_info_destroy_p, utc_capi_ui_autofill_common_startup, utc_capi_ui_autofill_common_cleanup},
+ {"utc_autofill_view_info_destroy_n", utc_autofill_view_info_destroy_n, utc_capi_ui_autofill_common_startup, utc_capi_ui_autofill_common_cleanup},
+
+ {"utc_autofill_view_info_set_app_id_p", utc_autofill_view_info_set_app_id_p, utc_capi_ui_autofill_common_startup, utc_capi_ui_autofill_common_cleanup},
+ {"utc_autofill_view_info_set_app_id_n", utc_autofill_view_info_set_app_id_n, utc_capi_ui_autofill_common_startup, utc_capi_ui_autofill_common_cleanup},
+ {"utc_autofill_view_info_get_app_id_p", utc_autofill_view_info_get_app_id_p, utc_capi_ui_autofill_common_startup, utc_capi_ui_autofill_common_cleanup},
+ {"utc_autofill_view_info_get_app_id_n", utc_autofill_view_info_get_app_id_n, utc_capi_ui_autofill_common_startup, utc_capi_ui_autofill_common_cleanup},
+
+ {"utc_autofill_view_info_set_view_id_p", utc_autofill_view_info_set_view_id_p, utc_capi_ui_autofill_common_startup, utc_capi_ui_autofill_common_cleanup},
+ {"utc_autofill_view_info_set_view_id_n", utc_autofill_view_info_set_view_id_n, utc_capi_ui_autofill_common_startup, utc_capi_ui_autofill_common_cleanup},
+ {"utc_autofill_view_info_get_view_id_p", utc_autofill_view_info_get_view_id_p, utc_capi_ui_autofill_common_startup, utc_capi_ui_autofill_common_cleanup},
+ {"utc_autofill_view_info_get_view_id_n", utc_autofill_view_info_get_view_id_n, utc_capi_ui_autofill_common_startup, utc_capi_ui_autofill_common_cleanup},
+
+ {"utc_autofill_view_info_add_item_p", utc_autofill_view_info_add_item_p, utc_capi_ui_autofill_common_startup, utc_capi_ui_autofill_common_cleanup},
+ {"utc_autofill_view_info_add_item_n", utc_autofill_view_info_add_item_n, utc_capi_ui_autofill_common_startup, utc_capi_ui_autofill_common_cleanup},
+
+ {"utc_autofill_view_info_foreach_item_p", utc_autofill_view_info_foreach_item_p, utc_capi_ui_autofill_common_startup, utc_capi_ui_autofill_common_cleanup},
+ {"utc_autofill_view_info_foreach_item_n", utc_autofill_view_info_foreach_item_n, utc_capi_ui_autofill_common_startup, utc_capi_ui_autofill_common_cleanup},
+
+ {"utc_autofill_fill_response_create_p", utc_autofill_fill_response_create_p, utc_capi_ui_autofill_common_startup, utc_capi_ui_autofill_common_cleanup},
+ {"utc_autofill_fill_response_create_n", utc_autofill_fill_response_create_n, utc_capi_ui_autofill_common_startup, utc_capi_ui_autofill_common_cleanup},
+ {"utc_autofill_fill_response_destroy_p", utc_autofill_fill_response_destroy_p, utc_capi_ui_autofill_common_startup, utc_capi_ui_autofill_common_cleanup},
+ {"utc_autofill_fill_response_destroy_n", utc_autofill_fill_response_destroy_n, utc_capi_ui_autofill_common_startup, utc_capi_ui_autofill_common_cleanup},
+
+ {"utc_autofill_fill_response_set_app_id_p", utc_autofill_fill_response_set_app_id_p, utc_capi_ui_autofill_common_startup, utc_capi_ui_autofill_common_cleanup},
+ {"utc_autofill_fill_response_set_app_id_n", utc_autofill_fill_response_set_app_id_n, utc_capi_ui_autofill_common_startup, utc_capi_ui_autofill_common_cleanup},
+ {"utc_autofill_fill_response_get_app_id_p", utc_autofill_fill_response_get_app_id_p, utc_capi_ui_autofill_common_startup, utc_capi_ui_autofill_common_cleanup},
+ {"utc_autofill_fill_response_get_app_id_n", utc_autofill_fill_response_get_app_id_n, utc_capi_ui_autofill_common_startup, utc_capi_ui_autofill_common_cleanup},
+
+ {"utc_autofill_fill_response_set_view_id_p", utc_autofill_fill_response_set_view_id_p, utc_capi_ui_autofill_common_startup, utc_capi_ui_autofill_common_cleanup},
+ {"utc_autofill_fill_response_set_view_id_n", utc_autofill_fill_response_set_view_id_n, utc_capi_ui_autofill_common_startup, utc_capi_ui_autofill_common_cleanup},
+ {"utc_autofill_fill_response_get_view_id_p", utc_autofill_fill_response_get_view_id_p, utc_capi_ui_autofill_common_startup, utc_capi_ui_autofill_common_cleanup},
+ {"utc_autofill_fill_response_get_view_id_n", utc_autofill_fill_response_get_view_id_n, utc_capi_ui_autofill_common_startup, utc_capi_ui_autofill_common_cleanup},
+
+ {"utc_autofill_fill_response_add_group_p", utc_autofill_fill_response_add_group_p, utc_capi_ui_autofill_common_startup, utc_capi_ui_autofill_common_cleanup},
+ {"utc_autofill_fill_response_add_group_n", utc_autofill_fill_response_add_group_n, utc_capi_ui_autofill_common_startup, utc_capi_ui_autofill_common_cleanup},
+
+ {"utc_autofill_fill_response_foreach_group_p", utc_autofill_fill_response_foreach_group_p, utc_capi_ui_autofill_common_startup, utc_capi_ui_autofill_common_cleanup},
+ {"utc_autofill_fill_response_foreach_group_n", utc_autofill_fill_response_foreach_group_n, utc_capi_ui_autofill_common_startup, utc_capi_ui_autofill_common_cleanup},
+
+ {"utc_autofill_fill_response_get_group_count_p", utc_autofill_fill_response_get_group_count_p, utc_capi_ui_autofill_common_startup, utc_capi_ui_autofill_common_cleanup},
+ {"utc_autofill_fill_response_get_group_count_n", utc_autofill_fill_response_get_group_count_n, utc_capi_ui_autofill_common_startup, utc_capi_ui_autofill_common_cleanup},
+
+ {"utc_autofill_fill_response_group_add_item_p", utc_autofill_fill_response_group_add_item_p, utc_capi_ui_autofill_common_startup, utc_capi_ui_autofill_common_cleanup},
+ {"utc_autofill_fill_response_group_add_item_n", utc_autofill_fill_response_group_add_item_n, utc_capi_ui_autofill_common_startup, utc_capi_ui_autofill_common_cleanup},
+
+ {"utc_autofill_fill_response_group_create_p", utc_autofill_fill_response_group_create_p, utc_capi_ui_autofill_common_startup, utc_capi_ui_autofill_common_cleanup},
+ {"utc_autofill_fill_response_group_create_n", utc_autofill_fill_response_group_create_n, utc_capi_ui_autofill_common_startup, utc_capi_ui_autofill_common_cleanup},
+
+ {"utc_autofill_fill_response_group_clone_p", utc_autofill_fill_response_group_clone_p, utc_capi_ui_autofill_common_startup, utc_capi_ui_autofill_common_cleanup},
+ {"utc_autofill_fill_response_group_clone_n", utc_autofill_fill_response_group_clone_n, utc_capi_ui_autofill_common_startup, utc_capi_ui_autofill_common_cleanup},
+
+ {"utc_autofill_fill_response_group_foreach_item_p", utc_autofill_fill_response_group_foreach_item_p, utc_capi_ui_autofill_common_startup, utc_capi_ui_autofill_common_cleanup},
+ {"utc_autofill_fill_response_group_foreach_item_n", utc_autofill_fill_response_group_foreach_item_n, utc_capi_ui_autofill_common_startup, utc_capi_ui_autofill_common_cleanup},
+
+ {"utc_autofill_save_view_info_create_p", utc_autofill_save_view_info_create_p, utc_capi_ui_autofill_common_startup, utc_capi_ui_autofill_common_cleanup},
+ {"utc_autofill_save_view_info_create_n", utc_autofill_save_view_info_create_n, utc_capi_ui_autofill_common_startup, utc_capi_ui_autofill_common_cleanup},
+ {"utc_autofill_save_view_info_destroy_p", utc_autofill_save_view_info_destroy_p, utc_capi_ui_autofill_common_startup, utc_capi_ui_autofill_common_cleanup},
+ {"utc_autofill_save_view_info_destroy_n", utc_autofill_save_view_info_destroy_n, utc_capi_ui_autofill_common_startup, utc_capi_ui_autofill_common_cleanup},
+
+ {"utc_autofill_save_view_info_set_app_id_p", utc_autofill_save_view_info_set_app_id_p, utc_capi_ui_autofill_common_startup, utc_capi_ui_autofill_common_cleanup},
+ {"utc_autofill_save_view_info_set_app_id_n", utc_autofill_save_view_info_set_app_id_n, utc_capi_ui_autofill_common_startup, utc_capi_ui_autofill_common_cleanup},
+ {"utc_autofill_save_view_info_get_app_id_p", utc_autofill_save_view_info_get_app_id_p, utc_capi_ui_autofill_common_startup, utc_capi_ui_autofill_common_cleanup},
+ {"utc_autofill_save_view_info_get_app_id_n", utc_autofill_save_view_info_get_app_id_n, utc_capi_ui_autofill_common_startup, utc_capi_ui_autofill_common_cleanup},
+
+ {"utc_autofill_save_view_info_set_view_id_p", utc_autofill_save_view_info_set_view_id_p, utc_capi_ui_autofill_common_startup, utc_capi_ui_autofill_common_cleanup},
+ {"utc_autofill_save_view_info_set_view_id_n", utc_autofill_save_view_info_set_view_id_n, utc_capi_ui_autofill_common_startup, utc_capi_ui_autofill_common_cleanup},
+ {"utc_autofill_save_view_info_get_view_id_p", utc_autofill_save_view_info_get_view_id_p, utc_capi_ui_autofill_common_startup, utc_capi_ui_autofill_common_cleanup},
+ {"utc_autofill_save_view_info_get_view_id_n", utc_autofill_save_view_info_get_view_id_n, utc_capi_ui_autofill_common_startup, utc_capi_ui_autofill_common_cleanup},
+
+ {"utc_autofill_save_view_info_add_item_p", utc_autofill_save_view_info_add_item_p, utc_capi_ui_autofill_common_startup, utc_capi_ui_autofill_common_cleanup},
+ {"utc_autofill_save_view_info_add_item_n", utc_autofill_save_view_info_add_item_n, utc_capi_ui_autofill_common_startup, utc_capi_ui_autofill_common_cleanup},
+
+ {"utc_autofill_save_view_info_foreach_item_p", utc_autofill_save_view_info_foreach_item_p, utc_capi_ui_autofill_common_startup, utc_capi_ui_autofill_common_cleanup},
+ {"utc_autofill_save_view_info_foreach_item_n", utc_autofill_save_view_info_foreach_item_n, utc_capi_ui_autofill_common_startup, utc_capi_ui_autofill_common_cleanup},
+
+ {"utc_autofill_fill_response_item_create_p", utc_autofill_fill_response_item_create_p, utc_capi_ui_autofill_common_startup, utc_capi_ui_autofill_common_cleanup},
+ {"utc_autofill_fill_response_item_create_n", utc_autofill_fill_response_item_create_n, utc_capi_ui_autofill_common_startup, utc_capi_ui_autofill_common_cleanup},
+
+ {"utc_autofill_fill_response_item_destroy_p", utc_autofill_fill_response_item_destroy_p, utc_capi_ui_autofill_common_startup, utc_capi_ui_autofill_common_cleanup},
+ {"utc_autofill_fill_response_item_destroy_n", utc_autofill_fill_response_item_destroy_n, utc_capi_ui_autofill_common_startup, utc_capi_ui_autofill_common_cleanup},
+
+ {"utc_autofill_fill_response_item_clone_p", utc_autofill_fill_response_item_clone_p, utc_capi_ui_autofill_common_startup, utc_capi_ui_autofill_common_cleanup},
+ {"utc_autofill_fill_response_item_clone_n", utc_autofill_fill_response_item_clone_n, utc_capi_ui_autofill_common_startup, utc_capi_ui_autofill_common_cleanup},
+
+ {"utc_autofill_fill_response_item_set_id_p", utc_autofill_fill_response_item_set_id_p, utc_capi_ui_autofill_common_startup, utc_capi_ui_autofill_common_cleanup},
+ {"utc_autofill_fill_response_item_set_id_n", utc_autofill_fill_response_item_set_id_n, utc_capi_ui_autofill_common_startup, utc_capi_ui_autofill_common_cleanup},
+
+ {"utc_autofill_fill_response_item_get_id_p", utc_autofill_fill_response_item_get_id_p, utc_capi_ui_autofill_common_startup, utc_capi_ui_autofill_common_cleanup},
+ {"utc_autofill_fill_response_item_get_id_n", utc_autofill_fill_response_item_get_id_n, utc_capi_ui_autofill_common_startup, utc_capi_ui_autofill_common_cleanup},
+
+ {"utc_autofill_fill_response_item_set_value_p", utc_autofill_fill_response_item_set_value_p, utc_capi_ui_autofill_common_startup, utc_capi_ui_autofill_common_cleanup},
+ {"utc_autofill_fill_response_item_set_value_n", utc_autofill_fill_response_item_set_value_n, utc_capi_ui_autofill_common_startup, utc_capi_ui_autofill_common_cleanup},
+
+ {"utc_autofill_fill_response_item_get_value_p", utc_autofill_fill_response_item_get_value_p, utc_capi_ui_autofill_common_startup, utc_capi_ui_autofill_common_cleanup},
+ {"utc_autofill_fill_response_item_get_value_n", utc_autofill_fill_response_item_get_value_n, utc_capi_ui_autofill_common_startup, utc_capi_ui_autofill_common_cleanup},
+
+ {"utc_autofill_fill_response_item_set_presentation_text_p", utc_autofill_fill_response_item_set_presentation_text_p, utc_capi_ui_autofill_common_startup, utc_capi_ui_autofill_common_cleanup},
+ {"utc_autofill_fill_response_item_set_presentation_text_n", utc_autofill_fill_response_item_set_presentation_text_n, utc_capi_ui_autofill_common_startup, utc_capi_ui_autofill_common_cleanup},
+
+ {"utc_autofill_fill_response_item_get_presentation_text_p", utc_autofill_fill_response_item_get_presentation_text_p, utc_capi_ui_autofill_common_startup, utc_capi_ui_autofill_common_cleanup},
+ {"utc_autofill_fill_response_item_get_presentation_text_n", utc_autofill_fill_response_item_get_presentation_text_n, utc_capi_ui_autofill_common_startup, utc_capi_ui_autofill_common_cleanup},
+
+ {"utc_autofill_save_item_create_p", utc_autofill_save_item_create_p, utc_capi_ui_autofill_common_startup, utc_capi_ui_autofill_common_cleanup},
+ {"utc_autofill_save_item_create_n", utc_autofill_save_item_create_n, utc_capi_ui_autofill_common_startup, utc_capi_ui_autofill_common_cleanup},
+ {"utc_autofill_save_item_destroy_p", utc_autofill_save_item_destroy_p, utc_capi_ui_autofill_common_startup, utc_capi_ui_autofill_common_cleanup},
+ {"utc_autofill_save_item_destroy_n", utc_autofill_save_item_destroy_n, utc_capi_ui_autofill_common_startup, utc_capi_ui_autofill_common_cleanup},
+ {"utc_autofill_save_item_clone_p", utc_autofill_save_item_clone_p, utc_capi_ui_autofill_common_startup, utc_capi_ui_autofill_common_cleanup},
+ {"utc_autofill_save_item_clone_n", utc_autofill_save_item_clone_n, utc_capi_ui_autofill_common_startup, utc_capi_ui_autofill_common_cleanup},
+
+ {"utc_autofill_save_item_set_autofill_hint_p", utc_autofill_save_item_set_autofill_hint_p, utc_capi_ui_autofill_common_startup, utc_capi_ui_autofill_common_cleanup},
+ {"utc_autofill_save_item_set_autofill_hint_n", utc_autofill_save_item_set_autofill_hint_n, utc_capi_ui_autofill_common_startup, utc_capi_ui_autofill_common_cleanup},
+ {"utc_autofill_save_item_get_autofill_hint_p", utc_autofill_save_item_get_autofill_hint_p, utc_capi_ui_autofill_common_startup, utc_capi_ui_autofill_common_cleanup},
+ {"utc_autofill_save_item_get_autofill_hint_n", utc_autofill_save_item_get_autofill_hint_n, utc_capi_ui_autofill_common_startup, utc_capi_ui_autofill_common_cleanup},
+
+ {"utc_autofill_save_item_set_id_p", utc_autofill_save_item_set_id_p, utc_capi_ui_autofill_common_startup, utc_capi_ui_autofill_common_cleanup},
+ {"utc_autofill_save_item_set_id_n", utc_autofill_save_item_set_id_n, utc_capi_ui_autofill_common_startup, utc_capi_ui_autofill_common_cleanup},
+ {"utc_autofill_save_item_get_id_p", utc_autofill_save_item_get_id_p, utc_capi_ui_autofill_common_startup, utc_capi_ui_autofill_common_cleanup},
+ {"utc_autofill_save_item_get_id_n", utc_autofill_save_item_get_id_n, utc_capi_ui_autofill_common_startup, utc_capi_ui_autofill_common_cleanup},
+
+ {"utc_autofill_save_item_set_label_p", utc_autofill_save_item_set_label_p, utc_capi_ui_autofill_common_startup, utc_capi_ui_autofill_common_cleanup},
+ {"utc_autofill_save_item_set_label_n", utc_autofill_save_item_set_label_n, utc_capi_ui_autofill_common_startup, utc_capi_ui_autofill_common_cleanup},
+ {"utc_autofill_save_item_get_label_p", utc_autofill_save_item_get_label_p, utc_capi_ui_autofill_common_startup, utc_capi_ui_autofill_common_cleanup},
+ {"utc_autofill_save_item_get_label_n", utc_autofill_save_item_get_label_n, utc_capi_ui_autofill_common_startup, utc_capi_ui_autofill_common_cleanup},
+
+ {"utc_autofill_save_item_set_sensitive_data_p", utc_autofill_save_item_set_sensitive_data_p, utc_capi_ui_autofill_common_startup, utc_capi_ui_autofill_common_cleanup},
+ {"utc_autofill_save_item_set_sensitive_data_n", utc_autofill_save_item_set_sensitive_data_n, utc_capi_ui_autofill_common_startup, utc_capi_ui_autofill_common_cleanup},
+ {"utc_autofill_save_item_get_sensitive_data_p", utc_autofill_save_item_get_sensitive_data_p, utc_capi_ui_autofill_common_startup, utc_capi_ui_autofill_common_cleanup},
+ {"utc_autofill_save_item_get_sensitive_data_n", utc_autofill_save_item_get_sensitive_data_n, utc_capi_ui_autofill_common_startup, utc_capi_ui_autofill_common_cleanup},
+
+ {"utc_autofill_save_item_set_value_p", utc_autofill_save_item_set_value_p, utc_capi_ui_autofill_common_startup, utc_capi_ui_autofill_common_cleanup},
+ {"utc_autofill_save_item_set_value_n", utc_autofill_save_item_set_value_n, utc_capi_ui_autofill_common_startup, utc_capi_ui_autofill_common_cleanup},
+ {"utc_autofill_save_item_get_value_p", utc_autofill_save_item_get_value_p, utc_capi_ui_autofill_common_startup, utc_capi_ui_autofill_common_cleanup},
+ {"utc_autofill_save_item_get_value_n", utc_autofill_save_item_get_value_n, utc_capi_ui_autofill_common_startup, utc_capi_ui_autofill_common_cleanup},
+
+ // client
+ {"utc_autofill_connect_p", utc_autofill_connect_p, utc_capi_ui_autofill_startup, utc_capi_ui_autofill_cleanup},
+ {"utc_autofill_connect_n", utc_autofill_connect_n, utc_capi_ui_autofill_startup, utc_capi_ui_autofill_cleanup},
+
+ {"utc_autofill_auth_info_request_p", utc_autofill_auth_info_request_p, utc_capi_ui_autofill_startup, utc_capi_ui_autofill_cleanup},
+ {"utc_autofill_auth_info_request_n", utc_autofill_auth_info_request_n, utc_capi_ui_autofill_startup, utc_capi_ui_autofill_cleanup},
+
+ {"utc_autofill_auth_info_set_received_cb_p", utc_autofill_auth_info_set_received_cb_p, utc_capi_ui_autofill_startup, utc_capi_ui_autofill_cleanup},
+ {"utc_autofill_auth_info_set_received_cb_n", utc_autofill_auth_info_set_received_cb_n, utc_capi_ui_autofill_startup, utc_capi_ui_autofill_cleanup},
+
+ {"utc_autofill_auth_info_unset_received_cb_p", utc_autofill_auth_info_unset_received_cb_p, utc_capi_ui_autofill_startup, utc_capi_ui_autofill_cleanup},
+ {"utc_autofill_auth_info_unset_received_cb_n", utc_autofill_auth_info_unset_received_cb_n, utc_capi_ui_autofill_startup, utc_capi_ui_autofill_cleanup},
+
+ {"utc_autofill_fill_request_p", utc_autofill_fill_request_p, utc_capi_ui_autofill_startup, utc_capi_ui_autofill_cleanup},
+ {"utc_autofill_fill_request_n", utc_autofill_fill_request_n, utc_capi_ui_autofill_startup, utc_capi_ui_autofill_cleanup},
+
+ {"utc_autofill_fill_response_set_received_cb_p", utc_autofill_fill_response_set_received_cb_p, utc_capi_ui_autofill_startup, utc_capi_ui_autofill_cleanup},
+ {"utc_autofill_fill_response_set_received_cb_n", utc_autofill_fill_response_set_received_cb_n, utc_capi_ui_autofill_startup, utc_capi_ui_autofill_cleanup},
+
+ {"utc_autofill_fill_response_unset_received_cb_p", utc_autofill_fill_response_unset_received_cb_p, utc_capi_ui_autofill_startup, utc_capi_ui_autofill_cleanup},
+ {"utc_autofill_fill_response_unset_received_cb_n", utc_autofill_fill_response_unset_received_cb_n, utc_capi_ui_autofill_startup, utc_capi_ui_autofill_cleanup},
+
+ {"utc_autofill_commit_p", utc_autofill_commit_p, utc_capi_ui_autofill_startup, utc_capi_ui_autofill_cleanup},
+ {"utc_autofill_commit_n", utc_autofill_commit_n, utc_capi_ui_autofill_startup, utc_capi_ui_autofill_cleanup},
+
+ // service
+ {"utc_autofill_service_set_auth_info_requested_cb_p", utc_autofill_service_set_auth_info_requested_cb_p, utc_capi_ui_autofill_service_startup, utc_capi_ui_autofill_service_cleanup},
+ {"utc_autofill_service_set_auth_info_requested_cb_n", utc_autofill_service_set_auth_info_requested_cb_n, utc_capi_ui_autofill_service_startup, utc_capi_ui_autofill_service_cleanup},
+ {"utc_autofill_service_unset_auth_info_requested_cb_p", utc_autofill_service_unset_auth_info_requested_cb_p, utc_capi_ui_autofill_service_startup, utc_capi_ui_autofill_service_cleanup},
+ {"utc_autofill_service_send_auth_info_cb_p", utc_autofill_service_send_auth_info_cb_p, utc_capi_ui_autofill_service_startup, utc_capi_ui_autofill_service_cleanup},
+ {"utc_autofill_service_send_auth_info_cb_n", utc_autofill_service_send_auth_info_cb_n, utc_capi_ui_autofill_service_startup, utc_capi_ui_autofill_service_cleanup},
+ {"utc_autofill_service_set_fill_requested_cb_p", utc_autofill_service_set_fill_requested_cb_p, utc_capi_ui_autofill_service_startup, utc_capi_ui_autofill_service_cleanup},
+ {"utc_autofill_service_set_fill_requested_cb_n", utc_autofill_service_set_fill_requested_cb_n, utc_capi_ui_autofill_service_startup, utc_capi_ui_autofill_service_cleanup},
+ {"utc_autofill_service_unset_fill_requested_cb_p", utc_autofill_service_unset_fill_requested_cb_p, utc_capi_ui_autofill_service_startup, utc_capi_ui_autofill_service_cleanup},
+ {"utc_autofill_service_send_fill_response_p", utc_autofill_service_send_fill_response_p, utc_capi_ui_autofill_service_startup, utc_capi_ui_autofill_service_cleanup},
+ {"utc_autofill_service_send_fill_response_n", utc_autofill_service_send_fill_response_n, utc_capi_ui_autofill_service_startup, utc_capi_ui_autofill_service_cleanup},
+ {"utc_autofill_service_set_commited_cb_p", utc_autofill_service_set_commited_cb_p, utc_capi_ui_autofill_service_startup, utc_capi_ui_autofill_service_cleanup},
+ {"utc_autofill_service_set_commited_cb_n", utc_autofill_service_set_commited_cb_n, utc_capi_ui_autofill_service_startup, utc_capi_ui_autofill_service_cleanup},
+ {"utc_autofill_service_unset_commited_cb_p", utc_autofill_service_unset_commited_cb_p, utc_capi_ui_autofill_service_startup, utc_capi_ui_autofill_service_cleanup},
+ {"utc_autofill_service_set_terminate_received_cb_p", utc_autofill_service_set_terminate_received_cb_p, utc_capi_ui_autofill_service_startup, utc_capi_ui_autofill_service_cleanup},
+ {"utc_autofill_service_set_terminate_received_cb_n", utc_autofill_service_set_terminate_received_cb_n, utc_capi_ui_autofill_service_startup, utc_capi_ui_autofill_service_cleanup},
+ {"utc_autofill_service_unset_terminate_received_cb_p", utc_autofill_service_unset_terminate_received_cb_p, utc_capi_ui_autofill_service_startup, utc_capi_ui_autofill_service_cleanup},
+
+ {NULL, NULL}
+};
+
+#endif // __TCT_CAPI_UI_AUTOFILL_NATIVE_H__
--- /dev/null
+//
+// Copyright (c) 2014 Samsung Electronics Co., Ltd.
+//
+// Licensed under the Apache License, Version 2.0 (the License);
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+// http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+//
+#ifndef __TCT_CAPI_UI_AUTOFILL_NATIVE_H__
+#define __TCT_CAPI_UI_AUTOFILL_NATIVE_H__
+
+#include "testcase.h"
+#include "tct_common.h"
+
+// common
+extern void utc_capi_ui_autofill_common_startup(void);
+extern void utc_capi_ui_autofill_common_cleanup(void);
+
+extern int utc_autofill_item_create_p(void);
+extern int utc_autofill_item_create_n(void);
+extern int utc_autofill_item_destroy_p(void);
+extern int utc_autofill_item_destroy_n(void);
+
+extern int utc_autofill_item_clone_p(void);
+extern int utc_autofill_item_clone_n(void);
+
+extern int utc_autofill_item_set_autofill_hint_p(void);
+extern int utc_autofill_item_set_autofill_hint_n(void);
+extern int utc_autofill_item_get_autofill_hint_p(void);
+extern int utc_autofill_item_get_autofill_hint_n(void);
+
+extern int utc_autofill_item_set_id_p(void);
+extern int utc_autofill_item_set_id_n(void);
+extern int utc_autofill_item_get_id_p(void);
+extern int utc_autofill_item_get_id_n(void);
+
+extern int utc_autofill_item_set_label_p(void);
+extern int utc_autofill_item_set_label_n(void);
+extern int utc_autofill_item_get_label_p(void);
+extern int utc_autofill_item_get_label_n(void);
+
+extern int utc_autofill_item_set_sensitive_data_p(void);
+extern int utc_autofill_item_set_sensitive_data_n(void);
+extern int utc_autofill_item_get_sensitive_data_p(void);
+extern int utc_autofill_item_get_sensitive_data_n(void);
+
+extern int utc_autofill_item_set_value_p(void);
+extern int utc_autofill_item_set_value_n(void);
+extern int utc_autofill_item_get_value_p(void);
+extern int utc_autofill_item_get_value_n(void);
+
+extern int utc_autofill_auth_info_create_p(void);
+extern int utc_autofill_auth_info_create_n(void);
+extern int utc_autofill_auth_info_destroy_p(void);
+extern int utc_autofill_auth_info_destroy_n(void);
+
+extern int utc_autofill_auth_info_set_app_id_p(void);
+extern int utc_autofill_auth_info_set_app_id_n(void);
+extern int utc_autofill_auth_info_get_app_id_p(void);
+extern int utc_autofill_auth_info_get_app_id_n(void);
+
+extern int utc_autofill_auth_info_set_view_id_p(void);
+extern int utc_autofill_auth_info_set_view_id_n(void);
+extern int utc_autofill_auth_info_get_view_id_p(void);
+extern int utc_autofill_auth_info_get_view_id_n(void);
+
+extern int utc_autofill_auth_info_set_autofill_data_present_p(void);
+extern int utc_autofill_auth_info_set_autofill_data_present_n(void);
+extern int utc_autofill_auth_info_get_autofill_data_present_p(void);
+extern int utc_autofill_auth_info_get_autofill_data_present_n(void);
+
+extern int utc_autofill_auth_info_set_authentication_needed_p(void);
+extern int utc_autofill_auth_info_set_authentication_needed_n(void);
+extern int utc_autofill_auth_info_get_authentication_needed_p(void);
+extern int utc_autofill_auth_info_get_authentication_needed_n(void);
+
+extern int utc_autofill_auth_info_set_service_name_p(void);
+extern int utc_autofill_auth_info_set_service_name_n(void);
+extern int utc_autofill_auth_info_get_service_name_p(void);
+extern int utc_autofill_auth_info_get_service_name_n(void);
+
+extern int utc_autofill_auth_info_set_service_message_p(void);
+extern int utc_autofill_auth_info_set_service_message_n(void);
+extern int utc_autofill_auth_info_get_service_message_p(void);
+extern int utc_autofill_auth_info_get_service_message_n(void);
+
+extern int utc_autofill_auth_info_set_service_logo_image_path_p(void);
+extern int utc_autofill_auth_info_set_service_logo_image_path_n(void);
+extern int utc_autofill_auth_info_get_service_logo_image_path_p(void);
+extern int utc_autofill_auth_info_get_service_logo_image_path_n(void);
+
+extern int utc_autofill_view_info_create_p(void);
+extern int utc_autofill_view_info_create_n(void);
+extern int utc_autofill_view_info_destroy_p(void);
+extern int utc_autofill_view_info_destroy_n(void);
+
+extern int utc_autofill_view_info_set_app_id_p(void);
+extern int utc_autofill_view_info_set_app_id_n(void);
+extern int utc_autofill_view_info_get_app_id_p(void);
+extern int utc_autofill_view_info_get_app_id_n(void);
+
+extern int utc_autofill_view_info_set_view_id_p(void);
+extern int utc_autofill_view_info_set_view_id_n(void);
+extern int utc_autofill_view_info_get_view_id_p(void);
+extern int utc_autofill_view_info_get_view_id_n(void);
+
+extern int utc_autofill_view_info_add_item_p(void);
+extern int utc_autofill_view_info_add_item_n(void);
+
+extern int utc_autofill_view_info_foreach_item_p(void);
+extern int utc_autofill_view_info_foreach_item_n(void);
+
+extern int utc_autofill_save_view_info_create_p(void);
+extern int utc_autofill_save_view_info_create_n(void);
+extern int utc_autofill_save_view_info_destroy_p(void);
+extern int utc_autofill_save_view_info_destroy_n(void);
+
+extern int utc_autofill_save_view_info_set_app_id_p(void);
+extern int utc_autofill_save_view_info_set_app_id_n(void);
+extern int utc_autofill_save_view_info_get_app_id_p(void);
+extern int utc_autofill_save_view_info_get_app_id_n(void);
+
+extern int utc_autofill_save_view_info_set_view_id_p(void);
+extern int utc_autofill_save_view_info_set_view_id_n(void);
+extern int utc_autofill_save_view_info_get_view_id_p(void);
+extern int utc_autofill_save_view_info_get_view_id_n(void);
+
+extern int utc_autofill_save_view_info_add_item_p(void);
+extern int utc_autofill_save_view_info_add_item_n(void);
+
+extern int utc_autofill_save_view_info_foreach_item_p(void);
+extern int utc_autofill_save_view_info_foreach_item_n(void);
+
+extern int utc_autofill_fill_response_create_p(void);
+extern int utc_autofill_fill_response_create_n(void);
+extern int utc_autofill_fill_response_destroy_p(void);
+extern int utc_autofill_fill_response_destroy_n(void);
+
+extern int utc_autofill_fill_response_set_app_id_p(void);
+extern int utc_autofill_fill_response_set_app_id_n(void);
+extern int utc_autofill_fill_response_get_app_id_p(void);
+extern int utc_autofill_fill_response_get_app_id_n(void);
+
+extern int utc_autofill_fill_response_set_view_id_p(void);
+extern int utc_autofill_fill_response_set_view_id_n(void);
+extern int utc_autofill_fill_response_get_view_id_p(void);
+extern int utc_autofill_fill_response_get_view_id_n(void);
+
+extern int utc_autofill_fill_response_add_group_p(void);
+extern int utc_autofill_fill_response_add_group_n(void);
+
+extern int utc_autofill_fill_response_foreach_group_p(void);
+extern int utc_autofill_fill_response_foreach_group_n(void);
+
+extern int utc_autofill_fill_response_get_group_count_p(void);
+extern int utc_autofill_fill_response_get_group_count_n(void);
+
+extern int utc_autofill_fill_response_group_add_item_p(void);
+extern int utc_autofill_fill_response_group_add_item_n(void);
+
+extern int utc_autofill_fill_response_group_create_p(void);
+extern int utc_autofill_fill_response_group_create_n(void);
+
+extern int utc_autofill_fill_response_group_clone_p(void);
+extern int utc_autofill_fill_response_group_clone_n(void);
+
+extern int utc_autofill_fill_response_group_foreach_item_p(void);
+extern int utc_autofill_fill_response_group_foreach_item_n(void);
+
+extern int utc_autofill_fill_response_item_create_p(void);
+extern int utc_autofill_fill_response_item_create_n(void);
+
+extern int utc_autofill_fill_response_item_destroy_p(void);
+extern int utc_autofill_fill_response_item_destroy_n(void);
+
+extern int utc_autofill_fill_response_item_clone_p(void);
+extern int utc_autofill_fill_response_item_clone_n(void);
+
+extern int utc_autofill_fill_response_item_set_id_p(void);
+extern int utc_autofill_fill_response_item_set_id_n(void);
+
+extern int utc_autofill_fill_response_item_get_id_p(void);
+extern int utc_autofill_fill_response_item_get_id_n(void);
+
+extern int utc_autofill_fill_response_item_set_value_p(void);
+extern int utc_autofill_fill_response_item_set_value_n(void);
+
+extern int utc_autofill_fill_response_item_get_value_p(void);
+extern int utc_autofill_fill_response_item_get_value_n(void);
+
+extern int utc_autofill_fill_response_item_set_presentation_text_p(void);
+extern int utc_autofill_fill_response_item_set_presentation_text_n(void);
+
+extern int utc_autofill_fill_response_item_get_presentation_text_p(void);
+extern int utc_autofill_fill_response_item_get_presentation_text_n(void);
+
+extern int utc_autofill_save_item_create_p(void);
+extern int utc_autofill_save_item_create_n(void);
+extern int utc_autofill_save_item_destroy_p(void);
+extern int utc_autofill_save_item_destroy_n(void);
+
+extern int utc_autofill_save_item_clone_p(void);
+extern int utc_autofill_save_item_clone_n(void);
+
+extern int utc_autofill_save_item_set_autofill_hint_p(void);
+extern int utc_autofill_save_item_set_autofill_hint_n(void);
+extern int utc_autofill_save_item_get_autofill_hint_p(void);
+extern int utc_autofill_save_item_get_autofill_hint_n(void);
+
+extern int utc_autofill_save_item_set_id_p(void);
+extern int utc_autofill_save_item_set_id_n(void);
+extern int utc_autofill_save_item_get_id_p(void);
+extern int utc_autofill_save_item_get_id_n(void);
+
+extern int utc_autofill_save_item_set_label_p(void);
+extern int utc_autofill_save_item_set_label_n(void);
+extern int utc_autofill_save_item_get_label_p(void);
+extern int utc_autofill_save_item_get_label_n(void);
+
+extern int utc_autofill_save_item_set_sensitive_data_p(void);
+extern int utc_autofill_save_item_set_sensitive_data_n(void);
+extern int utc_autofill_save_item_get_sensitive_data_p(void);
+extern int utc_autofill_save_item_get_sensitive_data_n(void);
+
+extern int utc_autofill_save_item_set_value_p(void);
+extern int utc_autofill_save_item_set_value_n(void);
+extern int utc_autofill_save_item_get_value_p(void);
+extern int utc_autofill_save_item_get_value_n(void);
+
+// client
+extern void utc_capi_ui_autofill_startup(void);
+extern void utc_capi_ui_autofill_cleanup(void);
+
+extern int utc_autofill_connect_p(void);
+extern int utc_autofill_connect_n(void);
+
+extern int utc_autofill_auth_info_request_p(void);
+extern int utc_autofill_auth_info_request_n(void);
+
+extern int utc_autofill_auth_info_set_received_cb_p(void);
+extern int utc_autofill_auth_info_set_received_cb_n(void);
+
+extern int utc_autofill_auth_info_unset_received_cb_p(void);
+extern int utc_autofill_auth_info_unset_received_cb_n(void);
+
+extern int utc_autofill_fill_request_p(void);
+extern int utc_autofill_fill_request_n(void);
+
+extern int utc_autofill_fill_response_set_received_cb_p(void);
+extern int utc_autofill_fill_response_set_received_cb_n(void);
+
+extern int utc_autofill_fill_response_unset_received_cb_p(void);
+extern int utc_autofill_fill_response_unset_received_cb_n(void);
+
+extern int utc_autofill_commit_p(void);
+extern int utc_autofill_commit_n(void);
+
+// service
+extern void utc_capi_ui_autofill_service_startup(void);
+extern void utc_capi_ui_autofill_service_cleanup(void);
+
+extern int utc_autofill_service_set_auth_info_requested_cb_p(void);
+extern int utc_autofill_service_set_auth_info_requested_cb_n(void);
+
+extern int utc_autofill_service_unset_auth_info_requested_cb_p(void);
+
+extern int utc_autofill_service_send_auth_info_cb_p(void);
+extern int utc_autofill_service_send_auth_info_cb_n(void);
+
+extern int utc_autofill_service_set_fill_requested_cb_p(void);
+extern int utc_autofill_service_set_fill_requested_cb_n(void);
+
+extern int utc_autofill_service_unset_fill_requested_cb_p(void);
+
+extern int utc_autofill_service_send_fill_response_p(void);
+extern int utc_autofill_service_send_fill_response_n(void);
+
+extern int utc_autofill_service_set_commited_cb_p(void);
+extern int utc_autofill_service_set_commited_cb_n(void);
+
+extern int utc_autofill_service_unset_commited_cb_p(void);
+
+extern int utc_autofill_service_set_terminate_received_cb_p(void);
+extern int utc_autofill_service_set_terminate_received_cb_n(void);
+
+extern int utc_autofill_service_unset_terminate_received_cb_p(void);
+
+testcase tc_array[] = {
+ // common
+ {"utc_autofill_item_create_p", utc_autofill_item_create_p, utc_capi_ui_autofill_common_startup, utc_capi_ui_autofill_common_cleanup},
+ {"utc_autofill_item_create_n", utc_autofill_item_create_n, utc_capi_ui_autofill_common_startup, utc_capi_ui_autofill_common_cleanup},
+ {"utc_autofill_item_destroy_p", utc_autofill_item_destroy_p, utc_capi_ui_autofill_common_startup, utc_capi_ui_autofill_common_cleanup},
+ {"utc_autofill_item_destroy_n", utc_autofill_item_destroy_n, utc_capi_ui_autofill_common_startup, utc_capi_ui_autofill_common_cleanup},
+
+ {"utc_autofill_item_clone_p", utc_autofill_item_clone_p, utc_capi_ui_autofill_common_startup, utc_capi_ui_autofill_common_cleanup},
+ {"utc_autofill_item_clone_n", utc_autofill_item_clone_n, utc_capi_ui_autofill_common_startup, utc_capi_ui_autofill_common_cleanup},
+
+ {"utc_autofill_item_set_autofill_hint_p", utc_autofill_item_set_autofill_hint_p, utc_capi_ui_autofill_common_startup, utc_capi_ui_autofill_common_cleanup},
+ {"utc_autofill_item_set_autofill_hint_n", utc_autofill_item_set_autofill_hint_n, utc_capi_ui_autofill_common_startup, utc_capi_ui_autofill_common_cleanup},
+ {"utc_autofill_item_get_autofill_hint_p", utc_autofill_item_get_autofill_hint_p, utc_capi_ui_autofill_common_startup, utc_capi_ui_autofill_common_cleanup},
+ {"utc_autofill_item_get_autofill_hint_n", utc_autofill_item_get_autofill_hint_n, utc_capi_ui_autofill_common_startup, utc_capi_ui_autofill_common_cleanup},
+
+ {"utc_autofill_item_set_id_p", utc_autofill_item_set_id_p, utc_capi_ui_autofill_common_startup, utc_capi_ui_autofill_common_cleanup},
+ {"utc_autofill_item_set_id_n", utc_autofill_item_set_id_n, utc_capi_ui_autofill_common_startup, utc_capi_ui_autofill_common_cleanup},
+ {"utc_autofill_item_get_id_p", utc_autofill_item_get_id_p, utc_capi_ui_autofill_common_startup, utc_capi_ui_autofill_common_cleanup},
+ {"utc_autofill_item_get_id_n", utc_autofill_item_get_id_n, utc_capi_ui_autofill_common_startup, utc_capi_ui_autofill_common_cleanup},
+
+ {"utc_autofill_item_set_label_p", utc_autofill_item_set_label_p, utc_capi_ui_autofill_common_startup, utc_capi_ui_autofill_common_cleanup},
+ {"utc_autofill_item_set_label_n", utc_autofill_item_set_label_n, utc_capi_ui_autofill_common_startup, utc_capi_ui_autofill_common_cleanup},
+ {"utc_autofill_item_get_label_p", utc_autofill_item_get_label_p, utc_capi_ui_autofill_common_startup, utc_capi_ui_autofill_common_cleanup},
+ {"utc_autofill_item_get_label_n", utc_autofill_item_get_label_n, utc_capi_ui_autofill_common_startup, utc_capi_ui_autofill_common_cleanup},
+
+ {"utc_autofill_item_set_sensitive_data_p", utc_autofill_item_set_sensitive_data_p, utc_capi_ui_autofill_common_startup, utc_capi_ui_autofill_common_cleanup},
+ {"utc_autofill_item_set_sensitive_data_n", utc_autofill_item_set_sensitive_data_n, utc_capi_ui_autofill_common_startup, utc_capi_ui_autofill_common_cleanup},
+ {"utc_autofill_item_get_sensitive_data_p", utc_autofill_item_get_sensitive_data_p, utc_capi_ui_autofill_common_startup, utc_capi_ui_autofill_common_cleanup},
+ {"utc_autofill_item_get_sensitive_data_n", utc_autofill_item_get_sensitive_data_n, utc_capi_ui_autofill_common_startup, utc_capi_ui_autofill_common_cleanup},
+
+ {"utc_autofill_item_set_value_p", utc_autofill_item_set_value_p, utc_capi_ui_autofill_common_startup, utc_capi_ui_autofill_common_cleanup},
+ {"utc_autofill_item_set_value_n", utc_autofill_item_set_value_n, utc_capi_ui_autofill_common_startup, utc_capi_ui_autofill_common_cleanup},
+ {"utc_autofill_item_get_value_p", utc_autofill_item_get_value_p, utc_capi_ui_autofill_common_startup, utc_capi_ui_autofill_common_cleanup},
+ {"utc_autofill_item_get_value_n", utc_autofill_item_get_value_n, utc_capi_ui_autofill_common_startup, utc_capi_ui_autofill_common_cleanup},
+
+ {"utc_autofill_auth_info_create_p", utc_autofill_auth_info_create_p, utc_capi_ui_autofill_common_startup, utc_capi_ui_autofill_common_cleanup},
+ {"utc_autofill_auth_info_create_n", utc_autofill_auth_info_create_n, utc_capi_ui_autofill_common_startup, utc_capi_ui_autofill_common_cleanup},
+ {"utc_autofill_auth_info_destroy_p", utc_autofill_auth_info_destroy_p, utc_capi_ui_autofill_common_startup, utc_capi_ui_autofill_common_cleanup},
+ {"utc_autofill_auth_info_destroy_n", utc_autofill_auth_info_destroy_n, utc_capi_ui_autofill_common_startup, utc_capi_ui_autofill_common_cleanup},
+
+ {"utc_autofill_auth_info_set_app_id_p", utc_autofill_auth_info_set_app_id_p, utc_capi_ui_autofill_common_startup, utc_capi_ui_autofill_common_cleanup},
+ {"utc_autofill_auth_info_set_app_id_n", utc_autofill_auth_info_set_app_id_n, utc_capi_ui_autofill_common_startup, utc_capi_ui_autofill_common_cleanup},
+ {"utc_autofill_auth_info_get_app_id_p", utc_autofill_auth_info_get_app_id_p, utc_capi_ui_autofill_common_startup, utc_capi_ui_autofill_common_cleanup},
+ {"utc_autofill_auth_info_get_app_id_n", utc_autofill_auth_info_get_app_id_n, utc_capi_ui_autofill_common_startup, utc_capi_ui_autofill_common_cleanup},
+
+ {"utc_autofill_auth_info_set_view_id_p", utc_autofill_auth_info_set_view_id_p, utc_capi_ui_autofill_common_startup, utc_capi_ui_autofill_common_cleanup},
+ {"utc_autofill_auth_info_set_view_id_n", utc_autofill_auth_info_set_view_id_n, utc_capi_ui_autofill_common_startup, utc_capi_ui_autofill_common_cleanup},
+ {"utc_autofill_auth_info_get_view_id_p", utc_autofill_auth_info_get_view_id_p, utc_capi_ui_autofill_common_startup, utc_capi_ui_autofill_common_cleanup},
+ {"utc_autofill_auth_info_get_view_id_n", utc_autofill_auth_info_get_view_id_n, utc_capi_ui_autofill_common_startup, utc_capi_ui_autofill_common_cleanup},
+
+ {"utc_autofill_auth_info_set_autofill_data_present_p", utc_autofill_auth_info_set_autofill_data_present_p, utc_capi_ui_autofill_common_startup, utc_capi_ui_autofill_common_cleanup},
+ {"utc_autofill_auth_info_set_autofill_data_present_n", utc_autofill_auth_info_set_autofill_data_present_n, utc_capi_ui_autofill_common_startup, utc_capi_ui_autofill_common_cleanup},
+ {"utc_autofill_auth_info_get_autofill_data_present_p", utc_autofill_auth_info_get_autofill_data_present_p, utc_capi_ui_autofill_common_startup, utc_capi_ui_autofill_common_cleanup},
+ {"utc_autofill_auth_info_get_autofill_data_present_n", utc_autofill_auth_info_get_autofill_data_present_n, utc_capi_ui_autofill_common_startup, utc_capi_ui_autofill_common_cleanup},
+
+ {"utc_autofill_auth_info_set_authentication_needed_p", utc_autofill_auth_info_set_authentication_needed_p, utc_capi_ui_autofill_common_startup, utc_capi_ui_autofill_common_cleanup},
+ {"utc_autofill_auth_info_set_authentication_needed_n", utc_autofill_auth_info_set_authentication_needed_n, utc_capi_ui_autofill_common_startup, utc_capi_ui_autofill_common_cleanup},
+ {"utc_autofill_auth_info_get_authentication_needed_p", utc_autofill_auth_info_get_authentication_needed_p, utc_capi_ui_autofill_common_startup, utc_capi_ui_autofill_common_cleanup},
+ {"utc_autofill_auth_info_get_authentication_needed_n", utc_autofill_auth_info_get_authentication_needed_n, utc_capi_ui_autofill_common_startup, utc_capi_ui_autofill_common_cleanup},
+
+ {"utc_autofill_auth_info_set_service_name_p", utc_autofill_auth_info_set_service_name_p, utc_capi_ui_autofill_common_startup, utc_capi_ui_autofill_common_cleanup},
+ {"utc_autofill_auth_info_set_service_name_n", utc_autofill_auth_info_set_service_name_n, utc_capi_ui_autofill_common_startup, utc_capi_ui_autofill_common_cleanup},
+ {"utc_autofill_auth_info_get_service_name_p", utc_autofill_auth_info_get_service_name_p, utc_capi_ui_autofill_common_startup, utc_capi_ui_autofill_common_cleanup},
+ {"utc_autofill_auth_info_get_service_name_n", utc_autofill_auth_info_get_service_name_n, utc_capi_ui_autofill_common_startup, utc_capi_ui_autofill_common_cleanup},
+
+ {"utc_autofill_auth_info_set_service_message_p", utc_autofill_auth_info_set_service_message_p, utc_capi_ui_autofill_common_startup, utc_capi_ui_autofill_common_cleanup},
+ {"utc_autofill_auth_info_set_service_message_n", utc_autofill_auth_info_set_service_message_n, utc_capi_ui_autofill_common_startup, utc_capi_ui_autofill_common_cleanup},
+ {"utc_autofill_auth_info_get_service_message_p", utc_autofill_auth_info_get_service_message_p, utc_capi_ui_autofill_common_startup, utc_capi_ui_autofill_common_cleanup},
+ {"utc_autofill_auth_info_get_service_message_n", utc_autofill_auth_info_get_service_message_n, utc_capi_ui_autofill_common_startup, utc_capi_ui_autofill_common_cleanup},
+
+ {"utc_autofill_auth_info_set_service_logo_image_path_p", utc_autofill_auth_info_set_service_logo_image_path_p, utc_capi_ui_autofill_common_startup, utc_capi_ui_autofill_common_cleanup},
+ {"utc_autofill_auth_info_set_service_logo_image_path_n", utc_autofill_auth_info_set_service_logo_image_path_n, utc_capi_ui_autofill_common_startup, utc_capi_ui_autofill_common_cleanup},
+ {"utc_autofill_auth_info_get_service_logo_image_path_p", utc_autofill_auth_info_get_service_logo_image_path_p, utc_capi_ui_autofill_common_startup, utc_capi_ui_autofill_common_cleanup},
+ {"utc_autofill_auth_info_get_service_logo_image_path_n", utc_autofill_auth_info_get_service_logo_image_path_n, utc_capi_ui_autofill_common_startup, utc_capi_ui_autofill_common_cleanup},
+
+ {"utc_autofill_view_info_create_p", utc_autofill_view_info_create_p, utc_capi_ui_autofill_common_startup, utc_capi_ui_autofill_common_cleanup},
+ {"utc_autofill_view_info_create_n", utc_autofill_view_info_create_n, utc_capi_ui_autofill_common_startup, utc_capi_ui_autofill_common_cleanup},
+ {"utc_autofill_view_info_destroy_p", utc_autofill_view_info_destroy_p, utc_capi_ui_autofill_common_startup, utc_capi_ui_autofill_common_cleanup},
+ {"utc_autofill_view_info_destroy_n", utc_autofill_view_info_destroy_n, utc_capi_ui_autofill_common_startup, utc_capi_ui_autofill_common_cleanup},
+
+ {"utc_autofill_view_info_set_app_id_p", utc_autofill_view_info_set_app_id_p, utc_capi_ui_autofill_common_startup, utc_capi_ui_autofill_common_cleanup},
+ {"utc_autofill_view_info_set_app_id_n", utc_autofill_view_info_set_app_id_n, utc_capi_ui_autofill_common_startup, utc_capi_ui_autofill_common_cleanup},
+ {"utc_autofill_view_info_get_app_id_p", utc_autofill_view_info_get_app_id_p, utc_capi_ui_autofill_common_startup, utc_capi_ui_autofill_common_cleanup},
+ {"utc_autofill_view_info_get_app_id_n", utc_autofill_view_info_get_app_id_n, utc_capi_ui_autofill_common_startup, utc_capi_ui_autofill_common_cleanup},
+
+ {"utc_autofill_view_info_set_view_id_p", utc_autofill_view_info_set_view_id_p, utc_capi_ui_autofill_common_startup, utc_capi_ui_autofill_common_cleanup},
+ {"utc_autofill_view_info_set_view_id_n", utc_autofill_view_info_set_view_id_n, utc_capi_ui_autofill_common_startup, utc_capi_ui_autofill_common_cleanup},
+ {"utc_autofill_view_info_get_view_id_p", utc_autofill_view_info_get_view_id_p, utc_capi_ui_autofill_common_startup, utc_capi_ui_autofill_common_cleanup},
+ {"utc_autofill_view_info_get_view_id_n", utc_autofill_view_info_get_view_id_n, utc_capi_ui_autofill_common_startup, utc_capi_ui_autofill_common_cleanup},
+
+ {"utc_autofill_view_info_add_item_p", utc_autofill_view_info_add_item_p, utc_capi_ui_autofill_common_startup, utc_capi_ui_autofill_common_cleanup},
+ {"utc_autofill_view_info_add_item_n", utc_autofill_view_info_add_item_n, utc_capi_ui_autofill_common_startup, utc_capi_ui_autofill_common_cleanup},
+
+ {"utc_autofill_view_info_foreach_item_p", utc_autofill_view_info_foreach_item_p, utc_capi_ui_autofill_common_startup, utc_capi_ui_autofill_common_cleanup},
+ {"utc_autofill_view_info_foreach_item_n", utc_autofill_view_info_foreach_item_n, utc_capi_ui_autofill_common_startup, utc_capi_ui_autofill_common_cleanup},
+
+ {"utc_autofill_fill_response_create_p", utc_autofill_fill_response_create_p, utc_capi_ui_autofill_common_startup, utc_capi_ui_autofill_common_cleanup},
+ {"utc_autofill_fill_response_create_n", utc_autofill_fill_response_create_n, utc_capi_ui_autofill_common_startup, utc_capi_ui_autofill_common_cleanup},
+ {"utc_autofill_fill_response_destroy_p", utc_autofill_fill_response_destroy_p, utc_capi_ui_autofill_common_startup, utc_capi_ui_autofill_common_cleanup},
+ {"utc_autofill_fill_response_destroy_n", utc_autofill_fill_response_destroy_n, utc_capi_ui_autofill_common_startup, utc_capi_ui_autofill_common_cleanup},
+
+ {"utc_autofill_fill_response_set_app_id_p", utc_autofill_fill_response_set_app_id_p, utc_capi_ui_autofill_common_startup, utc_capi_ui_autofill_common_cleanup},
+ {"utc_autofill_fill_response_set_app_id_n", utc_autofill_fill_response_set_app_id_n, utc_capi_ui_autofill_common_startup, utc_capi_ui_autofill_common_cleanup},
+ {"utc_autofill_fill_response_get_app_id_p", utc_autofill_fill_response_get_app_id_p, utc_capi_ui_autofill_common_startup, utc_capi_ui_autofill_common_cleanup},
+ {"utc_autofill_fill_response_get_app_id_n", utc_autofill_fill_response_get_app_id_n, utc_capi_ui_autofill_common_startup, utc_capi_ui_autofill_common_cleanup},
+
+ {"utc_autofill_fill_response_set_view_id_p", utc_autofill_fill_response_set_view_id_p, utc_capi_ui_autofill_common_startup, utc_capi_ui_autofill_common_cleanup},
+ {"utc_autofill_fill_response_set_view_id_n", utc_autofill_fill_response_set_view_id_n, utc_capi_ui_autofill_common_startup, utc_capi_ui_autofill_common_cleanup},
+ {"utc_autofill_fill_response_get_view_id_p", utc_autofill_fill_response_get_view_id_p, utc_capi_ui_autofill_common_startup, utc_capi_ui_autofill_common_cleanup},
+ {"utc_autofill_fill_response_get_view_id_n", utc_autofill_fill_response_get_view_id_n, utc_capi_ui_autofill_common_startup, utc_capi_ui_autofill_common_cleanup},
+
+ {"utc_autofill_fill_response_add_group_p", utc_autofill_fill_response_add_group_p, utc_capi_ui_autofill_common_startup, utc_capi_ui_autofill_common_cleanup},
+ {"utc_autofill_fill_response_add_group_n", utc_autofill_fill_response_add_group_n, utc_capi_ui_autofill_common_startup, utc_capi_ui_autofill_common_cleanup},
+
+ {"utc_autofill_fill_response_foreach_group_p", utc_autofill_fill_response_foreach_group_p, utc_capi_ui_autofill_common_startup, utc_capi_ui_autofill_common_cleanup},
+ {"utc_autofill_fill_response_foreach_group_n", utc_autofill_fill_response_foreach_group_n, utc_capi_ui_autofill_common_startup, utc_capi_ui_autofill_common_cleanup},
+
+ {"utc_autofill_fill_response_get_group_count_p", utc_autofill_fill_response_get_group_count_p, utc_capi_ui_autofill_common_startup, utc_capi_ui_autofill_common_cleanup},
+ {"utc_autofill_fill_response_get_group_count_n", utc_autofill_fill_response_get_group_count_n, utc_capi_ui_autofill_common_startup, utc_capi_ui_autofill_common_cleanup},
+
+ {"utc_autofill_fill_response_group_add_item_p", utc_autofill_fill_response_group_add_item_p, utc_capi_ui_autofill_common_startup, utc_capi_ui_autofill_common_cleanup},
+ {"utc_autofill_fill_response_group_add_item_n", utc_autofill_fill_response_group_add_item_n, utc_capi_ui_autofill_common_startup, utc_capi_ui_autofill_common_cleanup},
+
+ {"utc_autofill_fill_response_group_create_p", utc_autofill_fill_response_group_create_p, utc_capi_ui_autofill_common_startup, utc_capi_ui_autofill_common_cleanup},
+ {"utc_autofill_fill_response_group_create_n", utc_autofill_fill_response_group_create_n, utc_capi_ui_autofill_common_startup, utc_capi_ui_autofill_common_cleanup},
+
+ {"utc_autofill_fill_response_group_clone_p", utc_autofill_fill_response_group_clone_p, utc_capi_ui_autofill_common_startup, utc_capi_ui_autofill_common_cleanup},
+ {"utc_autofill_fill_response_group_clone_n", utc_autofill_fill_response_group_clone_n, utc_capi_ui_autofill_common_startup, utc_capi_ui_autofill_common_cleanup},
+
+ {"utc_autofill_fill_response_group_foreach_item_p", utc_autofill_fill_response_group_foreach_item_p, utc_capi_ui_autofill_common_startup, utc_capi_ui_autofill_common_cleanup},
+ {"utc_autofill_fill_response_group_foreach_item_n", utc_autofill_fill_response_group_foreach_item_n, utc_capi_ui_autofill_common_startup, utc_capi_ui_autofill_common_cleanup},
+
+ {"utc_autofill_save_view_info_create_p", utc_autofill_save_view_info_create_p, utc_capi_ui_autofill_common_startup, utc_capi_ui_autofill_common_cleanup},
+ {"utc_autofill_save_view_info_create_n", utc_autofill_save_view_info_create_n, utc_capi_ui_autofill_common_startup, utc_capi_ui_autofill_common_cleanup},
+ {"utc_autofill_save_view_info_destroy_p", utc_autofill_save_view_info_destroy_p, utc_capi_ui_autofill_common_startup, utc_capi_ui_autofill_common_cleanup},
+ {"utc_autofill_save_view_info_destroy_n", utc_autofill_save_view_info_destroy_n, utc_capi_ui_autofill_common_startup, utc_capi_ui_autofill_common_cleanup},
+
+ {"utc_autofill_save_view_info_set_app_id_p", utc_autofill_save_view_info_set_app_id_p, utc_capi_ui_autofill_common_startup, utc_capi_ui_autofill_common_cleanup},
+ {"utc_autofill_save_view_info_set_app_id_n", utc_autofill_save_view_info_set_app_id_n, utc_capi_ui_autofill_common_startup, utc_capi_ui_autofill_common_cleanup},
+ {"utc_autofill_save_view_info_get_app_id_p", utc_autofill_save_view_info_get_app_id_p, utc_capi_ui_autofill_common_startup, utc_capi_ui_autofill_common_cleanup},
+ {"utc_autofill_save_view_info_get_app_id_n", utc_autofill_save_view_info_get_app_id_n, utc_capi_ui_autofill_common_startup, utc_capi_ui_autofill_common_cleanup},
+
+ {"utc_autofill_save_view_info_set_view_id_p", utc_autofill_save_view_info_set_view_id_p, utc_capi_ui_autofill_common_startup, utc_capi_ui_autofill_common_cleanup},
+ {"utc_autofill_save_view_info_set_view_id_n", utc_autofill_save_view_info_set_view_id_n, utc_capi_ui_autofill_common_startup, utc_capi_ui_autofill_common_cleanup},
+ {"utc_autofill_save_view_info_get_view_id_p", utc_autofill_save_view_info_get_view_id_p, utc_capi_ui_autofill_common_startup, utc_capi_ui_autofill_common_cleanup},
+ {"utc_autofill_save_view_info_get_view_id_n", utc_autofill_save_view_info_get_view_id_n, utc_capi_ui_autofill_common_startup, utc_capi_ui_autofill_common_cleanup},
+
+ {"utc_autofill_save_view_info_add_item_p", utc_autofill_save_view_info_add_item_p, utc_capi_ui_autofill_common_startup, utc_capi_ui_autofill_common_cleanup},
+ {"utc_autofill_save_view_info_add_item_n", utc_autofill_save_view_info_add_item_n, utc_capi_ui_autofill_common_startup, utc_capi_ui_autofill_common_cleanup},
+
+ {"utc_autofill_save_view_info_foreach_item_p", utc_autofill_save_view_info_foreach_item_p, utc_capi_ui_autofill_common_startup, utc_capi_ui_autofill_common_cleanup},
+ {"utc_autofill_save_view_info_foreach_item_n", utc_autofill_save_view_info_foreach_item_n, utc_capi_ui_autofill_common_startup, utc_capi_ui_autofill_common_cleanup},
+
+ {"utc_autofill_fill_response_item_create_p", utc_autofill_fill_response_item_create_p, utc_capi_ui_autofill_common_startup, utc_capi_ui_autofill_common_cleanup},
+ {"utc_autofill_fill_response_item_create_n", utc_autofill_fill_response_item_create_n, utc_capi_ui_autofill_common_startup, utc_capi_ui_autofill_common_cleanup},
+
+ {"utc_autofill_fill_response_item_destroy_p", utc_autofill_fill_response_item_destroy_p, utc_capi_ui_autofill_common_startup, utc_capi_ui_autofill_common_cleanup},
+ {"utc_autofill_fill_response_item_destroy_n", utc_autofill_fill_response_item_destroy_n, utc_capi_ui_autofill_common_startup, utc_capi_ui_autofill_common_cleanup},
+
+ {"utc_autofill_fill_response_item_clone_p", utc_autofill_fill_response_item_clone_p, utc_capi_ui_autofill_common_startup, utc_capi_ui_autofill_common_cleanup},
+ {"utc_autofill_fill_response_item_clone_n", utc_autofill_fill_response_item_clone_n, utc_capi_ui_autofill_common_startup, utc_capi_ui_autofill_common_cleanup},
+
+ {"utc_autofill_fill_response_item_set_id_p", utc_autofill_fill_response_item_set_id_p, utc_capi_ui_autofill_common_startup, utc_capi_ui_autofill_common_cleanup},
+ {"utc_autofill_fill_response_item_set_id_n", utc_autofill_fill_response_item_set_id_n, utc_capi_ui_autofill_common_startup, utc_capi_ui_autofill_common_cleanup},
+
+ {"utc_autofill_fill_response_item_get_id_p", utc_autofill_fill_response_item_get_id_p, utc_capi_ui_autofill_common_startup, utc_capi_ui_autofill_common_cleanup},
+ {"utc_autofill_fill_response_item_get_id_n", utc_autofill_fill_response_item_get_id_n, utc_capi_ui_autofill_common_startup, utc_capi_ui_autofill_common_cleanup},
+
+ {"utc_autofill_fill_response_item_set_value_p", utc_autofill_fill_response_item_set_value_p, utc_capi_ui_autofill_common_startup, utc_capi_ui_autofill_common_cleanup},
+ {"utc_autofill_fill_response_item_set_value_n", utc_autofill_fill_response_item_set_value_n, utc_capi_ui_autofill_common_startup, utc_capi_ui_autofill_common_cleanup},
+
+ {"utc_autofill_fill_response_item_get_value_p", utc_autofill_fill_response_item_get_value_p, utc_capi_ui_autofill_common_startup, utc_capi_ui_autofill_common_cleanup},
+ {"utc_autofill_fill_response_item_get_value_n", utc_autofill_fill_response_item_get_value_n, utc_capi_ui_autofill_common_startup, utc_capi_ui_autofill_common_cleanup},
+
+ {"utc_autofill_fill_response_item_set_presentation_text_p", utc_autofill_fill_response_item_set_presentation_text_p, utc_capi_ui_autofill_common_startup, utc_capi_ui_autofill_common_cleanup},
+ {"utc_autofill_fill_response_item_set_presentation_text_n", utc_autofill_fill_response_item_set_presentation_text_n, utc_capi_ui_autofill_common_startup, utc_capi_ui_autofill_common_cleanup},
+
+ {"utc_autofill_fill_response_item_get_presentation_text_p", utc_autofill_fill_response_item_get_presentation_text_p, utc_capi_ui_autofill_common_startup, utc_capi_ui_autofill_common_cleanup},
+ {"utc_autofill_fill_response_item_get_presentation_text_n", utc_autofill_fill_response_item_get_presentation_text_n, utc_capi_ui_autofill_common_startup, utc_capi_ui_autofill_common_cleanup},
+
+ {"utc_autofill_save_item_create_p", utc_autofill_save_item_create_p, utc_capi_ui_autofill_common_startup, utc_capi_ui_autofill_common_cleanup},
+ {"utc_autofill_save_item_create_n", utc_autofill_save_item_create_n, utc_capi_ui_autofill_common_startup, utc_capi_ui_autofill_common_cleanup},
+ {"utc_autofill_save_item_destroy_p", utc_autofill_save_item_destroy_p, utc_capi_ui_autofill_common_startup, utc_capi_ui_autofill_common_cleanup},
+ {"utc_autofill_save_item_destroy_n", utc_autofill_save_item_destroy_n, utc_capi_ui_autofill_common_startup, utc_capi_ui_autofill_common_cleanup},
+ {"utc_autofill_save_item_clone_p", utc_autofill_save_item_clone_p, utc_capi_ui_autofill_common_startup, utc_capi_ui_autofill_common_cleanup},
+ {"utc_autofill_save_item_clone_n", utc_autofill_save_item_clone_n, utc_capi_ui_autofill_common_startup, utc_capi_ui_autofill_common_cleanup},
+
+ {"utc_autofill_save_item_set_autofill_hint_p", utc_autofill_save_item_set_autofill_hint_p, utc_capi_ui_autofill_common_startup, utc_capi_ui_autofill_common_cleanup},
+ {"utc_autofill_save_item_set_autofill_hint_n", utc_autofill_save_item_set_autofill_hint_n, utc_capi_ui_autofill_common_startup, utc_capi_ui_autofill_common_cleanup},
+ {"utc_autofill_save_item_get_autofill_hint_p", utc_autofill_save_item_get_autofill_hint_p, utc_capi_ui_autofill_common_startup, utc_capi_ui_autofill_common_cleanup},
+ {"utc_autofill_save_item_get_autofill_hint_n", utc_autofill_save_item_get_autofill_hint_n, utc_capi_ui_autofill_common_startup, utc_capi_ui_autofill_common_cleanup},
+
+ {"utc_autofill_save_item_set_id_p", utc_autofill_save_item_set_id_p, utc_capi_ui_autofill_common_startup, utc_capi_ui_autofill_common_cleanup},
+ {"utc_autofill_save_item_set_id_n", utc_autofill_save_item_set_id_n, utc_capi_ui_autofill_common_startup, utc_capi_ui_autofill_common_cleanup},
+ {"utc_autofill_save_item_get_id_p", utc_autofill_save_item_get_id_p, utc_capi_ui_autofill_common_startup, utc_capi_ui_autofill_common_cleanup},
+ {"utc_autofill_save_item_get_id_n", utc_autofill_save_item_get_id_n, utc_capi_ui_autofill_common_startup, utc_capi_ui_autofill_common_cleanup},
+
+ {"utc_autofill_save_item_set_label_p", utc_autofill_save_item_set_label_p, utc_capi_ui_autofill_common_startup, utc_capi_ui_autofill_common_cleanup},
+ {"utc_autofill_save_item_set_label_n", utc_autofill_save_item_set_label_n, utc_capi_ui_autofill_common_startup, utc_capi_ui_autofill_common_cleanup},
+ {"utc_autofill_save_item_get_label_p", utc_autofill_save_item_get_label_p, utc_capi_ui_autofill_common_startup, utc_capi_ui_autofill_common_cleanup},
+ {"utc_autofill_save_item_get_label_n", utc_autofill_save_item_get_label_n, utc_capi_ui_autofill_common_startup, utc_capi_ui_autofill_common_cleanup},
+
+ {"utc_autofill_save_item_set_sensitive_data_p", utc_autofill_save_item_set_sensitive_data_p, utc_capi_ui_autofill_common_startup, utc_capi_ui_autofill_common_cleanup},
+ {"utc_autofill_save_item_set_sensitive_data_n", utc_autofill_save_item_set_sensitive_data_n, utc_capi_ui_autofill_common_startup, utc_capi_ui_autofill_common_cleanup},
+ {"utc_autofill_save_item_get_sensitive_data_p", utc_autofill_save_item_get_sensitive_data_p, utc_capi_ui_autofill_common_startup, utc_capi_ui_autofill_common_cleanup},
+ {"utc_autofill_save_item_get_sensitive_data_n", utc_autofill_save_item_get_sensitive_data_n, utc_capi_ui_autofill_common_startup, utc_capi_ui_autofill_common_cleanup},
+
+ {"utc_autofill_save_item_set_value_p", utc_autofill_save_item_set_value_p, utc_capi_ui_autofill_common_startup, utc_capi_ui_autofill_common_cleanup},
+ {"utc_autofill_save_item_set_value_n", utc_autofill_save_item_set_value_n, utc_capi_ui_autofill_common_startup, utc_capi_ui_autofill_common_cleanup},
+ {"utc_autofill_save_item_get_value_p", utc_autofill_save_item_get_value_p, utc_capi_ui_autofill_common_startup, utc_capi_ui_autofill_common_cleanup},
+ {"utc_autofill_save_item_get_value_n", utc_autofill_save_item_get_value_n, utc_capi_ui_autofill_common_startup, utc_capi_ui_autofill_common_cleanup},
+
+ // client
+ {"utc_autofill_connect_p", utc_autofill_connect_p, utc_capi_ui_autofill_startup, utc_capi_ui_autofill_cleanup},
+ {"utc_autofill_connect_n", utc_autofill_connect_n, utc_capi_ui_autofill_startup, utc_capi_ui_autofill_cleanup},
+
+ {"utc_autofill_auth_info_request_p", utc_autofill_auth_info_request_p, utc_capi_ui_autofill_startup, utc_capi_ui_autofill_cleanup},
+ {"utc_autofill_auth_info_request_n", utc_autofill_auth_info_request_n, utc_capi_ui_autofill_startup, utc_capi_ui_autofill_cleanup},
+
+ {"utc_autofill_auth_info_set_received_cb_p", utc_autofill_auth_info_set_received_cb_p, utc_capi_ui_autofill_startup, utc_capi_ui_autofill_cleanup},
+ {"utc_autofill_auth_info_set_received_cb_n", utc_autofill_auth_info_set_received_cb_n, utc_capi_ui_autofill_startup, utc_capi_ui_autofill_cleanup},
+
+ {"utc_autofill_auth_info_unset_received_cb_p", utc_autofill_auth_info_unset_received_cb_p, utc_capi_ui_autofill_startup, utc_capi_ui_autofill_cleanup},
+ {"utc_autofill_auth_info_unset_received_cb_n", utc_autofill_auth_info_unset_received_cb_n, utc_capi_ui_autofill_startup, utc_capi_ui_autofill_cleanup},
+
+ {"utc_autofill_fill_request_p", utc_autofill_fill_request_p, utc_capi_ui_autofill_startup, utc_capi_ui_autofill_cleanup},
+ {"utc_autofill_fill_request_n", utc_autofill_fill_request_n, utc_capi_ui_autofill_startup, utc_capi_ui_autofill_cleanup},
+
+ {"utc_autofill_fill_response_set_received_cb_p", utc_autofill_fill_response_set_received_cb_p, utc_capi_ui_autofill_startup, utc_capi_ui_autofill_cleanup},
+ {"utc_autofill_fill_response_set_received_cb_n", utc_autofill_fill_response_set_received_cb_n, utc_capi_ui_autofill_startup, utc_capi_ui_autofill_cleanup},
+
+ {"utc_autofill_fill_response_unset_received_cb_p", utc_autofill_fill_response_unset_received_cb_p, utc_capi_ui_autofill_startup, utc_capi_ui_autofill_cleanup},
+ {"utc_autofill_fill_response_unset_received_cb_n", utc_autofill_fill_response_unset_received_cb_n, utc_capi_ui_autofill_startup, utc_capi_ui_autofill_cleanup},
+
+ {"utc_autofill_commit_p", utc_autofill_commit_p, utc_capi_ui_autofill_startup, utc_capi_ui_autofill_cleanup},
+ {"utc_autofill_commit_n", utc_autofill_commit_n, utc_capi_ui_autofill_startup, utc_capi_ui_autofill_cleanup},
+
+ // service
+ {"utc_autofill_service_set_auth_info_requested_cb_p", utc_autofill_service_set_auth_info_requested_cb_p, utc_capi_ui_autofill_service_startup, utc_capi_ui_autofill_service_cleanup},
+ {"utc_autofill_service_set_auth_info_requested_cb_n", utc_autofill_service_set_auth_info_requested_cb_n, utc_capi_ui_autofill_service_startup, utc_capi_ui_autofill_service_cleanup},
+ {"utc_autofill_service_unset_auth_info_requested_cb_p", utc_autofill_service_unset_auth_info_requested_cb_p, utc_capi_ui_autofill_service_startup, utc_capi_ui_autofill_service_cleanup},
+ {"utc_autofill_service_send_auth_info_cb_p", utc_autofill_service_send_auth_info_cb_p, utc_capi_ui_autofill_service_startup, utc_capi_ui_autofill_service_cleanup},
+ {"utc_autofill_service_send_auth_info_cb_n", utc_autofill_service_send_auth_info_cb_n, utc_capi_ui_autofill_service_startup, utc_capi_ui_autofill_service_cleanup},
+ {"utc_autofill_service_set_fill_requested_cb_p", utc_autofill_service_set_fill_requested_cb_p, utc_capi_ui_autofill_service_startup, utc_capi_ui_autofill_service_cleanup},
+ {"utc_autofill_service_set_fill_requested_cb_n", utc_autofill_service_set_fill_requested_cb_n, utc_capi_ui_autofill_service_startup, utc_capi_ui_autofill_service_cleanup},
+ {"utc_autofill_service_unset_fill_requested_cb_p", utc_autofill_service_unset_fill_requested_cb_p, utc_capi_ui_autofill_service_startup, utc_capi_ui_autofill_service_cleanup},
+ {"utc_autofill_service_send_fill_response_p", utc_autofill_service_send_fill_response_p, utc_capi_ui_autofill_service_startup, utc_capi_ui_autofill_service_cleanup},
+ {"utc_autofill_service_send_fill_response_n", utc_autofill_service_send_fill_response_n, utc_capi_ui_autofill_service_startup, utc_capi_ui_autofill_service_cleanup},
+ {"utc_autofill_service_set_commited_cb_p", utc_autofill_service_set_commited_cb_p, utc_capi_ui_autofill_service_startup, utc_capi_ui_autofill_service_cleanup},
+ {"utc_autofill_service_set_commited_cb_n", utc_autofill_service_set_commited_cb_n, utc_capi_ui_autofill_service_startup, utc_capi_ui_autofill_service_cleanup},
+ {"utc_autofill_service_unset_commited_cb_p", utc_autofill_service_unset_commited_cb_p, utc_capi_ui_autofill_service_startup, utc_capi_ui_autofill_service_cleanup},
+ {"utc_autofill_service_set_terminate_received_cb_p", utc_autofill_service_set_terminate_received_cb_p, utc_capi_ui_autofill_service_startup, utc_capi_ui_autofill_service_cleanup},
+ {"utc_autofill_service_set_terminate_received_cb_n", utc_autofill_service_set_terminate_received_cb_n, utc_capi_ui_autofill_service_startup, utc_capi_ui_autofill_service_cleanup},
+ {"utc_autofill_service_unset_terminate_received_cb_p", utc_autofill_service_unset_terminate_received_cb_p, utc_capi_ui_autofill_service_startup, utc_capi_ui_autofill_service_cleanup},
+
+ {NULL, NULL}
+};
+
+#endif // __TCT_CAPI_UI_AUTOFILL_NATIVE_H__
--- /dev/null
+//
+// Copyright (c) 2014 Samsung Electronics Co., Ltd.
+//
+// Licensed under the Apache License, Version 2.0 (the License);
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+// http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+//
+#include "assert.h"
+#include <string.h>
+#include <autofill_common.h>
+
+//& set: CapiUi-autofill-common
+
+
+static bool __view_info_item_cb(autofill_item_h item, void *user_data)
+{
+ return true;
+}
+
+static bool fill_response_group_cb(autofill_fill_response_group_h group_h, void *user_data)
+{
+ return true;
+}
+
+static bool __save_view_info_item_cb(autofill_save_item_h item, void *user_data)
+{
+ return true;
+}
+
+static bool fill_response_item_cb(autofill_fill_response_item_h item, void *user_data)
+{
+ return true;
+}
+
+/**
+ * @function utc_capi_ui_autofill_common_startup
+ * @description Called before each test
+ * @parameter NA
+ * @return NA
+ */
+void utc_capi_ui_autofill_common_startup(void)
+{
+}
+
+/**
+ * @function utc_capi_ui_autofill_common_cleanup
+ * @description Called after each test
+ * @parameter NA
+ * @return NA
+ */
+void utc_capi_ui_autofill_common_cleanup(void)
+{
+}
+
+/**
+ * @testcase utc_autofill_item_create_p
+ * @since_tizen 5.5
+ * @description Positive UTC of the function that creates autofill item.
+ */
+int utc_autofill_item_create_p(void)
+{
+ autofill_item_h it_h;
+ int ret = autofill_item_create(&it_h);
+ assert_eq(ret, AUTOFILL_ERROR_NONE);
+ assert(it_h);
+ return 0;
+}
+
+/**
+ * @testcase utc_autofill_item_create_n
+ * @since_tizen 5.5
+ * @description Negative UTC of the function that creates autofill item.
+ */
+int utc_autofill_item_create_n(void)
+{
+ int ret = autofill_item_create(NULL);
+ assert_eq(ret, AUTOFILL_ERROR_INVALID_PARAMETER);
+ return 0;
+}
+
+/**
+ * @testcase utc_autofill_item_destroy_p
+ * @since_tizen 5.5
+ * @description Positive UTC of the function that destroys autofill item.
+ */
+int utc_autofill_item_destroy_p(void)
+{
+ autofill_item_h it_h = NULL;
+ int ret = autofill_item_create(&it_h);
+ assert_eq(ret, AUTOFILL_ERROR_NONE);
+ assert(it_h);
+
+ ret = autofill_item_set_id(it_h, "test");
+ assert_eq(ret, AUTOFILL_ERROR_NONE);
+
+ ret = autofill_item_set_label(it_h, "test");
+ assert_eq(ret, AUTOFILL_ERROR_NONE);
+
+ ret = autofill_item_set_value(it_h, "test");
+ assert_eq(ret, AUTOFILL_ERROR_NONE);
+
+ ret = autofill_item_destroy(it_h);
+ assert_eq(ret, AUTOFILL_ERROR_NONE);
+
+ return 0;
+}
+
+/**
+ * @testcase utc_autofill_item_destroy_n
+ * @since_tizen 5.5
+ * @description Negative UTC of the function that destroys autofill item.
+ */
+int utc_autofill_item_destroy_n(void)
+{
+ int ret = autofill_item_destroy(NULL);
+ assert_eq(ret, AUTOFILL_ERROR_INVALID_PARAMETER);
+ return 0;
+}
+
+/**
+ * @testcase utc_autofill_item_clone_p
+ * @since_tizen 5.5
+ * @description Positive UTC of the function that clones autofill item.
+ */
+int utc_autofill_item_clone_p(void)
+{
+ autofill_item_h it_h = NULL, clone_h;
+ int ret = autofill_item_create(&it_h);
+ assert_eq(ret, AUTOFILL_ERROR_NONE);
+ assert(it_h);
+
+ ret = autofill_item_set_id(it_h, "test");
+ assert_eq(ret, AUTOFILL_ERROR_NONE);
+
+ ret = autofill_item_set_label(it_h, "test");
+ assert_eq(ret, AUTOFILL_ERROR_NONE);
+
+ ret = autofill_item_set_value(it_h, "test");
+ assert_eq(ret, AUTOFILL_ERROR_NONE);
+
+ ret = autofill_item_clone(it_h, &clone_h);
+ assert_eq(ret, AUTOFILL_ERROR_NONE);
+
+ autofill_item_destroy(it_h);
+ autofill_item_destroy(clone_h);
+
+ return 0;
+}
+
+/**
+ * @testcase utc_autofill_item_clone_n
+ * @since_tizen 5.5
+ * @description Negative UTC of the function that clones autofill item.
+ */
+int utc_autofill_item_clone_n(void)
+{
+ int ret = autofill_item_clone(NULL, NULL);
+ assert_eq(ret, AUTOFILL_ERROR_INVALID_PARAMETER);
+ return 0;
+}
+
+/**
+ * @testcase utc_autofill_item_set_autofill_hint_p
+ * @since_tizen 5.5
+ * @description Positive UTC of the function that sets autofill hint in an autofill item.
+ */
+int utc_autofill_item_set_autofill_hint_p(void)
+{
+ autofill_item_h it_h = NULL;
+ int ret = autofill_item_create(&it_h);
+ assert_eq(ret, AUTOFILL_ERROR_NONE);
+ assert(it_h);
+
+ ret = autofill_item_set_autofill_hint(it_h, AUTOFILL_HINT_NAME);
+ assert_eq(ret, AUTOFILL_ERROR_NONE);
+ return 0;
+}
+
+/**
+ * @testcase utc_autofill_item_set_autofill_hint_n
+ * @since_tizen 5.5
+ * @description Negative UTC of the function that sets autofill hint in an autofill item.
+ */
+int utc_autofill_item_set_autofill_hint_n(void)
+{
+ int ret = autofill_item_set_autofill_hint(NULL, AUTOFILL_HINT_NAME);
+ assert_eq(ret, AUTOFILL_ERROR_INVALID_PARAMETER);
+ return 0;
+}
+
+/**
+ * @testcase utc_autofill_item_get_autofill_hint_p
+ * @since_tizen 5.5
+ * @description Positive UTC of the function that gets autofill hint in an autofill item.
+ */
+int utc_autofill_item_get_autofill_hint_p(void)
+{
+ autofill_item_h it_h = NULL;
+ autofill_hint_e autofill_hint;
+ int ret = autofill_item_create(&it_h);
+ assert_eq(ret, AUTOFILL_ERROR_NONE);
+ assert(it_h);
+
+ ret = autofill_item_get_autofill_hint(it_h, &autofill_hint);
+ assert_eq(ret, AUTOFILL_ERROR_NONE);
+ return 0;
+}
+
+/**
+ * @testcase utc_autofill_item_get_autofill_hint_n
+ * @since_tizen 5.5
+ * @description Negative UTC of the function that gets autofill hint in an autofill item.
+ */
+int utc_autofill_item_get_autofill_hint_n(void)
+{
+ autofill_hint_e autofill_hint;
+ int ret = autofill_item_get_autofill_hint(NULL, &autofill_hint);
+ assert_eq(ret, AUTOFILL_ERROR_INVALID_PARAMETER);
+ return 0;
+}
+
+/**
+ * @testcase utc_autofill_item_set_id_p
+ * @since_tizen 5.5
+ * @description Positive UTC of the function that sets autofill id in an autofill item.
+ */
+int utc_autofill_item_set_id_p(void)
+{
+ autofill_item_h it_h = NULL;
+ int ret = autofill_item_create(&it_h);
+ assert_eq(ret, AUTOFILL_ERROR_NONE);
+ assert(it_h);
+
+ ret = autofill_item_set_id(it_h, "test");
+ assert_eq(ret, AUTOFILL_ERROR_NONE);
+ return 0;
+}
+
+/**
+ * @testcase utc_autofill_item_set_id_n
+ * @since_tizen 5.5
+ * @description Negative UTC of the function that sets autofill id in an autofill item.
+ */
+int utc_autofill_item_set_id_n(void)
+{
+ int ret = autofill_item_set_id(NULL, "test");
+ assert_eq(ret, AUTOFILL_ERROR_INVALID_PARAMETER);
+ return 0;
+}
+
+/**
+ * @testcase utc_autofill_item_get_id_p
+ * @since_tizen 5.5
+ * @description Positive UTC of the function that gets autofill id in an autofill item.
+ */
+int utc_autofill_item_get_id_p(void)
+{
+ autofill_item_h it_h = NULL;
+ char *id = NULL;
+ int ret = autofill_item_create(&it_h);
+ assert_eq(ret, AUTOFILL_ERROR_NONE);
+ assert(it_h);
+
+ ret = autofill_item_set_id(it_h, "test");
+ assert_eq(ret, AUTOFILL_ERROR_NONE);
+
+ ret = autofill_item_get_id(it_h, &id);
+
+ autofill_item_destroy(it_h);
+
+ assert(id);
+
+ if (id)
+ free(id);
+
+ assert_eq(ret, AUTOFILL_ERROR_NONE);
+ return 0;
+}
+
+/**
+ * @testcase utc_autofill_item_get_id_n
+ * @since_tizen 5.5
+ * @description Negative UTC of the function that gets autofill id in an autofill item.
+ */
+int utc_autofill_item_get_id_n(void)
+{
+ char *id = NULL;
+ int ret = autofill_item_get_id(NULL, &id);
+ assert_eq(ret, AUTOFILL_ERROR_INVALID_PARAMETER);
+ return 0;
+}
+
+/**
+ * @testcase utc_autofill_item_set_label_p
+ * @since_tizen 5.5
+ * @description Positive UTC of the function that sets autofill label in an autofill item.
+ */
+int utc_autofill_item_set_label_p(void)
+{
+ autofill_item_h it_h = NULL;
+ int ret = autofill_item_create(&it_h);
+ assert_eq(ret, AUTOFILL_ERROR_NONE);
+ assert(it_h);
+
+ ret = autofill_item_set_label(it_h, "test");
+
+ autofill_item_destroy(it_h);
+
+ assert_eq(ret, AUTOFILL_ERROR_NONE);
+ return 0;
+}
+
+/**
+ * @testcase utc_autofill_item_set_label_n
+ * @since_tizen 5.5
+ * @description Negative UTC of the function that sets autofill label in an autofill item.
+ */
+int utc_autofill_item_set_label_n(void)
+{
+ int ret = autofill_item_set_label(NULL, "test");
+ assert_eq(ret, AUTOFILL_ERROR_INVALID_PARAMETER);
+ return 0;
+}
+
+/**
+ * @testcase utc_autofill_item_get_label_p
+ * @since_tizen 5.5
+ * @description Positive UTC of the function that gets autofill label in an autofill item.
+ */
+int utc_autofill_item_get_label_p(void)
+{
+ autofill_item_h it_h = NULL;
+ char *label = NULL;
+ int ret = autofill_item_create(&it_h);
+ assert_eq(ret, AUTOFILL_ERROR_NONE);
+ assert(it_h);
+
+ ret = autofill_item_set_label(it_h, "test");
+ assert_eq(ret, AUTOFILL_ERROR_NONE);
+
+ ret = autofill_item_get_label(it_h, &label);
+
+ autofill_item_destroy(it_h);
+
+ assert(label);
+
+ if (label)
+ free(label);
+
+ assert_eq(ret, AUTOFILL_ERROR_NONE);
+
+ return 0;
+}
+
+/**
+ * @testcase utc_autofill_item_get_label_n
+ * @since_tizen 5.5
+ * @description Negative UTC of the function that gets autofill label in an autofill item.
+ */
+int utc_autofill_item_get_label_n(void)
+{
+ char *label = NULL;
+ int ret = autofill_item_get_label(NULL, &label);
+ assert_eq(ret, AUTOFILL_ERROR_INVALID_PARAMETER);
+ return 0;
+}
+
+/**
+ * @testcase utc_autofill_item_set_sensitive_data_p
+ * @since_tizen 5.5
+ * @description Positive UTC of the function that sets whether sensitive data or not in an autofill item.
+ */
+int utc_autofill_item_set_sensitive_data_p(void)
+{
+ autofill_item_h it_h = NULL;
+ int ret = autofill_item_create(&it_h);
+ assert_eq(ret, AUTOFILL_ERROR_NONE);
+ assert(it_h);
+
+ ret = autofill_item_set_sensitive_data(it_h, true);
+
+ autofill_item_destroy(it_h);
+
+ assert_eq(ret, AUTOFILL_ERROR_NONE);
+ return 0;
+}
+
+/**
+ * @testcase utc_autofill_item_set_sensitive_data_n
+ * @since_tizen 5.5
+ * @description Negative UTC of the function that sets whether sensitive data or not in an autofill item.
+ */
+int utc_autofill_item_set_sensitive_data_n(void)
+{
+ int ret = autofill_item_set_sensitive_data(NULL, true);
+ assert_eq(ret, AUTOFILL_ERROR_INVALID_PARAMETER);
+ return 0;
+}
+
+/**
+ * @testcase utc_autofill_item_get_sensitive_data_p
+ * @since_tizen 5.5
+ * @description Positive UTC of the function that gets whether sensitive data or not in an autofill item.
+ */
+int utc_autofill_item_get_sensitive_data_p(void)
+{
+ autofill_item_h it_h = NULL;
+ bool sensitive_data;
+ int ret = autofill_item_create(&it_h);
+ assert_eq(ret, AUTOFILL_ERROR_NONE);
+ assert(it_h);
+
+ ret = autofill_item_get_sensitive_data(it_h, &sensitive_data);
+
+ autofill_item_destroy(it_h);
+
+ assert_eq(ret, AUTOFILL_ERROR_NONE);
+ return 0;
+}
+
+/**
+ * @testcase utc_autofill_item_get_sensitive_data_n
+ * @since_tizen 5.5
+ * @description Negative UTC of the function that gets whether sensitive data or not in an autofill item.
+ */
+int utc_autofill_item_get_sensitive_data_n(void)
+{
+ bool sensitive_data;
+ int ret = autofill_item_get_sensitive_data(NULL, &sensitive_data);
+ assert_eq(ret, AUTOFILL_ERROR_INVALID_PARAMETER);
+ return 0;
+}
+
+/**
+ * @testcase utc_autofill_item_set_value_p
+ * @since_tizen 5.5
+ * @description Positive UTC of the function that sets autofill value in an autofill item.
+ */
+int utc_autofill_item_set_value_p(void)
+{
+ autofill_item_h it_h = NULL;
+ int ret = autofill_item_create(&it_h);
+ assert_eq(ret, AUTOFILL_ERROR_NONE);
+ assert(it_h);
+
+ ret = autofill_item_set_value(it_h, "test");
+ autofill_item_destroy(it_h);
+
+ assert_eq(ret, AUTOFILL_ERROR_NONE);
+ return 0;
+}
+
+/**
+ * @testcase utc_autofill_item_set_value_n
+ * @since_tizen 5.5
+ * @description Negative UTC of the function that sets autofill value in an autofill item.
+ */
+int utc_autofill_item_set_value_n(void)
+{
+ int ret = autofill_item_set_value(NULL, "test");
+ assert_eq(ret, AUTOFILL_ERROR_INVALID_PARAMETER);
+ return 0;
+}
+
+/**
+ * @testcase utc_autofill_item_get_value_p
+ * @since_tizen 5.5
+ * @description Positive UTC of the function that gets autofill value in an autofill item.
+ */
+int utc_autofill_item_get_value_p(void)
+{
+ autofill_item_h it_h = NULL;
+ char *value = NULL;
+ int ret = autofill_item_create(&it_h);
+ assert_eq(ret, AUTOFILL_ERROR_NONE);
+ assert(it_h);
+
+ ret = autofill_item_set_value(it_h, "test");
+ assert_eq(ret, AUTOFILL_ERROR_NONE);
+
+ ret = autofill_item_get_value(it_h, &value);
+
+ if (value)
+ free(value);
+
+ autofill_item_destroy(it_h);
+
+ assert_eq(ret, AUTOFILL_ERROR_NONE);
+
+ return 0;
+}
+
+/**
+ * @testcase utc_autofill_item_get_value_n
+ * @since_tizen 5.5
+ * @description Negative UTC of the function that gets autofill value in an autofill item.
+ */
+int utc_autofill_item_get_value_n(void)
+{
+ char *value = NULL;
+ int ret = autofill_item_get_value(NULL, &value);
+ assert_eq(ret, AUTOFILL_ERROR_INVALID_PARAMETER);
+ return 0;
+}
+
+/**
+ * @testcase utc_autofill_view_info_create_p
+ * @since_tizen 5.5
+ * @description Positive UTC of the function that creates autofill view information.
+ */
+int utc_autofill_view_info_create_p(void)
+{
+ autofill_view_info_h vi_h;
+ int ret = autofill_view_info_create(&vi_h);
+ assert_eq(ret, AUTOFILL_ERROR_NONE);
+ assert(vi_h);
+
+ autofill_view_info_destroy(vi_h);
+
+ return 0;
+}
+
+/**
+ * @testcase utc_autofill_view_info_create_n
+ * @since_tizen 5.5
+ * @description Negative UTC of the function that creates autofill view information.
+ */
+int utc_autofill_view_info_create_n(void)
+{
+ int ret = autofill_view_info_create(NULL);
+ assert_eq(ret, AUTOFILL_ERROR_INVALID_PARAMETER);
+ return 0;
+}
+
+/**
+ * @testcase utc_autofill_view_info_destroy_p
+ * @since_tizen 5.5
+ * @description Positive UTC of the function that destroys autofill view information.
+ */
+int utc_autofill_view_info_destroy_p(void)
+{
+ autofill_view_info_h vi_h;
+ int ret = autofill_view_info_create(&vi_h);
+ assert(vi_h);
+
+ ret = autofill_view_info_destroy(vi_h);
+ assert_eq(ret, AUTOFILL_ERROR_NONE);
+
+ return 0;
+}
+
+/**
+ * @testcase utc_autofill_view_info_destroy_n
+ * @since_tizen 5.5
+ * @description Negative UTC of the function that destroys autofill view information.
+ */
+int utc_autofill_view_info_destroy_n(void)
+{
+ int ret = autofill_view_info_destroy(NULL);
+ assert_eq(ret, AUTOFILL_ERROR_INVALID_PARAMETER);
+ return 0;
+}
+
+/**
+ * @testcase utc_autofill_view_info_set_app_id_p
+ * @since_tizen 5.5
+ * @description Positive UTC of the function that sets app id in autofill view information.
+ */
+int utc_autofill_view_info_set_app_id_p(void)
+{
+ autofill_view_info_h vi_h;
+ int ret = autofill_view_info_create(&vi_h);
+ assert(vi_h);
+
+ ret = autofill_view_info_set_app_id(vi_h, "org.tizen.example");
+ autofill_view_info_destroy(vi_h);
+ assert_eq(ret, AUTOFILL_ERROR_NONE);
+ return 0;
+}
+
+/**
+ * @testcase utc_autofill_view_info_set_app_id_n
+ * @since_tizen 5.5
+ * @description Negative UTC of the function that sets app id in autofill view information.
+ */
+int utc_autofill_view_info_set_app_id_n(void)
+{
+ autofill_view_info_h vi_h;
+ int ret = autofill_view_info_create(&vi_h);
+ assert(vi_h);
+
+ ret = autofill_view_info_set_app_id(vi_h, NULL);
+ autofill_view_info_destroy(vi_h);
+ assert_eq(ret, AUTOFILL_ERROR_INVALID_PARAMETER);
+ return 0;
+}
+
+/**
+ * @testcase utc_autofill_view_info_get_app_id_p
+ * @since_tizen 5.5
+ * @description Positive UTC of the function that gets app id in autofill view information.
+ */
+int utc_autofill_view_info_get_app_id_p(void)
+{
+ autofill_view_info_h vi_h;
+ char *app_id = NULL;
+ int ret = autofill_view_info_create(&vi_h);
+ assert(vi_h);
+
+ ret = autofill_view_info_set_app_id(vi_h, "org.tizen.example");
+ assert_eq(ret, AUTOFILL_ERROR_NONE);
+
+ ret = autofill_view_info_get_app_id(vi_h, &app_id);
+ assert(app_id);
+
+ free(app_id);
+
+ autofill_view_info_destroy(vi_h);
+
+ assert_eq(ret, AUTOFILL_ERROR_NONE);
+
+ return 0;
+}
+
+/**
+ * @testcase utc_autofill_view_info_get_app_id_n
+ * @since_tizen 5.5
+ * @description Negative UTC of the function that gets app id in autofill view information.
+ */
+int utc_autofill_view_info_get_app_id_n(void)
+{
+ autofill_view_info_h vi_h;
+ int ret = autofill_view_info_create(&vi_h);
+ assert_eq(ret, AUTOFILL_ERROR_NONE);
+ assert(vi_h);
+
+ ret = autofill_view_info_set_app_id(vi_h, "org.tizen.example");
+ assert_eq(ret, AUTOFILL_ERROR_NONE);
+
+ ret = autofill_view_info_get_app_id(vi_h, NULL);
+ autofill_view_info_destroy(vi_h);
+ assert_eq(ret, AUTOFILL_ERROR_INVALID_PARAMETER);
+
+ return 0;
+}
+
+/**
+ * @testcase utc_autofill_view_info_set_view_id_p
+ * @since_tizen 5.5
+ * @description Positive UTC of the function that sets view id in autofill view information.
+ */
+int utc_autofill_view_info_set_view_id_p(void)
+{
+ autofill_view_info_h vi_h;
+ int ret = autofill_view_info_create(&vi_h);
+ assert_eq(ret, AUTOFILL_ERROR_NONE);
+ assert(vi_h);
+
+ ret = autofill_view_info_set_view_id(vi_h, "login");
+ autofill_view_info_destroy(vi_h);
+ assert_eq(ret, AUTOFILL_ERROR_NONE);
+ return 0;
+}
+
+/**
+ * @testcase utc_autofill_view_info_set_view_id_n
+ * @since_tizen 5.5
+ * @description Negative UTC of the function that sets view id in autofill view information.
+ */
+int utc_autofill_view_info_set_view_id_n(void)
+{
+ autofill_view_info_h vi_h;
+ int ret = autofill_view_info_create(&vi_h);
+ assert(vi_h);
+
+ ret = autofill_view_info_set_view_id(vi_h, NULL);
+ autofill_view_info_destroy(vi_h);
+ assert_eq(ret, AUTOFILL_ERROR_INVALID_PARAMETER);
+ return 0;
+}
+
+/**
+ * @testcase utc_autofill_view_info_get_view_id_p
+ * @since_tizen 5.5
+ * @description Positive UTC of the function that gets view id in autofill view information.
+ */
+int utc_autofill_view_info_get_view_id_p(void)
+{
+ autofill_view_info_h vi_h;
+ char *view_id = NULL;
+ int ret = autofill_view_info_create(&vi_h);
+ assert(vi_h);
+
+ ret = autofill_view_info_set_view_id(vi_h, "login");
+ assert_eq(ret, AUTOFILL_ERROR_NONE);
+
+ ret = autofill_view_info_get_view_id(vi_h, &view_id);
+
+ assert(view_id);
+
+ free(view_id);
+
+ autofill_view_info_destroy(vi_h);
+ assert_eq(ret, AUTOFILL_ERROR_NONE);
+
+ return 0;
+}
+
+/**
+ * @testcase utc_autofill_view_info_get_view_id_n
+ * @since_tizen 5.5
+ * @description Negative UTC of the function that gets view id in autofill view information.
+ */
+int utc_autofill_view_info_get_view_id_n(void)
+{
+ autofill_view_info_h vi_h;
+ int ret = autofill_view_info_create(&vi_h);
+ assert(vi_h);
+
+ ret = autofill_view_info_set_view_id(vi_h, "login");
+ assert_eq(ret, AUTOFILL_ERROR_NONE);
+
+ ret = autofill_view_info_get_view_id(vi_h, NULL);
+ assert_eq(ret, AUTOFILL_ERROR_INVALID_PARAMETER);
+
+ return 0;
+}
+
+/**
+ * @testcase utc_autofill_view_info_add_item_p
+ * @since_tizen 5.5
+ * @description Positive UTC of the function that adds autofill item
+ */
+int utc_autofill_view_info_add_item_p(void)
+{
+ autofill_item_h ai_h;
+ autofill_view_info_h vi_h;
+ int ret = autofill_view_info_create(&vi_h);
+ assert_eq(ret, AUTOFILL_ERROR_NONE);
+ assert(vi_h);
+
+ ret = autofill_item_create(&ai_h);
+ assert_eq(ret, AUTOFILL_ERROR_NONE);
+
+ ret = autofill_view_info_add_item(vi_h, ai_h);
+
+ autofill_view_info_destroy(vi_h);
+
+ assert_eq(ret, AUTOFILL_ERROR_NONE);
+
+ return 0;
+}
+
+/**
+ * @testcase utc_autofill_view_info_add_item_n
+ * @since_tizen 5.5
+ * @description Negative UTC of the function that adds autofill item
+ */
+int utc_autofill_view_info_add_item_n(void)
+{
+ autofill_view_info_h vi_h;
+ int ret = autofill_view_info_create(&vi_h);
+ assert_eq(ret, AUTOFILL_ERROR_NONE);
+ assert(vi_h);
+
+ ret = autofill_view_info_add_item(vi_h, NULL);
+ autofill_view_info_destroy(vi_h);
+ assert_eq(ret, AUTOFILL_ERROR_INVALID_PARAMETER);
+
+ return 0;
+}
+
+/**
+ * @testcase utc_autofill_view_info_foreach_item_p
+ * @since_tizen 5.5
+ * @description Positive UTC of the function that retrieve autofill item in autofill view information.
+ */
+int utc_autofill_view_info_foreach_item_p(void)
+{
+ autofill_view_info_h vi_h;
+ int ret = autofill_view_info_create(&vi_h);
+ assert_eq(ret, AUTOFILL_ERROR_NONE);
+ assert(vi_h);
+
+ ret = autofill_view_info_foreach_item(vi_h, __view_info_item_cb, NULL);
+ autofill_view_info_destroy(vi_h);
+ assert_eq(ret, AUTOFILL_ERROR_NONE);
+
+ return 0;
+}
+
+/**
+ * @testcase utc_autofill_view_info_foreach_item_n
+ * @since_tizen 5.5
+ * @description Negative UTC of the function that retrieve autofill item in autofill view information.
+ */
+int utc_autofill_view_info_foreach_item_n(void)
+{
+ autofill_view_info_h vi_h;
+ int ret = autofill_view_info_create(&vi_h);
+ assert_eq(ret, AUTOFILL_ERROR_NONE);
+ assert(vi_h);
+
+ ret = autofill_view_info_foreach_item(vi_h, NULL, NULL);
+ autofill_view_info_destroy(vi_h);
+ assert_eq(ret, AUTOFILL_ERROR_INVALID_PARAMETER);
+ return 0;
+}
+
+//auth info
+/**
+ * @testcase utc_autofill_auth_info_create_p
+ * @since_tizen 5.5
+ * @description Positive UTC of the function that creates autofill authentication information.
+ */
+int utc_autofill_auth_info_create_p(void)
+{
+ autofill_auth_info_h ai_h;
+ int ret = autofill_auth_info_create(&ai_h);
+ assert_eq(ret, AUTOFILL_ERROR_NONE);
+ assert(ai_h);
+ return 0;
+}
+
+/**
+ * @testcase utc_autofill_auth_info_create_n
+ * @since_tizen 5.5
+ * @description Negative UTC of the function that creates autofill authentication information.
+ */
+//& purpose: A purpose of a autofill_auth_info_create() negative TC.
+int utc_autofill_auth_info_create_n(void)
+{
+ int ret = autofill_auth_info_create(NULL);
+ assert_eq(ret, AUTOFILL_ERROR_INVALID_PARAMETER);
+ return 0;
+}
+
+/**
+ * @testcase utc_autofill_auth_info_destroy_p
+ * @since_tizen 5.5
+ * @description Positive UTC of the function that destroys autofill authentication information.
+ */
+int utc_autofill_auth_info_destroy_p(void)
+{
+ autofill_auth_info_h ai_h;
+ int ret = autofill_auth_info_create(&ai_h);
+ assert_eq(ret, AUTOFILL_ERROR_NONE);
+ assert(ai_h);
+
+ ret = autofill_auth_info_destroy(ai_h);
+ assert_eq(ret, AUTOFILL_ERROR_NONE);
+
+ return 0;
+}
+
+/**
+ * @testcase utc_autofill_auth_info_destroy_n
+ * @since_tizen 5.5
+ * @description Negative UTC of the function that destroys autofill authentication information.
+ */
+int utc_autofill_auth_info_destroy_n(void)
+{
+ int ret = autofill_auth_info_destroy(NULL);
+ assert_eq(ret, AUTOFILL_ERROR_INVALID_PARAMETER);
+ return 0;
+}
+
+/**
+ * @testcase utc_autofill_auth_info_set_app_id_p
+ * @since_tizen 5.5
+ * @description Positive UTC of the function that sets app id in autofill authentication information.
+ */
+int utc_autofill_auth_info_set_app_id_p(void)
+{
+ autofill_auth_info_h ai_h;
+ int ret = autofill_auth_info_create(&ai_h);
+ assert_eq(ret, AUTOFILL_ERROR_NONE);
+ assert(ai_h);
+
+ ret = autofill_auth_info_set_app_id(ai_h, "org.tizen.example");
+ autofill_auth_info_destroy(ai_h);
+ assert_eq(ret, AUTOFILL_ERROR_NONE);
+ return 0;
+}
+
+/**
+ * @testcase utc_autofill_auth_info_set_app_id_n
+ * @since_tizen 5.5
+ * @description Negative UTC of the function that sets app id in autofill authentication information.
+ */
+int utc_autofill_auth_info_set_app_id_n(void)
+{
+ autofill_auth_info_h ai_h;
+ int ret = autofill_auth_info_create(&ai_h);
+ assert_eq(ret, AUTOFILL_ERROR_NONE);
+ assert(ai_h);
+
+ ret = autofill_auth_info_set_app_id(ai_h, NULL);
+ autofill_auth_info_destroy(ai_h);
+ assert_eq(ret, AUTOFILL_ERROR_INVALID_PARAMETER);
+ return 0;
+}
+
+/**
+ * @testcase utc_autofill_auth_info_get_app_id_p
+ * @since_tizen 5.5
+ * @description Positive UTC of the function that gets app id in autofill authentication information.
+ */
+int utc_autofill_auth_info_get_app_id_p(void)
+{
+ autofill_auth_info_h ai_h;
+ char *app_id = NULL;
+ int ret = autofill_auth_info_create(&ai_h);
+ assert_eq(ret, AUTOFILL_ERROR_NONE);
+ assert(ai_h);
+
+ ret = autofill_auth_info_set_app_id(ai_h, "org.tizen.example");
+ assert_eq(ret, AUTOFILL_ERROR_NONE);
+
+ ret = autofill_auth_info_get_app_id(ai_h, &app_id);
+ assert(app_id);
+
+ free(app_id);
+
+ autofill_auth_info_destroy(ai_h);
+
+ assert_eq(ret, AUTOFILL_ERROR_NONE);
+
+ return 0;
+}
+
+/**
+ * @testcase utc_autofill_auth_info_get_app_id_n
+ * @since_tizen 5.5
+ * @description Negative UTC of the function that gets app id in autofill authentication information.
+ */
+int utc_autofill_auth_info_get_app_id_n(void)
+{
+ autofill_auth_info_h ai_h;
+ int ret = autofill_auth_info_create(&ai_h);
+ assert_eq(ret, AUTOFILL_ERROR_NONE);
+ assert(ai_h);
+
+ ret = autofill_auth_info_set_app_id(ai_h, "org.tizen.example");
+ assert_eq(ret, AUTOFILL_ERROR_NONE);
+
+ ret = autofill_auth_info_get_app_id(ai_h, NULL);
+ autofill_auth_info_destroy(ai_h);
+ assert_eq(ret, AUTOFILL_ERROR_INVALID_PARAMETER);
+
+ return 0;
+}
+
+/**
+ * @testcase utc_autofill_auth_info_set_view_id_p
+ * @since_tizen 5.5
+ * @description Positive UTC of the function that sets view id in autofill authentication information.
+ */
+int utc_autofill_auth_info_set_view_id_p(void)
+{
+ autofill_auth_info_h ai_h;
+ int ret = autofill_auth_info_create(&ai_h);
+ assert_eq(ret, AUTOFILL_ERROR_NONE);
+ assert(ai_h);
+
+ ret = autofill_auth_info_set_view_id(ai_h, "login");
+ autofill_auth_info_destroy(ai_h);
+ assert_eq(ret, AUTOFILL_ERROR_NONE);
+ return 0;
+}
+
+/**
+ * @testcase utc_autofill_auth_info_set_view_id_n
+ * @since_tizen 5.5
+ * @description Negative UTC of the function that sets view id in autofill authentication information.
+ */
+int utc_autofill_auth_info_set_view_id_n(void)
+{
+ autofill_auth_info_h ai_h;
+ int ret = autofill_auth_info_create(&ai_h);
+ assert_eq(ret, AUTOFILL_ERROR_NONE);
+ assert(ai_h);
+
+ ret = autofill_auth_info_set_view_id(ai_h, NULL);
+ autofill_auth_info_destroy(ai_h);
+ assert_eq(ret, AUTOFILL_ERROR_INVALID_PARAMETER);
+ return 0;
+}
+
+/**
+ * @testcase utc_autofill_auth_info_get_view_id_p
+ * @since_tizen 5.5
+ * @description Positive UTC of the function that gets view id in autofill authentication information.
+ */
+int utc_autofill_auth_info_get_view_id_p(void)
+{
+ autofill_auth_info_h ai_h;
+ char *view_id = NULL;
+ int ret = autofill_auth_info_create(&ai_h);
+ assert_eq(ret, AUTOFILL_ERROR_NONE);
+ assert(ai_h);
+
+ ret = autofill_auth_info_set_view_id(ai_h, "login");
+ assert_eq(ret, AUTOFILL_ERROR_NONE);
+
+ ret = autofill_auth_info_get_view_id(ai_h, &view_id);
+ assert(view_id);
+
+ free(view_id);
+
+ autofill_auth_info_destroy(ai_h);
+
+ assert_eq(ret, AUTOFILL_ERROR_NONE);
+
+ return 0;
+}
+
+/**
+ * @testcase utc_autofill_auth_info_get_view_id_n
+ * @since_tizen 5.5
+ * @description Negative UTC of the function that gets view id in autofill authentication information.
+ */
+int utc_autofill_auth_info_get_view_id_n(void)
+{
+ autofill_auth_info_h ai_h;
+ int ret = autofill_auth_info_create(&ai_h);
+ assert_eq(ret, AUTOFILL_ERROR_NONE);
+ assert(ai_h);
+
+ ret = autofill_auth_info_set_view_id(ai_h, "login");
+ assert_eq(ret, AUTOFILL_ERROR_NONE);
+
+ ret = autofill_auth_info_get_view_id(ai_h, NULL);
+
+ autofill_auth_info_destroy(ai_h);
+ assert_eq(ret, AUTOFILL_ERROR_INVALID_PARAMETER);
+
+ return 0;
+}
+
+/**
+ * @testcase utc_autofill_auth_info_set_autofill_data_present_p
+ * @since_tizen 5.5
+ * @description Positive UTC of the function that sets whether autofill data presents or not in autofill authentication information.
+ */
+int utc_autofill_auth_info_set_autofill_data_present_p(void)
+{
+ autofill_auth_info_h ai_h;
+ int ret = autofill_auth_info_create(&ai_h);
+ assert_eq(ret, AUTOFILL_ERROR_NONE);
+ assert(ai_h);
+
+ ret = autofill_auth_info_set_autofill_data_present(ai_h, true);
+ autofill_auth_info_destroy(ai_h);
+ assert_eq(ret, AUTOFILL_ERROR_NONE);
+ return 0;
+}
+
+/**
+ * @testcase utc_autofill_auth_info_set_autofill_data_present_n
+ * @since_tizen 5.5
+ * @description Negative UTC of the function that sets whether autofill data presents or not in autofill authentication information.
+ */
+int utc_autofill_auth_info_set_autofill_data_present_n(void)
+{
+ int ret = autofill_auth_info_set_autofill_data_present(NULL, true);
+ assert_eq(ret, AUTOFILL_ERROR_INVALID_PARAMETER);
+ return 0;
+}
+
+/**
+ * @testcase utc_autofill_auth_info_get_autofill_data_present_p
+ * @since_tizen 5.5
+ * @description Positive UTC of the function that gets whether autofill data presents or not in autofill authentication information.
+ */
+int utc_autofill_auth_info_get_autofill_data_present_p(void)
+{
+ autofill_auth_info_h ai_h;
+ bool autofill_data_present = false;
+ int ret = autofill_auth_info_create(&ai_h);
+ assert_eq(ret, AUTOFILL_ERROR_NONE);
+ assert(ai_h);
+
+ ret = autofill_auth_info_set_autofill_data_present(ai_h, true);
+ assert_eq(ret, AUTOFILL_ERROR_NONE);
+
+ ret = autofill_auth_info_get_autofill_data_present(ai_h, &autofill_data_present);
+ autofill_auth_info_destroy(ai_h);
+ assert_eq(autofill_data_present, true);
+
+ return 0;
+}
+
+/**
+ * @testcase utc_autofill_auth_info_get_autofill_data_present_n
+ * @since_tizen 5.5
+ * @description Negative UTC of the function that gets whether autofill data presents or not in autofill authentication information.
+ */
+int utc_autofill_auth_info_get_autofill_data_present_n(void)
+{
+ autofill_auth_info_h ai_h;
+ int ret = autofill_auth_info_create(&ai_h);
+ assert_eq(ret, AUTOFILL_ERROR_NONE);
+ assert(ai_h);
+
+ ret = autofill_auth_info_set_autofill_data_present(ai_h, true);
+ assert_eq(ret, AUTOFILL_ERROR_NONE);
+
+ ret = autofill_auth_info_get_autofill_data_present(ai_h, NULL);
+ autofill_auth_info_destroy(ai_h);
+ assert_eq(ret, AUTOFILL_ERROR_INVALID_PARAMETER);
+
+ return 0;
+}
+
+/**
+ * @testcase utc_autofill_auth_info_set_authentication_needed_p
+ * @since_tizen 5.5
+ * @description Positive UTC of the function that sets whether authentication is needed or not in autofill authentication information.
+ */
+int utc_autofill_auth_info_set_authentication_needed_p(void)
+{
+ autofill_auth_info_h ai_h;
+ int ret = autofill_auth_info_create(&ai_h);
+ assert_eq(ret, AUTOFILL_ERROR_NONE);
+ assert(ai_h);
+
+ ret = autofill_auth_info_set_authentication_needed(ai_h, true);
+ autofill_auth_info_destroy(ai_h);
+ assert_eq(ret, AUTOFILL_ERROR_NONE);
+ return 0;
+}
+
+/**
+ * @testcase utc_autofill_auth_info_set_authentication_needed_n
+ * @since_tizen 5.5
+ * @description Negative UTC of the function that sets whether authentication is needed or not in autofill authentication information.
+ */
+int utc_autofill_auth_info_set_authentication_needed_n(void)
+{
+ int ret = autofill_auth_info_set_authentication_needed(NULL, true);
+ assert_eq(ret, AUTOFILL_ERROR_INVALID_PARAMETER);
+ return 0;
+}
+
+/**
+ * @testcase utc_autofill_auth_info_get_authentication_needed_p
+ * @since_tizen 5.5
+ * @description Positive UTC of the function that gets whether authentication is needed or not in autofill authentication information.
+ */
+int utc_autofill_auth_info_get_authentication_needed_p(void)
+{
+ autofill_auth_info_h ai_h;
+ bool authentication_needed = false;
+ int ret = autofill_auth_info_create(&ai_h);
+ assert_eq(ret, AUTOFILL_ERROR_NONE);
+ assert(ai_h);
+
+ ret = autofill_auth_info_set_authentication_needed(ai_h, true);
+ assert_eq(ret, AUTOFILL_ERROR_NONE);
+
+ ret = autofill_auth_info_get_authentication_needed(ai_h, &authentication_needed);
+ autofill_auth_info_destroy(ai_h);
+ assert_eq(authentication_needed, true);
+
+ return 0;
+}
+
+/**
+ * @testcase utc_autofill_auth_info_get_authentication_needed_n
+ * @since_tizen 5.5
+ * @description Negative UTC of the function that gets whether authentication is needed or not in autofill authentication information.
+ */
+int utc_autofill_auth_info_get_authentication_needed_n(void)
+{
+ autofill_auth_info_h ai_h;
+ int ret = autofill_auth_info_create(&ai_h);
+ assert_eq(ret, AUTOFILL_ERROR_NONE);
+ assert(ai_h);
+
+ ret = autofill_auth_info_set_authentication_needed(ai_h, true);
+ assert_eq(ret, AUTOFILL_ERROR_NONE);
+
+ ret = autofill_auth_info_get_authentication_needed(ai_h, NULL);
+ autofill_auth_info_destroy(ai_h);
+ assert_eq(ret, AUTOFILL_ERROR_INVALID_PARAMETER);
+
+ return 0;
+}
+
+/**
+ * @testcase utc_autofill_auth_info_set_service_name_p
+ * @since_tizen 5.5
+ * @description Positive UTC of the function that sets service name in autofill authentication information.
+ */
+int utc_autofill_auth_info_set_service_name_p(void)
+{
+ autofill_auth_info_h ai_h;
+ int ret = autofill_auth_info_create(&ai_h);
+ assert_eq(ret, AUTOFILL_ERROR_NONE);
+ assert(ai_h);
+
+ ret = autofill_auth_info_set_service_name(ai_h, "autofill");
+ autofill_auth_info_destroy(ai_h);
+ assert_eq(ret, AUTOFILL_ERROR_NONE);
+ return 0;
+}
+
+/**
+ * @testcase utc_autofill_auth_info_set_service_name_n
+ * @since_tizen 5.5
+ * @description Negative UTC of the function that sets service name in autofill authentication information.
+ */
+int utc_autofill_auth_info_set_service_name_n(void)
+{
+ int ret = autofill_auth_info_set_service_name(NULL, "autofill");
+ assert_eq(ret, AUTOFILL_ERROR_INVALID_PARAMETER);
+ return 0;
+}
+
+/**
+ * @testcase utc_autofill_auth_info_get_service_name_p
+ * @since_tizen 5.5
+ * @description Positive UTC of the function that gets service name in autofill authentication information.
+ */
+int utc_autofill_auth_info_get_service_name_p(void)
+{
+ autofill_auth_info_h ai_h;
+ char *service_name = NULL;
+ int ret = autofill_auth_info_create(&ai_h);
+ assert_eq(ret, AUTOFILL_ERROR_NONE);
+ assert(ai_h);
+
+ ret = autofill_auth_info_set_service_name(ai_h, "autofill");
+ assert_eq(ret, AUTOFILL_ERROR_NONE);
+
+ ret = autofill_auth_info_get_service_name(ai_h, &service_name);
+ autofill_auth_info_destroy(ai_h);
+ assert(service_name);
+
+ free(service_name);
+
+ assert_eq(ret, AUTOFILL_ERROR_NONE);
+
+ return 0;
+}
+
+/**
+ * @testcase utc_autofill_auth_info_get_service_name_p
+ * @since_tizen 5.5
+ * @description Negative UTC of the function that gets service name in autofill authentication information.
+ */
+int utc_autofill_auth_info_get_service_name_n(void)
+{
+ autofill_auth_info_h ai_h;
+ int ret = autofill_auth_info_create(&ai_h);
+ assert_eq(ret, AUTOFILL_ERROR_NONE);
+ assert(ai_h);
+
+ ret = autofill_auth_info_set_service_name(ai_h, "autofill");
+ assert_eq(ret, AUTOFILL_ERROR_NONE);
+
+ ret = autofill_auth_info_get_service_name(ai_h, NULL);
+ autofill_auth_info_destroy(ai_h);
+ assert_eq(ret, AUTOFILL_ERROR_INVALID_PARAMETER);
+
+ return 0;
+}
+
+/**
+ * @testcase utc_autofill_auth_info_set_service_message_p
+ * @since_tizen 5.5
+ * @description Positive UTC of the function that sets service message in autofill authentication information.
+ */
+int utc_autofill_auth_info_set_service_message_p(void)
+{
+ autofill_auth_info_h ai_h;
+ int ret = autofill_auth_info_create(&ai_h);
+ assert_eq(ret, AUTOFILL_ERROR_NONE);
+ assert(ai_h);
+
+ ret = autofill_auth_info_set_service_message(ai_h, "autofill");
+ autofill_auth_info_destroy(ai_h);
+ assert_eq(ret, AUTOFILL_ERROR_NONE);
+ return 0;
+}
+
+/**
+ * @testcase utc_autofill_auth_info_set_service_message_n
+ * @since_tizen 5.5
+ * @description Negative UTC of the function that sets service message in autofill authentication information.
+ */
+int utc_autofill_auth_info_set_service_message_n(void)
+{
+ int ret = autofill_auth_info_set_service_message(NULL, "autofill");
+ assert_eq(ret, AUTOFILL_ERROR_INVALID_PARAMETER);
+ return 0;
+}
+
+/**
+ * @testcase utc_autofill_auth_info_get_service_message_p
+ * @since_tizen 5.5
+ * @description Positive UTC of the function that gets service message in autofill authentication information.
+ */
+int utc_autofill_auth_info_get_service_message_p(void)
+{
+ autofill_auth_info_h ai_h;
+ char *service_message;
+ int ret = autofill_auth_info_create(&ai_h);
+ assert_eq(ret, AUTOFILL_ERROR_NONE);
+ assert(ai_h);
+
+ ret = autofill_auth_info_set_service_message(ai_h, "autofill");
+ assert_eq(ret, AUTOFILL_ERROR_NONE);
+
+ ret = autofill_auth_info_get_service_message(ai_h, &service_message);
+ autofill_auth_info_destroy(ai_h);
+ assert(service_message);
+
+ free(service_message);
+
+ assert_eq(ret, AUTOFILL_ERROR_NONE);
+
+ return 0;
+}
+
+/**
+ * @testcase utc_autofill_auth_info_get_service_message_p
+ * @since_tizen 5.5
+ * @description Positive UTC of the function that gets service message in autofill authentication information.
+ */
+int utc_autofill_auth_info_get_service_message_n(void)
+{
+ autofill_auth_info_h ai_h;
+ int ret = autofill_auth_info_create(&ai_h);
+ assert_eq(ret, AUTOFILL_ERROR_NONE);
+ assert(ai_h);
+
+ ret = autofill_auth_info_set_service_message(ai_h, "autofill");
+ assert_eq(ret, AUTOFILL_ERROR_NONE);
+
+ ret = autofill_auth_info_get_service_message(ai_h, NULL);
+ autofill_auth_info_destroy(ai_h);
+ assert_eq(ret, AUTOFILL_ERROR_INVALID_PARAMETER);
+
+ return 0;
+}
+
+/**
+ * @testcase utc_autofill_auth_info_set_service_logo_image_path_p
+ * @since_tizen 5.5
+ * @description Positive UTC of the function that sets service logo image path in autofill authentication information.
+ */
+int utc_autofill_auth_info_set_service_logo_image_path_p(void)
+{
+ autofill_auth_info_h ai_h;
+ int ret = autofill_auth_info_create(&ai_h);
+ assert_eq(ret, AUTOFILL_ERROR_NONE);
+ assert(ai_h);
+
+ ret = autofill_auth_info_set_service_logo_image_path(ai_h, "autofill");
+ autofill_auth_info_destroy(ai_h);
+ assert_eq(ret, AUTOFILL_ERROR_NONE);
+ return 0;
+}
+
+/**
+ * @testcase utc_autofill_auth_info_set_service_logo_image_path_n
+ * @since_tizen 5.5
+ * @description Negative UTC of the function that sets service logo image path in autofill authentication information.
+ */
+int utc_autofill_auth_info_set_service_logo_image_path_n(void)
+{
+ int ret = autofill_auth_info_set_service_logo_image_path(NULL, "autofill");
+ assert_eq(ret, AUTOFILL_ERROR_INVALID_PARAMETER);
+ return 0;
+}
+
+/**
+ * @testcase utc_autofill_auth_info_get_service_logo_image_path_p
+ * @since_tizen 5.5
+ * @description Positive UTC of the function that gets service logo image path in autofill authentication information.
+ */
+int utc_autofill_auth_info_get_service_logo_image_path_p(void)
+{
+ autofill_auth_info_h ai_h;
+ char *service_logo_image_path;
+ int ret = autofill_auth_info_create(&ai_h);
+ assert_eq(ret, AUTOFILL_ERROR_NONE);
+ assert(ai_h);
+
+ ret = autofill_auth_info_set_service_logo_image_path(ai_h, "autofill");
+ assert_eq(ret, AUTOFILL_ERROR_NONE);
+
+ ret = autofill_auth_info_get_service_logo_image_path(ai_h, &service_logo_image_path);
+ autofill_auth_info_destroy(ai_h);
+ assert(service_logo_image_path);
+
+ free(service_logo_image_path);
+
+ assert_eq(ret, AUTOFILL_ERROR_NONE);
+
+ return 0;
+}
+
+/**
+ * @testcase utc_autofill_auth_info_get_service_logo_image_path_n
+ * @since_tizen 5.5
+ * @description Negative UTC of the function that gets service logo image path in autofill authentication information.
+ */
+int utc_autofill_auth_info_get_service_logo_image_path_n(void)
+{
+ autofill_auth_info_h ai_h;
+ int ret = autofill_auth_info_create(&ai_h);
+ assert_eq(ret, AUTOFILL_ERROR_NONE);
+ assert(ai_h);
+
+ ret = autofill_auth_info_set_service_logo_image_path(ai_h, "autofill");
+ assert_eq(ret, AUTOFILL_ERROR_NONE);
+
+ ret = autofill_auth_info_get_service_logo_image_path(ai_h, NULL);
+ autofill_auth_info_destroy(ai_h);
+ assert_eq(ret, AUTOFILL_ERROR_INVALID_PARAMETER);
+
+ return 0;
+}
+
+// fill response
+/**
+ * @testcase utc_autofill_fill_response_create_p
+ * @since_tizen 5.5
+ * @description Positive UTC of the function that creates autofill fill response.
+ */
+int utc_autofill_fill_response_create_p(void)
+{
+ autofill_fill_response_h fr_h;
+ int ret = autofill_fill_response_create(&fr_h);
+ assert_eq(ret, AUTOFILL_ERROR_NONE);
+ assert(fr_h);
+ return 0;
+}
+
+/**
+ * @testcase utc_autofill_fill_response_create_n
+ * @since_tizen 5.5
+ * @description Negative UTC of the function that creates autofill fill response.
+ */
+int utc_autofill_fill_response_create_n(void)
+{
+ int ret = autofill_fill_response_create(NULL);
+ assert_eq(ret, AUTOFILL_ERROR_INVALID_PARAMETER);
+ return 0;
+}
+
+/**
+ * @testcase utc_autofill_fill_response_create_p
+ * @since_tizen 5.5
+ * @description Positive UTC of the function that destroys autofill fill response.
+ */
+int utc_autofill_fill_response_destroy_p(void)
+{
+ autofill_fill_response_h fr_h;
+ int ret = autofill_fill_response_create(&fr_h);
+ assert_eq(ret, AUTOFILL_ERROR_NONE);
+ assert(fr_h);
+
+ ret = autofill_fill_response_destroy(fr_h);
+ assert_eq(ret, AUTOFILL_ERROR_NONE);
+
+ return 0;
+}
+
+/**
+ * @testcase utc_autofill_fill_response_destroy_n
+ * @since_tizen 5.5
+ * @description Negative UTC of the function that destroys autofill fill response.
+ */
+int utc_autofill_fill_response_destroy_n(void)
+{
+ int ret = autofill_fill_response_destroy(NULL);
+ assert_eq(ret, AUTOFILL_ERROR_INVALID_PARAMETER);
+ return 0;
+}
+
+/**
+ * @testcase utc_autofill_fill_response_set_app_id_p
+ * @since_tizen 5.5
+ * @description Positive UTC of the function that sets app id in autofill fill response.
+ */
+int utc_autofill_fill_response_set_app_id_p(void)
+{
+ autofill_fill_response_h fr_h;
+ int ret = autofill_fill_response_create(&fr_h);
+ assert_eq(ret, AUTOFILL_ERROR_NONE);
+ assert(fr_h);
+
+ ret = autofill_fill_response_set_app_id(fr_h, "org.tizen.example");
+ autofill_fill_response_destroy(fr_h);
+ assert_eq(ret, AUTOFILL_ERROR_NONE);
+ return 0;
+}
+
+/**
+ * @testcase utc_autofill_fill_response_set_app_id_n
+ * @since_tizen 5.5
+ * @description Negative UTC of the function that sets app id in autofill fill response.
+ */
+int utc_autofill_fill_response_set_app_id_n(void)
+{
+ autofill_fill_response_h fr_h;
+ int ret = autofill_fill_response_create(&fr_h);
+ assert_eq(ret, AUTOFILL_ERROR_NONE);
+ assert(fr_h);
+
+ ret = autofill_fill_response_set_app_id(fr_h, NULL);
+ autofill_fill_response_destroy(fr_h);
+ assert_eq(ret, AUTOFILL_ERROR_INVALID_PARAMETER);
+ return 0;
+}
+
+/**
+ * @testcase utc_autofill_fill_response_get_app_id_p
+ * @since_tizen 5.5
+ * @description Positive UTC of the function that gets app id in autofill fill response.
+ */
+int utc_autofill_fill_response_get_app_id_p(void)
+{
+ autofill_fill_response_h fr_h;
+ char *app_id = NULL;
+ int ret = autofill_fill_response_create(&fr_h);
+ assert_eq(ret, AUTOFILL_ERROR_NONE);
+ assert(fr_h);
+
+ ret = autofill_fill_response_set_app_id(fr_h, "org.tizen.example");
+ assert_eq(ret, AUTOFILL_ERROR_NONE);
+
+ ret = autofill_fill_response_get_app_id(fr_h, &app_id);
+ assert(app_id);
+
+ free(app_id);
+
+ autofill_fill_response_destroy(fr_h);
+ assert_eq(ret, AUTOFILL_ERROR_NONE);
+
+ return 0;
+}
+
+/**
+ * @testcase utc_autofill_fill_response_get_app_id_n
+ * @since_tizen 5.5
+ * @description Negative UTC of the function that gets app id in autofill fill response.
+ */
+int utc_autofill_fill_response_get_app_id_n(void)
+{
+ autofill_fill_response_h fr_h;
+ int ret = autofill_fill_response_create(&fr_h);
+ assert(fr_h);
+
+ ret = autofill_fill_response_set_app_id(fr_h, "org.tizen.example");
+ assert_eq(ret, AUTOFILL_ERROR_NONE);
+
+ ret = autofill_fill_response_get_app_id(fr_h, NULL);
+ autofill_fill_response_destroy(fr_h);
+ assert_eq(ret, AUTOFILL_ERROR_INVALID_PARAMETER);
+
+ return 0;
+}
+
+/**
+ * @testcase utc_autofill_fill_response_set_view_id_p
+ * @since_tizen 5.5
+ * @description Positive UTC of the function that sets view id in autofill fill response.
+ */
+int utc_autofill_fill_response_set_view_id_p(void)
+{
+ autofill_fill_response_h fr_h;
+ int ret = autofill_fill_response_create(&fr_h);
+ assert(fr_h);
+
+ ret = autofill_fill_response_set_view_id(fr_h, "login");
+ assert_eq(ret, AUTOFILL_ERROR_NONE);
+
+ autofill_fill_response_destroy(fr_h);
+ assert_eq(ret, AUTOFILL_ERROR_NONE);
+
+ return 0;
+}
+
+/**
+ * @testcase utc_autofill_fill_response_set_view_id_n
+ * @since_tizen 5.5
+ * @description Negative UTC of the function that sets view id in autofill fill response.
+ */
+int utc_autofill_fill_response_set_view_id_n(void)
+{
+ autofill_fill_response_h fr_h;
+ int ret = autofill_fill_response_create(&fr_h);
+ assert(fr_h);
+
+ ret = autofill_fill_response_set_view_id(fr_h, NULL);
+ autofill_fill_response_destroy(fr_h);
+ assert_eq(ret, AUTOFILL_ERROR_INVALID_PARAMETER);
+
+ return 0;
+}
+
+/**
+ * @testcase utc_autofill_fill_response_get_view_id_p
+ * @since_tizen 5.5
+ * @description Positive UTC of the function that gets view id in autofill fill response.
+ */
+int utc_autofill_fill_response_get_view_id_p(void)
+{
+ autofill_fill_response_h fr_h;
+ char *view_id = NULL;
+ int ret = autofill_fill_response_create(&fr_h);
+ assert_eq(ret, AUTOFILL_ERROR_NONE);
+ assert(fr_h);
+
+ ret = autofill_fill_response_set_view_id(fr_h, "login");
+ assert_eq(ret, AUTOFILL_ERROR_NONE);
+
+ ret = autofill_fill_response_get_view_id(fr_h, &view_id);
+ autofill_fill_response_destroy(fr_h);
+ assert(view_id);
+
+ free(view_id);
+
+ assert_eq(ret, AUTOFILL_ERROR_NONE);
+
+ return 0;
+}
+
+/**
+ * @testcase utc_autofill_fill_response_get_view_id_n
+ * @since_tizen 5.5
+ * @description Negative UTC of the function that gets view id in autofill fill response.
+ */
+int utc_autofill_fill_response_get_view_id_n(void)
+{
+ autofill_fill_response_h fr_h;
+ int ret = autofill_fill_response_create(&fr_h);
+ assert_eq(ret, AUTOFILL_ERROR_NONE);
+ assert(fr_h);
+
+ ret = autofill_fill_response_set_view_id(fr_h, "login");
+ assert_eq(ret, AUTOFILL_ERROR_NONE);
+
+ ret = autofill_fill_response_get_view_id(fr_h, NULL);
+ autofill_fill_response_destroy(fr_h);
+ assert_eq(ret, AUTOFILL_ERROR_INVALID_PARAMETER);
+
+ return 0;
+}
+
+/**
+ * @testcase utc_autofill_fill_response_add_group_p
+ * @since_tizen 5.5
+ * @description Positive UTC of the function that adds autofill group item in autofill fill response.
+ */
+int utc_autofill_fill_response_add_group_p(void)
+{
+ autofill_fill_response_h fr_h;
+ autofill_fill_response_group_h res_group;
+
+ int ret = autofill_fill_response_create(&fr_h);
+ assert_eq(ret, AUTOFILL_ERROR_NONE);
+ assert(fr_h);
+
+ ret = autofill_fill_response_group_create(&res_group);
+ assert_eq(ret, AUTOFILL_ERROR_NONE);
+
+ ret = autofill_fill_response_add_group(fr_h, res_group);
+
+ autofill_fill_response_group_destroy(res_group);
+
+ autofill_fill_response_destroy(fr_h);
+ assert_eq(ret, AUTOFILL_ERROR_NONE);
+
+ return 0;
+}
+
+/**
+ * @testcase utc_autofill_fill_response_add_group_n
+ * @since_tizen 5.5
+ * @description Negative UTC of the function that adds autofill group item in autofill fill response.
+ */
+int utc_autofill_fill_response_add_group_n(void)
+{
+ autofill_fill_response_h fr_h;
+ int ret = autofill_fill_response_create(&fr_h);
+ assert_eq(ret, AUTOFILL_ERROR_NONE);
+ assert(fr_h);
+
+ ret = autofill_fill_response_add_group(fr_h, NULL);
+ autofill_fill_response_destroy(fr_h);
+ assert_eq(ret, AUTOFILL_ERROR_INVALID_PARAMETER);
+
+ return 0;
+}
+
+/**
+ * @testcase utc_autofill_fill_response_foreach_group_p
+ * @since_tizen 5.5
+ * @description Positive UTC of the function that retrieves each autofill group item in autofill fill response.
+ */
+int utc_autofill_fill_response_foreach_group_p(void)
+{
+ autofill_fill_response_h fr_h;
+ autofill_fill_response_group_h res_group;
+
+ int ret = autofill_fill_response_create(&fr_h);
+ assert_eq(ret, AUTOFILL_ERROR_NONE);
+ assert(fr_h);
+
+ ret = autofill_fill_response_group_create(&res_group);
+ assert_eq(ret, AUTOFILL_ERROR_NONE);
+
+ ret = autofill_fill_response_foreach_group(fr_h, fill_response_group_cb, NULL);
+
+ autofill_fill_response_group_destroy(res_group);
+ autofill_fill_response_destroy(fr_h);
+
+ assert_eq(ret, AUTOFILL_ERROR_NONE);
+
+ return 0;
+}
+
+/**
+ * @testcase utc_autofill_fill_response_foreach_group_n
+ * @since_tizen 5.5
+ * @description Negative UTC of the function that retrieves each autofill group item in autofill fill response.
+ */
+int utc_autofill_fill_response_foreach_group_n(void)
+{
+ autofill_fill_response_h fr_h;
+ int ret = autofill_fill_response_create(&fr_h);
+ assert_eq(ret, AUTOFILL_ERROR_NONE);
+ assert(fr_h);
+
+ ret = autofill_fill_response_foreach_group(fr_h, NULL, NULL);
+ autofill_fill_response_destroy(fr_h);
+ assert_eq(ret, AUTOFILL_ERROR_INVALID_PARAMETER);
+ return 0;
+}
+
+/**
+ * @testcase utc_autofill_fill_response_get_group_count_p
+ * @since_tizen 5.5
+ * @description Positive UTC of the function that gets the count of autofill group items in autofill fill response.
+ */
+int utc_autofill_fill_response_get_group_count_p(void)
+{
+ autofill_fill_response_h fr_h;
+ autofill_fill_response_group_h res_group;
+ int count = 0;
+
+ int ret = autofill_fill_response_create(&fr_h);
+ assert_eq(ret, AUTOFILL_ERROR_NONE);
+ assert(fr_h);
+
+ ret = autofill_fill_response_group_create(&res_group);
+ assert_eq(ret, AUTOFILL_ERROR_NONE);
+
+ ret = autofill_fill_response_add_group(fr_h, res_group);
+ assert_eq(ret, AUTOFILL_ERROR_NONE);
+
+ ret = autofill_fill_response_get_group_count(fr_h, &count);
+ autofill_fill_response_group_destroy(res_group);
+ autofill_fill_response_destroy(fr_h);
+ assert_eq(ret, AUTOFILL_ERROR_NONE);
+ assert_eq(count, 1);
+
+ return 0;
+}
+
+/**
+ * @testcase utc_autofill_fill_response_get_group_count_n
+ * @since_tizen 5.5
+ * @description Negative UTC of the function that gets the count of autofill group items in autofill fill response.
+ */
+int utc_autofill_fill_response_get_group_count_n(void)
+{
+ autofill_fill_response_h fr_h;
+ int ret = autofill_fill_response_create(&fr_h);
+ assert_eq(ret, AUTOFILL_ERROR_NONE);
+ assert(fr_h);
+
+ ret = autofill_fill_response_get_group_count(fr_h, NULL);
+ autofill_fill_response_destroy(fr_h);
+ assert_eq(ret, AUTOFILL_ERROR_INVALID_PARAMETER);
+ return 0;
+}
+
+/**
+ * @testcase utc_autofill_fill_response_group_add_item_p
+ * @since_tizen 5.5
+ * @description Positive UTC of the function that add autofill fill response item in autofill group item.
+ */
+int utc_autofill_fill_response_group_add_item_p(void)
+{
+ autofill_fill_response_h fr_h;
+ autofill_fill_response_group_h res_group;
+ autofill_fill_response_item_h res_it_h;
+
+ int ret = autofill_fill_response_create(&fr_h);
+ assert_eq(ret, AUTOFILL_ERROR_NONE);
+ assert(fr_h);
+
+ ret = autofill_fill_response_group_create(&res_group);
+ assert_eq(ret, AUTOFILL_ERROR_NONE);
+
+ ret = autofill_fill_response_add_group(fr_h, res_group);
+ assert_eq(ret, AUTOFILL_ERROR_NONE);
+
+ /* item 1 */
+ autofill_fill_response_item_create(&res_it_h);
+ autofill_fill_response_item_set_id(res_it_h, "id");
+ autofill_fill_response_item_set_presentation_text(res_it_h, "tester1");
+ autofill_fill_response_item_set_value(res_it_h, "tester1");
+
+ /* Add item in group */
+ ret = autofill_fill_response_group_add_item(res_group, res_it_h);
+ autofill_fill_response_group_destroy(res_group);
+ autofill_fill_response_destroy(fr_h);
+
+ assert_eq(ret, AUTOFILL_ERROR_NONE);
+
+ return 0;
+}
+
+/**
+ * @testcase utc_autofill_fill_response_group_add_item_n
+ * @since_tizen 5.5
+ * @description Negative UTC of the function that add autofill fill response item in autofill group item.
+ */
+int utc_autofill_fill_response_group_add_item_n(void)
+{
+ autofill_fill_response_h fr_h;
+ autofill_fill_response_group_h res_group;
+
+ int ret = autofill_fill_response_create(&fr_h);
+ assert_eq(ret, AUTOFILL_ERROR_NONE);
+ assert(fr_h);
+
+ ret = autofill_fill_response_group_create(&res_group);
+ assert_eq(ret, AUTOFILL_ERROR_NONE);
+
+ ret = autofill_fill_response_add_group(fr_h, res_group);
+ assert_eq(ret, AUTOFILL_ERROR_NONE);
+
+ /* Add item in group */
+ ret = autofill_fill_response_group_add_item(res_group, NULL);
+ autofill_fill_response_group_destroy(res_group);
+ autofill_fill_response_destroy(fr_h);
+ assert_eq(ret, AUTOFILL_ERROR_INVALID_PARAMETER);
+
+ return 0;
+}
+
+/**
+ * @testcase utc_autofill_fill_response_group_create_p
+ * @since_tizen 5.5
+ * @description Positive UTC of the function that add creates autofill fill response group.
+ */
+int utc_autofill_fill_response_group_create_p(void)
+{
+ autofill_fill_response_group_h res_group;
+ int ret = autofill_fill_response_group_create(&res_group);
+ assert_eq(ret, AUTOFILL_ERROR_NONE);
+
+ return 0;
+}
+
+/**
+ * @testcase utc_autofill_fill_response_group_create_n
+ * @since_tizen 5.5
+ * @description Negative UTC of the function that add creates autofill fill response group.
+ */
+int utc_autofill_fill_response_group_create_n(void)
+{
+ int ret = autofill_fill_response_group_create(NULL);
+ assert_eq(ret, AUTOFILL_ERROR_INVALID_PARAMETER);
+
+ return 0;
+}
+
+/**
+ * @testcase utc_autofill_fill_response_group_clone_p
+ * @since_tizen 5.5
+ * @description Positive UTC of the function that clones autofill fill response group.
+ */
+int utc_autofill_fill_response_group_clone_p(void)
+{
+ autofill_fill_response_group_h res_group, res_clone_group;
+ autofill_fill_response_item_h res_it_h;
+ int ret;
+
+ ret = autofill_fill_response_group_create(&res_group);
+ assert_eq(ret, AUTOFILL_ERROR_NONE);
+
+ /* item 1 */
+ autofill_fill_response_item_create(&res_it_h);
+ autofill_fill_response_item_set_id(res_it_h, "id");
+ autofill_fill_response_item_set_presentation_text(res_it_h, "tester1");
+ autofill_fill_response_item_set_value(res_it_h, "tester1");
+
+ /* Add item in group */
+ ret = autofill_fill_response_group_add_item(res_group, res_it_h);
+ assert_eq(ret, AUTOFILL_ERROR_NONE);
+
+ ret = autofill_fill_response_group_clone(res_group, &res_clone_group);
+ assert_eq(ret, AUTOFILL_ERROR_NONE);
+
+ autofill_fill_response_group_destroy(res_group);
+ autofill_fill_response_group_destroy(res_clone_group);
+
+ return 0;
+}
+
+/**
+ * @testcase utc_autofill_fill_response_group_clone_n
+ * @since_tizen 5.5
+ * @description Negative UTC of the function that clones autofill fill response group.
+ */
+int utc_autofill_fill_response_group_clone_n(void)
+{
+ int ret;
+ ret = autofill_fill_response_group_clone(NULL, NULL);
+ assert_eq(ret, AUTOFILL_ERROR_INVALID_PARAMETER);
+
+ return 0;
+}
+
+/**
+ * @testcase utc_autofill_fill_response_group_foreach_item_p
+ * @since_tizen 5.5
+ * @description Positive UTC of the function that retrieve each autofill fill response item in autofill fill response group.
+ */
+int utc_autofill_fill_response_group_foreach_item_p(void)
+{
+ autofill_fill_response_group_h res_group;
+ autofill_fill_response_item_h res_it_h;
+ int ret;
+
+ ret = autofill_fill_response_group_create(&res_group);
+ assert_eq(ret, AUTOFILL_ERROR_NONE);
+
+ /* item 1 */
+ ret = autofill_fill_response_item_create(&res_it_h);
+ assert_eq(ret, AUTOFILL_ERROR_NONE);
+
+ ret = autofill_fill_response_item_set_id(res_it_h, "id");
+ assert_eq(ret, AUTOFILL_ERROR_NONE);
+
+ ret = autofill_fill_response_item_set_presentation_text(res_it_h, "tester1");
+ assert_eq(ret, AUTOFILL_ERROR_NONE);
+
+ ret = autofill_fill_response_item_set_value(res_it_h, "tester1");
+ assert_eq(ret, AUTOFILL_ERROR_NONE);
+
+ /* Add item in group */
+ ret = autofill_fill_response_group_add_item(res_group, res_it_h);
+ assert_eq(ret, AUTOFILL_ERROR_NONE);
+
+ ret = autofill_fill_response_group_foreach_item(res_group, fill_response_item_cb, NULL);
+ autofill_fill_response_group_destroy(res_group);
+ assert_eq(ret, AUTOFILL_ERROR_NONE);
+
+ return 0;
+}
+
+/**
+ * @testcase utc_autofill_fill_response_group_foreach_item_n
+ * @since_tizen 5.5
+ * @description Negative UTC of the function that retrieve each autofill fill response item in autofill fill response group.
+ */
+int utc_autofill_fill_response_group_foreach_item_n(void)
+{
+ int ret;
+ ret = autofill_fill_response_group_foreach_item(NULL, NULL, NULL);
+ assert_eq(ret, AUTOFILL_ERROR_INVALID_PARAMETER);
+
+ return 0;
+}
+
+/**
+ * @testcase utc_autofill_save_view_info_create_p
+ * @since_tizen 5.5
+ * @description Positive UTC of the function that creates autofill save view information.
+ */
+int utc_autofill_save_view_info_create_p(void)
+{
+ autofill_save_view_info_h vi_h;
+ int ret = autofill_save_view_info_create(&vi_h);
+ assert_eq(ret, AUTOFILL_ERROR_NONE);
+ assert(vi_h);
+ return 0;
+}
+
+/**
+ * @testcase utc_autofill_save_view_info_create_n
+ * @since_tizen 5.5
+ * @description Negative UTC of the function that creates autofill save view information.
+ */
+int utc_autofill_save_view_info_create_n(void)
+{
+ int ret = autofill_save_view_info_create(NULL);
+ assert_eq(ret, AUTOFILL_ERROR_INVALID_PARAMETER);
+ return 0;
+}
+
+/**
+ * @testcase utc_autofill_save_view_info_destroy_p
+ * @since_tizen 5.5
+ * @description Positive UTC of the function that destroys autofill save view information.
+ */
+int utc_autofill_save_view_info_destroy_p(void)
+{
+ autofill_save_view_info_h vi_h;
+ int ret = autofill_save_view_info_create(&vi_h);
+ assert_eq(ret, AUTOFILL_ERROR_NONE);
+ assert(vi_h);
+
+ ret = autofill_save_view_info_destroy(vi_h);
+ assert_eq(ret, AUTOFILL_ERROR_NONE);
+
+ return 0;
+}
+
+/**
+ * @testcase utc_autofill_save_view_info_destroy_n
+ * @since_tizen 5.5
+ * @description Negative UTC of the function that destroys autofill save view information.
+ */
+int utc_autofill_save_view_info_destroy_n(void)
+{
+ int ret = autofill_save_view_info_destroy(NULL);
+ assert_eq(ret, AUTOFILL_ERROR_INVALID_PARAMETER);
+ return 0;
+}
+
+/**
+ * @testcase utc_autofill_save_view_info_set_app_id_p
+ * @since_tizen 5.5
+ * @description Positive UTC of the function that sets app id in autofill save view information.
+ */
+int utc_autofill_save_view_info_set_app_id_p(void)
+{
+ autofill_save_view_info_h vi_h;
+ int ret = autofill_save_view_info_create(&vi_h);
+ assert_eq(ret, AUTOFILL_ERROR_NONE);
+ assert(vi_h);
+
+ ret = autofill_save_view_info_set_app_id(vi_h, "org.tizen.example");
+ autofill_save_view_info_destroy(vi_h);
+
+ assert_eq(ret, AUTOFILL_ERROR_NONE);
+
+ return 0;
+}
+
+/**
+ * @testcase utc_autofill_save_view_info_set_app_id_p
+ * @since_tizen 5.5
+ * @description Negative UTC of the function that sets app id in autofill save view information.
+ */
+int utc_autofill_save_view_info_set_app_id_n(void)
+{
+ autofill_save_view_info_h vi_h;
+ int ret = autofill_save_view_info_create(&vi_h);
+ assert_eq(ret, AUTOFILL_ERROR_NONE);
+ assert(vi_h);
+
+ ret = autofill_save_view_info_set_app_id(vi_h, NULL);
+ autofill_save_view_info_destroy(vi_h);
+ assert_eq(ret, AUTOFILL_ERROR_INVALID_PARAMETER);
+
+ return 0;
+}
+
+/**
+ * @testcase utc_autofill_save_view_info_get_app_id_p
+ * @since_tizen 5.5
+ * @description Positive UTC of the function that gets app id in autofill save view information.
+ */
+int utc_autofill_save_view_info_get_app_id_p(void)
+{
+ autofill_save_view_info_h vi_h;
+ char *app_id = NULL;
+ int ret = autofill_save_view_info_create(&vi_h);
+ assert_eq(ret, AUTOFILL_ERROR_NONE);
+ assert(vi_h);
+
+ ret = autofill_save_view_info_set_app_id(vi_h, "org.tizen.example");
+ assert_eq(ret, AUTOFILL_ERROR_NONE);
+
+ ret = autofill_save_view_info_get_app_id(vi_h, &app_id);
+ autofill_save_view_info_destroy(vi_h);
+ assert(app_id);
+
+ free(app_id);
+
+ assert_eq(ret, AUTOFILL_ERROR_NONE);
+
+ return 0;
+}
+
+/**
+ * @testcase utc_autofill_save_view_info_get_app_id_n
+ * @since_tizen 5.5
+ * @description Negative UTC of the function that gets app id in autofill save view information.
+ */
+int utc_autofill_save_view_info_get_app_id_n(void)
+{
+ autofill_save_view_info_h vi_h;
+ int ret = autofill_save_view_info_create(&vi_h);
+ assert_eq(ret, AUTOFILL_ERROR_NONE);
+ assert(vi_h);
+
+ ret = autofill_save_view_info_set_app_id(vi_h, "org.tizen.example");
+ assert_eq(ret, AUTOFILL_ERROR_NONE);
+
+ ret = autofill_save_view_info_get_app_id(vi_h, NULL);
+ autofill_save_view_info_destroy(vi_h);
+
+ assert_eq(ret, AUTOFILL_ERROR_INVALID_PARAMETER);
+
+ return 0;
+}
+
+/**
+ * @testcase utc_autofill_save_view_info_set_view_id_p
+ * @since_tizen 5.5
+ * @description Positive UTC of the function that sets view id in autofill save view information.
+ */
+int utc_autofill_save_view_info_set_view_id_p(void)
+{
+ autofill_save_view_info_h vi_h;
+ int ret = autofill_save_view_info_create(&vi_h);
+ assert_eq(ret, AUTOFILL_ERROR_NONE);
+ assert(vi_h);
+
+ ret = autofill_save_view_info_set_view_id(vi_h, "login");
+ assert_eq(ret, AUTOFILL_ERROR_NONE);
+
+ autofill_save_view_info_destroy(vi_h);
+
+ return 0;
+}
+
+/**
+ * @testcase utc_autofill_save_view_info_set_view_id_n
+ * @since_tizen 5.5
+ * @description Negative UTC of the function that sets view id in autofill save view information.
+ */
+int utc_autofill_save_view_info_set_view_id_n(void)
+{
+ autofill_save_view_info_h vi_h;
+ int ret = autofill_save_view_info_create(&vi_h);
+ assert_eq(ret, AUTOFILL_ERROR_NONE);
+ assert(vi_h);
+
+ ret = autofill_save_view_info_set_view_id(vi_h, NULL);
+ assert_eq(ret, AUTOFILL_ERROR_INVALID_PARAMETER);
+
+ autofill_save_view_info_destroy(vi_h);
+
+ return 0;
+}
+
+/**
+ * @testcase utc_autofill_save_view_info_get_view_id_p
+ * @since_tizen 5.5
+ * @description Positive UTC of the function that gets view id in autofill save view information.
+ */
+int utc_autofill_save_view_info_get_view_id_p(void)
+{
+ autofill_save_view_info_h vi_h;
+ char *view_id = NULL;
+ int ret = autofill_save_view_info_create(&vi_h);
+ assert_eq(ret, AUTOFILL_ERROR_NONE);
+ assert(vi_h);
+
+ ret = autofill_save_view_info_set_view_id(vi_h, "login");
+ assert_eq(ret, AUTOFILL_ERROR_NONE);
+
+ ret = autofill_save_view_info_get_view_id(vi_h, &view_id);
+ autofill_save_view_info_destroy(vi_h);
+ assert(view_id);
+
+ free(view_id);
+
+ assert_eq(ret, AUTOFILL_ERROR_NONE);
+
+ return 0;
+}
+
+/**
+ * @testcase utc_autofill_save_view_info_get_view_id_p
+ * @since_tizen 5.5
+ * @description Negative UTC of the function that gets view id in autofill save view information.
+ */
+int utc_autofill_save_view_info_get_view_id_n(void)
+{
+ autofill_save_view_info_h vi_h;
+ int ret = autofill_save_view_info_create(&vi_h);
+ assert_eq(ret, AUTOFILL_ERROR_NONE);
+ assert(vi_h);
+
+ ret = autofill_save_view_info_set_view_id(vi_h, "login");
+ assert_eq(ret, AUTOFILL_ERROR_NONE);
+
+ ret = autofill_save_view_info_get_view_id(vi_h, NULL);
+
+ autofill_save_view_info_destroy(vi_h);
+
+ assert_eq(ret, AUTOFILL_ERROR_INVALID_PARAMETER);
+
+ return 0;
+}
+
+/**
+ * @testcase utc_autofill_save_view_info_add_item_p
+ * @since_tizen 5.5
+ * @description Positive UTC of the function that adds autofill save item in autofill save view information.
+ */
+int utc_autofill_save_view_info_add_item_p(void)
+{
+ autofill_save_item_h si_h;
+ autofill_save_view_info_h vi_h;
+ int ret = autofill_save_view_info_create(&vi_h);
+ assert_eq(ret, AUTOFILL_ERROR_NONE);
+ assert(vi_h);
+
+ ret = autofill_save_item_create(&si_h);
+ assert_eq(ret, AUTOFILL_ERROR_NONE);
+
+ ret = autofill_save_view_info_add_item(vi_h, si_h);
+
+ autofill_save_view_info_destroy(vi_h);
+
+ assert_eq(ret, AUTOFILL_ERROR_NONE);
+
+ return 0;
+}
+
+/**
+ * @testcase utc_autofill_save_view_info_add_item_n
+ * @since_tizen 5.5
+ * @description Negative UTC of the function that adds autofill save item in autofill save view information.
+ */
+int utc_autofill_save_view_info_add_item_n(void)
+{
+ autofill_save_view_info_h vi_h;
+ int ret = autofill_save_view_info_create(&vi_h);
+ assert_eq(ret, AUTOFILL_ERROR_NONE);
+ assert(vi_h);
+
+ ret = autofill_save_view_info_add_item(vi_h, NULL);
+
+ autofill_save_view_info_destroy(vi_h);
+
+ assert_eq(ret, AUTOFILL_ERROR_INVALID_PARAMETER);
+
+ return 0;
+}
+
+/**
+ * @testcase utc_autofill_save_view_info_foreach_item_p
+ * @since_tizen 5.5
+ * @description Positive UTC of the function that retrieves autofill save item in autofill save view information.
+ */
+int utc_autofill_save_view_info_foreach_item_p(void)
+{
+ autofill_save_view_info_h vi_h;
+ int ret = autofill_save_view_info_create(&vi_h);
+ assert_eq(ret, AUTOFILL_ERROR_NONE);
+ assert(vi_h);
+
+ ret = autofill_save_view_info_foreach_item(vi_h, __save_view_info_item_cb, NULL);
+ autofill_save_view_info_destroy(vi_h);
+
+ assert_eq(ret, AUTOFILL_ERROR_NONE);
+
+ return 0;
+}
+
+/**
+ * @testcase utc_autofill_save_view_info_foreach_item_n
+ * @since_tizen 5.5
+ * @description Negative UTC of the function that retrieves autofill save item in autofill save view information.
+ */
+int utc_autofill_save_view_info_foreach_item_n(void)
+{
+ autofill_save_view_info_h vi_h;
+ int ret = autofill_save_view_info_create(&vi_h);
+ assert_eq(ret, AUTOFILL_ERROR_NONE);
+ assert(vi_h);
+
+ ret = autofill_save_view_info_foreach_item(vi_h, NULL, NULL);
+ autofill_save_view_info_destroy(vi_h);
+ assert_eq(ret, AUTOFILL_ERROR_INVALID_PARAMETER);
+ return 0;
+}
+
+/**
+ * @testcase utc_autofill_fill_response_item_create_p
+ * @since_tizen 5.5
+ * @description Positive UTC of the function that creates autofill fill response item.
+ */
+int utc_autofill_fill_response_item_create_p(void)
+{
+ autofill_fill_response_item_h res_it_h;
+ int ret;
+
+ ret = autofill_fill_response_item_create(&res_it_h);
+ assert_eq(ret, AUTOFILL_ERROR_NONE);
+
+ return 0;
+}
+
+/**
+ * @testcase utc_autofill_fill_response_item_create_n
+ * @since_tizen 5.5
+ * @description Negative UTC of the function that creates autofill fill response item.
+ */
+int utc_autofill_fill_response_item_create_n(void)
+{
+ int ret;
+
+ ret = autofill_fill_response_item_create(NULL);
+ assert_eq(ret, AUTOFILL_ERROR_INVALID_PARAMETER);
+
+ return 0;
+}
+
+/**
+ * @testcase utc_autofill_fill_response_item_destroy_p
+ * @since_tizen 5.5
+ * @description Positive UTC of the function that creates autofill fill response item.
+ */
+int utc_autofill_fill_response_item_destroy_p(void)
+{
+ int ret;
+ autofill_fill_response_item_h res_it_h;
+ ret = autofill_fill_response_item_create(&res_it_h);
+ assert_eq(ret, AUTOFILL_ERROR_NONE);
+
+ ret = autofill_fill_response_item_destroy(res_it_h);
+ assert_eq(ret, AUTOFILL_ERROR_NONE);
+
+ return 0;
+}
+
+/**
+ * @testcase utc_autofill_fill_response_item_destroy_n
+ * @since_tizen 5.5
+ * @description Negative UTC of the function that creates autofill fill response item.
+ */
+int utc_autofill_fill_response_item_destroy_n(void)
+{
+ int ret;
+ ret = autofill_fill_response_item_destroy(NULL);
+ assert_eq(ret, AUTOFILL_ERROR_INVALID_PARAMETER);
+
+ return 0;
+}
+
+/**
+ * @testcase utc_autofill_fill_response_item_clone_p
+ * @since_tizen 5.5
+ * @description Positive UTC of the function that clones autofill fill response item.
+ */
+int utc_autofill_fill_response_item_clone_p(void)
+{
+ autofill_fill_response_item_h res_it_h, res_clone_it_h;
+ int ret;
+
+ ret = autofill_fill_response_item_create(&res_it_h);
+ assert_eq(ret, AUTOFILL_ERROR_NONE);
+
+ ret = autofill_fill_response_item_set_id(res_it_h, "id");
+ assert_eq(ret, AUTOFILL_ERROR_NONE);
+
+ ret = autofill_fill_response_item_set_presentation_text(res_it_h, "tester1");
+ assert_eq(ret, AUTOFILL_ERROR_NONE);
+
+ ret = autofill_fill_response_item_set_value(res_it_h, "tester1");
+ assert_eq(ret, AUTOFILL_ERROR_NONE);
+
+ ret = autofill_fill_response_item_clone(res_it_h, &res_clone_it_h);
+
+ autofill_fill_response_item_destroy(res_it_h);
+ autofill_fill_response_item_destroy(res_clone_it_h);
+
+ assert_eq(ret, AUTOFILL_ERROR_NONE);
+
+ return 0;
+}
+
+/**
+ * @testcase utc_autofill_fill_response_item_clone_n
+ * @since_tizen 5.5
+ * @description Negative UTC of the function that clones autofill fill response item.
+ */
+int utc_autofill_fill_response_item_clone_n(void)
+{
+ int ret;
+
+ ret = autofill_fill_response_item_clone(NULL, NULL);
+ assert_eq(ret, AUTOFILL_ERROR_INVALID_PARAMETER);
+
+ return 0;
+}
+
+/**
+ * @testcase utc_autofill_fill_response_item_set_id_p
+ * @since_tizen 5.5
+ * @description Positive UTC of the function that sets autofill id in autofill fill response item.
+ */
+int utc_autofill_fill_response_item_set_id_p(void)
+{
+ autofill_fill_response_item_h res_it_h;
+ int ret;
+
+ ret = autofill_fill_response_item_create(&res_it_h);
+ assert_eq(ret, AUTOFILL_ERROR_NONE);
+
+ ret = autofill_fill_response_item_set_id(res_it_h, "id");
+ autofill_fill_response_item_destroy(res_it_h);
+ assert_eq(ret, AUTOFILL_ERROR_NONE);
+
+ return 0;
+}
+
+/**
+ * @testcase utc_autofill_fill_response_item_set_id_n
+ * @since_tizen 5.5
+ * @description Negative UTC of the function that sets autofill id in autofill fill response item.
+ */
+int utc_autofill_fill_response_item_set_id_n(void)
+{
+ autofill_fill_response_item_h res_it_h;
+ int ret;
+
+ ret = autofill_fill_response_item_create(&res_it_h);
+ assert_eq(ret, AUTOFILL_ERROR_NONE);
+
+ ret = autofill_fill_response_item_set_id(res_it_h, NULL);
+ autofill_fill_response_item_destroy(res_it_h);
+ assert_eq(ret, AUTOFILL_ERROR_INVALID_PARAMETER);
+
+ return 0;
+}
+
+/**
+ * @testcase utc_autofill_fill_response_item_get_id_p
+ * @since_tizen 5.5
+ * @description Positive UTC of the function that gets autofill id in autofill fill response item.
+ */
+int utc_autofill_fill_response_item_get_id_p(void)
+{
+ char *id;
+ int ret;
+ autofill_fill_response_item_h res_it_h;
+
+ ret = autofill_fill_response_item_create(&res_it_h);
+ assert_eq(ret, AUTOFILL_ERROR_NONE);
+
+ ret = autofill_fill_response_item_set_id(res_it_h, "id");
+ assert_eq(ret, AUTOFILL_ERROR_NONE);
+
+ ret = autofill_fill_response_item_get_id(res_it_h, &id);
+ autofill_fill_response_item_destroy(res_it_h);
+ assert_eq(ret, AUTOFILL_ERROR_NONE);
+
+ ret = strcmp("id", id);
+ if (id)
+ free(id);
+
+ assert_eq(ret, 0);
+
+ return 0;
+}
+
+/**
+ * @testcase utc_autofill_fill_response_item_get_id_n
+ * @since_tizen 5.5
+ * @description Negative UTC of the function that gets autofill id in autofill fill response item.
+ */
+int utc_autofill_fill_response_item_get_id_n(void)
+{
+ int ret;
+ autofill_fill_response_item_h res_it_h;
+
+ ret = autofill_fill_response_item_create(&res_it_h);
+ assert_eq(ret, AUTOFILL_ERROR_NONE);
+
+ ret = autofill_fill_response_item_get_id(res_it_h, NULL);
+ autofill_fill_response_item_destroy(res_it_h);
+ assert_eq(ret, AUTOFILL_ERROR_INVALID_PARAMETER);
+
+ return 0;
+}
+
+/**
+ * @testcase utc_autofill_fill_response_item_set_value_p
+ * @since_tizen 5.5
+ * @description Positive UTC of the function that sets autofill value in autofill fill response item.
+ */
+int utc_autofill_fill_response_item_set_value_p(void)
+{
+ autofill_fill_response_item_h res_it_h;
+ int ret;
+
+ ret = autofill_fill_response_item_create(&res_it_h);
+ assert_eq(ret, AUTOFILL_ERROR_NONE);
+
+ ret = autofill_fill_response_item_set_value(res_it_h, "test");
+ autofill_fill_response_item_destroy(res_it_h);
+ assert_eq(ret, AUTOFILL_ERROR_NONE);
+
+ return 0;
+}
+
+/**
+ * @testcase utc_autofill_fill_response_item_set_value_n
+ * @since_tizen 5.5
+ * @description Negative UTC of the function that sets autofill value in autofill fill response item.
+ */
+int utc_autofill_fill_response_item_set_value_n(void)
+{
+ autofill_fill_response_item_h res_it_h;
+ int ret;
+
+ ret = autofill_fill_response_item_create(&res_it_h);
+ assert_eq(ret, AUTOFILL_ERROR_NONE);
+
+ ret = autofill_fill_response_item_set_value(res_it_h, NULL);
+ autofill_fill_response_item_destroy(res_it_h);
+ assert_eq(ret, AUTOFILL_ERROR_INVALID_PARAMETER);
+
+ return 0;
+}
+
+/**
+ * @testcase utc_autofill_fill_response_item_get_value_p
+ * @since_tizen 5.5
+ * @description Positive UTC of the function that gets autofill value in autofill fill response item.
+ */
+int utc_autofill_fill_response_item_get_value_p(void)
+{
+ char *value;
+ int ret;
+ autofill_fill_response_item_h res_it_h;
+
+ ret = autofill_fill_response_item_create(&res_it_h);
+ assert_eq(ret, AUTOFILL_ERROR_NONE);
+
+ ret = autofill_fill_response_item_set_value(res_it_h, "test");
+ assert_eq(ret, AUTOFILL_ERROR_NONE);
+
+ ret = autofill_fill_response_item_get_value(res_it_h, &value);
+ autofill_fill_response_item_destroy(res_it_h);
+ assert_eq(ret, AUTOFILL_ERROR_NONE);
+
+ ret = strcmp("test", value);
+ if (value)
+ free(value);
+
+ assert_eq(ret, 0);
+
+ return 0;
+}
+
+/**
+ * @testcase utc_autofill_fill_response_item_get_value_n
+ * @since_tizen 5.5
+ * @description Negative UTC of the function that gets autofill value in autofill fill response item.
+ */
+int utc_autofill_fill_response_item_get_value_n(void)
+{
+ int ret;
+ autofill_fill_response_item_h res_it_h;
+
+ ret = autofill_fill_response_item_create(&res_it_h);
+ assert_eq(ret, AUTOFILL_ERROR_NONE);
+
+ ret = autofill_fill_response_item_get_value(res_it_h, NULL);
+ autofill_fill_response_item_destroy(res_it_h);
+ assert_eq(ret, AUTOFILL_ERROR_INVALID_PARAMETER);
+
+ return 0;
+}
+
+/**
+ * @testcase utc_autofill_fill_response_item_set_presentation_text_p
+ * @since_tizen 5.5
+ * @description Positive UTC of the function that sets autofill presentation text in autofill fill response item.
+ */
+int utc_autofill_fill_response_item_set_presentation_text_p(void)
+{
+ autofill_fill_response_item_h res_it_h;
+ int ret;
+
+ ret = autofill_fill_response_item_create(&res_it_h);
+ assert_eq(ret, AUTOFILL_ERROR_NONE);
+
+ ret = autofill_fill_response_item_set_presentation_text(res_it_h, "test");
+ autofill_fill_response_item_destroy(res_it_h);
+ assert_eq(ret, AUTOFILL_ERROR_NONE);
+
+ return 0;
+}
+
+/**
+ * @testcase utc_autofill_fill_response_item_set_presentation_text_n
+ * @since_tizen 5.5
+ * @description Negative UTC of the function that sets autofill presentation text in autofill fill response item.
+ */
+int utc_autofill_fill_response_item_set_presentation_text_n(void)
+{
+ autofill_fill_response_item_h res_it_h;
+ int ret;
+
+ ret = autofill_fill_response_item_create(&res_it_h);
+ assert_eq(ret, AUTOFILL_ERROR_NONE);
+
+ ret = autofill_fill_response_item_set_presentation_text(res_it_h, NULL);
+ autofill_fill_response_item_destroy(res_it_h);
+ assert_eq(ret, AUTOFILL_ERROR_INVALID_PARAMETER);
+
+ return 0;
+}
+
+/**
+ * @testcase utc_autofill_fill_response_item_get_presentation_text_p
+ * @since_tizen 5.5
+ * @description Positive UTC of the function that gets autofill presentation text in autofill fill response item.
+ */
+int utc_autofill_fill_response_item_get_presentation_text_p(void)
+{
+ char *presentation_text;
+ int ret;
+ autofill_fill_response_item_h res_it_h;
+
+ ret = autofill_fill_response_item_create(&res_it_h);
+ assert_eq(ret, AUTOFILL_ERROR_NONE);
+
+ ret = autofill_fill_response_item_set_presentation_text(res_it_h, "test");
+ assert_eq(ret, AUTOFILL_ERROR_NONE);
+
+ ret = autofill_fill_response_item_get_presentation_text(res_it_h, &presentation_text);
+ autofill_fill_response_item_destroy(res_it_h);
+ assert_eq(ret, AUTOFILL_ERROR_NONE);
+
+ ret = strcmp("test", presentation_text);
+ if (presentation_text)
+ free(presentation_text);
+ assert_eq(ret, 0);
+
+ return 0;
+}
+
+/**
+ * @testcase utc_autofill_fill_response_item_get_presentation_text_n
+ * @since_tizen 5.5
+ * @description Negative UTC of the function that gets autofill presentation text in autofill fill response item.
+ */
+int utc_autofill_fill_response_item_get_presentation_text_n(void)
+{
+ int ret;
+ autofill_fill_response_item_h res_it_h;
+
+ ret = autofill_fill_response_item_create(&res_it_h);
+ assert_eq(ret, AUTOFILL_ERROR_NONE);
+
+ ret = autofill_fill_response_item_get_presentation_text(res_it_h, NULL);
+ autofill_fill_response_item_destroy(res_it_h);
+ assert_eq(ret, AUTOFILL_ERROR_INVALID_PARAMETER);
+
+ return 0;
+}
+
+// save info
+/**
+ * @testcase utc_autofill_save_item_create_p
+ * @since_tizen 5.5
+ * @description Positive UTC of the function that creates autofill save item.
+ */
+int utc_autofill_save_item_create_p(void)
+{
+ autofill_save_item_h it_h;
+ int ret = autofill_save_item_create(&it_h);
+ assert_eq(ret, AUTOFILL_ERROR_NONE);
+ assert(it_h);
+ return 0;
+}
+
+/**
+ * @testcase utc_autofill_save_item_create_n
+ * @since_tizen 5.5
+ * @description Negative UTC of the function that creates autofill save item.
+ */
+int utc_autofill_save_item_create_n(void)
+{
+ int ret = autofill_save_item_create(NULL);
+ assert_eq(ret, AUTOFILL_ERROR_INVALID_PARAMETER);
+ return 0;
+}
+
+/**
+ * @testcase utc_autofill_save_item_destroy_p
+ * @since_tizen 5.5
+ * @description Positive UTC of the function that destroys autofill save item.
+ */
+int utc_autofill_save_item_destroy_p(void)
+{
+ autofill_save_item_h it_h = NULL;
+ int ret = autofill_save_item_create(&it_h);
+ assert_eq(ret, AUTOFILL_ERROR_NONE);
+ assert(it_h);
+
+ ret = autofill_save_item_set_id(it_h, "test");
+ assert_eq(ret, AUTOFILL_ERROR_NONE);
+
+ ret = autofill_save_item_set_label(it_h, "test");
+ assert_eq(ret, AUTOFILL_ERROR_NONE);
+
+ ret = autofill_save_item_set_value(it_h, "test");
+ assert_eq(ret, AUTOFILL_ERROR_NONE);
+
+ ret = autofill_save_item_destroy(it_h);
+ assert_eq(ret, AUTOFILL_ERROR_NONE);
+
+ return 0;
+}
+
+/**
+ * @testcase utc_autofill_save_item_destroy_n
+ * @since_tizen 5.5
+ * @description Negative UTC of the function that destroys autofill save item.
+ */
+int utc_autofill_save_item_destroy_n(void)
+{
+ int ret = autofill_save_item_destroy(NULL);
+ assert_eq(ret, AUTOFILL_ERROR_INVALID_PARAMETER);
+ return 0;
+}
+
+/**
+ * @testcase utc_autofill_save_item_clone_p
+ * @since_tizen 5.5
+ * @description Positive UTC of the function that clones autofill save item.
+ */
+int utc_autofill_save_item_clone_p(void)
+{
+ autofill_save_item_h it_h = NULL, clone_h;
+ int ret = autofill_save_item_create(&it_h);
+ assert_eq(ret, AUTOFILL_ERROR_NONE);
+ assert(it_h);
+
+ ret = autofill_save_item_set_id(it_h, "test");
+ assert_eq(ret, AUTOFILL_ERROR_NONE);
+
+ ret = autofill_save_item_set_label(it_h, "test");
+ assert_eq(ret, AUTOFILL_ERROR_NONE);
+
+ ret = autofill_save_item_set_value(it_h, "test");
+ assert_eq(ret, AUTOFILL_ERROR_NONE);
+
+ ret = autofill_save_item_clone(it_h, &clone_h);
+
+ autofill_save_item_destroy(it_h);
+ autofill_save_item_destroy(clone_h);
+
+ assert_eq(ret, AUTOFILL_ERROR_NONE);
+
+ return 0;
+}
+
+/**
+ * @testcase utc_autofill_save_item_clone_n
+ * @since_tizen 5.5
+ * @description Negative UTC of the function that clones autofill save item.
+ */
+int utc_autofill_save_item_clone_n(void)
+{
+ int ret = autofill_save_item_clone(NULL, NULL);
+ assert_eq(ret, AUTOFILL_ERROR_INVALID_PARAMETER);
+ return 0;
+}
+
+/**
+ * @testcase utc_autofill_save_item_set_autofill_hint_p
+ * @since_tizen 5.5
+ * @description Positive UTC of the function that sets autofill hint in autofill save item.
+ */
+int utc_autofill_save_item_set_autofill_hint_p(void)
+{
+ autofill_save_item_h it_h = NULL;
+ int ret = autofill_save_item_create(&it_h);
+ assert_eq(ret, AUTOFILL_ERROR_NONE);
+ assert(it_h);
+
+ ret = autofill_save_item_set_autofill_hint(it_h, AUTOFILL_HINT_NAME);
+ autofill_save_item_destroy(it_h);
+ assert_eq(ret, AUTOFILL_ERROR_NONE);
+
+ return 0;
+}
+
+/**
+ * @testcase utc_autofill_save_item_set_autofill_hint_n
+ * @since_tizen 5.5
+ * @description Negative UTC of the function that sets autofill hint in autofill save item.
+ */
+int utc_autofill_save_item_set_autofill_hint_n(void)
+{
+ int ret = autofill_save_item_set_autofill_hint(NULL, AUTOFILL_HINT_NAME);
+ assert_eq(ret, AUTOFILL_ERROR_INVALID_PARAMETER);
+ return 0;
+}
+
+/**
+ * @testcase utc_autofill_save_item_get_autofill_hint_p
+ * @since_tizen 5.5
+ * @description Positive UTC of the function that gets autofill hint in autofill save item.
+ */
+int utc_autofill_save_item_get_autofill_hint_p(void)
+{
+ autofill_save_item_h it_h = NULL;
+ autofill_hint_e autofill_hint;
+ int ret = autofill_save_item_create(&it_h);
+ assert_eq(ret, AUTOFILL_ERROR_NONE);
+ assert(it_h);
+
+ ret = autofill_save_item_get_autofill_hint(it_h, &autofill_hint);
+ autofill_save_item_destroy(it_h);
+ assert_eq(ret, AUTOFILL_ERROR_NONE);
+ return 0;
+}
+
+/**
+ * @testcase utc_autofill_save_item_get_autofill_hint_n
+ * @since_tizen 5.5
+ * @description Negative UTC of the function that gets autofill hint in autofill save item.
+ */
+int utc_autofill_save_item_get_autofill_hint_n(void)
+{
+ autofill_hint_e autofill_hint;
+ int ret = autofill_save_item_get_autofill_hint(NULL, &autofill_hint);
+ assert_eq(ret, AUTOFILL_ERROR_INVALID_PARAMETER);
+ return 0;
+}
+
+/**
+ * @testcase utc_autofill_save_item_set_id_p
+ * @since_tizen 5.5
+ * @description Positive UTC of the function that sets autofill id in autofill save item.
+ */
+int utc_autofill_save_item_set_id_p(void)
+{
+ autofill_save_item_h it_h = NULL;
+ int ret = autofill_save_item_create(&it_h);
+ assert_eq(ret, AUTOFILL_ERROR_NONE);
+ assert(it_h);
+
+ ret = autofill_save_item_set_id(it_h, "test");
+ autofill_save_item_destroy(it_h);
+ assert_eq(ret, AUTOFILL_ERROR_NONE);
+ return 0;
+}
+
+/**
+ * @testcase utc_autofill_save_item_set_id_n
+ * @since_tizen 5.5
+ * @description Negative UTC of the function that sets autofill id in autofill save item.
+ */
+int utc_autofill_save_item_set_id_n(void)
+{
+ int ret = autofill_save_item_set_id(NULL, "test");
+ assert_eq(ret, AUTOFILL_ERROR_INVALID_PARAMETER);
+ return 0;
+}
+
+/**
+ * @testcase utc_autofill_save_item_get_id_p
+ * @since_tizen 5.5
+ * @description Positive UTC of the function that gets autofill id in autofill save item.
+ */
+int utc_autofill_save_item_get_id_p(void)
+{
+ autofill_save_item_h it_h = NULL;
+ char *id = NULL;
+ int ret = autofill_save_item_create(&it_h);
+ assert_eq(ret, AUTOFILL_ERROR_NONE);
+ assert(it_h);
+
+ ret = autofill_save_item_set_id(it_h, "test");
+ assert_eq(ret, AUTOFILL_ERROR_NONE);
+
+ ret = autofill_save_item_get_id(it_h, &id);
+ autofill_save_item_destroy(it_h);
+
+ assert(id);
+
+ if (id)
+ free(id);
+
+ assert_eq(ret, AUTOFILL_ERROR_NONE);
+
+ return 0;
+}
+
+/**
+ * @testcase utc_autofill_save_item_get_id_n
+ * @since_tizen 5.5
+ * @description Negative UTC of the function that gets autofill id in autofill save item.
+ */
+int utc_autofill_save_item_get_id_n(void)
+{
+ char *id = NULL;
+ int ret = autofill_save_item_get_id(NULL, &id);
+ assert_eq(ret, AUTOFILL_ERROR_INVALID_PARAMETER);
+ return 0;
+}
+
+/**
+ * @testcase utc_autofill_save_item_set_label_p
+ * @since_tizen 5.5
+ * @description Positive UTC of the function that sets autofill label in autofill save item.
+ */
+int utc_autofill_save_item_set_label_p(void)
+{
+ autofill_save_item_h it_h = NULL;
+ int ret = autofill_save_item_create(&it_h);
+ assert_eq(ret, AUTOFILL_ERROR_NONE);
+ assert(it_h);
+
+ ret = autofill_save_item_set_label(it_h, "test");
+ autofill_save_item_destroy(it_h);
+ assert_eq(ret, AUTOFILL_ERROR_NONE);
+ return 0;
+}
+
+/**
+ * @testcase utc_autofill_save_item_set_label_n
+ * @since_tizen 5.5
+ * @description Negative UTC of the function that sets autofill label in autofill save item.
+ */
+int utc_autofill_save_item_set_label_n(void)
+{
+ int ret = autofill_save_item_set_label(NULL, "test");
+ assert_eq(ret, AUTOFILL_ERROR_INVALID_PARAMETER);
+ return 0;
+}
+
+/**
+ * @testcase utc_autofill_save_item_get_label_p
+ * @since_tizen 5.5
+ * @description Positive UTC of the function that gets autofill label in autofill save item.
+ */
+int utc_autofill_save_item_get_label_p(void)
+{
+ autofill_save_item_h it_h = NULL;
+ char *label = NULL;
+ int ret = autofill_save_item_create(&it_h);
+ assert_eq(ret, AUTOFILL_ERROR_NONE);
+ assert(it_h);
+
+ ret = autofill_save_item_set_label(it_h, "test");
+ assert_eq(ret, AUTOFILL_ERROR_NONE);
+
+ ret = autofill_save_item_get_label(it_h, &label);
+ autofill_save_item_destroy(it_h);
+
+ assert(label);
+
+ if (label)
+ free(label);
+
+ assert_eq(ret, AUTOFILL_ERROR_NONE);
+
+ return 0;
+}
+
+/**
+ * @testcase utc_autofill_save_item_get_label_n
+ * @since_tizen 5.5
+ * @description Negative UTC of the function that gets autofill label in autofill save item.
+ */
+int utc_autofill_save_item_get_label_n(void)
+{
+ char *label = NULL;
+ int ret = autofill_save_item_get_label(NULL, &label);
+ assert_eq(ret, AUTOFILL_ERROR_INVALID_PARAMETER);
+ return 0;
+}
+
+/**
+ * @testcase utc_autofill_save_item_set_sensitive_data_p
+ * @since_tizen 5.5
+ * @description Positive UTC of the function that sets whether sensitive data or not in autofill save item.
+ */
+int utc_autofill_save_item_set_sensitive_data_p(void)
+{
+ autofill_save_item_h it_h = NULL;
+ int ret = autofill_save_item_create(&it_h);
+ assert_eq(ret, AUTOFILL_ERROR_NONE);
+ assert(it_h);
+
+ ret = autofill_save_item_set_sensitive_data(it_h, true);
+ autofill_save_item_destroy(it_h);
+ assert_eq(ret, AUTOFILL_ERROR_NONE);
+ return 0;
+}
+
+/**
+ * @testcase utc_autofill_save_item_set_sensitive_data_n
+ * @since_tizen 5.5
+ * @description Negative UTC of the function that sets whether sensitive data or not in autofill save item.
+ */
+int utc_autofill_save_item_set_sensitive_data_n(void)
+{
+ int ret = autofill_save_item_set_sensitive_data(NULL, true);
+ assert_eq(ret, AUTOFILL_ERROR_INVALID_PARAMETER);
+ return 0;
+}
+
+/**
+ * @testcase utc_autofill_save_item_get_sensitive_data_p
+ * @since_tizen 5.5
+ * @description Positive UTC of the function that gets whether sensitive data or not in autofill save item.
+ */
+int utc_autofill_save_item_get_sensitive_data_p(void)
+{
+ autofill_save_item_h it_h = NULL;
+ bool sensitive_data;
+ int ret = autofill_save_item_create(&it_h);
+ assert_eq(ret, AUTOFILL_ERROR_NONE);
+ assert(it_h);
+
+ ret = autofill_save_item_get_sensitive_data(it_h, &sensitive_data);
+ autofill_save_item_destroy(it_h);
+ assert_eq(ret, AUTOFILL_ERROR_NONE);
+ return 0;
+}
+
+/**
+ * @testcase utc_autofill_save_item_get_sensitive_data_n
+ * @since_tizen 5.5
+ * @description Negative UTC of the function that gets whether sensitive data or not in autofill save item.
+ */
+int utc_autofill_save_item_get_sensitive_data_n(void)
+{
+ bool sensitive_data;
+ int ret = autofill_save_item_get_sensitive_data(NULL, &sensitive_data);
+ assert_eq(ret, AUTOFILL_ERROR_INVALID_PARAMETER);
+ return 0;
+}
+
+/**
+ * @testcase utc_autofill_save_item_set_value_p
+ * @since_tizen 5.5
+ * @description Positive UTC of the function that sets autofill value in autofill save item.
+ */
+int utc_autofill_save_item_set_value_p(void)
+{
+ autofill_save_item_h it_h = NULL;
+ int ret = autofill_save_item_create(&it_h);
+ assert_eq(ret, AUTOFILL_ERROR_NONE);
+ assert(it_h);
+
+ ret = autofill_save_item_set_value(it_h, "test");
+ autofill_save_item_destroy(it_h);
+ assert_eq(ret, AUTOFILL_ERROR_NONE);
+ return 0;
+}
+
+/**
+ * @testcase utc_autofill_save_item_set_value_n
+ * @since_tizen 5.5
+ * @description Negative UTC of the function that sets autofill value in autofill save item.
+ */
+int utc_autofill_save_item_set_value_n(void)
+{
+ int ret = autofill_save_item_set_value(NULL, "test");
+ assert_eq(ret, AUTOFILL_ERROR_INVALID_PARAMETER);
+ return 0;
+}
+
+/**
+ * @testcase utc_autofill_save_item_get_value_p
+ * @since_tizen 5.5
+ * @description Positive UTC of the function that gets autofill value in autofill save item.
+ */
+int utc_autofill_save_item_get_value_p(void)
+{
+ autofill_save_item_h it_h = NULL;
+ char *value = NULL;
+ int ret = autofill_save_item_create(&it_h);
+ assert_eq(ret, AUTOFILL_ERROR_NONE);
+ assert(it_h);
+
+ ret = autofill_save_item_set_value(it_h, "test");
+ assert_eq(ret, AUTOFILL_ERROR_NONE);
+
+ ret = autofill_save_item_get_value(it_h, &value);
+ autofill_save_item_destroy(it_h);
+
+ assert(value);
+
+ if (value)
+ free(value);
+
+ assert_eq(ret, AUTOFILL_ERROR_NONE);
+
+ return 0;
+}
+
+/**
+ * @testcase utc_autofill_save_item_get_value_n
+ * @since_tizen 5.5
+ * @description Negative UTC of the function that gets autofill value in autofill save item.
+ */
+int utc_autofill_save_item_get_value_n(void)
+{
+ char *value = NULL;
+ int ret = autofill_save_item_get_value(NULL, &value);
+ assert_eq(ret, AUTOFILL_ERROR_INVALID_PARAMETER);
+ return 0;
+}
--- /dev/null
+//
+// Copyright (c) 2014 Samsung Electronics Co., Ltd.
+//
+// Licensed under the Apache License, Version 2.0 (the License);
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+// http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+//
+#include "assert.h"
+#include <autofill_service.h>
+#include <dlog.h>
+
+#define APP_ID "org.tizen.autofill-test"
+#define VIEW_ID "login"
+
+//& set: CapiUi-autofill-service
+
+static void auth_info_requested_cb(int context_id, autofill_view_info_h vi, void *user_data)
+{
+
+}
+
+static void fill_requested_cb(int context_id, autofill_view_info_h vi, void *user_data)
+{
+
+}
+
+static void commited_cb(int context_id, autofill_save_view_info_h vi, void *user_data)
+{
+
+}
+
+static void terminate_received_cb(void *user_data)
+{
+
+}
+
+/**
+ * @function utc_capi_ui_autofill_service_startup
+ * @description Called before each test
+ * @parameter NA
+ * @return NA
+ */
+void utc_capi_ui_autofill_service_startup(void)
+{
+ autofill_service_initialize();
+}
+
+/**
+ * @function utc_capi_ui_autofill_service_cleanup
+ * @description Called after each test
+ * @parameter NA
+ * @return NA
+ */
+void utc_capi_ui_autofill_service_cleanup(void)
+{
+ autofill_service_deinitialize();
+}
+
+/**
+ * @testcase utc_autofill_service_set_auth_info_requested_cb_p
+ * @since_tizen 5.5
+ * @description Positive UTC of the function that sets authentication infomation request received callback.
+ */
+int utc_autofill_service_set_auth_info_requested_cb_p(void)
+{
+ int ret = autofill_service_set_auth_info_requested_cb(auth_info_requested_cb, NULL);
+ assert_eq(ret, AUTOFILL_ERROR_NONE);
+
+ return 0;
+}
+
+/**
+ * @testcase utc_autofill_service_set_auth_info_requested_cb_n
+ * @since_tizen 5.5
+ * @description Negative UTC of the function that sets authentication infomation request received callback.
+ */
+int utc_autofill_service_set_auth_info_requested_cb_n(void)
+{
+ int ret = autofill_service_set_auth_info_requested_cb(NULL, NULL);
+ assert_eq(ret, AUTOFILL_ERROR_INVALID_PARAMETER);
+
+ return 0;
+}
+
+/**
+ * @testcase utc_autofill_service_unset_auth_info_requested_cb_p
+ * @since_tizen 5.5
+ * @description Positive UTC of the function that unsets authentication infomation request received callback.
+ */
+int utc_autofill_service_unset_auth_info_requested_cb_p(void)
+{
+ int ret = autofill_service_unset_auth_info_requested_cb();
+ assert_eq(ret, AUTOFILL_ERROR_NONE);
+
+ return 0;
+}
+
+/**
+ * @testcase utc_autofill_service_send_auth_info_cb_p
+ * @since_tizen 5.5
+ * @description Positive UTC of the function that sends authentication information.
+ */
+int utc_autofill_service_send_auth_info_cb_p(void)
+{
+ autofill_auth_info_h auth_info;
+ autofill_auth_info_create(&auth_info);
+ autofill_auth_info_set_app_id(auth_info, APP_ID);
+ autofill_auth_info_set_view_id(auth_info, VIEW_ID);
+
+ autofill_auth_info_set_autofill_data_present(auth_info, true);
+ autofill_auth_info_set_authentication_needed(auth_info, true);
+ autofill_auth_info_set_service_name(auth_info, "Tizen autofill service");
+ autofill_auth_info_set_service_message(auth_info, "Login with Tizen autofill service");
+ autofill_auth_info_set_service_logo_image_path(auth_info, "/usr/app/org.tizen.autofill-service/logo.png");
+
+ int ret = autofill_service_send_auth_info(0, auth_info);
+ dlog_print(DLOG_INFO, "NativeTCT", "autofill_service_send_auth_info %d", ret);
+
+ autofill_auth_info_destroy(auth_info);
+
+ return 0;
+}
+
+/**
+ * @testcase utc_autofill_service_send_auth_info_cb_n
+ * @since_tizen 5.5
+ * @description Negative UTC of the function that sends authentication information.
+ */
+int utc_autofill_service_send_auth_info_cb_n(void)
+{
+ autofill_auth_info_h auth_info;
+ autofill_auth_info_create(&auth_info);
+ autofill_auth_info_set_app_id(auth_info, APP_ID);
+ autofill_auth_info_set_view_id(auth_info, VIEW_ID);
+
+ autofill_auth_info_set_autofill_data_present(auth_info, true);
+ autofill_auth_info_set_authentication_needed(auth_info, true);
+ autofill_auth_info_set_service_name(auth_info, "Tizen autofill service");
+ autofill_auth_info_set_service_message(auth_info, "Login with Tizen autofill service");
+ autofill_auth_info_set_service_logo_image_path(auth_info, "/usr/app/org.tizen.autofill-service/logo.png");
+
+ int ret = autofill_service_send_auth_info(0, NULL);
+ assert_eq(ret, AUTOFILL_ERROR_INVALID_PARAMETER);
+
+ autofill_auth_info_destroy(auth_info);
+
+ return 0;
+}
+
+/**
+ * @testcase utc_autofill_service_set_fill_requested_cb_p
+ * @since_tizen 5.5
+ * @description Positive UTC of the function that sets fill request received callback.
+ */
+int utc_autofill_service_set_fill_requested_cb_p(void)
+{
+ int ret = autofill_service_set_fill_requested_cb(fill_requested_cb, NULL);
+ assert_eq(ret, AUTOFILL_ERROR_NONE);
+
+ return 0;
+}
+
+/**
+ * @testcase utc_autofill_service_set_fill_requested_cb_n
+ * @since_tizen 5.5
+ * @description Negative UTC of the function that sets fill request received callback.
+ */
+int utc_autofill_service_set_fill_requested_cb_n(void)
+{
+ int ret = autofill_service_set_fill_requested_cb(NULL, NULL);
+ assert_eq(ret, AUTOFILL_ERROR_INVALID_PARAMETER);
+
+ return 0;
+}
+
+/**
+ * @testcase utc_autofill_service_unset_fill_requested_cb_p
+ * @since_tizen 5.5
+ * @description Positive UTC of the function that unsets fill request received callback.
+ */
+int utc_autofill_service_unset_fill_requested_cb_p(void)
+{
+ int ret = autofill_service_unset_fill_requested_cb();
+ assert_eq(ret, AUTOFILL_ERROR_NONE);
+
+ return 0;
+}
+
+/**
+ * @testcase utc_autofill_service_send_fill_response_p
+ * @since_tizen 5.5
+ * @description Positive UTC of the function that sends fill response.
+ */
+int utc_autofill_service_send_fill_response_p(void)
+{
+ int ret;
+ autofill_fill_response_h fill_response_h;
+ autofill_fill_response_group_h res_group_h[2];
+ autofill_fill_response_item_h res_it_h[2];
+
+ autofill_fill_response_create(&fill_response_h);
+ autofill_fill_response_set_app_id(fill_response_h, APP_ID);
+ autofill_fill_response_set_view_id(fill_response_h, VIEW_ID);
+
+ /* group 1 */
+ autofill_fill_response_group_create(&res_group_h[0]);
+
+ /* item 1 */
+ autofill_fill_response_item_create(&res_it_h[0]);
+ autofill_fill_response_item_set_id(res_it_h[0], "id");
+ autofill_fill_response_item_set_presentation_text(res_it_h[0], "tester1");
+ autofill_fill_response_item_set_value(res_it_h[0], "tester1");
+
+ /* Add item 1 in group 1 */
+ autofill_fill_response_group_add_item(res_group_h[0], res_it_h[0]);
+
+ /* item 2 */
+ autofill_fill_response_item_create(&res_it_h[1]);
+ autofill_fill_response_item_set_id(res_it_h[1], "password");
+
+ // Use another presentation text due to sensitive data
+ autofill_fill_response_item_set_presentation_text(res_it_h[1], "tester1's Password");
+ autofill_fill_response_item_set_value(res_it_h[1], "testerpw1");
+
+ /* Add item 2 in group 1 */
+ autofill_fill_response_group_add_item(res_group_h[0], res_it_h[1]);
+
+ autofill_fill_response_item_destroy(res_it_h[0]);
+ autofill_fill_response_item_destroy(res_it_h[1]);
+
+ /* Add group 1 in fill response */
+ autofill_fill_response_add_group(fill_response_h, res_group_h[0]);
+
+ autofill_fill_response_group_destroy(res_group_h[0]);
+
+ /* group 2 */
+ autofill_fill_response_group_create(&res_group_h[1]);
+
+ /* item 1 */
+ autofill_fill_response_item_create(&res_it_h[0]);
+ autofill_fill_response_item_set_id(res_it_h[0], "id");
+ autofill_fill_response_item_set_presentation_text(res_it_h[0], "tester2");
+ autofill_fill_response_item_set_value(res_it_h[0], "tester2");
+
+ /* Add item 1 in group 2 */
+ autofill_fill_response_group_add_item(res_group_h[0], res_it_h[0]);
+
+ /* item 2 */
+ autofill_fill_response_item_create(&res_it_h[1]);
+ autofill_fill_response_item_set_id(res_it_h[1], "password");
+
+ // Use another presentation text due to sensitive data
+ autofill_fill_response_item_set_presentation_text(res_it_h[1], "tester2's Password");
+ autofill_fill_response_item_set_value(res_it_h[1], "testerpw2");
+
+ /* Add item 2 in group 2 */
+ autofill_fill_response_group_add_item(res_group_h[0], res_it_h[1]);
+
+ autofill_fill_response_item_destroy(res_it_h[0]);
+ autofill_fill_response_item_destroy(res_it_h[1]);
+
+ autofill_fill_response_add_group(fill_response_h, res_group_h[1]);
+
+ autofill_fill_response_group_destroy(res_group_h[1]);
+
+ /* Send fill response */
+ ret = autofill_service_send_fill_response(0, fill_response_h);
+
+ dlog_print(DLOG_INFO, "NativeTCT", "autofill_service_send_fill_response %d", ret);
+
+ autofill_fill_response_destroy(fill_response_h);
+
+ return 0;
+}
+
+/**
+ * @testcase utc_autofill_service_send_fill_response_n
+ * @since_tizen 5.5
+ * @description Negative UTC of the function that sends fill response.
+ */
+int utc_autofill_service_send_fill_response_n(void)
+{
+ int ret = autofill_service_send_fill_response(0, NULL);
+ assert_eq(ret, AUTOFILL_ERROR_INVALID_PARAMETER);
+
+ return 0;
+}
+
+/**
+ * @testcase utc_autofill_service_set_commited_cb_p
+ * @since_tizen 5.5
+ * @description Positive UTC of the function that sets commit callback.
+ */
+int utc_autofill_service_set_commited_cb_p(void)
+{
+ int ret = autofill_service_set_commited_cb(commited_cb, NULL);
+ assert_eq(ret, AUTOFILL_ERROR_NONE);
+
+ return 0;
+}
+
+/**
+ * @testcase utc_autofill_service_set_commited_cb_n
+ * @since_tizen 5.5
+ * @description Negative UTC of the function that sets commit callback.
+ */
+int utc_autofill_service_set_commited_cb_n(void)
+{
+ int ret = autofill_service_set_commited_cb(NULL, NULL);
+ assert_eq(ret, AUTOFILL_ERROR_INVALID_PARAMETER);
+
+ return 0;
+}
+
+/**
+ * @testcase utc_autofill_service_unset_commited_cb_p
+ * @since_tizen 5.5
+ * @description Positive UTC of the function that unsets commit callback.
+ */
+int utc_autofill_service_unset_commited_cb_p(void)
+{
+ int ret = autofill_service_unset_commited_cb();
+ assert_eq(ret, AUTOFILL_ERROR_NONE);
+
+ return 0;
+}
+
+/**
+ * @testcase utc_autofill_service_set_terminate_received_cb_p
+ * @since_tizen 5.5
+ * @description Positive UTC of the function that sets terminate received callback.
+ */
+int utc_autofill_service_set_terminate_received_cb_p(void)
+{
+ int ret = autofill_service_set_terminate_received_cb(terminate_received_cb, NULL);
+ assert_eq(ret, AUTOFILL_ERROR_NONE);
+
+ return 0;
+}
+
+/**
+ * @testcase utc_autofill_service_set_terminate_received_cb_n
+ * @since_tizen 5.5
+ * @description Negative UTC of the function that sets terminate received callback.
+ */
+int utc_autofill_service_set_terminate_received_cb_n(void)
+{
+ int ret = autofill_service_set_terminate_received_cb(NULL, NULL);
+ assert_eq(ret, AUTOFILL_ERROR_INVALID_PARAMETER);
+
+ return 0;
+}
+
+/**
+ * @testcase utc_autofill_service_unset_terminate_received_cb_p
+ * @since_tizen 5.5
+ * @description Positive UTC of the function that unsets terminate received callback.
+ */
+int utc_autofill_service_unset_terminate_received_cb_p(void)
+{
+ int ret = autofill_service_unset_terminate_received_cb();
+ assert_eq(ret, AUTOFILL_ERROR_NONE);
+
+ return 0;
+}
\ No newline at end of file
--- /dev/null
+//
+// Copyright (c) 2014 Samsung Electronics Co., Ltd.
+//
+// Licensed under the Apache License, Version 2.0 (the License);
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+// http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+//
+#include "assert.h"
+#include <autofill.h>
+#include <glib.h>
+#include <app_common.h>
+
+//& set: CapiUi-autofill
+
+#define VIEW_ID "login"
+
+autofill_h g_autofill_h = NULL;
+
+static GMainLoop *g_mainloop = NULL;
+static char *g_app_id = NULL;
+
+static void connect_status_changed_cb(autofill_h ah, autofill_connection_status_e status, void* user_data)
+{
+ if (g_mainloop) {
+ g_main_loop_quit(g_mainloop);
+ g_mainloop = NULL;
+ }
+}
+
+static void auth_info_cb(autofill_h ah, autofill_auth_info_h auth_info, void *user_data)
+{
+
+}
+
+static void fill_response_cb(autofill_h ah, autofill_fill_response_h fill_response_h, void *user_data)
+{
+
+}
+
+/**
+ * @function utc_capi_ui_inputmethod_startup
+ * @description Called before each test
+ * @parameter NA
+ * @return NA
+ */
+void utc_capi_ui_autofill_startup(void)
+{
+ app_get_id(&g_app_id);
+ autofill_create(&g_autofill_h);
+}
+
+/**
+ * @function utc_capi_ui_autofill_cleanup
+ * @description Called after each test
+ * @parameter NA
+ * @return NA
+ */
+void utc_capi_ui_autofill_cleanup(void)
+{
+ if (g_app_id) {
+ free(g_app_id);
+ g_app_id = NULL;
+ }
+
+ if (g_autofill_h) {
+ autofill_destroy(g_autofill_h);
+ }
+
+ g_autofill_h = NULL;
+}
+
+/**
+ * @testcase utc_autofill_connect_p
+ * @since_tizen 5.5
+ * @description Positive UTC of the function that connects to autofill daemon.
+ */
+int utc_autofill_connect_p(void)
+{
+ int ret = autofill_connect(g_autofill_h, connect_status_changed_cb, NULL);
+ assert_eq(ret, AUTOFILL_ERROR_NONE);
+ return 0;
+}
+
+/**
+ * @testcase utc_autofill_connect_n
+ * @since_tizen 5.5
+ * @description Negative UTC of the function that connects to autofill daemon.
+ */
+int utc_autofill_connect_n(void)
+{
+ int ret = autofill_connect(NULL, NULL, NULL);
+ assert_eq(ret, AUTOFILL_ERROR_INVALID_PARAMETER);
+ return 0;
+}
+
+/**
+ * @testcase utc_autofill_auth_info_request_p
+ * @since_tizen 5.5
+ * @description Positive UTC of the function that sends authentication information.
+ */
+int utc_autofill_auth_info_request_p(void)
+{
+ int ret = AUTOFILL_ERROR_NONE;
+ autofill_view_info_h vi_h;
+ autofill_item_h ai_h;
+
+ ret = autofill_connect(g_autofill_h, connect_status_changed_cb, NULL);
+ assert_eq(ret, AUTOFILL_ERROR_NONE);
+
+ g_mainloop = g_main_loop_new(NULL, false);
+ g_main_loop_run(g_mainloop);
+
+ autofill_view_info_create(&vi_h);
+ if (g_app_id)
+ autofill_view_info_set_app_id(vi_h, g_app_id);
+
+ autofill_view_info_set_view_id(vi_h, VIEW_ID);
+
+ // create autofill item
+ autofill_item_create(&ai_h);
+ autofill_item_set_autofill_hint(ai_h, AUTOFILL_HINT_NAME);
+ autofill_item_set_id(ai_h, "id");
+ autofill_item_set_label(ai_h, "label");
+ autofill_item_set_sensitive_data(ai_h, false);
+
+ autofill_view_info_add_item(vi_h, ai_h);
+
+ ret = autofill_auth_info_request(g_autofill_h, vi_h);
+
+ autofill_view_info_destroy(vi_h);
+
+ assert_eq(ret, AUTOFILL_ERROR_NONE);
+
+ return 0;
+}
+
+/**
+ * @testcase utc_autofill_auth_info_request_n
+ * @since_tizen 5.5
+ * @description Negative UTC of the function that sends authentication information.
+ */
+int utc_autofill_auth_info_request_n(void)
+{
+ int ret = autofill_auth_info_request(NULL, NULL);
+ assert_eq(ret, AUTOFILL_ERROR_INVALID_PARAMETER);
+
+ return 0;
+}
+
+/**
+ * @testcase utc_autofill_auth_info_set_received_cb_p
+ * @since_tizen 5.5
+ * @description Positive UTC of the function that sets auth info received callback.
+ */
+int utc_autofill_auth_info_set_received_cb_p(void)
+{
+ int ret = autofill_auth_info_set_received_cb(g_autofill_h, auth_info_cb, NULL);
+ assert_eq(ret, AUTOFILL_ERROR_NONE);
+
+ return 0;
+}
+
+/**
+ * @testcase utc_autofill_auth_info_set_received_cb_n
+ * @since_tizen 5.5
+ * @description Negative UTC of the function that sets auth info received callback.
+ */
+int utc_autofill_auth_info_set_received_cb_n(void)
+{
+ int ret = autofill_auth_info_set_received_cb(NULL, auth_info_cb, NULL);
+ assert_eq(ret, AUTOFILL_ERROR_INVALID_PARAMETER);
+
+ return 0;
+}
+
+/**
+ * @testcase utc_autofill_auth_info_unset_received_cb_p
+ * @since_tizen 5.5
+ * @description Positive UTC of the function that unsets auth info received callback.
+ */
+int utc_autofill_auth_info_unset_received_cb_p(void)
+{
+ int ret = autofill_auth_info_unset_received_cb(g_autofill_h);
+ assert_eq(ret, AUTOFILL_ERROR_NONE);
+
+ return 0;
+}
+
+/**
+ * @testcase utc_autofill_auth_info_unset_received_cb_n
+ * @since_tizen 5.5
+ * @description Negative UTC of the function that unsets auth info received callback.
+ */
+int utc_autofill_auth_info_unset_received_cb_n(void)
+{
+ int ret = autofill_auth_info_unset_received_cb(NULL);
+ assert_eq(ret, AUTOFILL_ERROR_INVALID_PARAMETER);
+
+ return 0;
+}
+
+/**
+ * @testcase utc_autofill_fill_request_p
+ * @since_tizen 5.5
+ * @description Positive UTC of the function that sends fill request.
+ */
+int utc_autofill_fill_request_p(void)
+{
+ int ret = AUTOFILL_ERROR_NONE;
+ autofill_view_info_h vi_h;
+ autofill_item_h ai_h;
+
+ ret = autofill_connect(g_autofill_h, connect_status_changed_cb, NULL);
+ assert_eq(ret, AUTOFILL_ERROR_NONE);
+
+ g_mainloop = g_main_loop_new(NULL, false);
+ g_main_loop_run(g_mainloop);
+
+ autofill_view_info_create(&vi_h);
+ if (g_app_id)
+ autofill_view_info_set_app_id(vi_h, g_app_id);
+
+ autofill_view_info_set_view_id(vi_h, VIEW_ID);
+
+ // create autofill item
+ autofill_item_create(&ai_h);
+ autofill_item_set_autofill_hint(ai_h, AUTOFILL_HINT_NAME);
+ autofill_item_set_id(ai_h, "id");
+ autofill_item_set_label(ai_h, "label");
+ autofill_item_set_sensitive_data(ai_h, false);
+
+ autofill_view_info_add_item(vi_h, ai_h);
+
+ ret = autofill_fill_request(g_autofill_h, vi_h);
+
+ autofill_view_info_destroy(vi_h);
+
+ assert_eq(ret, AUTOFILL_ERROR_NONE);
+
+ return 0;
+}
+
+/**
+ * @testcase utc_autofill_fill_request_n
+ * @since_tizen 5.5
+ * @description Negative UTC of the function that sends fill request.
+ */
+int utc_autofill_fill_request_n(void)
+{
+ int ret = autofill_fill_request(NULL, NULL);
+ assert_eq(ret, AUTOFILL_ERROR_INVALID_PARAMETER);
+
+ return 0;
+}
+
+/**
+ * @testcase utc_autofill_fill_response_set_received_cb_p
+ * @since_tizen 5.5
+ * @description Positive UTC of the function that sets fill response received callback.
+ */
+int utc_autofill_fill_response_set_received_cb_p(void)
+{
+ int ret = autofill_fill_response_set_received_cb(g_autofill_h, fill_response_cb, NULL);
+ assert_eq(ret, AUTOFILL_ERROR_NONE);
+
+ return 0;
+}
+
+/**
+ * @testcase utc_autofill_fill_response_set_received_cb_n
+ * @since_tizen 5.5
+ * @description Negative UTC of the function that sets fill response received callback.
+ */
+int utc_autofill_fill_response_set_received_cb_n(void)
+{
+ int ret = autofill_fill_response_set_received_cb(NULL, NULL, NULL);
+ assert_eq(ret, AUTOFILL_ERROR_INVALID_PARAMETER);
+
+ return 0;
+}
+
+/**
+ * @testcase utc_autofill_fill_response_unset_received_cb_p
+ * @since_tizen 5.5
+ * @description Positive UTC of the function that unsets fill response received callback.
+ */
+int utc_autofill_fill_response_unset_received_cb_p(void)
+{
+ int ret = autofill_fill_response_unset_received_cb(g_autofill_h);
+ assert_eq(ret, AUTOFILL_ERROR_NONE);
+
+ return 0;
+}
+
+/**
+ * @testcase utc_autofill_fill_response_unset_received_cb_n
+ * @since_tizen 5.5
+ * @description Negative UTC of the function that unsets fill response received callback.
+ */
+int utc_autofill_fill_response_unset_received_cb_n(void)
+{
+ int ret = autofill_fill_response_unset_received_cb(NULL);
+ assert_eq(ret, AUTOFILL_ERROR_INVALID_PARAMETER);
+
+ return 0;
+}
+
+/**
+ * @testcase utc_autofill_commit_p
+ * @since_tizen 5.5
+ * @description Positive UTC of the function that sends commit for saving autofill data.
+ */
+int utc_autofill_commit_p(void)
+{
+ int ret = AUTOFILL_ERROR_NONE;
+ autofill_save_view_info_h vi_h;
+ autofill_save_item_h si_h;
+
+ ret = autofill_connect(g_autofill_h, connect_status_changed_cb, NULL);
+ assert_eq(ret, AUTOFILL_ERROR_NONE);
+
+ g_mainloop = g_main_loop_new(NULL, false);
+ g_main_loop_run(g_mainloop);
+
+ autofill_save_view_info_create(&vi_h);
+ if (g_app_id)
+ autofill_save_view_info_set_app_id(vi_h, g_app_id);
+
+ autofill_save_view_info_set_view_id(vi_h, VIEW_ID);
+
+ // create autofill item for save
+ autofill_save_item_create(&si_h);
+ autofill_save_item_set_autofill_hint(si_h, AUTOFILL_HINT_NAME);
+ autofill_save_item_set_id(si_h, "id");
+ autofill_save_item_set_label(si_h, "label");
+ autofill_save_item_set_sensitive_data(si_h, false);
+
+ autofill_save_view_info_add_item(vi_h, si_h);
+
+ ret = autofill_commit(g_autofill_h, vi_h);
+
+ autofill_save_view_info_destroy(vi_h);
+
+ assert_eq(ret, AUTOFILL_ERROR_NONE);
+
+ return 0;
+}
+
+/**
+ * @testcase utc_autofill_commit_n
+ * @since_tizen 5.5
+ * @description Negative UTC of the function that sends commit for saving autofill data.
+ */
+int utc_autofill_commit_n(void)
+{
+ int ret = AUTOFILL_ERROR_NONE;
+
+ ret = autofill_commit(NULL, NULL);
+ assert_eq(ret, AUTOFILL_ERROR_INVALID_PARAMETER);
+
+ return 0;
+}