#define SERVICEPROID "http://tizen.org/account/capability/contact"
#define TIMEOUT_CB 10000
#define ACCESSTOKEN "access-token"
-#define APPID "org.tizen.accounts-svc-native-itc"
+#define APPID "native.accounts-svc-itc"
#define EMAILID "TCTSampleAccount@tizen.org"
#define USERNAME "TizenLite Test"
#define PATH_LEN 1024
#define BUFFER 20
#define CALENDAR_CAPABILITY "http://tizen.org/account/capability/calendar"
#define CONTACT_CAPABILITY "http://tizen.org/account/capability/contact"
-#define ACCOUNT_ICON_PATH "/opt/home/owner/apps_rw/org.tizen.accounts-svc-native-itc/shared/res/account.png"
-#define ACCOUNT_SMALL_ICON_PATH "/opt/home/owner/apps_rw/org.tizen.accounts-svc-native-itc/shared/res/account_small.png"
+#define ACCOUNT_ICON_PATH "/usr/apps/native-accounts-svc-itc/shared/res/account.png"
+#define ACCOUNT_SMALL_ICON_PATH "/usr/apps/native-accounts-svc-itc/shared/res/account_small.png"
#define SERVICE_PROVIDER_ID "http://www.tizen.org/"
#define MULTIPLE_ACCOUNT_SUPPORT 1
if ( g_AccId != -1 )
{
nRet = account_delete_from_db_by_id(g_AccId);
-
if ( nRet != ACCOUNT_ERROR_NONE )
{
FPRINTF("[Line : %d][%s] account_delete_from_db_by_id failed, error returned = %s\\n", __LINE__, API_NAMESPACE, AccManagerGetErrorMSG(nRet));
START_TEST;
char* pszGetIconPath = NULL;
+ char pIconPath[PATH_LEN] = {0,};
+ if ( false == AccManagerAppendToAppDataPath(ICONPATH, pIconPath) )
+ {
+ FPRINTF( "[Line : %d][%s] unable to get the Icon data path", __LINE__, API_NAMESPACE);
+ return 1;
+ }
account_type_h accountTypeHandle;
START_TEST;
char* pszGetIconPath = NULL;
+ char pIconPath[PATH_LEN] = {0,};
+ if ( false == AccManagerAppendToAppDataPath(ICONPATH, pIconPath))
+ {
+ FPRINTF( "[Line : %d][%s] unable to get the Icon data path", __LINE__, API_NAMESPACE);
+ return 1;
+ }
account_type_h accountTypeHandle;