${${CAPI_LIB}_INCLUDE_DIRS}
)
-ADD_EXECUTABLE(${EXEC_NAME} tct-${PKG_NAME}-native.c ${TC_SOURCES} ${COMMON_FILE})
+ADD_EXECUTABLE(${EXEC_NAME} tct-${PKG_NAME}-native.c ${TC_SOURCES} ${COMMON_FILE} ${COMMON_APP_FILE})
TARGET_LINK_LIBRARIES(${EXEC_NAME}
${${CAPI_LIB}_LIBRARIES}
bundle
*/
void CTs_platform_permission_accountsvc_startup(void)
{
+ TCT_CheckInstalledApp(5, TPK1, TPK2, TPK3, TPK4, TPK5);
struct stat stBuff;
int nRet = account_create(&g_account);
if ( nRet != ACCOUNT_ERROR_NONE )
#if DEBUG
FPRINTF("[Line : %d][%s] TEST SUIT start-up: CTs_Platform_Permission_p\\n", __LINE__, API_NAMESPACE);
#endif
+ TCT_CheckInstalledApp(5, TPK1, TPK2, TPK3, TPK4, TPK5);
}
/**
#if DEBUG
FPRINTF("[Line : %d][%s] TEST SUIT start-up: CTs_platform_permission_Application_p\\n", __LINE__, API_NAMESPACE);
#endif
+ TCT_CheckInstalledApp(5, TPK1, TPK2, TPK3, TPK4, TPK5);
}
/**
*/
void CTs_platform_permission_Attach_Panel_startup(void)
{
+ TCT_CheckInstalledApp(5, TPK1, TPK2, TPK3, TPK4, TPK5);
struct stat stBuff;
if ( stat(ERR_LOG, &stBuff) == 0 )
{
#if DEBUG
FPRINTF("[Line : %d][%s] TEST SUIT start-up: CTs_Platform_Permission_p\\n", __LINE__, API_NAMESPACE);
#endif
+ TCT_CheckInstalledApp(5, TPK1, TPK2, TPK3, TPK4, TPK5);
}
/**
#if DEBUG
FPRINTF("[Line : %d][%s] TEST SUIT start-up: CTs_Platform_Permission_p\\n", __LINE__, API_NAMESPACE);
#endif
+ TCT_CheckInstalledApp(5, TPK1, TPK2, TPK3, TPK4, TPK5);
}
/**
#if DEBUG
FPRINTF("[Line : %d][%s] TEST SUIT start-up: CTs_platform_permission_bluetooth_startup\\n", __LINE__, API_NAMESPACE);
#endif
+ TCT_CheckInstalledApp(5, TPK1, TPK2, TPK3, TPK4, TPK5);
}
/**
FPRINTF("[Line : %d][%s] TEST SUIT start-up: CTs_platform_permission_CalendarService_p\\n", __LINE__, API_NAMESPACE);\r
#endif\r
\r
+ TCT_CheckInstalledApp(5, TPK1, TPK2, TPK3, TPK4, TPK5);\r
int nRet = calendar_connect();\r
if ( nRet != CALENDAR_ERROR_NONE )\r
{\r
#if DEBUG
FPRINTF("[Line : %d][%s] TEST SUIT start-up: CTs_Platform_Permission_p\\n", __LINE__, API_NAMESPACE);
#endif
+ TCT_CheckInstalledApp(5, TPK1, TPK2, TPK3, TPK4, TPK5);
}
/**
//Add test package related includes here
#include "tct_common.h"
+#include "tct_app_common.h"
+
#include <runtime_info.h>
#include <locations.h>
#include <bluetooth.h>
#define FEATURE_NETWORK_WIFI "http://tizen.org/feature/network.wifi"
#define FEATURE_NETWORK_WIFI_TDLS "http://tizen.org/feature/network.wifi.tdls"
+#define TPK1 "native-testapp-itc"
+#define TPK2 "org.tizen.appmanagertestfile"
+#define TPK3 "org.tizen.datacontrolprovider"
+#define TPK4 "org.tizen.helloworld"
+#define TPK5 "org.tizen.testapplication"
+
#define START_TEST {\
FPRINTF("[Line : %d][%s] Starting test : %s\\n", __LINE__, API_NAMESPACE, __FUNCTION__);\
}
#if DEBUG
FPRINTF("[Line : %d][%s] TEST SUIT start-up: CTs_Platform_Permission_p\\n", __LINE__, API_NAMESPACE);
#endif
+ TCT_CheckInstalledApp(5, TPK1, TPK2, TPK3, TPK4, TPK5);
}
/**
\r
#if DEBUG\r
FPRINTF("[Line : %d][%s] TEST SUIT start-up: CTs_platform_permission_ContactsService_p\\n", __LINE__, API_NAMESPACE);\r
-#endif \r
+#endif\r
\r
+ TCT_CheckInstalledApp(5, TPK1, TPK2, TPK3, TPK4, TPK5);\r
g_bIsConnected = false;\r
if ( ContactsServiceConnect() == true )\r
{\r
#if DEBUG
FPRINTF("[Line : %d][%s] TEST SUIT start-up: CTs_Platform_Permission_p\\n", __LINE__, API_NAMESPACE);
#endif
+ TCT_CheckInstalledApp(5, TPK1, TPK2, TPK3, TPK4, TPK5);
}
/**
#if DEBUG
FPRINTF("[Line : %d][%s] TEST SUIT start-up: CTs_Platform_Permission_p\\n", __LINE__, API_NAMESPACE);
#endif
+ TCT_CheckInstalledApp(5, TPK1, TPK2, TPK3, TPK4, TPK5);
}
/**
#if DEBUG
FPRINTF("[Line : %d][%s] TEST SUIT start-up: CTs_Platform_Permission_p\\n", __LINE__, API_NAMESPACE);
#endif
+ TCT_CheckInstalledApp(5, TPK1, TPK2, TPK3, TPK4, TPK5);
}
/**
#if DEBUG
FPRINTF("[Line : %d][%s] TEST SUIT start-up: CTs_Platform_Permission_p\\n", __LINE__, API_NAMESPACE);
#endif
+ TCT_CheckInstalledApp(5, TPK1, TPK2, TPK3, TPK4, TPK5);
}
#if DEBUG
FPRINTF("[Line : %d][%s] TEST SUIT start-up: CTs_Platform_Permission_p\\n", __LINE__, API_NAMESPACE);
#endif
+ TCT_CheckInstalledApp(5, TPK1, TPK2, TPK3, TPK4, TPK5);
}
/**
#if DEBUG
FPRINTF("[Line : %d][%s] TEST SUIT start-up: CTs_Platform_Permission_p\\n", __LINE__, API_NAMESPACE);
#endif
+ TCT_CheckInstalledApp(5, TPK1, TPK2, TPK3, TPK4, TPK5);
}
/**
#if DEBUG
FPRINTF("[Line : %d][%s] TEST SUIT start-up: CTs_Platform_Permission_p\\n", __LINE__, API_NAMESPACE);
#endif
+ TCT_CheckInstalledApp(5, TPK1, TPK2, TPK3, TPK4, TPK5);
}
/**
#if DEBUG
FPRINTF("[Line : %d][%s] TEST SUIT start-up: CTs_Platform_Permission_p\\n", __LINE__, API_NAMESPACE);
#endif
+ TCT_CheckInstalledApp(5, TPK1, TPK2, TPK3, TPK4, TPK5);
}
/**
#if DEBUG
FPRINTF("[Line : %d][%s] TEST SUIT start-up: CTs_platform_permission_Libfeedback_p\\n", __LINE__, API_NAMESPACE);
#endif
+ TCT_CheckInstalledApp(5, TPK1, TPK2, TPK3, TPK4, TPK5);
}
/**
#if DEBUG
FPRINTF("[Line : %d][%s] TEST SUIT start-up: CTs_Platform_Permission_p\\n", __LINE__, API_NAMESPACE);
#endif
+ TCT_CheckInstalledApp(5, TPK1, TPK2, TPK3, TPK4, TPK5);
}
/**
#if DEBUG
FPRINTF("[Line : %d][%s] TEST SUIT start-up: CTs_platform_permission_MapsService_p\\n", __LINE__, API_NAMESPACE);
#endif
+ TCT_CheckInstalledApp(5, TPK1, TPK2, TPK3, TPK4, TPK5);
}
/**
FPRINTF("[Line : %d][%s] TEST SUIT start-up: CTs_platform_permission_mediacontent_startup\\n", __LINE__, API_NAMESPACE);
#endif
+ TCT_CheckInstalledApp(5, TPK1, TPK2, TPK3, TPK4, TPK5);
int nRet = media_content_connect();
if ( nRet == MEDIA_CONTENT_ERROR_NONE )
{
#if DEBUG
FPRINTF("[Line : %d][%s] TEST SUIT start-up: CTs_platform_permission_MediaController_p\\n", __LINE__, API_NAMESPACE);
#endif
+ TCT_CheckInstalledApp(5, TPK1, TPK2, TPK3, TPK4, TPK5);
}
/**
{
remove(ERR_LOG);
}
+ TCT_CheckInstalledApp(5, TPK1, TPK2, TPK3, TPK4, TPK5);
storage_foreach_device_supported(storage_device_cb,NULL);
#if DEBUG
FPRINTF("[Line : %d][%s] TEST SUIT start-up: CTs_Platform_Permission_p\\n", __LINE__, API_NAMESPACE);
#endif
+ TCT_CheckInstalledApp(5, TPK1, TPK2, TPK3, TPK4, TPK5);
}
/**
{
remove(ERR_LOG);
}
+ TCT_CheckInstalledApp(5, TPK1, TPK2, TPK3, TPK4, TPK5);
int nRet = nfc_manager_initialize();
if ( nRet != NFC_ERROR_NONE )
{
#if DEBUG
FPRINTF("[Line : %d][%s] TEST SUIT start-up: CTs_platform_permission_notification_startup\\n", __LINE__, API_NAMESPACE);
#endif
+ TCT_CheckInstalledApp(5, TPK1, TPK2, TPK3, TPK4, TPK5);
}
/**
* @function CTs_platform_permission_notification_cleanup
#if DEBUG
FPRINTF("[Line : %d][%s] TEST SUIT start-up: CTs_platform_permission_OAuth2_startup\\n", __LINE__, API_NAMESPACE);
#endif
+ TCT_CheckInstalledApp(5, TPK1, TPK2, TPK3, TPK4, TPK5);
}
/**
#if DEBUG
FPRINTF("[Line : %d][%s] TEST SUIT start-up: CTs_Platform_Permission_p\\n", __LINE__, API_NAMESPACE);
#endif
+ TCT_CheckInstalledApp(5, TPK1, TPK2, TPK3, TPK4, TPK5);
}
/**
{
remove(ERR_LOG);
}
-
+ TCT_CheckInstalledApp(5, TPK1, TPK2, TPK3, TPK4, TPK5);
+
int nRet = phone_number_connect();
if ( nRet != PHONE_NUMBER_ERROR_NONE )
{
#if DEBUG
FPRINTF("[Line : %d][%s] TEST SUIT start-up: CTs_Platform_Permission_p\\n", __LINE__, API_NAMESPACE);
#endif
+ TCT_CheckInstalledApp(5, TPK1, TPK2, TPK3, TPK4, TPK5);
}
/**
#if DEBUG
FPRINTF("[Line : %d][%s] TEST SUIT start-up: CTs_Platform_Permission_p\\n", __LINE__, API_NAMESPACE);
#endif
+ TCT_CheckInstalledApp(5, TPK1, TPK2, TPK3, TPK4, TPK5);
}
/**
#if DEBUG
FPRINTF("[Line : %d][%s] TEST SUIT start-up: CTs_Platform_Permission_p\\n", __LINE__, API_NAMESPACE);
#endif
+ TCT_CheckInstalledApp(5, TPK1, TPK2, TPK3, TPK4, TPK5);
}
/**
#if DEBUG
FPRINTF("[Line : %d][%s] TEST SUIT start-up: CTs_platform_permission_ServiceAdaptorClient_p\\n", __LINE__, API_NAMESPACE);
#endif
-
+ TCT_CheckInstalledApp(5, TPK1, TPK2, TPK3, TPK4, TPK5);
char pszValue[CONFIG_VALUE_LEN_MAX] = {0,};
if ( true == GetValueForTCTSetting("DEVICE_SUITE_TARGET_30", pszValue, API_NAMESPACE ))
{
#if DEBUG
FPRINTF("[Line : %d][%s] TEST SUIT start-up: CTs_Platform_Permission_p\\n", __LINE__, API_NAMESPACE);
#endif
+ TCT_CheckInstalledApp(5, TPK1, TPK2, TPK3, TPK4, TPK5);
}
/**
#if DEBUG
FPRINTF("[Line : %d][%s] TEST SUIT start-up: CTs_Platform_Permission_p\\n", __LINE__, API_NAMESPACE);
#endif
+ TCT_CheckInstalledApp(5, TPK1, TPK2, TPK3, TPK4, TPK5);
}
/**
#if DEBUG
FPRINTF("[Line : %d][%s] TEST SUIT start-up: CTs_platform_permission_soundmanager_startup\\n", __LINE__, API_NAMESPACE);
#endif
+ TCT_CheckInstalledApp(5, TPK1, TPK2, TPK3, TPK4, TPK5);
}
/**
#if DEBUG
FPRINTF("[Line : %d][%s] TEST SUIT start-up: CTs_platform_permission_sppc_startup\\n", __LINE__, API_NAMESPACE);
#endif
+ TCT_CheckInstalledApp(5, TPK1, TPK2, TPK3, TPK4, TPK5);
}
/**
#if DEBUG
FPRINTF("[Line : %d][%s] TEST SUIT start-up: CTs_Platform_Permission_p\\n", __LINE__, API_NAMESPACE);
#endif
+ TCT_CheckInstalledApp(5, TPK1, TPK2, TPK3, TPK4, TPK5);
}
/**
#if DEBUG
FPRINTF("[Line : %d][%s] TEST SUIT start-up: CTs_Platform_Permission_p\\n", __LINE__, API_NAMESPACE);
#endif
+ TCT_CheckInstalledApp(5, TPK1, TPK2, TPK3, TPK4, TPK5);
}
/**
#if DEBUG
FPRINTF("[Line : %d][%s] TEST SUIT start-up: CTs_platform_permission_telephony_startup\\n", __LINE__, API_NAMESPACE);
#endif
+ TCT_CheckInstalledApp(5, TPK1, TPK2, TPK3, TPK4, TPK5);
}
/**
#if DEBUG
FPRINTF("[Line : %d][%s] TEST SUIT start-up: CTs_Platform_Permission_p\\n", __LINE__, API_NAMESPACE);
#endif
+ TCT_CheckInstalledApp(5, TPK1, TPK2, TPK3, TPK4, TPK5);
}
/**
#if DEBUG
FPRINTF("[Line : %d][%s] TEST SUIT start-up: CTs_Platform_Permission_p\\n", __LINE__, API_NAMESPACE);
#endif
+ TCT_CheckInstalledApp(5, TPK1, TPK2, TPK3, TPK4, TPK5);
}
/**
#if DEBUG
FPRINTF("[Line : %d][%s] TEST SUIT start-up: CTs_platform_permission_VoiceControlElm_p\\n", __LINE__, API_NAMESPACE);
#endif
+ TCT_CheckInstalledApp(5, TPK1, TPK2, TPK3, TPK4, TPK5);
}
/**
#if DEBUG
FPRINTF("[Line : %d][%s] TEST SUIT start-up: CTs_platform_permission_VoiceControl_p\\n", __LINE__, API_NAMESPACE);
#endif
+ TCT_CheckInstalledApp(5, TPK1, TPK2, TPK3, TPK4, TPK5);
}
/**
#if DEBUG
FPRINTF("[Line : %d][%s] TEST SUIT start-up: CTs_platform_permission_vpn_service_startup\\n", __LINE__, API_NAMESPACE);
#endif
+ TCT_CheckInstalledApp(5, TPK1, TPK2, TPK3, TPK4, TPK5);
}
/**
#if DEBUG
FPRINTF("[Line : %d][%s] TEST SUIT start-up: CTs_platform_permission_widgetservice_startup\\n", __LINE__, API_NAMESPACE);
#endif
+ TCT_CheckInstalledApp(5, TPK1, TPK2, TPK3, TPK4, TPK5);
}
/**
#if DEBUG
FPRINTF("[Line : %d][%s] TEST SUIT start-up: CTs_platform_permission_WidgetViewer_p\\n", __LINE__, API_NAMESPACE);
#endif
+ TCT_CheckInstalledApp(5, TPK1, TPK2, TPK3, TPK4, TPK5);
}
/**
#if DEBUG
FPRINTF("[Line : %d][%s] TEST SUIT start-up: CTs_Platform_Permission_p\\n", __LINE__, API_NAMESPACE);
#endif
+ TCT_CheckInstalledApp(5, TPK1, TPK2, TPK3, TPK4, TPK5);
}
/**
#if DEBUG
FPRINTF("[Line : %d][%s] TEST SUIT start-up: CTs_platform_permission_wifi_startup\\n", __LINE__, API_NAMESPACE);
#endif
+ TCT_CheckInstalledApp(5, TPK1, TPK2, TPK3, TPK4, TPK5);
}
/**