/**
* @testcase utc_nfc_se_set_default_route_p
* @since_tizen 2.3
+ * @remarks This API can return a security error depending on the security level of the manufacturer.
+ * If you want to know about security level in detail, See the GSMA specification.\n
+ * (http://www.gsma.com/digitalcommerce/wp-content/uploads/2013/12/GSMA-NFC05-NFC-Handset-APIs-Requirement-Specification-version-4-1.pdf)
* @description
*/
int utc_nfc_se_set_default_route_p(void)
assert_eq(ret, NFC_ERROR_NOT_SUPPORTED);
}
else{
- assert_eq(ret, NFC_ERROR_NONE);
+ assert(ret == NFC_ERROR_NONE
+ || ret == NFC_ERROR_SECURITY_RESTRICTED);
}
return 0;
/**
* @testcase utc_nfc_se_enable_card_emulation_p
* @since_tizen 2.3
+ * @remarks This API can return a security error depending on the security level of the manufacturer.
+ * If you want to know about security level in detail, See the GSMA specification.\n
+ * (http://www.gsma.com/digitalcommerce/wp-content/uploads/2013/12/GSMA-NFC05-NFC-Handset-APIs-Requirement-Specification-version-4-1.pdf)
* @description
*/
int utc_nfc_se_enable_card_emulation_p(void)
if(!nfc_supported){
assert_eq(ret, NFC_ERROR_NOT_SUPPORTED);
}else{
- assert(ret == NFC_ERROR_NONE || ret == NFC_ERROR_ILLEGAL_STATE);
+ assert(ret == NFC_ERROR_NONE
+ || ret == NFC_ERROR_ILLEGAL_STATE
+ || ret == NFC_ERROR_SECURITY_RESTRICTED);
}
return 0;
/**
* @testcase utc_nfc_se_disable_card_emulation_p
* @since_tizen 2.3
+ * @remarks This API can return a security error depending on the security level of the manufacturer.
+ * If you want to know about security level in detail, See the GSMA specification.\n
+ * (http://www.gsma.com/digitalcommerce/wp-content/uploads/2013/12/GSMA-NFC05-NFC-Handset-APIs-Requirement-Specification-version-4-1.pdf)
* @description
*/
int utc_nfc_se_disable_card_emulation_p(void)
if(!nfc_supported){
assert_eq(ret, NFC_ERROR_NOT_SUPPORTED);
}else{
- assert_eq(ret, NFC_ERROR_NONE);
+ assert(ret == NFC_ERROR_NONE
+ || ret == NFC_ERROR_SECURITY_RESTRICTED);
}
return 0;
/**
* @testcase utc_nfc_manager_enable_transaction_fg_dispatch_p
* @since_tizen 2.3
+ * @remarks This API can return a security error depending on the security level of the manufacturer.
+ * If you want to know about security level in detail, See the GSMA specification.\n
+ * (http://www.gsma.com/digitalcommerce/wp-content/uploads/2013/12/GSMA-NFC05-NFC-Handset-APIs-Requirement-Specification-version-4-1.pdf)
* @description
*/
int utc_nfc_manager_enable_transaction_fg_dispatch_p(void)
if(!nfc_supported){
assert_eq(ret, NFC_ERROR_NOT_SUPPORTED);
}else{
- assert(ret == NFC_ERROR_NONE || ret == NFC_ERROR_ILLEGAL_STATE);
+ assert(ret == NFC_ERROR_NONE
+ || ret == NFC_ERROR_ILLEGAL_STATE
+ || ret == NFC_ERROR_SECURITY_RESTRICTED);
}
return 0;
/**
* @testcase utc_nfc_manager_disable_transaction_fg_dispatch_p
* @since_tizen 2.3
+ * @remarks This API can return a security error depending on the security level of the manufacturer.
+ * If you want to know about security level in detail, See the GSMA specification.\n
+ * (http://www.gsma.com/digitalcommerce/wp-content/uploads/2013/12/GSMA-NFC05-NFC-Handset-APIs-Requirement-Specification-version-4-1.pdf)
* @description
*/
int utc_nfc_manager_disable_transaction_fg_dispatch_p(void)
if(!nfc_supported){
assert_eq(ret, NFC_ERROR_NOT_SUPPORTED);
}else{
- assert_eq(ret, NFC_ERROR_NONE);
+ assert(ret == NFC_ERROR_NONE
+ || ret == NFC_ERROR_SECURITY_RESTRICTED);
}
return 0;