From: Ickhee Woo Date: Fri, 2 Dec 2016 02:45:06 +0000 (+0900) Subject: fix code for coding convention X-Git-Tag: accepted/tizen/common/20161202.233329^0 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=1cf1e86d6f69ec0647d09119117cad96031c7e28;p=platform%2Fcore%2Fapi%2Flibaccount-service.git fix code for coding convention Change-Id: I1cbd44269ec11b2cbcce77a1d8e7dac6ee3b0737 Signed-off-by: Ickhee Woo --- diff --git a/include/account_PG.h b/include/account_PG.h index c24c8c5..0e01688 100644 --- a/include/account_PG.h +++ b/include/account_PG.h @@ -73,130 +73,130 @@ int account_disconnect(void); @code void insert_test(void) { - int ret = -1; - account_h account; - - ret = account_connect(); - if(ret != ACCOUNT_ERROR_NONE) - { - SECURE_LOGD("(%d)-[Account] ret = %d, account=%p\n", __LINE__, ret, account); - } - - ret = account_create(&account); - if(ret != ACCOUNT_ERROR_NONE) - { - SECURE_LOGD("(%d)-[Account] ret = %d, account=%p\n", __LINE__, ret, account); - } - - ret = account_set_user_name(account, "tarun.kr"); - - if(ret != ACCOUNT_ERROR_NONE) - { - SECURE_LOGD("(%d)-[Account] ret = %d, account=%p\n", __LINE__, ret, account); - } - - ret = account_set_display_name(account, "Tarun Kumar"); - - if(ret != ACCOUNT_ERROR_NONE) - { - SECURE_LOGD("(%d)-[Account] ret = %d, account=%p\n", __LINE__, ret, account); - } - - ret = account_set_domain_name(account, "Samsung electronics"); - if(ret != ACCOUNT_ERROR_NONE) - { - SECURE_LOGD("(%d)-[Account] ret = %d, account=%p\n", __LINE__, ret, account); - } - - ret = account_set_email_address(account, "tarun@gmail.com"); - if(ret != ACCOUNT_ERROR_NONE) - { - SECURE_LOGD("(%d)-[Account] ret = %d, account=%p\n", __LINE__, ret, account); - } - - ret = account_set_package_name(account, "com.samsung.twiter"); - if(ret != ACCOUNT_ERROR_NONE) - { - SECURE_LOGD("(%d)-[Account] ret = %d, account=%p\n", __LINE__, ret, account); - } - - ret = account_set_icon_path(account, "icon-path"); - if(ret != ACCOUNT_ERROR_NONE) - { - SECURE_LOGD("(%d)-[Account] ret = %d, account=%p\n", __LINE__, ret, account); - } - - ret = account_set_access_token(account, "ACCESSTOKEN"); - if(ret != ACCOUNT_ERROR_NONE) - { - SECURE_LOGD("(%d)-[Account] ret = %d, account=%p\n", __LINE__, ret, account); - } - - ret = account_set_auth_type( account, ACCOUNT_AUTH_TYPE_OAUTH ); - if(ret != ACCOUNT_ERROR_NONE) - { - SECURE_LOGD("(%d)-[Account] ret = %d, account=%p\n", __LINE__, ret, account); - } - - ret = account_set_secret( account, ACCOUNT_SECRECY_INVISIBLE ); - if(ret != ACCOUNT_ERROR_NONE) - { - SECURE_LOGD("(%d)-[Account] ret = %d, account=%p\n", __LINE__, ret, account); - } - ret = account_set_source(account, "URUSA inc."); - - int i; - - for(i=0;i