From: Tarun Kumar Date: Mon, 28 Aug 2023 09:35:28 +0000 (+0530) Subject: [ITC][fido-client][ACR-1778] Removed deprecated module fido-client TCs X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=refs%2Fchanges%2F08%2F297908%2F1;p=test%2Ftct%2Fnative%2Fapi.git [ITC][fido-client][ACR-1778] Removed deprecated module fido-client TCs Change-Id: I6537995012e7dced58255f290c48adec3272546c Signed-off-by: Tarun Kumar --- diff --git a/packaging/itc/native-fido-client-itc.spec b/packaging/itc/native-fido-client-itc.spec deleted file mode 100755 index 819f77859..000000000 --- a/packaging/itc/native-fido-client-itc.spec +++ /dev/null @@ -1,79 +0,0 @@ -%define MODULE_NAME fido-client -%define MODULE_LIBNAME fido-client -Name: native-%{MODULE_NAME}-itc -Summary: Native API Integration TC (%{name}) -Version: 0.1 -Release: 0 -Group: Development/Tools -License: Apache-2.0 -Source0: %{name}-%{version}.tar.gz -BuildRequires: pkgconfig(%{MODULE_LIBNAME}) -BuildRequires: pkgconfig(capi-appfw-application) -BuildRequires: pkgconfig(elementary) -BuildRequires: pkgconfig(dlog) -BuildRequires: pkgconfig(glib-2.0) -BuildRequires: cmake -BuildRequires: pkgconfig(bundle) -BuildRequires: pkgconfig(capi-system-info) - -%description -Native API Integration 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="itc" -DDEVICE_BUILD_TYPE="mobile" -DASANBUILD="true" -DCMAKE_INSTALL_PREFIX=%{_prefix} - %endif - %if %{?DEVICE_BUILD_TYPE_WEARABLE:1}0 - cmake . -DMODULE="%{MODULE_NAME}" -DBUILDTCTYPE="itc" -DDEVICE_BUILD_TYPE="wearable" -DASANBUILD="true" -DCMAKE_INSTALL_PREFIX=%{_prefix} - %endif - %if %{?DEVICE_BUILD_TYPE_TV:1}0 - cmake . -DMODULE="%{MODULE_NAME}" -DBUILDTCTYPE="itc" -DDEVICE_BUILD_TYPE="tv" -DASANBUILD="true" -DCMAKE_INSTALL_PREFIX=%{_prefix} - %endif - %if %{?DEVICE_BUILD_TYPE_TIZENIOT:1}0 - cmake . -DMODULE="%{MODULE_NAME}" -DBUILDTCTYPE="itc" -DDEVICE_BUILD_TYPE="tizeniot" -DASANBUILD="true" -DCMAKE_INSTALL_PREFIX=%{_prefix} - %endif -%else - %if %{?DEVICE_BUILD_TYPE_MOBILE:1}0 - cmake . -DMODULE="%{MODULE_NAME}" -DBUILDTCTYPE="itc" -DDEVICE_BUILD_TYPE="mobile" -DASANBUILD="false" -DCMAKE_INSTALL_PREFIX=%{_prefix} - %endif - %if %{?DEVICE_BUILD_TYPE_WEARABLE:1}0 - cmake . -DMODULE="%{MODULE_NAME}" -DBUILDTCTYPE="itc" -DDEVICE_BUILD_TYPE="wearable" -DASANBUILD="false" -DCMAKE_INSTALL_PREFIX=%{_prefix} - %endif - %if %{?DEVICE_BUILD_TYPE_TV:1}0 - cmake . -DMODULE="%{MODULE_NAME}" -DBUILDTCTYPE="itc" -DDEVICE_BUILD_TYPE="tv" -DASANBUILD="false" -DCMAKE_INSTALL_PREFIX=%{_prefix} - %endif - %if %{?DEVICE_BUILD_TYPE_TIZENIOT:1}0 - cmake . -DMODULE="%{MODULE_NAME}" -DBUILDTCTYPE="itc" -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}/usr/share/packages/ -cp packaging/itc/native-%{MODULE_NAME}-itc.xml %{buildroot}/usr/share/packages/ -mkdir -p %{buildroot}%{APP_PATH}%{name}/bin -#cp templates/external_wrapper.sh %{buildroot}%{APP_PATH}%{name}/bin -%post - -%postun - - -%files -%{APP_PATH}%{name}/* -/usr/share/packages/native-%{MODULE_NAME}-itc.xml -/usr/share/license/%{name} diff --git a/packaging/itc/native-fido-client-itc.xml b/packaging/itc/native-fido-client-itc.xml deleted file mode 100755 index b77a27541..000000000 --- a/packaging/itc/native-fido-client-itc.xml +++ /dev/null @@ -1,17 +0,0 @@ - - - - test - Native API test Application - - - - - - - - - - http://tizen.org/privilege/fido.client - - diff --git a/scripts_tpk/tizeniot_service_modules.txt b/scripts_tpk/tizeniot_service_modules.txt index f7cf5d1e2..ec0a39986 100755 --- a/scripts_tpk/tizeniot_service_modules.txt +++ b/scripts_tpk/tizeniot_service_modules.txt @@ -17,7 +17,6 @@ data-control device dlog email -fido-client geofence-manager http image-util diff --git a/src/itc/fido-client/CMakeLists.txt b/src/itc/fido-client/CMakeLists.txt deleted file mode 100755 index 98abf4f6a..000000000 --- a/src/itc/fido-client/CMakeLists.txt +++ /dev/null @@ -1,42 +0,0 @@ -SET(PKG_NAME "fido-client") - -SET(EXEC_NAME "tct-${PKG_NAME}-native") -SET(RPM_NAME "native-${PKG_NAME}-itc") - -SET(CAPI_LIB "fido-client") -SET(TC_SOURCES - ITs-fido-client-common.c - ITs-fido-client.c -) - -PKG_CHECK_MODULES(${CAPI_LIB} REQUIRED - ${CAPI_LIB} - capi-appfw-application - bundle - glib-2.0 - capi-system-info - dlog - -) - -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() diff --git a/src/itc/fido-client/ITs-fido-client-common.c b/src/itc/fido-client/ITs-fido-client-common.c deleted file mode 100755 index f19f6f1aa..000000000 --- a/src/itc/fido-client/ITs-fido-client-common.c +++ /dev/null @@ -1,57 +0,0 @@ -// -// 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 "ITs-fido-client-common.h" - -/** @addtogroup itc-fido-client -* @ingroup itc -* @{ -*/ - -//Add helper function definitions here - -/** -* @function FidoClientGetError -* @description Maps error enums to string values -* @parameter nRet : error code returned -* @return error string -*/ -char* FidoClientGetError(int nRet) -{ - char *szErrorVal = NULL; - switch ( nRet ) - { - case FIDO_ERROR_NONE: szErrorVal = "FIDO_ERROR_NONE"; break; - case FIDO_ERROR_OUT_OF_MEMORY: szErrorVal = "FIDO_ERROR_OUT_OF_MEMORY"; break; - case FIDO_ERROR_INVALID_PARAMETER: szErrorVal = "FIDO_ERROR_INVALID_PARAMETER"; break; - case FIDO_ERROR_PERMISSION_DENIED: szErrorVal = "FIDO_ERROR_PERMISSION_DENIED"; break; - case FIDO_ERROR_NOT_SUPPORTED: szErrorVal = "FIDO_ERROR_NOT_SUPPORTED"; break; - default: szErrorVal = "Unknown Error"; break; - } - return szErrorVal; -} -/** -* @function TimeoutFunction -* @description Called if some callback is not invoked for a particular timeout -* @parameter gpointer data -* @return gboolean -*/ -gboolean TimeoutFunction(gpointer data) -{ - g_main_loop_quit((GMainLoop *)data); - return false; -} - -/** @} */ \ No newline at end of file diff --git a/src/itc/fido-client/ITs-fido-client-common.h b/src/itc/fido-client/ITs-fido-client-common.h deleted file mode 100755 index fb4a56bd4..000000000 --- a/src/itc/fido-client/ITs-fido-client-common.h +++ /dev/null @@ -1,107 +0,0 @@ -// -// 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 _ITS_FIDO_CLIENT_COMMON_H_ -#define _ITS_FIDO_CLIENT_COMMON_H_ - -//Add test package related includes here -#include "tct_common.h" -#include "fido_uaf_types.h" -#include -#include "fido_uaf_authenticator.h" -#include "fido_uaf_client.h" -//#include "fido_uaf_version.h" - - - -bool g_bFidoClientCreation; -GMainLoop *g_pMainLoop; -bool g_bFidoClientNotSupported; - gboolean TimeoutFunction(gpointer data); - - - -#define API_NAMESPACE "FIDOCLIENT_ITC" -#define FIDOCLIENT_FEATURE "http://tizen.org/feature/fido.uaf" -#define GMAINTIMEOUT 10000 -#define NUM_GET_TC_TYPE 14 - - - -/** @addtogroup itc-%{MODULE_NAME} -* @ingroup itc -* @{ -*/ -#define START_TEST {\ - FPRINTF("[Line : %d][%s] Starting test : %s\\n", __LINE__, API_NAMESPACE, __FUNCTION__);\ - if ( g_bFidoClientNotSupported )\ - {\ - FPRINTF("[Line : %d][%s] Fidoclient feature not supported, Leaving test\\n", __LINE__, API_NAMESPACE);\ - return 0;\ - }\ - if ( !g_bFidoClientCreation )\ - {\ - FPRINTF("[Line : %d][%s] Precondition of bundle create failed so leaving test\\n", __LINE__, API_NAMESPACE);\ - return 1;\ - }\ -} - -#define RUN_POLLING_LOOP {\ - g_pMainLoop = g_main_loop_new(NULL, false);\ - nTimeoutId = g_timeout_add(GMAINTIMEOUT, TimeoutFunction, g_pMainLoop);\ - g_main_loop_run(g_pMainLoop);\ - g_source_remove(nTimeoutId);\ - g_pMainLoop = NULL;\ -} - -typedef enum -{ - TITLE = 0, - AAID, - DESCRIPTION, - SCHEME, - ALGORITHM, - VERIFICATION_METHOD, - KEY_PROTECTION, - ATTACHMENT_HINT, - IS_SECOND_FACTOR, - TC_DISPLAY_TYPE, - TC_DISPLAY, - ICON, - MATCHER_PROTECTION_METHOD, - ATTESTATION, - MAX_ENUM -}GET_TC_TYPE; - -typedef struct key_value -{ - GET_TC_TYPE e_Get_TC_Type; - bool bResult; -}KEY_VALUE; - -KEY_VALUE stArr_Key_Value[NUM_GET_TC_TYPE]; - -//Add helper function declarations here -/** -* @function BundleGetError -* @description Maps error enums to string values -* @parameter nRet : error code returned -* @return error string -*/ -char* FidoClientGetError(int nRet); - - -/** @} */ -#endif //_ITS_FIDO_CLIENT_COMMON_H_ diff --git a/src/itc/fido-client/ITs-fido-client.c b/src/itc/fido-client/ITs-fido-client.c deleted file mode 100755 index c16ebbcbd..000000000 --- a/src/itc/fido-client/ITs-fido-client.c +++ /dev/null @@ -1,1299 +0,0 @@ -// -// 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 "ITs-fido-client-common.h" - -//& set: FidoClient -bool g_bCheckCb = false; -bool g_bAttestationCb = false; -bool g_bAuthHandle = false; -bool g_bmsgCheckCb = false; -static char *g_pjson_reg = "[ { \"header\": { \"upv\": { \"major\": 1, \"minor\": 0 },\"op\":\"Reg\", \"serverData\": \"nwV8EPqS5raZdAgH3GD9Z-ytCA9MkiiWaCsr1GHHNJ2yUh3HaV1HHxd4Z67FefJOD5sQYZvipfg5BavhdWPMecD2SH39aJixoXN9ZaNwRlcftJe9WbtPNDC9q5V9WX7Z5jCwkAwehcI\" }, \"challenge\": \"9pIcUwwrY5eD9o3OwfhkeHLnoIl0vaeJUbxSHMe_XgE\", \"username\":\"ryan\", \"policy\": { \"accepted\": [ [ { \"aaid\": [ \"0001#8001\" ] } ], [ { \"aaid\": [ \"53EC#3101\" ] } ] ] } } ]"; -#define JSON_INVALID_STRING "\{\"improperjson\": []}" -/** @addtogroup itc-fido-client -* @ingroup itc -* @{ -*/ - -GET_TC_TYPE g_eGet_TC_Type = TITLE; - - -/** -* @function fido_client_attestation_type_cb_p -* @description Callback Function -* @parameter void *fido_auth_attestation_type_e, void *user_data -* @return NA -*/ -void fido_client_attestation_type_cb_p(fido_auth_attestation_type_e att_type, void *user_data) -{ - char *pszAtt = (char *) user_data; - - FPRINTF("[Line : %d][%s] reached inside fido_client_attestation_type_cb_p callback\\n", __LINE__, API_NAMESPACE); - if ( strcmp(pszAtt,"DISCOVER RESPONSE") != 0 ) - { - FPRINTF("[Line : %d][%s] value mismatch \\n", __LINE__, API_NAMESPACE); - if ( g_pMainLoop ) - { - g_main_loop_quit(g_pMainLoop); - } - return; - } - g_bAttestationCb = true; - if ( g_pMainLoop ) - { - g_main_loop_quit(g_pMainLoop); - } -} - -/** -* @function fido_client_auth_list_cb_p -* @description Callback Functionchar *pszTitle = NULL; -* @parameter void const fido_authenticator_h auth, void *user_data -* @return NA -*/ -static void fido_client_auth_list_cb_p(const fido_authenticator_h auth, void *user_data) -{ - int nRet=0; - char *pszTitle = NULL; - char *pszAaid = NULL; - char *pszDescription = NULL; - char *pszScheme = NULL; - fido_auth_algo_e get_algo = -1; - fido_auth_user_verify_type_e user_ver = -1; - fido_auth_key_protection_type_e key_protection = -1; - fido_auth_attachment_hint_e attachment_hint = -1; - char *pszTc_Display_type = NULL; - fido_auth_tc_display_type_e tc_discplay = -1; - char *pszIcon = NULL; - fido_auth_matcher_protection_type_e matcher_protection = -1; - - const char *pszAttStr = "DISCOVER RESPONSE"; - - if ( auth == NULL ) - { - FPRINTF("[Line : %d][%s] Callback fido_client_auth_list_cb invoked auth == NULL \\n", __LINE__, API_NAMESPACE); - g_bAuthHandle = false; - return; - } - g_bAuthHandle = true; - - g_bCheckCb = true; - g_bAttestationCb = false; - - FPRINTF("[Line : %d][%s] reached fido_client_auth_list_cb callback\\n", __LINE__, API_NAMESPACE); - - //check result - int i=0; - for(i=0; i -#include -#include "tct_common.h" - -#ifdef MOBILE //Starts MOBILE -#include "tct-fido-client-native_mobile.h" -#endif //MOBILE //End MOBILE - -#ifdef WEARABLE //Starts WEARABLE -#include "tct-fido-client-native_wearable.h" -#endif //WEARABLE //End WEARABLE - -#ifdef TV //Starts TV -#include "tct-fido-client-native_tv.h" -#endif //TV //End TV - -#ifdef TIZENIOT //Starts TIZENIOT -#include "tct-fido-client-native_tizeniot.h" -#endif //TIZENIOT //End TIZENIOT - - -#include -#include -#include -#include -#include -#include -#include - -#include -#include - -#include -#include -#include -#include - -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)) ) - { - dlog_print(DLOG_INFO, "NativeTCT", "%s : Startup begin", pszGetTCName); - if ( tc_array[i].startup ) - { - tc_array[i].startup(); - } - dlog_print(DLOG_INFO, "NativeTCT", "%s : Startup end", pszGetTCName); - - dlog_print(DLOG_INFO, "NativeTCT", "%s : Body begin", pszGetTCName); - result = tc_array[i].function(); - dlog_print(DLOG_INFO, "NativeTCT", "%s returns value = %d", pszGetTCName, result); - dlog_print(DLOG_INFO, "NativeTCT", "%s : Body end", pszGetTCName); - - dlog_print(DLOG_INFO, "NativeTCT", "%s : Cleanup begin", pszGetTCName); - if ( tc_array[i].cleanup ) - { - tc_array[i].cleanup(); - } - dlog_print(DLOG_INFO, "NativeTCT", "%s : Cleanup end", pszGetTCName); - 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; - - 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, NULL); - if (ret != APP_ERROR_NONE) - { - dlog_print(DLOG_ERROR, "NativeTCT", "Application ui_app_main call gets failed. err = %d", ret); - PRINT_UTC_LOG("\\n[%s][Line : %d]Application ui_app_main call gets failed. err = %d\\n", __FILE__, __LINE__, ret); - PRINT_TC_RESULT("%d",1); - return ret; - } - - dlog_print(DLOG_INFO, "NativeTCT", "[%s:%d] Application Package is Terminated", __FUNCTION__, __LINE__); - return ret; -} diff --git a/src/itc/fido-client/tct-fido-client-native_mobile.h b/src/itc/fido-client/tct-fido-client-native_mobile.h deleted file mode 100755 index a7d8d17bd..000000000 --- a/src/itc/fido-client/tct-fido-client-native_mobile.h +++ /dev/null @@ -1,70 +0,0 @@ -// -// 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_FIDO-CLIENT-NATIVE_H__ -#define __TCT_FIDO-CLIENT-NATIVE_H__ - -#include "testcase.h" -#include "tct_common.h" - -extern void ITs_fido_client_startup(void); -extern void ITs_fido_client_cleanup(void); - -extern int ITc_fido_foreach_authenticator_p(void); -extern int ITc_fidoclient_fido_authenticator_getTitle_p(void); -extern int ITc_fido_authenticator_get_aaid_p(void); -extern int ITc_fidoclient_fido_authenticator_getdescription_p(void); -extern int ITc_fidoclient_fido_authenticator_getscheme_p(void); -extern int ITc_fidoclient_fido_authenticator_getalgorithm_p(void); -extern int ITc_fido_authenticator_foreach_attestation_type_p(void); -extern int ITc_fido_authenticator_get_verification_method_p(void); -extern int ITc_fido_authenticator_get_key_protection_method_p(void); -extern int ITc_fido_authenticator_get_attachment_hint_p(void); -extern int ITc_fido_authenticator_get_is_second_factor_only_p(void); -extern int ITc_fido_authenticator_get_tc_display_type_p(void); -extern int ITc_fido_authenticator_get_tc_discplay_p(void); -extern int ITc_fido_authenticator_get_icon_p(void); -extern int ITc_fido_get_client_vendor_p(void); -extern int ITc_fido_get_client_version_p(void); -extern int ITc_fido_uaf_is_supported_p(void); -extern int ITc_fido_uaf_get_response_message_p(void); -extern int ITc_fido_uaf_set_server_result_p(void); -extern int ITc_fido_authenticator_get_matcher_protection_method_p(void); - -testcase tc_array[] = { - {"ITc_fido_foreach_authenticator_p",ITc_fido_foreach_authenticator_p,ITs_fido_client_startup,ITs_fido_client_cleanup}, - {"ITc_fidoclient_fido_authenticator_getTitle_p",ITc_fidoclient_fido_authenticator_getTitle_p,ITs_fido_client_startup,ITs_fido_client_cleanup}, - {"ITc_fido_authenticator_get_aaid_p",ITc_fido_authenticator_get_aaid_p,ITs_fido_client_startup,ITs_fido_client_cleanup}, - {"ITc_fidoclient_fido_authenticator_getdescription_p",ITc_fidoclient_fido_authenticator_getdescription_p,ITs_fido_client_startup,ITs_fido_client_cleanup}, - {"ITc_fidoclient_fido_authenticator_getscheme_p",ITc_fidoclient_fido_authenticator_getscheme_p,ITs_fido_client_startup,ITs_fido_client_cleanup}, - {"ITc_fidoclient_fido_authenticator_getalgorithm_p",ITc_fidoclient_fido_authenticator_getalgorithm_p,ITs_fido_client_startup,ITs_fido_client_cleanup}, - {"ITc_fido_authenticator_foreach_attestation_type_p",ITc_fido_authenticator_foreach_attestation_type_p,ITs_fido_client_startup,ITs_fido_client_cleanup}, - {"ITc_fido_authenticator_get_verification_method_p",ITc_fido_authenticator_get_verification_method_p,ITs_fido_client_startup,ITs_fido_client_cleanup}, - {"ITc_fido_authenticator_get_key_protection_method_p",ITc_fido_authenticator_get_key_protection_method_p,ITs_fido_client_startup,ITs_fido_client_cleanup}, - {"ITc_fido_authenticator_get_attachment_hint_p",ITc_fido_authenticator_get_attachment_hint_p,ITs_fido_client_startup,ITs_fido_client_cleanup}, - {"ITc_fido_authenticator_get_is_second_factor_only_p",ITc_fido_authenticator_get_is_second_factor_only_p,ITs_fido_client_startup,ITs_fido_client_cleanup}, - {"ITc_fido_authenticator_get_tc_display_type_p",ITc_fido_authenticator_get_tc_display_type_p,ITs_fido_client_startup,ITs_fido_client_cleanup}, - {"ITc_fido_authenticator_get_tc_discplay_p",ITc_fido_authenticator_get_tc_discplay_p,ITs_fido_client_startup,ITs_fido_client_cleanup}, - {"ITc_fido_authenticator_get_icon_p",ITc_fido_authenticator_get_icon_p,ITs_fido_client_startup,ITs_fido_client_cleanup}, - {"ITc_fido_get_client_vendor_p",ITc_fido_get_client_vendor_p,ITs_fido_client_startup,ITs_fido_client_cleanup}, - {"ITc_fido_get_client_version_p",ITc_fido_get_client_version_p,ITs_fido_client_startup,ITs_fido_client_cleanup}, - {"ITc_fido_uaf_is_supported_p",ITc_fido_uaf_is_supported_p,ITs_fido_client_startup,ITs_fido_client_cleanup}, - {"ITc_fido_uaf_get_response_message_p",ITc_fido_uaf_get_response_message_p,ITs_fido_client_startup,ITs_fido_client_cleanup}, - {"ITc_fido_uaf_set_server_result_p",ITc_fido_uaf_set_server_result_p,ITs_fido_client_startup,ITs_fido_client_cleanup}, - {"ITc_fido_authenticator_get_matcher_protection_method_p",ITc_fido_authenticator_get_matcher_protection_method_p,ITs_fido_client_startup,ITs_fido_client_cleanup}, - {NULL, NULL} -}; - -#endif // __TCT_FIDO-CLIENT-NATIVE_H__ diff --git a/src/itc/fido-client/tct-fido-client-native_tizeniot.h b/src/itc/fido-client/tct-fido-client-native_tizeniot.h deleted file mode 100755 index a7d8d17bd..000000000 --- a/src/itc/fido-client/tct-fido-client-native_tizeniot.h +++ /dev/null @@ -1,70 +0,0 @@ -// -// 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_FIDO-CLIENT-NATIVE_H__ -#define __TCT_FIDO-CLIENT-NATIVE_H__ - -#include "testcase.h" -#include "tct_common.h" - -extern void ITs_fido_client_startup(void); -extern void ITs_fido_client_cleanup(void); - -extern int ITc_fido_foreach_authenticator_p(void); -extern int ITc_fidoclient_fido_authenticator_getTitle_p(void); -extern int ITc_fido_authenticator_get_aaid_p(void); -extern int ITc_fidoclient_fido_authenticator_getdescription_p(void); -extern int ITc_fidoclient_fido_authenticator_getscheme_p(void); -extern int ITc_fidoclient_fido_authenticator_getalgorithm_p(void); -extern int ITc_fido_authenticator_foreach_attestation_type_p(void); -extern int ITc_fido_authenticator_get_verification_method_p(void); -extern int ITc_fido_authenticator_get_key_protection_method_p(void); -extern int ITc_fido_authenticator_get_attachment_hint_p(void); -extern int ITc_fido_authenticator_get_is_second_factor_only_p(void); -extern int ITc_fido_authenticator_get_tc_display_type_p(void); -extern int ITc_fido_authenticator_get_tc_discplay_p(void); -extern int ITc_fido_authenticator_get_icon_p(void); -extern int ITc_fido_get_client_vendor_p(void); -extern int ITc_fido_get_client_version_p(void); -extern int ITc_fido_uaf_is_supported_p(void); -extern int ITc_fido_uaf_get_response_message_p(void); -extern int ITc_fido_uaf_set_server_result_p(void); -extern int ITc_fido_authenticator_get_matcher_protection_method_p(void); - -testcase tc_array[] = { - {"ITc_fido_foreach_authenticator_p",ITc_fido_foreach_authenticator_p,ITs_fido_client_startup,ITs_fido_client_cleanup}, - {"ITc_fidoclient_fido_authenticator_getTitle_p",ITc_fidoclient_fido_authenticator_getTitle_p,ITs_fido_client_startup,ITs_fido_client_cleanup}, - {"ITc_fido_authenticator_get_aaid_p",ITc_fido_authenticator_get_aaid_p,ITs_fido_client_startup,ITs_fido_client_cleanup}, - {"ITc_fidoclient_fido_authenticator_getdescription_p",ITc_fidoclient_fido_authenticator_getdescription_p,ITs_fido_client_startup,ITs_fido_client_cleanup}, - {"ITc_fidoclient_fido_authenticator_getscheme_p",ITc_fidoclient_fido_authenticator_getscheme_p,ITs_fido_client_startup,ITs_fido_client_cleanup}, - {"ITc_fidoclient_fido_authenticator_getalgorithm_p",ITc_fidoclient_fido_authenticator_getalgorithm_p,ITs_fido_client_startup,ITs_fido_client_cleanup}, - {"ITc_fido_authenticator_foreach_attestation_type_p",ITc_fido_authenticator_foreach_attestation_type_p,ITs_fido_client_startup,ITs_fido_client_cleanup}, - {"ITc_fido_authenticator_get_verification_method_p",ITc_fido_authenticator_get_verification_method_p,ITs_fido_client_startup,ITs_fido_client_cleanup}, - {"ITc_fido_authenticator_get_key_protection_method_p",ITc_fido_authenticator_get_key_protection_method_p,ITs_fido_client_startup,ITs_fido_client_cleanup}, - {"ITc_fido_authenticator_get_attachment_hint_p",ITc_fido_authenticator_get_attachment_hint_p,ITs_fido_client_startup,ITs_fido_client_cleanup}, - {"ITc_fido_authenticator_get_is_second_factor_only_p",ITc_fido_authenticator_get_is_second_factor_only_p,ITs_fido_client_startup,ITs_fido_client_cleanup}, - {"ITc_fido_authenticator_get_tc_display_type_p",ITc_fido_authenticator_get_tc_display_type_p,ITs_fido_client_startup,ITs_fido_client_cleanup}, - {"ITc_fido_authenticator_get_tc_discplay_p",ITc_fido_authenticator_get_tc_discplay_p,ITs_fido_client_startup,ITs_fido_client_cleanup}, - {"ITc_fido_authenticator_get_icon_p",ITc_fido_authenticator_get_icon_p,ITs_fido_client_startup,ITs_fido_client_cleanup}, - {"ITc_fido_get_client_vendor_p",ITc_fido_get_client_vendor_p,ITs_fido_client_startup,ITs_fido_client_cleanup}, - {"ITc_fido_get_client_version_p",ITc_fido_get_client_version_p,ITs_fido_client_startup,ITs_fido_client_cleanup}, - {"ITc_fido_uaf_is_supported_p",ITc_fido_uaf_is_supported_p,ITs_fido_client_startup,ITs_fido_client_cleanup}, - {"ITc_fido_uaf_get_response_message_p",ITc_fido_uaf_get_response_message_p,ITs_fido_client_startup,ITs_fido_client_cleanup}, - {"ITc_fido_uaf_set_server_result_p",ITc_fido_uaf_set_server_result_p,ITs_fido_client_startup,ITs_fido_client_cleanup}, - {"ITc_fido_authenticator_get_matcher_protection_method_p",ITc_fido_authenticator_get_matcher_protection_method_p,ITs_fido_client_startup,ITs_fido_client_cleanup}, - {NULL, NULL} -}; - -#endif // __TCT_FIDO-CLIENT-NATIVE_H__ diff --git a/src/itc/fido-client/tct-fido-client-native_wearable.h b/src/itc/fido-client/tct-fido-client-native_wearable.h deleted file mode 100755 index 4d5964d43..000000000 --- a/src/itc/fido-client/tct-fido-client-native_wearable.h +++ /dev/null @@ -1,68 +0,0 @@ -// -// 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_FIDO-CLIENT-NATIVE_H__ -#define __TCT_FIDO-CLIENT-NATIVE_H__ - -#include "testcase.h" -#include "tct_common.h" - -extern void ITs_fido_client_startup(void); -extern void ITs_fido_client_cleanup(void); - -extern int ITc_fido_foreach_authenticator_p(void); -extern int ITc_fidoclient_fido_authenticator_getTitle_p(void); -extern int ITc_fido_authenticator_get_aaid_p(void); -extern int ITc_fidoclient_fido_authenticator_getdescription_p(void); -extern int ITc_fidoclient_fido_authenticator_getscheme_p(void); -extern int ITc_fidoclient_fido_authenticator_getalgorithm_p(void); -extern int ITc_fido_authenticator_foreach_attestation_type_p(void); -extern int ITc_fido_authenticator_get_verification_method_p(void); -extern int ITc_fido_authenticator_get_key_protection_method_p(void); -extern int ITc_fido_authenticator_get_attachment_hint_p(void); -extern int ITc_fido_authenticator_get_is_second_factor_only_p(void); -extern int ITc_fido_authenticator_get_tc_display_type_p(void); -extern int ITc_fido_authenticator_get_tc_discplay_p(void); -extern int ITc_fido_authenticator_get_icon_p(void); -extern int ITc_fido_get_client_vendor_p(void); -extern int ITc_fido_get_client_version_p(void); -extern int ITc_fido_uaf_is_supported_p(void); -extern int ITc_fido_uaf_get_response_message_p(void); -extern int ITc_fido_uaf_set_server_result_p(void); - -testcase tc_array[] = { - {"ITc_fido_foreach_authenticator_p",ITc_fido_foreach_authenticator_p,ITs_fido_client_startup,ITs_fido_client_cleanup}, - {"ITc_fidoclient_fido_authenticator_getTitle_p",ITc_fidoclient_fido_authenticator_getTitle_p,ITs_fido_client_startup,ITs_fido_client_cleanup}, - {"ITc_fido_authenticator_get_aaid_p",ITc_fido_authenticator_get_aaid_p,ITs_fido_client_startup,ITs_fido_client_cleanup}, - {"ITc_fidoclient_fido_authenticator_getdescription_p",ITc_fidoclient_fido_authenticator_getdescription_p,ITs_fido_client_startup,ITs_fido_client_cleanup}, - {"ITc_fidoclient_fido_authenticator_getscheme_p",ITc_fidoclient_fido_authenticator_getscheme_p,ITs_fido_client_startup,ITs_fido_client_cleanup}, - {"ITc_fidoclient_fido_authenticator_getalgorithm_p",ITc_fidoclient_fido_authenticator_getalgorithm_p,ITs_fido_client_startup,ITs_fido_client_cleanup}, - {"ITc_fido_authenticator_foreach_attestation_type_p",ITc_fido_authenticator_foreach_attestation_type_p,ITs_fido_client_startup,ITs_fido_client_cleanup}, - {"ITc_fido_authenticator_get_verification_method_p",ITc_fido_authenticator_get_verification_method_p,ITs_fido_client_startup,ITs_fido_client_cleanup}, - {"ITc_fido_authenticator_get_key_protection_method_p",ITc_fido_authenticator_get_key_protection_method_p,ITs_fido_client_startup,ITs_fido_client_cleanup}, - {"ITc_fido_authenticator_get_attachment_hint_p",ITc_fido_authenticator_get_attachment_hint_p,ITs_fido_client_startup,ITs_fido_client_cleanup}, - {"ITc_fido_authenticator_get_is_second_factor_only_p",ITc_fido_authenticator_get_is_second_factor_only_p,ITs_fido_client_startup,ITs_fido_client_cleanup}, - {"ITc_fido_authenticator_get_tc_display_type_p",ITc_fido_authenticator_get_tc_display_type_p,ITs_fido_client_startup,ITs_fido_client_cleanup}, - {"ITc_fido_authenticator_get_tc_discplay_p",ITc_fido_authenticator_get_tc_discplay_p,ITs_fido_client_startup,ITs_fido_client_cleanup}, - {"ITc_fido_authenticator_get_icon_p",ITc_fido_authenticator_get_icon_p,ITs_fido_client_startup,ITs_fido_client_cleanup}, - {"ITc_fido_get_client_vendor_p",ITc_fido_get_client_vendor_p,ITs_fido_client_startup,ITs_fido_client_cleanup}, - {"ITc_fido_get_client_version_p",ITc_fido_get_client_version_p,ITs_fido_client_startup,ITs_fido_client_cleanup}, - {"ITc_fido_uaf_is_supported_p",ITc_fido_uaf_is_supported_p,ITs_fido_client_startup,ITs_fido_client_cleanup}, - {"ITc_fido_uaf_get_response_message_p",ITc_fido_uaf_get_response_message_p,ITs_fido_client_startup,ITs_fido_client_cleanup}, - {"ITc_fido_uaf_set_server_result_p",ITc_fido_uaf_set_server_result_p,ITs_fido_client_startup,ITs_fido_client_cleanup}, - {NULL, NULL} -}; - -#endif // __TCT_FIDO-CLIENT-NATIVE_H__ diff --git a/tct_unsupported.txt b/tct_unsupported.txt index 6ce3495ff..52e4d7dc6 100755 --- a/tct_unsupported.txt +++ b/tct_unsupported.txt @@ -297,7 +297,6 @@ tv:armv7l:itc:messages; tv:armv7l:itc:context; tv:armv7l:itc:sync-manager; tv:armv7l:itc:oauth2; -tv:armv7l:itc:fido-client; tv:armv7l:itc:calendar-service2; tv:armv7l:itc:capi-network-softap; tv:armv7l:itc:stc;