<?xml-stylesheet type="text/xsl" href="./testcase.xsl"?>
<test_definition>
<suite name="tct-nfc-tizen-tests" extension="crosswalk" category="Tizen Web Device APIs">
- <set name="NFC_MOBILE" type="js">
+ <set name="NFC_mobile" type="js">
<capabilities>
- <capability name="http://tizen.org/feature/network.nfc"/>
<capability name="http://tizen.org/feature/profile"><value>MOBILE_FULL</value></capability>
+ <capability name="http://tizen.org/feature/network.nfc"/>
</capabilities>
<testcase purpose="Check if NDEFMessage constructor works without arguments" type="compliance" status="approved" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P1" id="NDEFMessage_constructor">
<description>
</specs>
</testcase>
</set>
- <set name="EMU">
+ <set name="NFC_wearable" type="js">
<capabilities>
- <capability name="http://tizen.org/feature/network.nfc.card_emulation"/>
+ <capability name="http://tizen.org/feature/profile"><value>WEARABLE</value></capability>
+ <capability name="http://tizen.org/feature/network.nfc"/>
</capabilities>
- <testcase purpose="Check NFCAdapter::activeSecureElement attribute" type="compliance" status="approved" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P1" id="NFCAdapter_activeSecureElement_attribute">
+ <testcase purpose="Check if NDEFMessage constructor works without arguments" type="compliance" status="approved" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P1" id="NDEFMessage_constructor">
<description>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_activeSecureElement_attribute.html</test_script_entry>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NDEFMessage_constructor.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="NFCAdapter" element_type="attribute" element_name="activeSecureElement" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/dev-guide/2.2.1/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
+ <spec_assertion interface="NDEFMessage" element_type="constructor" element_name="constructor" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
<spec_statement>TBD</spec_statement>
</spec>
</specs>
</testcase>
- <testcase purpose="Check NFCAdapter:cardEmulationMode attribute exists, has type CardEmulationMode and can be modified" type="compliance" status="approved" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P1" id="NFCAdapter_cardEmulationMode_attribute">
+ <testcase purpose="Check if NDEFMessage constructor works with rawData" type="compliance" status="approved" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P1" id="NDEFMessage_constructor_rawData">
<description>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_cardEmulationMode_attribute.html</test_script_entry>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NDEFMessage_constructor_rawData.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="NFCAdapter" element_type="attribute" element_name="cardEmulationMode" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/dev-guide/2.2.1/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
+ <spec_assertion interface="NDEFMessage" element_type="constructor" element_name="constructor" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
<spec_statement>TBD</spec_statement>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if interface ActiveSecureElementChangeCallback exists, it should not exist." type="compliance" status="approved" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P3" id="ActiveSecureElementChangeCallback_notexist">
+ <testcase purpose="Check NDEFMessage constructor with NDEF records array" type="compliance" status="approved" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P1" id="NDEFMessage_constructor_records">
<description>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/ActiveSecureElementChangeCallback_notexist.html</test_script_entry>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NDEFMessage_constructor_records.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="ActiveSecureElementChangeCallback U" usage="true" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/dev-guide/2.2.1/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
+ <spec_assertion interface="NDEFMessage" element_type="constructor" element_name="constructor" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
<spec_statement>TBD</spec_statement>
</spec>
</specs>
</testcase>
- <testcase purpose="Test whether ActiveSecureElementChangeCallback::onchanged is called with argument of proper type" type="compliance" onload_delay="30" status="approved" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P1" id="ActiveSecureElementChangeCallback_onchanged">
+ <testcase purpose="Check if NDEFMessage exists" type="compliance" status="approved" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P1" id="NDEFMessage_exist">
<description>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/ActiveSecureElementChangeCallback_onchanged.html</test_script_entry>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NDEFMessage_exist.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="ActiveSecureElementChangeCallback" element_type="method" element_name="onchanged" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/dev-guide/2.2.1/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
+ <spec_assertion interface="NDEFMessage" element_type="constructor" element_name="constructor" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
<spec_statement>TBD</spec_statement>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if interface CardEmulationModeChangeCallback exists, it should not exists" type="compliance" status="approved" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P3" id="CardEmulationModeChangeCallback_notexist">
+ <testcase purpose="Check if instance of interface NDEFMessage can be extended with new property" type="compliance" status="approved" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P3" id="NDEFMessage_extend">
<description>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/CardEmulationModeChangeCallback_notexist.html</test_script_entry>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NDEFMessage_extend.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="CardEmulationModeChangeCallback" usage="true" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/dev-guide/2.2.1/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
+ <spec_assertion interface="NDEFMessage" usage="true" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
<spec_statement>TBD</spec_statement>
</spec>
</specs>
</testcase>
- <testcase purpose="Test whether CardEmulationModeChangeCallback::onchanged is called with argument of proper type" type="compliance" onload_delay="30" status="approved" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P1" id="CardEmulationModeChangeCallback_onchanged">
+ <testcase purpose="Check if attribute NDEFMessage::recordCount exists, has type Number and is readonly" type="compliance" status="approved" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P1" id="NDEFMessage_recordCount_attribute">
<description>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/CardEmulationModeChangeCallback_onchanged.html</test_script_entry>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NDEFMessage_recordCount_attribute.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="CardEmulationModeChangeCallback" element_type="method" element_name="onchanged" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/dev-guide/2.2.1/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
+ <spec_assertion interface="NDEFMessage" element_type="attribute" element_name="recordCount" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
<spec_statement>TBD</spec_statement>
</spec>
</specs>
</testcase>
- <testcase purpose="Check NFCAdapter::addActiveSecureElementChangeListener returns a value expected" type="compliance" onload_delay="30" status="approved" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P1" id="NFCAdapter_addActiveSecureElementChangeListener">
+ <testcase purpose="Check if attribute records of NDEFMessage exists, has type Array, can be overwritten" type="compliance" status="approved" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P1" id="NDEFMessage_records_attribute">
<description>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_addActiveSecureElementChangeListener.html</test_script_entry>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NDEFMessage_records_attribute.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="NFCAdapter" element_type="method" element_name="addActiveSecureElementChangeListener" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/dev-guide/2.2.1/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
+ <spec_assertion interface="NDEFMessage" element_type="attribute" element_name="records" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
<spec_statement>TBD</spec_statement>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if NFCAdapter::addActiveSecureElementChangeListener() with incorrect changeCallback argument throws an exception" type="compliance" status="approved" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P2" id="NFCAdapter_addActiveSecureElementChangeListener_TypeMismatch">
+ <testcase purpose="Check whether NDEFMessage:toByte() returns correct byte array of the NDEF message" type="compliance" status="approved" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P1" id="NDEFMessage_toByte">
<description>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_addActiveSecureElementChangeListener_TypeMismatch.html</test_script_entry>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NDEFMessage_toByte.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="NFCAdapter" element_type="method" element_name="addActiveSecureElementChangeListener" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/dev-guide/2.2.1/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
+ <spec_assertion interface="NDEFMessage" element_type="method" element_name="toByte" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
<spec_statement>TBD</spec_statement>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if method NFCAdapter::addActiveSecureElementChangeListener exists" type="compliance" status="approved" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P0" id="NFCAdapter_addActiveSecureElementChangeListener_exist">
+ <testcase purpose="Check whether NDEFMessage:toByte() throws exception when NDEFMessage.records contains invalid object" type="compliance" status="approved" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P2" id="NDEFMessage_toByte_TypeMismatch">
<description>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_addActiveSecureElementChangeListener_exist.html</test_script_entry>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NDEFMessage_toByte_TypeMismatch.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="NFCAdapter" element_type="method" element_name="addActiveSecureElementChangeListener" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/dev-guide/2.2.1/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
+ <spec_assertion interface="NDEFMessage" element_type="method" element_name="toByte" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
<spec_statement>TBD</spec_statement>
</spec>
</specs>
</testcase>
- <testcase purpose="Check NFCAdapter::addActiveSecureElementChangeListener throws exception with invalid callback" type="compliance" status="approved" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P2" id="NFCAdapter_addActiveSecureElementChangeListener_invalid_cb">
+ <testcase purpose="Check whether NDEFMessage::toByte() returns empty array for empty NDEF message" type="compliance" status="approved" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P1" id="NDEFMessage_toByte_empty">
<description>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_addActiveSecureElementChangeListener_invalid_cb.html</test_script_entry>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NDEFMessage_toByte_empty.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="NFCAdapter" element_type="method" element_name="addActiveSecureElementChangeListener" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/dev-guide/2.2.1/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
+ <spec_assertion interface="NDEFMessage" element_type="method" element_name="toByte" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
<spec_statement>TBD</spec_statement>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if NFCAdapter::addActiveSecureElementChangeListener throws exception with no param" type="compliance" status="approved" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P2" id="NFCAdapter_addActiveSecureElementChangeListener_misarg">
+ <testcase purpose="Check if method NDEFMessage::toByte() exists" type="compliance" status="approved" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P1" id="NDEFMessage_toByte_exists">
<description>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_addActiveSecureElementChangeListener_misarg.html</test_script_entry>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NDEFMessage_toByte_exists.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="NFCAdapter" element_type="method" element_name="addActiveSecureElementChangeListener" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/dev-guide/2.2.1/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
+ <spec_assertion interface="NDEFMessage" element_type="method" element_name="toByte" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
<spec_statement>TBD</spec_statement>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if method NFCAdapter::addCardEmulationModeChangeListener works properly" type="compliance" onload_delay="30" status="approved" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P1" id="NFCAdapter_addCardEmulationModeChangeListener">
+ <testcase purpose="Check if method toByte of NDEFMessage accepts extra argument" type="compliance" status="approved" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P1" id="NDEFMessage_toByte_extra_argument">
<description>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_addCardEmulationModeChangeListener.html</test_script_entry>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NDEFMessage_toByte_extra_argument.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="NFCAdapter" element_type="method" element_name="addCardEmulationModeChangeListener" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/dev-guide/2.2.1/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
+ <spec_assertion interface="NDEFMessage" element_type="method" element_name="toByte" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
<spec_statement>TBD</spec_statement>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if method NFCAdapter::addCardEmulationModeChangeListener throws TypeMismatch exception whith invalidate params" type="compliance" status="approved" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P2" id="NFCAdapter_addCardEmulationModeChangeListener_TypeMismatch">
+ <testcase purpose="Check if NDEFRecordMedia constructor works" type="compliance" status="approved" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P1" id="NDEFRecordMedia_constructor">
<description>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_addCardEmulationModeChangeListener_TypeMismatch.html</test_script_entry>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NDEFRecordMedia_constructor.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="NFCAdapter" element_type="method" element_name="addCardEmulationModeChangeListener" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/dev-guide/2.2.1/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
+ <spec_assertion interface="NDEFRecordMedia" element_type="constructor" element_name="constructor" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
<spec_statement>TBD</spec_statement>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if method NFCAdapter::addCardEmulationModeChangeListener exists" type="compliance" status="approved" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P0" id="NFCAdapter_addCardEmulationModeChangeListener_exist">
+ <testcase purpose="Check if NDEFRecordMedia exists" type="compliance" status="approved" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P1" id="NDEFRecordMedia_exist">
<description>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_addCardEmulationModeChangeListener_exist.html</test_script_entry>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NDEFRecordMedia_exist.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="NFCAdapter" element_type="method" element_name="addCardEmulationModeChangeListener" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/dev-guide/2.2.1/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
+ <spec_assertion interface="NDEFRecordMedia" element_type="constructor" element_name="constructor" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
<spec_statement>TBD</spec_statement>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if NFCAdapter::addCardEmulationModeChangeListener throws exception with invalid callback" type="compliance" onload_delay="30" status="approved" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P2" id="NFCAdapter_addCardEmulationModeChangeListener_invalid_cb">
+ <testcase purpose="Check if instance of interface NDEFRecordMedia can be extended with new property" type="compliance" status="approved" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P3" id="NDEFRecordMedia_extend">
<description>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_addCardEmulationModeChangeListener_invalid_cb.html</test_script_entry>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NDEFRecordMedia_extend.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="NFCAdapter" element_type="method" element_name="addCardEmulationModeChangeListener" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/dev-guide/2.2.1/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
+ <spec_assertion interface="NDEFRecordMedia" usage="true" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
<spec_statement>TBD</spec_statement>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if method NFCAdapter::addCardEmulationModeChangeListener throws excepton when argument is missing" type="compliance" status="approved" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P2" id="NFCAdapter_addCardEmulationModeChangeListener_misarg">
+ <testcase purpose="Check if attribute id of NDEFRecordMedia exists, has type Array and is readonly" type="compliance" status="approved" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P1" id="NDEFRecordMedia_id_attribute">
<description>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_addCardEmulationModeChangeListener_misarg.html</test_script_entry>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NDEFRecordMedia_id_attribute.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="NFCAdapter" element_type="method" element_name="addCardEmulationModeChangeListener" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/dev-guide/2.2.1/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
+ <spec_assertion interface="NDEFRecordMedia" element_type="attribute" element_name="id" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
<spec_statement>TBD</spec_statement>
</spec>
</specs>
</testcase>
- <testcase purpose="Check NFCAdapter::addTransactionEventListener() method returns a value expected." type="compliance" status="approved" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P1" id="NFCAdapter_addTransactionEventListener">
+ <testcase purpose="Check if attribute mimeType of NDEFRecordMedia exists, has type DOMString and is readonly" type="compliance" status="approved" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P1" id="NDEFRecordMedia_mimeType_attribute">
<description>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_addTransactionEventListener.html</test_script_entry>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NDEFRecordMedia_mimeType_attribute.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="NFCAdapter" element_type="method" element_name="addTransactionEventListener" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/dev-guide/2.2.1/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
+ <spec_assertion interface="NDEFRecordMedia" element_type="attribute" element_name="mimeType" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
<spec_statement>TBD</spec_statement>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if NFCAdapter::addTransactionEventListener throws TypeMismatch exception with incorrect eventCallback argument" type="compliance" status="approved" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P2" id="NFCAdapter_addTransactionEventListener_eventCallback_TypeMismatch">
+ <testcase purpose="Check if attribute payload of NDEFRecordMedia exists, has type Array and is readonly" type="compliance" status="approved" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P1" id="NDEFRecordMedia_payload_attribute">
<description>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_addTransactionEventListener_eventCallback_TypeMismatch.html</test_script_entry>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NDEFRecordMedia_payload_attribute.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="NFCAdapter" element_type="method" element_name="addTransactionEventListener" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/dev-guide/2.2.1/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
+ <spec_assertion interface="NDEFRecordMedia" element_type="attribute" element_name="payload" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
<spec_statement>TBD</spec_statement>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if NFCAdapter::addTransactionEventListener throws exception with invalid callback" type="compliance" onload_delay="30" status="approved" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P2" id="NFCAdapter_addTransactionEventListener_eventCallback_invalid_cb">
+ <testcase purpose="Check if attribute tnf of NDEFRecordMedia exists, has type short and is readonly" type="compliance" status="approved" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P1" id="NDEFRecordMedia_tnf_attribute">
<description>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_addTransactionEventListener_eventCallback_invalid_cb.html</test_script_entry>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NDEFRecordMedia_tnf_attribute.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="NFCAdapter" element_type="method" element_name="addTransactionEventListener" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/dev-guide/2.2.1/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
+ <spec_assertion interface="NDEFRecordMedia" element_type="attribute" element_name="tnf" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
<spec_statement>TBD</spec_statement>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if method NFCAdapter::addTransactionEventListener exists" type="compliance" status="approved" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P0" id="NFCAdapter_addTransactionEventListener_exist">
+ <testcase purpose="Check if attribute type of NDEFRecordMedia exists, has type Array and is readonly" type="compliance" status="approved" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P1" id="NDEFRecordMedia_type_attribute">
<description>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_addTransactionEventListener_exist.html</test_script_entry>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NDEFRecordMedia_type_attribute.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="NFCAdapter" element_type="method" element_name="addTransactionEventListener" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/dev-guide/2.2.1/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
+ <spec_assertion interface="NDEFRecordMedia" element_type="attribute" element_name="type" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
<spec_statement>TBD</spec_statement>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if NFCAdapter::addTransactionEventListener throws exception when mandatory argument is missing" type="compliance" status="approved" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P2" id="NFCAdapter_addTransactionEventListener_misarg">
+ <testcase purpose="Check if NDEFRecordText constructor works" type="compliance" status="approved" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P1" id="NDEFRecordText_constructor">
<description>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_addTransactionEventListener_misarg.html</test_script_entry>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NDEFRecordText_constructor.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="NFCAdapter" element_type="method" element_name="addTransactionEventListener" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/dev-guide/2.2.1/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
+ <spec_assertion interface="NDEFRecordText" element_type="constructor" element_name="constructor" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
<spec_statement>TBD</spec_statement>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if NFCAdapter::addTransactionEventListener throws TypeMismatch exception with incorrect type argument" type="compliance" status="approved" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P2" id="NFCAdapter_addTransactionEventListener_type_TypeMismatch">
+ <testcase purpose="Check if NDEFRecordText constructor called with UTF16 encoding works" type="compliance" status="approved" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P1" id="NDEFRecordText_constructor_encoding_UTF16">
<description>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_addTransactionEventListener_type_TypeMismatch.html</test_script_entry>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NDEFRecordText_constructor_encoding_UTF16.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="NFCAdapter" element_type="method" element_name="addTransactionEventListener" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/dev-guide/2.2.1/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
+ <spec_assertion interface="NDEFRecordText" element_type="constructor" element_name="constructor" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
<spec_statement>TBD</spec_statement>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if method NFCAdapter::removeActiveSecureElementChangeListener works properly Check if method NFCAdapter::removeActiveSecureElementChangeListener() works properly." type="compliance" onload_delay="30" status="approved" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P1" id="NFCAdapter_removeActiveSecureElementChangeListener">
+ <testcase purpose="Check if NDEFRecordText constructor called with UTF8 encoding works" type="compliance" status="approved" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P1" id="NDEFRecordText_constructor_encoding_UTF8">
<description>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_removeActiveSecureElementChangeListener.html</test_script_entry>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NDEFRecordText_constructor_encoding_UTF8.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="NFCAdapter" element_type="method" element_name="removeActiveSecureElementChangeListener" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/dev-guide/2.2.1/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
+ <spec_assertion interface="NDEFRecordText" element_type="constructor" element_name="constructor" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
<spec_statement>TBD</spec_statement>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if method NFCAdapter::removeActiveSecureElementChangeListener() method does not exist" type="compliance" status="approved" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P0" id="NFCAdapter_removeActiveSecureElementChangeListener_exist">
+ <testcase purpose="Check if attribute encoding of NDEFRecordText exists, has type NDEFRecordTextEncoding and is readonly" type="compliance" status="approved" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P1" id="NDEFRecordText_encoding_attribute">
<description>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_removeActiveSecureElementChangeListener_exist.html</test_script_entry>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NDEFRecordText_encoding_attribute.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="NFCAdapter" element_type="method" element_name="removeActiveSecureElementChangeListener" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/dev-guide/2.2.1/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
+ <spec_assertion interface="NDEFRecordText" element_type="attribute" element_name="encoding" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
<spec_statement>TBD</spec_statement>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if method NFCAdapter::removeCardEmulationModeChangeListener works properly" type="compliance" status="approved" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P1" id="NFCAdapter_removeCardEmulationModeChangeListener">
+ <testcase purpose="Check if NDEFRecordText exists" type="compliance" status="approved" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P1" id="NDEFRecordText_exist">
<description>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_removeCardEmulationModeChangeListener.html</test_script_entry>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NDEFRecordText_exist.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="NFCAdapter" element_type="method" element_name="removeCardEmulationModeChangeListener" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/dev-guide/2.2.1/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
+ <spec_assertion interface="NDEFRecordText" element_type="constructor" element_name="constructor" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
<spec_statement>TBD</spec_statement>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if method NFCAdapter::removeCardEmulationModeChangeListener() exists" type="compliance" status="approved" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P0" id="NFCAdapter_removeCardEmulationModeChangeListener_exist">
+ <testcase purpose="Check if instance of interface NDEFRecordText can be extended with new property" type="compliance" status="approved" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P3" id="NDEFRecordText_extend">
<description>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_removeCardEmulationModeChangeListener_exist.html</test_script_entry>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NDEFRecordText_extend.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="NFCAdapter" element_type="method" element_name="removeCardEmulationModeChangeListener" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/dev-guide/2.2.1/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
+ <spec_assertion interface="NDEFRecordText" usage="true" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
<spec_statement>TBD</spec_statement>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if method NFCAdapter::removeTransactionEventListener works properly" type="compliance" status="approved" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P1" id="NFCAdapter_removeTransactionEventListener">
+ <testcase purpose="Check if attribute id of NDEFRecordText exists, has type Array and is readonly" type="compliance" status="approved" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P1" id="NDEFRecordText_id_attribute">
<description>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_removeTransactionEventListener.html</test_script_entry>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NDEFRecordText_id_attribute.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="NFCAdapter" element_type="method" element_name="removeTransactionEventListener" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/dev-guide/2.2.1/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
+ <spec_assertion interface="NDEFRecordText" element_type="attribute" element_name="id" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
<spec_statement>TBD</spec_statement>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if method NFCAdapter::removeTransactionEventListener exists" type="compliance" status="approved" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P0" id="NFCAdapter_removeTransactionEventListener_exist">
+ <testcase purpose="Check if attribute languageCode of NDEFRecordText exists, has type DOMString and is readonly" type="compliance" status="approved" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P1" id="NDEFRecordText_languageCode_attribute">
<description>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_removeTransactionEventListener_exist.html</test_script_entry>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NDEFRecordText_languageCode_attribute.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="NFCAdapter" element_type="method" element_name="removeTransactionEventListener" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/dev-guide/2.2.1/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
+ <spec_assertion interface="NDEFRecordText" element_type="attribute" element_name="languageCode" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
<spec_statement>TBD</spec_statement>
</spec>
</specs>
</testcase>
- <testcase purpose="Check NFCAdapter::setExclusiveModeForTransaction() method works properly" type="compliance" status="approved" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P1" id="NFCAdapter_setExclusiveModeForTransaction">
+ <testcase purpose="Check if attribute payload of NDEFRecordText exists, has type Array and is readonly" type="compliance" status="approved" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P1" id="NDEFRecordText_payload_attribute">
<description>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_setExclusiveModeForTransaction.html</test_script_entry>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NDEFRecordText_payload_attribute.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="NFCAdapter" element_type="method" element_name="setExclusiveModeForTransaction" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/dev-guide/2.2.1/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
+ <spec_assertion interface="NDEFRecordText" element_type="attribute" element_name="payload" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
<spec_statement>TBD</spec_statement>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if method NFCAdapter::setExclusiveModeForTransaction() exists" type="compliance" status="approved" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P0" id="NFCAdapter_setExclusiveModeForTransaction_exist">
+ <testcase purpose="Check if attribute text of NDEFRecordText exists, has type DOMString and is readonly" type="compliance" status="approved" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P1" id="NDEFRecordText_text_attribute">
<description>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_setExclusiveModeForTransaction_exist.html</test_script_entry>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NDEFRecordText_text_attribute.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="NFCAdapter" element_type="method" element_name="setExclusiveModeForTransaction" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/dev-guide/2.2.1/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
+ <spec_assertion interface="NDEFRecordText" element_type="attribute" element_name="text" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
<spec_statement>TBD</spec_statement>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if interface TransactionEventCallback exists, it should not" type="compliance" status="approved" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P3" id="TransactionEventCallback_notexist">
+ <testcase purpose="Check if attribute tnf of NDEFRecordText exists, has type short and is readonly" type="compliance" status="approved" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P1" id="NDEFRecordText_tnf_attribute">
<description>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/TransactionEventCallback_notexist.html</test_script_entry>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NDEFRecordText_tnf_attribute.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="TransactionEventCallback" usage="true" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/dev-guide/2.2.1/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
+ <spec_assertion interface="NDEFRecordText" element_type="attribute" element_name="tnf" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
<spec_statement>TBD</spec_statement>
</spec>
</specs>
- </testcase>
- <!--<testcase purpose="Check TransactionEventCallback::ondetected() is called with argument of proper type" type="compliance" onload_delay="90" status="approved" component="TizenAPI/Communication/NFC" execution_type="manual" priority="P1" id="TransactionEventCallback_ondetected">
- <description>
- <pre_condition>Turn on NFC adapter. Prepare an external reader to initiate transaction.</pre_condition>
- <steps>
- <step order="1">
- <step_desc>Click "Run". Use an external reader to access "ESE" type secure element.</step_desc>
- <expected>Pass</expected>
- </step>
- </steps>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/TransactionEventCallback_ondetected.html</test_script_entry>
+ </testcase>
+ <testcase purpose="Check if attribute type of NDEFRecordText exists, has type Array and is readonly" type="compliance" status="approved" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P1" id="NDEFRecordText_type_attribute">
+ <description>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NDEFRecordText_type_attribute.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="TransactionEventCallback" element_type="method" element_name="ondetected" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/dev-guide/2.2.1/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
+ <spec_assertion interface="NDEFRecordText" element_type="attribute" element_name="type" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
<spec_statement>TBD</spec_statement>
</spec>
</specs>
- </testcase>-->
- </set>
- <set name="P2P">
- <capabilities>
- <capability name="http://tizen.org/feature/network.nfc.p2p"/>
- </capabilities>
- <testcase purpose="Check if method NFCAdapter::setPeerListener() successfully registers listener for detecting NFC peer" type="compliance" status="approved" component="TizenAPI/Communication/NFC" execution_type="manual" priority="P1" id="NFCAdapter_setPeerListener">
+ </testcase>
+ <testcase purpose="Check if NDEFRecordURI constructor works" type="compliance" status="approved" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P1" id="NDEFRecordURI_constructor">
<description>
- <pre_condition>Turn on NFC adapter. Prepare the other device with NFC turned on.</pre_condition>
- <steps>
- <step order="1">
- <step_desc>Click "Run". Move other NFC device close so it will be detected.</step_desc>
- <expected>pass - peer detected</expected>
- </step>
- </steps>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_setPeerListener.html</test_script_entry>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NDEFRecordURI_constructor.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="NFCAdapter" element_type="method" element_name="setPeerListener" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="NDEFRecordURI" element_type="constructor" element_name="constructor" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
<spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
<spec_statement>TBD</spec_statement>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if NFCAdapter::setPeerListener throws exception when given wrong detectCallback" type="compliance" status="approved" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P2" id="NFCAdapter_setPeerListener_detectCallback_TypeMismatch">
+ <testcase purpose="Check if NDEFRecordURI exists" type="compliance" status="approved" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P1" id="NDEFRecordURI_exist">
<description>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_setPeerListener_detectCallback_TypeMismatch.html</test_script_entry>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NDEFRecordURI_exist.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="NFCAdapter" element_type="method" element_name="setPeerListener" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="NDEFRecordURI" element_type="constructor" element_name="constructor" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
<spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
<spec_statement>TBD</spec_statement>
</spec>
</specs>
</testcase>
- <testcase purpose="Check verification of detectCallback by NFCAdapter::setPeerListener()" type="compliance" onload_delay="90" status="approved" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P2" id="NFCAdapter_setPeerListener_detectCallback_invalid_cb">
+ <testcase purpose="Check if instance of interface NDEFRecordURI can be extended with new property" type="compliance" status="approved" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P3" id="NDEFRecordURI_extend">
<description>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_setPeerListener_detectCallback_invalid_cb.html</test_script_entry>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NDEFRecordURI_extend.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="NFCAdapter" element_type="method" element_name="setPeerListener" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="NDEFRecordURI" usage="true" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
<spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
<spec_statement>TBD</spec_statement>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if method NFCAdapter::setPeerListener() exists" type="compliance" status="approved" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P1" id="NFCAdapter_setPeerListener_exist">
+ <testcase purpose="Check if attribute id of NDEFRecordURI exists, has type Array and is readonly" type="compliance" status="approved" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P1" id="NDEFRecordURI_id_attribute">
<description>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_setPeerListener_exist.html</test_script_entry>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NDEFRecordURI_id_attribute.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="NFCAdapter" element_type="method" element_name="setPeerListener" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="NDEFRecordURI" element_type="attribute" element_name="id" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
<spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
<spec_statement>TBD</spec_statement>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if adapter.setPeerListener() throws an exception when called without argument" type="compliance" status="approved" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P1" id="NFCAdapter_setPeerListener_missarg">
+ <testcase purpose="Check if attribute payload of NDEFRecordURI exists, has type Array and is readonly" type="compliance" status="approved" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P1" id="NDEFRecordURI_payload_attribute">
<description>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_setPeerListener_missarg.html</test_script_entry>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NDEFRecordURI_payload_attribute.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="NFCAdapter" element_type="method" element_name="setPeerListener" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="NDEFRecordURI" element_type="attribute" element_name="payload" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
<spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
<spec_statement>TBD</spec_statement>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if method NFCAdapter::unsetPeerListener() disables listener for detecting an NFC peer-to-peer target" type="compliance" status="approved" component="TizenAPI/Communication/NFC" execution_type="manual" priority="P1" id="NFCAdapter_unsetPeerListener">
+ <testcase purpose="Check if attribute tnf of NDEFRecordURI exists, has type short and is readonly" type="compliance" status="approved" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P1" id="NDEFRecordURI_tnf_attribute">
<description>
- <pre_condition>Turn on NFC adapter. Prepare the other device with NFC turned on.</pre_condition>
- <steps>
- <step order="1">
- <step_desc>Click "Run". Move other NFC device close so it will be detected and then click "Peer was attached" button.</step_desc>
- <expected>Pass</expected>
- </step>
- </steps>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_unsetPeerListener.html</test_script_entry>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NDEFRecordURI_tnf_attribute.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="NFCAdapter" element_type="method" element_name="unsetPeerListener" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="NDEFRecordURI" element_type="attribute" element_name="tnf" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
<spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
<spec_statement>TBD</spec_statement>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if method NFCAdapter::unsetPeerListener() exists" type="compliance" status="approved" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P1" id="NFCAdapter_unsetPeerListener_exist">
+ <testcase purpose="Check if attribute type of NDEFRecordURI exists, has type Array and is readonly" type="compliance" status="approved" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P1" id="NDEFRecordURI_type_attribute">
<description>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_unsetPeerListener_exist.html</test_script_entry>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NDEFRecordURI_type_attribute.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="NFCAdapter" element_type="method" element_name="unsetPeerListener" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="NDEFRecordURI" element_type="attribute" element_name="type" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
<spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
<spec_statement>TBD</spec_statement>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if method unsetPeerListener of NFCAdapter accepts extra argument" type="compliance" status="approved" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P1" id="NFCAdapter_unsetPeerListener_extra_argument">
+ <testcase purpose="Check if attribute uri of NDEFRecordURI exists, has type DOMString and is readonly" type="compliance" status="approved" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P1" id="NDEFRecordURI_uri_attribute">
<description>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_unsetPeerListener_extra_argument.html</test_script_entry>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NDEFRecordURI_uri_attribute.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="NFCAdapter" element_type="method" element_name="unsetPeerListener" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="NDEFRecordURI" element_type="attribute" element_name="uri" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
<spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
<spec_statement>TBD</spec_statement>
</spec>
</specs>
</testcase>
- <testcase purpose="Check NFCPeer attributes, method existence and TypeMismatchError throwing" type="compliance" status="approved" component="TizenAPI/Communication/NFC" execution_type="manual" priority="P3" id="NFCPeer">
+ <testcase purpose="Check if NDEFRecord constructor works" type="compliance" status="approved" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P1" id="NDEFRecord_constructor">
<description>
- <pre_condition>Turn on NFC adapter. Prepare the other device with NFC turned on.</pre_condition>
- <steps>
- <step order="1">
- <step_desc>Click "Run". Move other NFC device close so it will be detected.</step_desc>
- <expected>Pass</expected>
- </step>
- </steps>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCPeer.html</test_script_entry>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NDEFRecord_constructor.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="NFCPeer" element_type="attribute" element_name="isConnected" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="NDEFRecord" element_type="constructor" element_name="constructor" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
<spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
<spec_statement>TBD</spec_statement>
</spec>
+ </specs>
+ </testcase>
+ <testcase purpose="Check if new tizen.NDEFRecord(raw_data) works" type="compliance" status="approved" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P1" id="NDEFRecord_constructor_raw_data">
+ <description>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NDEFRecord_constructor_raw_data.html</test_script_entry>
+ </description>
+ <specs>
<spec>
- <spec_assertion interface="NFCPeer" element_type="method" element_name="sendNDEF" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="NDEFRecord" element_type="constructor" element_name="constructor" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
<spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
<spec_statement>TBD</spec_statement>
</spec>
+ </specs>
+ </testcase>
+ <testcase purpose="Check NDEFRecord constructor with all parameters" type="compliance" status="approved" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P2" id="NDEFRecord_constructor_tnf">
+ <description>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NDEFRecord_constructor_tnf.html</test_script_entry>
+ </description>
+ <specs>
<spec>
- <spec_assertion interface="NFCPeer" element_type="method" element_name="sendNDEF" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/index.jsp?topic=/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- <spec>
- <spec_assertion interface="NFCPeer" element_type="method" element_name="sendNDEF" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/index.jsp?topic=/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- <spec>
- <spec_assertion interface="NFCPeer" element_type="method" element_name="sendNDEF" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/index.jsp?topic=/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- <spec>
- <spec_assertion interface="NFCPeer" element_type="method" element_name="sendNDEF" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/index.jsp?topic=/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- <spec>
- <spec_assertion interface="NFCPeer" element_type="method" element_name="sendNDEF" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/index.jsp?topic=/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- <spec>
- <spec_assertion interface="NFCPeer" element_type="method" element_name="sendNDEF" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/index.jsp?topic=/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- <spec>
- <spec_assertion interface="NFCPeer" element_type="method" element_name="sendNDEF" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/index.jsp?topic=/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- <spec>
- <spec_assertion interface="NFCPeer" element_type="method" element_name="setReceiveNDEFListener" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/index.jsp?topic=/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- <spec>
- <spec_assertion interface="NFCPeer" element_type="method" element_name="setReceiveNDEFListener" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/index.jsp?topic=/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- <spec>
- <spec_assertion interface="NFCPeer" element_type="method" element_name="setReceiveNDEFListener" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/index.jsp?topic=/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- <spec>
- <spec_assertion interface="NFCPeer" element_type="method" element_name="setReceiveNDEFListener" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/index.jsp?topic=/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- <spec>
- <spec_assertion interface="NFCPeer" element_type="method" element_name="unsetReceiveNDEFListener" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/index.jsp?topic=/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- <spec>
- <spec_assertion interface="NFCPeer" usage="true" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/index.jsp?topic=/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
+ <spec_assertion interface="NDEFRecord" element_type="constructor" element_name="constructor" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
<spec_statement>TBD</spec_statement>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if interface NFCPeerDetectCallback exists, it should not." type="compliance" status="approved" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P3" id="NFCPeerDetectCallback_notexist">
+ <testcase purpose="Check NDEFRecord constructor with only mandatory parameters" type="compliance" status="approved" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P2" id="NDEFRecord_constructor_tnf_with_id">
<description>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCPeerDetectCallback_notexist.html</test_script_entry>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NDEFRecord_constructor_tnf_with_id.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="NFCPeerDetectCallback" usage="true" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="NDEFRecord" element_type="constructor" element_name="constructor" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
<spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
<spec_statement>TBD</spec_statement>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if NFCPeerDetectCallback::onattach() callback is called with proper argument when NFC peer is detected" type="compliance" status="approved" component="TizenAPI/Communication/NFC" execution_type="manual" priority="P1" id="NFCPeerDetectCallback_onattach">
+ <testcase purpose="Check if NDEFRecord exists" type="compliance" status="approved" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P1" id="NDEFRecord_exist">
<description>
- <pre_condition>Turn on NFC adapter. Prepare the other device with NFC turned on.</pre_condition>
- <steps>
- <step order="1">
- <step_desc>Click "Run". Move other NFC device close so it will be detected.</step_desc>
- <expected>pass - setPeerListener onSuccess called</expected>
- </step>
- </steps>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCPeerDetectCallback_onattach.html</test_script_entry>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NDEFRecord_exist.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="NFCPeerDetectCallback" element_type="method" element_name="onattach" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="NDEFRecord" element_type="constructor" element_name="constructor" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
<spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
<spec_statement>TBD</spec_statement>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if NFCPeerDetectCallback::ondetach() is called when NFC peer is taken away" type="compliance" status="approved" component="TizenAPI/Communication/NFC" execution_type="manual" priority="P1" id="NFCPeerDetectCallback_ondetach">
+ <testcase purpose="Check if instance of interface NDEFRecord can be extended with new property" type="compliance" status="approved" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P3" id="NDEFRecord_extend">
<description>
- <pre_condition>Turn on NFC adapter. Prepare the other device with NFC turned on.</pre_condition>
- <steps>
- <step order="1">
- <step_desc>Click "Run". Put the other NFC device close to your device until it will be detected and then take it away.</step_desc>
- <expected>pass - peerListener ondetach callback should be invoked</expected>
- </step>
- </steps>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCPeerDetectCallback_ondetach.html</test_script_entry>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NDEFRecord_extend.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="NFCPeerDetectCallback" element_type="method" element_name="ondetach" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="NDEFRecord" usage="true" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
<spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
<spec_statement>TBD</spec_statement>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if interface NFCPeer exists, it should not." type="compliance" status="approved" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P3" id="NFCPeer_notexist">
+ <testcase purpose="Check if attribute id of NDEFRecord exists, has type Array and is readonly" type="compliance" status="approved" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P1" id="NDEFRecord_id_attribute">
<description>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCPeer_notexist.html</test_script_entry>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NDEFRecord_id_attribute.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="NFCPeer" usage="true" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="NDEFRecord" element_type="attribute" element_name="id" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
<spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
<spec_statement>TBD</spec_statement>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if method NFCPeer::sendNDEF() reports error by calling errorCallback when peer is disconnected" type="compliance" status="approved" component="TizenAPI/Communication/NFC" execution_type="manual" priority="P2" id="NFCPeer_sendNDEF_errorCallback">
+ <testcase purpose="Check if attribute payload of NDEFRecord exists, has type Array and is readonly" type="compliance" status="approved" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P1" id="NDEFRecord_payload_attribute">
<description>
- <pre_condition>Turn on NFC adapter. Prepare the other device with NFC turned on. Other device should be able to take NDEF message from NFC.</pre_condition>
- <steps>
- <step order="1">
- <step_desc>Click "Run". Put the other NFC device close to your device until it will be detected and then take it away before the expiration of 3 seconds.</step_desc>
- <expected>pass</expected>
- </step>
- </steps>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCPeer_sendNDEF_errorCallback.html</test_script_entry>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NDEFRecord_payload_attribute.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="NFCPeer" element_type="method" element_name="sendNDEF" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="NDEFRecord" element_type="attribute" element_name="payload" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
<spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
<spec_statement>TBD</spec_statement>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if method NFCPeer::sendNDEF() sends data to other NFC device" type="compliance" status="approved" component="TizenAPI/Communication/NFC" execution_type="manual" priority="P1" id="NFCPeer_sendNDEF_sendData">
+ <testcase purpose="Check if attribute tnf of NDEFRecord exists, has type short and is readonly" type="compliance" status="approved" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P1" id="NDEFRecord_tnf_attribute">
<description>
- <pre_condition>Turn off the NFC adapter. Prepare the other device with NFC turned on. Other device should be able to take NDEF message from NFC.</pre_condition>
- <steps>
- <step order="1">
- <step_desc>Click "Run". Move other NFC device close so it will be detected.</step_desc>
- <expected>pass - data sent successfully</expected>
- </step>
- </steps>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCPeer_sendNDEF_sendData.html</test_script_entry>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NDEFRecord_tnf_attribute.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="NFCPeer" element_type="method" element_name="sendNDEF" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="NDEFRecord" element_type="attribute" element_name="tnf" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
<spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
<spec_statement>TBD</spec_statement>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if method NFCPeer::sendNDEF(ndefMessage, onSuccess, onError) can be called successfully" type="compliance" status="approved" component="TizenAPI/Communication/NFC" execution_type="manual" priority="P1" id="NFCPeer_sendNDEF_with_errorCallback">
+ <testcase purpose="Check if attribute type of NDEFRecord exists, has type Array and is readonly" type="compliance" status="approved" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P1" id="NDEFRecord_type_attribute">
<description>
- <pre_condition>Turn on NFC adapter. Prepare the other device with NFC turned on. Other device should be able to take NDEF message from NFC.</pre_condition>
- <steps>
- <step order="1">
- <step_desc>Click "Run". Move other NFC device close so it will be detected. If other device receives message then PASS.</step_desc>
- <expected>pass</expected>
- </step>
- </steps>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCPeer_sendNDEF_with_errorCallback.html</test_script_entry>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NDEFRecord_type_attribute.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="NFCPeer" element_type="method" element_name="sendNDEF" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="NDEFRecord" element_type="attribute" element_name="type" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
<spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
<spec_statement>TBD</spec_statement>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if NFCPeer::sendNDEF(ndefMessage, onSuccess) can be called successfully" type="compliance" status="approved" component="TizenAPI/Communication/NFC" execution_type="manual" priority="P1" id="NFCPeer_sendNDEF_with_successCallback">
+ <testcase purpose="Check if instance of interface NFCAdapter can be extended with new property" type="compliance" status="approved" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P3" id="NFCAdapter_extend">
<description>
- <pre_condition>Turn on NFC adapter. Prepare the other device with NFC turned on. Other device should be able to take NDEF message from NFC.</pre_condition>
- <steps>
- <step order="1">
- <step_desc>Click "Run". Move other NFC device close so it will be detected. If other device receives message then PASS.</step_desc>
- <expected>pass</expected>
- </step>
- </steps>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCPeer_sendNDEF_with_successCallback.html</test_script_entry>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_extend.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="NFCPeer" element_type="method" element_name="sendNDEF" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="NFCAdapter" usage="true" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
<spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
<spec_statement>TBD</spec_statement>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if NFCPeer::setReceiveNDEFListener() method works properly" type="compliance" status="approved" component="TizenAPI/Communication/NFC" execution_type="manual" priority="P1" id="NFCPeer_setReceiveNDEFListener">
+ <testcase purpose="Check if method getCachedMessage of NFCAdapter works" type="compliance" status="approved" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P1" id="NFCAdapter_getCachedMessage">
<description>
- <pre_condition>Turn on NFC adapter. Prepare the other device with NFC turned on. Other device should be able to send NDEF message by NFC.</pre_condition>
- <steps>
- <step order="1">
- <step_desc>Click "Run". Move other NFC device close so it will be detected, then send a NFC message from it. Then click the "Message was sent" button below.</step_desc>
- <expected>pass</expected>
- </step>
- </steps>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCPeer_setReceiveNDEFListener.html</test_script_entry>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_getCachedMessage.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="NFCPeer" element_type="method" element_name="setReceiveNDEFListener" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="NFCAdapter" element_type="method" element_name="getCachedMessage" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
<spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
<spec_statement>TBD</spec_statement>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if NFCPeer::unsetReceiveNDEFListener() method works properly" type="compliance" status="approved" component="TizenAPI/Communication/NFC" execution_type="manual" priority="P1" id="NFCPeer_unsetReceiveNDEFListener">
+ <testcase purpose="Check if method NFCAdapter::getCachedMessage() exists" type="compliance" status="approved" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P1" id="NFCAdapter_getCachedMessage_exist">
<description>
- <pre_condition>Turn on NFC adapter. Prepare the other device with NFC turned on. Other device should be able to send NDEF message by NFC.</pre_condition>
- <steps>
- <step order="1">
- <step_desc>Click "Run". Move other NFC device close so it will be detected, then send a NFC message from it. Then click the "Message was sent" button below.</step_desc>
- <expected>pass</expected>
- </step>
- </steps>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCPeer_unsetReceiveNDEFListener.html</test_script_entry>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_getCachedMessage_exist.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="NFCPeer" element_type="method" element_name="unsetReceiveNDEFListener" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="NFCAdapter" element_type="method" element_name="getCachedMessage" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
<spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
<spec_statement>TBD</spec_statement>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if method unsetReceiveNDEFListener of NFCPeer accepts extra argument" type="compliance" status="approved" component="TizenAPI/Communication/NFC" execution_type="manual" priority="P2" id="NFCPeer_unsetReceiveNDEFListener_extra_argument">
+ <testcase purpose="Check if method getCachedMessage of NFCAdapter accepts extra argument" type="compliance" status="approved" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P1" id="NFCAdapter_getCachedMessage_extra_argument">
<description>
- <pre_condition>Turn on NFC adapter. Prepare the other device with NFC turned on.</pre_condition>
- <steps>
- <step order="1">
- <step_desc>Click "Run". Move other NFC device close so it will be detected.</step_desc>
- <expected>Pass</expected>
- </step>
- </steps>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCPeer_unsetReceiveNDEFListener_extra_argument.html</test_script_entry>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_getCachedMessage_extra_argument.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="NFCPeer" element_type="method" element_name="unsetReceiveNDEFListener" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="NFCAdapter" element_type="method" element_name="getCachedMessage" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
<spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
<spec_statement>TBD</spec_statement>
</spec>
</specs>
</testcase>
- </set>
- <set name="TAG">
- <capabilities>
- <capability name="http://tizen.org/feature/network.nfc.tag"/>
- </capabilities>
- <testcase purpose="Check if interface ByteArraySuccessCallback exists, it should not." type="compliance" status="approved" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P3" id="ByteArraySuccessCallback_notexist">
+ <testcase purpose="Check if interface NFCAdapter exists, it should not." type="compliance" status="approved" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P3" id="NFCAdapter_notexist">
<description>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/ByteArraySuccessCallback_notexist.html</test_script_entry>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_notexist.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="ByteArraySuccessCallback" usage="true" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="NFCAdapter" usage="true" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
<spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
<spec_statement>TBD</spec_statement>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if interface NDEFMessageReadCallback exists, it should not." type="compliance" status="approved" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P3" id="NDEFMessageReadCallback_notexist">
+ <testcase purpose="Check if attribute powered of NFCAdapter exists, has type Boolean and is readonly" type="compliance" status="approved" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P1" id="NFCAdapter_powered_attribute">
<description>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NDEFMessageReadCallback_notexist.html</test_script_entry>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_powered_attribute.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="NDEFMessageReadCallback" usage="true" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="NFCAdapter" element_type="attribute" element_name="powered" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
<spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
<spec_statement>TBD</spec_statement>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if NDEFMessageReadCallback::onsuccess() callback is called successfully." type="compliance" status="approved" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P1" id="NDEFMessageReadCallback_onsuccess">
+ <testcase purpose="Check if interface NFCManagerObject exists, it should not." type="compliance" status="approved" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P3" id="NFCManagerObject_notexist">
<description>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NDEFMessageReadCallback_onsuccess.html</test_script_entry>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCManagerObject_notexist.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="NDEFMessageReadCallback" element_type="method" element_name="onsuccess" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="NFCManagerObject" usage="true" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
<spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
<spec_statement>TBD</spec_statement>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if method NFCAdapter::setTagListener() successfully registers listener for detecting NFC tag" type="compliance" status="approved" component="TizenAPI/Communication/NFC" execution_type="manual" priority="P1" id="NFCAdapter_setTagListener">
+ <testcase purpose="Check if NFCManager has constant NFC_RECORD_TNF_EMPTY and its value is 0" type="compliance" status="approved" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P2" id="NFCManager_NFC_RECORD_TNF_EMPTY_const">
<description>
- <pre_condition>Turn on NFC adapter. Prepare NFC tag.</pre_condition>
- <steps>
- <step order="1">
- <step_desc>Click "Run". Move NFC tag close so it will be detected.</step_desc>
- <expected>pass - tag detected</expected>
- </step>
- </steps>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_setTagListener.html</test_script_entry>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCManager_NFC_RECORD_TNF_EMPTY_const.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="NFCAdapter" element_type="method" element_name="setTagListener" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="NFCManager" element_type="attribute" element_name="NFC_RECORD_TNF_EMPTY" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
<spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
<spec_statement>TBD</spec_statement>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if NFCAdapter::setTagListener throws exception when given wrong detectCallback" type="compliance" status="approved" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P2" id="NFCAdapter_setTagListener_detectCallback_TypeMismatch">
+ <testcase purpose="Check if NFCManager has constant NFC_RECORD_TNF_EXTERNAL_RTD and its value is 4" type="compliance" status="approved" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P2" id="NFCManager_NFC_RECORD_TNF_EXTERNAL_RTD_const">
<description>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_setTagListener_detectCallback_TypeMismatch.html</test_script_entry>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCManager_NFC_RECORD_TNF_EXTERNAL_RTD_const.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="NFCAdapter" element_type="method" element_name="setTagListener" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="NFCManager" element_type="attribute" element_name="NFC_RECORD_TNF_EXTERNAL_RTD" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
<spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
<spec_statement>TBD</spec_statement>
</spec>
</specs>
</testcase>
- <testcase purpose="Check verification of detectCallback by NFCAdapter::setTagListener()" type="compliance" onload_delay="90" status="approved" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P2" id="NFCAdapter_setTagListener_detectCallback_invalid_cb">
+ <testcase purpose="Check if NFCManager has constant NFC_RECORD_TNF_MIME_MEDIA and its value is 2" type="compliance" status="approved" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P2" id="NFCManager_NFC_RECORD_TNF_MIME_MEDIA_const">
<description>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_setTagListener_detectCallback_invalid_cb.html</test_script_entry>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCManager_NFC_RECORD_TNF_MIME_MEDIA_const.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="NFCAdapter" element_type="method" element_name="setTagListener" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="NFCManager" element_type="attribute" element_name="NFC_RECORD_TNF_MIME_MEDIA" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
<spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
<spec_statement>TBD</spec_statement>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if NFCAdapter::setTagListener() method exists" type="compliance" status="approved" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P1" id="NFCAdapter_setTagListener_exist">
+ <testcase purpose="Check if NFCManager has constant NFC_RECORD_TNF_UNCHANGED and its value is 6" type="compliance" status="approved" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P2" id="NFCManager_NFC_RECORD_TNF_UNCHANGED_const">
<description>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_setTagListener_exist.html</test_script_entry>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCManager_NFC_RECORD_TNF_UNCHANGED_const.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="NFCAdapter" element_type="method" element_name="setTagListener" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="NFCManager" element_type="attribute" element_name="NFC_RECORD_TNF_UNCHANGED" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
<spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
<spec_statement>TBD</spec_statement>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if adapter.setTagListener() throws an exception" type="compliance" status="approved" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P1" id="NFCAdapter_setTagListener_missarg">
+ <testcase purpose="Check if NFCManager has constant NFC_RECORD_TNF_UNKNOWN and its value is 5" type="compliance" status="approved" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P2" id="NFCManager_NFC_RECORD_TNF_UNKNOWN_const">
<description>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_setTagListener_missarg.html</test_script_entry>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCManager_NFC_RECORD_TNF_UNKNOWN_const.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="NFCAdapter" element_type="method" element_name="setTagListener" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="NFCManager" element_type="attribute" element_name="NFC_RECORD_TNF_UNKNOWN" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
<spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
<spec_statement>TBD</spec_statement>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if TypeMismatchError is thrown when NFCAdapter::setTagListener() is given wrong tagFilter" type="compliance" onload_delay="90" status="approved" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P2" id="NFCAdapter_setTagListener_tagFilter_TypeMismatch">
+ <testcase purpose="Check if NFCManager has constant NFC_RECORD_TNF_URI and its value is 3" type="compliance" status="approved" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P2" id="NFCManager_NFC_RECORD_TNF_URI_const">
<description>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_setTagListener_tagFilter_TypeMismatch.html</test_script_entry>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCManager_NFC_RECORD_TNF_URI_const.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="NFCAdapter" element_type="method" element_name="setTagListener" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="NFCManager" element_type="attribute" element_name="NFC_RECORD_TNF_URI" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
<spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
<spec_statement>TBD</spec_statement>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if onattach() callback is called successfully when NFC tag is detected after NFCAdapter::setTagListener() with null tagFilter" type="compliance" status="approved" component="TizenAPI/Communication/NFC" execution_type="manual" priority="P2" id="NFCAdapter_setTagListener_tagFilter_is_null">
+ <testcase purpose="Check if NFCManager has constant NFC_RECORD_TNF_WELL_KNOWN and its value is 1" type="compliance" status="approved" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P2" id="NFCManager_NFC_RECORD_TNF_WELL_KNOWN_const">
<description>
- <pre_condition>Turn on NFC adapter. Prepare NFC tag</pre_condition>
- <steps>
- <step order="1">
- <step_desc>Click "Run". Move NFC tag close to the device so it will be detected.</step_desc>
- <expected>should be passed</expected>
- </step>
- </steps>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_setTagListener_tagFilter_is_null.html</test_script_entry>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCManager_NFC_RECORD_TNF_WELL_KNOWN_const.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="NFCAdapter" element_type="method" element_name="setTagListener" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="NFCManager" element_type="attribute" element_name="NFC_RECORD_TNF_WELL_KNOWN" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
<spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
<spec_statement>TBD</spec_statement>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if onattach() callback is called successfully when NFC tag is detected after NFCAdapter::setTagListener() with valid tagFilter" type="compliance" status="approved" component="TizenAPI/Communication/NFC" execution_type="manual" priority="P2" id="NFCAdapter_setTagListener_with_tagFilter">
+ <testcase purpose="Test whether the NFCManager object can have new properties added" type="compliance" status="approved" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P3" id="NFCManager_extend">
<description>
- <pre_condition>Turn on NFC adapter. Prepare NFC tag.</pre_condition>
- <steps>
- <step order="1">
- <step_desc>Click "Run". Move NFC tag close to the device so it will be detected.</step_desc>
- <expected>should be passed</expected>
- </step>
- </steps>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_setTagListener_with_tagFilter.html</test_script_entry>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCManager_extend.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="NFCAdapter" element_type="method" element_name="setTagListener" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="NFCManager" usage="true" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
<spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
<spec_statement>TBD</spec_statement>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if method NFCAdapter::unsetTagListener() disables listener for detecting an NFC tag" type="compliance" status="approved" component="TizenAPI/Communication/NFC" execution_type="manual" priority="P1" id="NFCAdapter_unsetTagListener">
+ <testcase purpose="Check if NFCManager::getDefaultAdapter() method returns object" type="compliance" status="approved" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P1" id="NFCManager_getDefaultAdapter">
<description>
- <pre_condition>Turn on NFC adapter. Prepare NFC tag.</pre_condition>
- <steps>
- <step order="1">
- <step_desc>Click "Run". Move NFC tag close so it will be detected and then click "Tag was attached" button.</step_desc>
- <expected>pass</expected>
- </step>
- </steps>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_unsetTagListener.html</test_script_entry>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCManager_getDefaultAdapter.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="NFCAdapter" element_type="method" element_name="unsetTagListener" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="NFCManager" element_type="method" element_name="getDefaultAdapter" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
<spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
<spec_statement>TBD</spec_statement>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if method NFCAdapter::unsetTagListener() method exists" type="compliance" status="approved" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P1" id="NFCAdapter_unsetTagListener_exist">
+ <testcase purpose="Check if method NFCAdapter::getDefaultAdapter() exists" type="compliance" status="approved" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P1" id="NFCManager_getDefaultAdapter_exists">
<description>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_unsetTagListener_exist.html</test_script_entry>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCManager_getDefaultAdapter_exists.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="NFCAdapter" element_type="method" element_name="unsetTagListener" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="NFCManager" element_type="method" element_name="getDefaultAdapter" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
<spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
<spec_statement>TBD</spec_statement>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if method unsetTagListener of NFCAdapter accepts extra argument" type="compliance" status="approved" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P1" id="NFCAdapter_unsetTagListener_extra_argument">
+ <testcase purpose="Check if method getDefaultAdapter of NFCManager accepts extra argument" type="compliance" status="approved" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P1" id="NFCManager_getDefaultAdapter_extra_argument">
<description>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_unsetTagListener_extra_argument.html</test_script_entry>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCManager_getDefaultAdapter_extra_argument.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="NFCAdapter" element_type="method" element_name="unsetTagListener" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="NFCManager" element_type="method" element_name="getDefaultAdapter" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
<spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
<spec_statement>TBD</spec_statement>
</spec>
</specs>
</testcase>
- <testcase purpose="Check NFCTag attributes, method existence and TypeMismatchError throwing" type="compliance" status="approved" component="TizenAPI/Communication/NFC" execution_type="manual" priority="P3" id="NFCTag">
+ <testcase purpose="Check if interface NFCManager exists, it should not." type="compliance" status="approved" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P3" id="NFCManager_notexist">
<description>
- <pre_condition>Turn on NFC adapter. Prepare NFC tag.</pre_condition>
- <steps>
- <step order="1">
- <step_desc>Click "Run". Move NFC tag close so it will be detected.</step_desc>
- <expected>Pass</expected>
- </step>
- </steps>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCTag.html</test_script_entry>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCManager_notexist.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="NFCTag" element_type="attribute" element_name="isConnected" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="NFCManager" usage="true" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
<spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
<spec_statement>TBD</spec_statement>
</spec>
+ </specs>
+ </testcase>
+ <testcase purpose="Check if NFCManager::setExclusiveMode() method can be executed" type="compliance" status="approved" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P1" id="NFCManager_setExclusiveMode">
+ <description>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCManager_setExclusiveMode.html</test_script_entry>
+ </description>
+ <specs>
<spec>
- <spec_assertion interface="NFCTag" element_type="attribute" element_name="isSupportedNDEF" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="NFCManager" element_type="method" element_name="setExclusiveMode" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
<spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
<spec_statement>TBD</spec_statement>
</spec>
+ </specs>
+ </testcase>
+ <testcase purpose="Check if NFCManager object has method setExclusiveMode()" type="compliance" status="approved" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P0" id="NFCManager_setExclusiveMode_exist">
+ <description>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCManager_setExclusiveMode_exist.html</test_script_entry>
+ </description>
+ <specs>
<spec>
- <spec_assertion interface="NFCTag" element_type="attribute" element_name="ndefSize" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/index.jsp?topic=/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
+ <spec_assertion interface="NFCManager" element_type="method" element_name="setExclusiveMode" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
<spec_statement>TBD</spec_statement>
</spec>
+ </specs>
+ </testcase>
+ <testcase purpose="Check if NFCManager::setExclusiveMode() method throws an exception when called without argument" type="compliance" status="approved" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P1" id="NFCManager_setExclusiveMode_missarg">
+ <description>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCManager_setExclusiveMode_missarg.html</test_script_entry>
+ </description>
+ <specs>
<spec>
- <spec_assertion interface="NFCTag" element_type="attribute" element_name="properties" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/index.jsp?topic=/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
+ <spec_assertion interface="NFCManager" element_type="method" element_name="setExclusiveMode" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
<spec_statement>TBD</spec_statement>
</spec>
+ </specs>
+ </testcase>
+ <testcase purpose="Check if Tizen implements interface NFCManagerObject and has attribute nfc" type="compliance" status="approved" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P3" id="Tizen_nfc_exist">
+ <description>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/Tizen_nfc_exist.html</test_script_entry>
+ </description>
+ <specs>
<spec>
- <spec_assertion interface="NFCTag" element_type="attribute" element_name="type" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/index.jsp?topic=/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
+ <spec_assertion interface="NFCManager" usage="true" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
<spec_statement>TBD</spec_statement>
</spec>
+ </specs>
+ </testcase>
+ </set>
+ <set name="EMU_mobile">
+ <capabilities>
+ <capability name="http://tizen.org/feature/profile"><value>MOBILE_FULL</value></capability>
+ <capability name="http://tizen.org/feature/network.nfc.card_emulation"/>
+ </capabilities>
+ <testcase purpose="Check NFCAdapter::activeSecureElement attribute" type="compliance" status="approved" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P1" id="NFCAdapter_activeSecureElement_attribute">
+ <description>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_activeSecureElement_attribute.html</test_script_entry>
+ </description>
+ <specs>
<spec>
- <spec_assertion interface="NFCTag" element_type="method" element_name="readNDEF" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/index.jsp?topic=/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
+ <spec_assertion interface="NFCAdapter" element_type="attribute" element_name="activeSecureElement" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
+ <spec_url>https://developer.tizen.org/dev-guide/2.2.1/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
<spec_statement>TBD</spec_statement>
</spec>
+ </specs>
+ </testcase>
+ <testcase purpose="Check NFCAdapter:cardEmulationMode attribute exists, has type CardEmulationMode and can be modified" type="compliance" status="approved" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P1" id="NFCAdapter_cardEmulationMode_attribute">
+ <description>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_cardEmulationMode_attribute.html</test_script_entry>
+ </description>
+ <specs>
<spec>
- <spec_assertion interface="NFCTag" element_type="method" element_name="readNDEF" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/index.jsp?topic=/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
+ <spec_assertion interface="NFCAdapter" element_type="attribute" element_name="cardEmulationMode" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
+ <spec_url>https://developer.tizen.org/dev-guide/2.2.1/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
<spec_statement>TBD</spec_statement>
</spec>
+ </specs>
+ </testcase>
+ <testcase purpose="Check if interface ActiveSecureElementChangeCallback exists, it should not exist." type="compliance" status="approved" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P3" id="ActiveSecureElementChangeCallback_notexist">
+ <description>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/ActiveSecureElementChangeCallback_notexist.html</test_script_entry>
+ </description>
+ <specs>
<spec>
- <spec_assertion interface="NFCTag" element_type="method" element_name="readNDEF" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/index.jsp?topic=/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- <spec>
- <spec_assertion interface="NFCTag" element_type="method" element_name="readNDEF" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/index.jsp?topic=/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- <spec>
- <spec_assertion interface="NFCTag" element_type="method" element_name="readNDEF" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/index.jsp?topic=/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- <spec>
- <spec_assertion interface="NFCTag" element_type="method" element_name="readNDEF" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/index.jsp?topic=/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- <spec>
- <spec_assertion interface="NFCTag" element_type="method" element_name="writeNDEF" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/index.jsp?topic=/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- <spec>
- <spec_assertion interface="NFCTag" element_type="method" element_name="writeNDEF" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/index.jsp?topic=/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- <spec>
- <spec_assertion interface="NFCTag" element_type="method" element_name="writeNDEF" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/index.jsp?topic=/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- <spec>
- <spec_assertion interface="NFCTag" element_type="method" element_name="writeNDEF" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/index.jsp?topic=/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- <spec>
- <spec_assertion interface="NFCTag" element_type="method" element_name="writeNDEF" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/index.jsp?topic=/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- <spec>
- <spec_assertion interface="NFCTag" element_type="method" element_name="writeNDEF" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/index.jsp?topic=/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- <spec>
- <spec_assertion interface="NFCTag" element_type="method" element_name="writeNDEF" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/index.jsp?topic=/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- <spec>
- <spec_assertion interface="NFCTag" element_type="method" element_name="writeNDEF" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/index.jsp?topic=/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- <spec>
- <spec_assertion interface="NFCTag" element_type="method" element_name="transceive" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/index.jsp?topic=/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- <spec>
- <spec_assertion interface="NFCTag" element_type="method" element_name="transceive" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/index.jsp?topic=/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- <spec>
- <spec_assertion interface="NFCTag" element_type="method" element_name="transceive" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/index.jsp?topic=/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- <spec>
- <spec_assertion interface="NFCTag" element_type="method" element_name="transceive" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/index.jsp?topic=/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- <spec>
- <spec_assertion interface="NFCTag" element_type="method" element_name="transceive" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/index.jsp?topic=/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- <spec>
- <spec_assertion interface="NFCTag" element_type="method" element_name="transceive" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/index.jsp?topic=/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- <spec>
- <spec_assertion interface="NFCTag" element_type="method" element_name="transceive" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/index.jsp?topic=/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- <spec>
- <spec_assertion interface="NFCTag" usage="true" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/index.jsp?topic=/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase purpose="Check if interface NFCTagDetectCallback exists, it should not." type="compliance" status="approved" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P3" id="NFCTagDetectCallback_notexist">
- <description>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCTagDetectCallback_notexist.html</test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion interface="NFCTagDetectCallback" usage="true" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase purpose="Check if NFCTagDetectCallback::onattach() callback is called with proper argument when NFC tag is detected" type="compliance" status="approved" component="TizenAPI/Communication/NFC" execution_type="manual" priority="P1" id="NFCTagDetectCallback_onattach">
- <description>
- <pre_condition>Turn on NFC adapter. Prepare NFC tag</pre_condition>
- <steps>
- <step order="1">
- <step_desc>Click "Run". Move NFC tag close so it will be detected.</step_desc>
- <expected>pass - after setTagListener onattach callback was called</expected>
- </step>
- </steps>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCTagDetectCallback_onattach.html</test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion interface="NFCTagDetectCallback" element_type="method" element_name="onattach" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase purpose="Check if NFCTagDetectCallback::ondetach() callback is called when NFC tag is disconnected" type="compliance" status="approved" component="TizenAPI/Communication/NFC" execution_type="manual" priority="P1" id="NFCTagDetectCallback_ondetach">
- <description>
- <pre_condition>Turn on NFC adapter. Prepare NFC tag.</pre_condition>
- <steps>
- <step order="1">
- <step_desc>Click "Run". Move NFC tag close until it will be detected and then take it away.</step_desc>
- <expected>pass - after setTagListener ondetach callback is called</expected>
- </step>
- </steps>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCTagDetectCallback_ondetach.html</test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion interface="NFCTagDetectCallback" element_type="method" element_name="ondetach" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase purpose="Check if interface NFCTag exists, it should not." type="compliance" status="approved" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P3" id="NFCTag_notexist">
- <description>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCTag_notexist.html</test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion interface="NFCTag" usage="true" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase purpose="Check if method NFCTag::readNDEF() reports error by calling errorCallback when NFC tag was disconnected" type="compliance" status="approved" component="TizenAPI/Communication/NFC" execution_type="manual" priority="P2" id="NFCTag_readNDEF_errorCallback">
- <description>
- <pre_condition>Turn on NFC adapter. Prepare NFC tag.</pre_condition>
- <steps>
- <step order="1">
- <step_desc>Click "Run". Move NFC tag close until it will be detected and then take it away before the expiration of 3 seconds.</step_desc>
- <expected>pass - readNDEF reported failure by error callback</expected>
- </step>
- </steps>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCTag_readNDEF_errorCallback.html</test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion interface="NFCTag" element_type="method" element_name="readNDEF" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase purpose="Check if method NFCTag::readNDEF() successfully reads data from NFC tag" type="compliance" onload_delay="90" status="approved" component="TizenAPI/Communication/NFC" execution_type="manual" priority="P1" id="NFCTag_readNDEF_without_errorCallback">
- <description>
- <pre_condition>Turn on NFC adapter. Prepare NFC tag.</pre_condition>
- <steps>
- <step order="1">
- <step_desc>Click "Run". Move NFC tag close so it will be detected.</step_desc>
- <expected>pass - read the NDEF data successfully</expected>
- </step>
- </steps>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCTag_readNDEF_without_errorCallback.html</test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion interface="NFCTag" element_type="method" element_name="readNDEF" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- <spec>
- <spec_assertion interface="NDEFMessageReadCallback" element_type="method" element_name="onsuccess" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase purpose="Check if method NFCTag::transceive() reports error by calling errorCallback when NFC tag is disconnected" type="compliance" status="approved" component="TizenAPI/Communication/NFC" execution_type="manual" priority="P2" id="NFCTag_transceive_with_errorCallback">
- <description>
- <pre_condition>Turn on NFC adapter. Prepare NFC tag.</pre_condition>
- <steps>
- <step order="1">
- <step_desc>Click "Run". Move NFC tag close until it will be detected and then take it away before the expiration of 3 seconds.</step_desc>
- <expected>pass - transceive reported failure by error callback</expected>
- </step>
- </steps>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCTag_transceive_with_errorCallback.html</test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion interface="NFCTag" element_type="method" element_name="transceive" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase purpose="Check if method NFCTag::writeNDEF() can be called with only mandatory argument" type="compliance" status="approved" component="TizenAPI/Communication/NFC" execution_type="manual" priority="P2" id="NFCTag_writeNDEF">
- <description>
- <pre_condition>Turn on NFC adapter. Prepare NFC tag.</pre_condition>
- <steps>
- <step order="1">
- <step_desc>Click "Run". Move NFC tag close so it will be detected.</step_desc>
- <expected>pass - writeNDEF successfully without callback</expected>
- </step>
- </steps>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCTag_writeNDEF.html</test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion interface="NFCTag" element_type="method" element_name="writeNDEF" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase purpose="Check if method NFCTag::writeNDEF() reports error by calling errorCallback when NFC tag is disconnected" type="compliance" status="approved" component="TizenAPI/Communication/NFC" execution_type="manual" priority="P2" id="NFCTag_writeNDEF_with_errorCallback">
- <description>
- <pre_condition>Turn on NFC adapter. Prepare NFC tag.</pre_condition>
- <steps>
- <step order="1">
- <step_desc>Click "Run". Move NFC tag close until it will be detected and then take it away before the expiration of 3 seconds.</step_desc>
- <expected>pass - writeNDEF reported failure by error callback</expected>
- </step>
- </steps>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCTag_writeNDEF_with_errorCallback.html</test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion interface="NFCTag" element_type="method" element_name="writeNDEF" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase purpose="Check if method NFCTag::writeNDEF() calls successCallback" type="compliance" status="approved" component="TizenAPI/Communication/NFC" execution_type="manual" priority="P1" id="NFCTag_writeNDEF_with_successCallback">
- <description>
- <pre_condition>Turn on NFC adapter. Prepare NFC tag.</pre_condition>
- <steps>
- <step order="1">
- <step_desc>Click "Run". Move NFC tag close so it will be detected.</step_desc>
- <expected>pass - writing the NDEF Data successfully</expected>
- </step>
- </steps>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCTag_writeNDEF_with_successCallback.html</test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion interface="NFCTag" element_type="method" element_name="writeNDEF" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>
- </set>
- <set name="HCE">
- <capabilities>
- <capability name="http://tizen.org/feature/network.nfc.card_emulation.hce"/>
- </capabilities>
- <testcase purpose="Check if interface AIDArraySuccessCallback exists, it should not." type="compliance" status="approved" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P3" id="AIDArraySuccessCallback_notexist">
- <description>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/AIDArraySuccessCallback_notexist.html</test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion interface="AIDArraySuccessCallback" usage="true" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase purpose="Check if AIDArraySuccessCallback onsuccess is called and if its arguments have proper type" type="compliance" status="approved" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P1" id="AIDArraySuccessCallback_onsuccess">
- <description>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/AIDArraySuccessCallback_onsuccess.html</test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion interface="AIDArraySuccessCallback" element_type="method" element_name="onSuccess" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase purpose="Check if aid string exist in AIDData has default value and its readonly" type="compliance" status="approved" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P1" id="AIDData_aid_attribute">
- <description>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/AIDData_aid_attribute.html</test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion interface="AIDData" element_type="attribute" element_name="aid" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase purpose="Check if instance of AIDData can be extended with new property" type="compliance" status="approved" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P3" id="AIDData_extend">
- <description>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/AIDData_extend.html</test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion interface="AIDData" usage="true" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase purpose="Check if interface AIDData exists, it should not." type="compliance" status="approved" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P3" id="AIDData_notexist">
- <description>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/AIDData_notexist.html</test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion interface="AIDData" usage="true" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase purpose="Check if AIDData has default value and its readonly" type="compliance" status="approved" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P1" id="AIDData_readOnly_attribute">
- <description>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/AIDData_readOnly_attribute.html</test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion interface="AIDData" element_type="attribute" element_name="readOnly" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
+ <spec_assertion interface="ActiveSecureElementChangeCallback U" usage="true" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
+ <spec_url>https://developer.tizen.org/dev-guide/2.2.1/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
<spec_statement>TBD</spec_statement>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if type exist in AIDData has default value and its readonly" type="compliance" status="approved" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P1" id="AIDData_type_attribute">
+ <testcase purpose="Test whether ActiveSecureElementChangeCallback::onchanged is called with argument of proper type" type="compliance" onload_delay="30" status="approved" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P1" id="ActiveSecureElementChangeCallback_onchanged">
<description>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/AIDData_type_attribute.html</test_script_entry>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/ActiveSecureElementChangeCallback_onchanged.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="AIDData" element_type="attribute" element_name="type" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
+ <spec_assertion interface="ActiveSecureElementChangeCallback" element_type="method" element_name="onchanged" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
+ <spec_url>https://developer.tizen.org/dev-guide/2.2.1/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
<spec_statement>TBD</spec_statement>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if apdu exist in HCEEventData has default value and its readonly" type="compliance" status="approved" component="TizenAPI/Communication/NFC" execution_type="manual" priority="P1" id="HCEEventData_apdu_attribute">
+ <testcase purpose="Check if interface CardEmulationModeChangeCallback exists, it should not exists" type="compliance" status="approved" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P3" id="CardEmulationModeChangeCallback_notexist">
<description>
- <pre_condition>Turn on NFC adapter.Prepare another device supported nfc emulation card</pre_condition>
- <steps>
- <step order="1">
- <step_desc>Click "Run" . Attach device or send APDU using another device to trigger the onDetect CB.</step_desc>
- <expected>pass - onDetect listener should be called</expected>
- </step>
- </steps>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/HCEEventData_apdu_attribute.html</test_script_entry>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/CardEmulationModeChangeCallback_notexist.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="HCEEventData" element_type="attribute" element_name="apdu" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
+ <spec_assertion interface="CardEmulationModeChangeCallback" usage="true" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
+ <spec_url>https://developer.tizen.org/dev-guide/2.2.1/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
<spec_statement>TBD</spec_statement>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if eventdata exist in HCEEventData has default value and its readonly" type="compliance" status="approved" component="TizenAPI/Communication/NFC" execution_type="manual" priority="P1" id="HCEEventData_eventType_attribute">
+ <testcase purpose="Test whether CardEmulationModeChangeCallback::onchanged is called with argument of proper type" type="compliance" onload_delay="30" status="approved" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P1" id="CardEmulationModeChangeCallback_onchanged">
<description>
- <pre_condition>Turn on NFC adapter.Prepare another device supported nfc emulation card</pre_condition>
- <steps>
- <step order="1">
- <step_desc>Click "Run" . Attach device or send APDU using another device to trigger the onDetect CB.</step_desc>
- <expected>pass - onDetect listener should be called</expected>
- </step>
- </steps>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/HCEEventData_eventType_attribute.html</test_script_entry>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/CardEmulationModeChangeCallback_onchanged.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="HCEEventData" element_type="attribute" element_name="eventType" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
+ <spec_assertion interface="CardEmulationModeChangeCallback" element_type="method" element_name="onchanged" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
+ <spec_url>https://developer.tizen.org/dev-guide/2.2.1/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
<spec_statement>TBD</spec_statement>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if instance of HCEEventData can be extended with new property" type="compliance" status="approved" component="TizenAPI/Communication/NFC" execution_type="manual" priority="P3" id="HCEEventData_extend">
+ <testcase purpose="Check NFCAdapter::addActiveSecureElementChangeListener returns a value expected" type="compliance" onload_delay="30" status="approved" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P1" id="NFCAdapter_addActiveSecureElementChangeListener">
<description>
- <pre_condition>Turn on NFC adapter.Prepare another device supported nfc emulation card</pre_condition>
- <steps>
- <step order="1">
- <step_desc>Click "Run" . Attach device or send APDU using another device to trigger the onDetect CB.</step_desc>
- <expected>pass - onDetect listener should be called</expected>
- </step>
- </steps>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/HCEEventData_extend.html</test_script_entry>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_addActiveSecureElementChangeListener.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="HCEEventData" usage="true" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
+ <spec_assertion interface="NFCAdapter" element_type="method" element_name="addActiveSecureElementChangeListener" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
+ <spec_url>https://developer.tizen.org/dev-guide/2.2.1/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
<spec_statement>TBD</spec_statement>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if length exist in HCEEventData has default value and its readonly" type="compliance" status="approved" component="TizenAPI/Communication/NFC" execution_type="manual" priority="P1" id="HCEEventData_length_attribute">
+ <testcase purpose="Check if NFCAdapter::addActiveSecureElementChangeListener() with incorrect changeCallback argument throws an exception" type="compliance" status="approved" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P2" id="NFCAdapter_addActiveSecureElementChangeListener_TypeMismatch">
<description>
- <pre_condition>Turn on NFC adapter.Prepare another device supported nfc emulation card</pre_condition>
- <steps>
- <step order="1">
- <step_desc>Click "Run" . Attach device or send APDU using another device to trigger the onDetect CB.</step_desc>
- <expected>pass - onDetect listener should be called</expected>
- </step>
- </steps>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/HCEEventData_length_attribute.html</test_script_entry>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_addActiveSecureElementChangeListener_TypeMismatch.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="HCEEventData" element_type="attribute" element_name="length" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
+ <spec_assertion interface="NFCAdapter" element_type="method" element_name="addActiveSecureElementChangeListener" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
+ <spec_url>https://developer.tizen.org/dev-guide/2.2.1/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
<spec_statement>TBD</spec_statement>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if interface HCEEventData exists, it should not." type="compliance" status="approved" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P3" id="HCEEventData_notexist">
+ <testcase purpose="Check if method NFCAdapter::addActiveSecureElementChangeListener exists" type="compliance" status="approved" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P0" id="NFCAdapter_addActiveSecureElementChangeListener_exist">
<description>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/HCEEventData_notexist.html</test_script_entry>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_addActiveSecureElementChangeListener_exist.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="HCEEventData" usage="true" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
+ <spec_assertion interface="NFCAdapter" element_type="method" element_name="addActiveSecureElementChangeListener" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
+ <spec_url>https://developer.tizen.org/dev-guide/2.2.1/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
<spec_statement>TBD</spec_statement>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if interface HCEEventReceiveCallback exists, it should not." type="compliance" status="approved" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P3" id="HCEEventReceiveCallback_notexist">
+ <testcase purpose="Check NFCAdapter::addActiveSecureElementChangeListener throws exception with invalid callback" type="compliance" status="approved" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P2" id="NFCAdapter_addActiveSecureElementChangeListener_invalid_cb">
<description>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/HCEEventReceiveCallback_notexist.html</test_script_entry>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_addActiveSecureElementChangeListener_invalid_cb.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="HCEEventReceiveCallback" usage="true" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
+ <spec_assertion interface="NFCAdapter" element_type="method" element_name="addActiveSecureElementChangeListener" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
+ <spec_url>https://developer.tizen.org/dev-guide/2.2.1/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
<spec_statement>TBD</spec_statement>
</spec>
</specs>
- </testcase>
- <testcase purpose="Check if HCEEventReceiveCallback ondetected is called and if its arguments have proper type" type="compliance" onload_delay="90" status="approved" component="TizenAPI/Communication/NFC" execution_type="manual" priority="P1" id="HCEEventReceiveCallback_ondetected">
- <description>
- <pre_condition>Turn on NFC adapter. Prepare the other device with HCE turned on.</pre_condition>
- <steps>
- <step order="1">
- <step_desc>Click "Run". Move other device with HCE close so it will be detected.</step_desc>
- <expected>Pass</expected>
- </step>
- </steps>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/HCEEventReceiveCallback_ondetected.html</test_script_entry>
+ </testcase>
+ <testcase purpose="Check if NFCAdapter::addActiveSecureElementChangeListener throws exception with no param" type="compliance" status="approved" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P2" id="NFCAdapter_addActiveSecureElementChangeListener_misarg">
+ <description>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_addActiveSecureElementChangeListener_misarg.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="HCEEventReceiveCallback" element_type="method" element_name="ondetected" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
+ <spec_assertion interface="NFCAdapter" element_type="method" element_name="addActiveSecureElementChangeListener" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
+ <spec_url>https://developer.tizen.org/dev-guide/2.2.1/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
<spec_statement>TBD</spec_statement>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if method NFCAdapter::addHCEEventListener() successfully" type="compliance" onload_delay="90" status="approved" component="TizenAPI/Communication/NFC" execution_type="manual" priority="P1" id="NFCAdapter_addHCEEventListener">
+ <testcase purpose="Check if method NFCAdapter::addCardEmulationModeChangeListener works properly" type="compliance" onload_delay="30" status="approved" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P1" id="NFCAdapter_addCardEmulationModeChangeListener">
<description>
- <pre_condition>Turn on NFC adapter. Prepare the other device with HCE turned on.</pre_condition>
- <steps>
- <step order="1">
- <step_desc>Click "Run". Move other device with HCE close so it will be detected.</step_desc>
- <expected>pass - HCE detected</expected>
- </step>
- </steps>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_addHCEEventListener.html</test_script_entry>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_addCardEmulationModeChangeListener.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="NFCAdapter" element_type="method" element_name="addHCEEventListener" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
+ <spec_assertion interface="NFCAdapter" element_type="method" element_name="addCardEmulationModeChangeListener" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
+ <spec_url>https://developer.tizen.org/dev-guide/2.2.1/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
<spec_statement>TBD</spec_statement>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if NFCAdapter::addHCEEventListener throws exception when given wrong type of eventCallback" type="compliance" status="approved" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P2" id="NFCAdapter_addHCEEventListener_eventCallback_TypeMismatch">
+ <testcase purpose="Check if method NFCAdapter::addCardEmulationModeChangeListener throws TypeMismatch exception whith invalidate params" type="compliance" status="approved" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P2" id="NFCAdapter_addCardEmulationModeChangeListener_TypeMismatch">
<description>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_addHCEEventListener_eventCallback_TypeMismatch.html</test_script_entry>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_addCardEmulationModeChangeListener_TypeMismatch.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="NFCAdapter" element_type="method" element_name="addHCEEventListener" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
+ <spec_assertion interface="NFCAdapter" element_type="method" element_name="addCardEmulationModeChangeListener" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
+ <spec_url>https://developer.tizen.org/dev-guide/2.2.1/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
<spec_statement>TBD</spec_statement>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if NFCAdapter::addHCEEventListener() method throws exception when eventcallback is invalid" type="compliance" onload_delay="90" status="approved" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P2" id="NFCAdapter_addHCEEventListener_eventCallback_invalid_cb">
+ <testcase purpose="Check if method NFCAdapter::addCardEmulationModeChangeListener exists" type="compliance" status="approved" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P0" id="NFCAdapter_addCardEmulationModeChangeListener_exist">
<description>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_addHCEEventListener_eventCallback_invalid_cb.html</test_script_entry>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_addCardEmulationModeChangeListener_exist.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="NFCAdapter" element_type="method" element_name="addHCEEventListener" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
+ <spec_assertion interface="NFCAdapter" element_type="method" element_name="addCardEmulationModeChangeListener" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
+ <spec_url>https://developer.tizen.org/dev-guide/2.2.1/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
<spec_statement>TBD</spec_statement>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if NFCAdapter::addHCEEventListener() method exists" type="compliance" status="approved" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P0" id="NFCAdapter_addHCEEventListener_exist">
+ <testcase purpose="Check if NFCAdapter::addCardEmulationModeChangeListener throws exception with invalid callback" type="compliance" onload_delay="30" status="approved" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P2" id="NFCAdapter_addCardEmulationModeChangeListener_invalid_cb">
<description>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_addHCEEventListener_exist.html</test_script_entry>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_addCardEmulationModeChangeListener_invalid_cb.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="NFCAdapter" element_type="method" element_name="addHCEEventListener" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
+ <spec_assertion interface="NFCAdapter" element_type="method" element_name="addCardEmulationModeChangeListener" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
+ <spec_url>https://developer.tizen.org/dev-guide/2.2.1/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
<spec_statement>TBD</spec_statement>
</spec>
</specs>
</testcase>
- <testcase purpose="Check NFCAdapter::addHCEEventListener() without any argument" type="compliance" status="approved" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P2" id="NFCAdapter_addHCEEventListener_noarg">
+ <testcase purpose="Check if method NFCAdapter::addCardEmulationModeChangeListener throws excepton when argument is missing" type="compliance" status="approved" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P2" id="NFCAdapter_addCardEmulationModeChangeListener_misarg">
<description>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_addHCEEventListener_noarg.html</test_script_entry>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_addCardEmulationModeChangeListener_misarg.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="NFCAdapter" element_type="method" element_name="addHCEEventListener" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
+ <spec_assertion interface="NFCAdapter" element_type="method" element_name="addCardEmulationModeChangeListener" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
+ <spec_url>https://developer.tizen.org/dev-guide/2.2.1/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
<spec_statement>TBD</spec_statement>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if method NFCAdapter::getAIDsForCategory()" type="compliance" status="approved" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P1" id="NFCAdapter_getAIDsForCategory">
+ <testcase purpose="Check NFCAdapter::addTransactionEventListener() method returns a value expected." type="compliance" status="approved" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P1" id="NFCAdapter_addTransactionEventListener">
<description>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_getAIDsForCategory.html</test_script_entry>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_addTransactionEventListener.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="NFCAdapter" element_type="method" element_name="getAIDsForCategory" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
+ <spec_assertion interface="NFCAdapter" element_type="method" element_name="addTransactionEventListener" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
+ <spec_url>https://developer.tizen.org/dev-guide/2.2.1/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
<spec_statement>TBD</spec_statement>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if method NFCAdapter::getAIDsForCategory() works with ESE param " type="compliance" status="approved" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P1" id="NFCAdapter_getAIDsForCategory_ESE">
+ <testcase purpose="Check if NFCAdapter::addTransactionEventListener throws TypeMismatch exception with incorrect eventCallback argument" type="compliance" status="approved" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P2" id="NFCAdapter_addTransactionEventListener_eventCallback_TypeMismatch">
<description>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_getAIDsForCategory_ESE.html</test_script_entry>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_addTransactionEventListener_eventCallback_TypeMismatch.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="NFCAdapter" element_type="method" element_name="getAIDsForCategory" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
+ <spec_assertion interface="NFCAdapter" element_type="method" element_name="addTransactionEventListener" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
+ <spec_url>https://developer.tizen.org/dev-guide/2.2.1/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
<spec_statement>TBD</spec_statement>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if method NFCAdapter::getAIDsForCategory() successfully by ESE param without errorCallback" type="compliance" status="approved" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P1" id="NFCAdapter_getAIDsForCategory_ESE_without_errorCallback">
+ <testcase purpose="Check if NFCAdapter::addTransactionEventListener throws exception with invalid callback" type="compliance" onload_delay="30" status="approved" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P2" id="NFCAdapter_addTransactionEventListener_eventCallback_invalid_cb">
<description>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_getAIDsForCategory_ESE_without_errorCallback.html</test_script_entry>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_addTransactionEventListener_eventCallback_invalid_cb.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="NFCAdapter" element_type="method" element_name="getAIDsForCategory" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
+ <spec_assertion interface="NFCAdapter" element_type="method" element_name="addTransactionEventListener" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
+ <spec_url>https://developer.tizen.org/dev-guide/2.2.1/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
<spec_statement>TBD</spec_statement>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if method NFCAdapter::getAIDsForCategory() with the type of OTHER successfully" type="compliance" status="approved" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P1" id="NFCAdapter_getAIDsForCategory_OTHER">
+ <testcase purpose="Check if method NFCAdapter::addTransactionEventListener exists" type="compliance" status="approved" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P0" id="NFCAdapter_addTransactionEventListener_exist">
<description>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_getAIDsForCategory_OTHER.html</test_script_entry>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_addTransactionEventListener_exist.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="NFCAdapter" element_type="method" element_name="getAIDsForCategory" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
+ <spec_assertion interface="NFCAdapter" element_type="method" element_name="addTransactionEventListener" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
+ <spec_url>https://developer.tizen.org/dev-guide/2.2.1/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
<spec_statement>TBD</spec_statement>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if method NFCAdapter::getAIDsForCategory() with the type of OTHER without errorCallback" type="compliance" status="approved" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P1" id="NFCAdapter_getAIDsForCategory_OTHER_without_errorCallback">
+ <testcase purpose="Check if NFCAdapter::addTransactionEventListener throws exception when mandatory argument is missing" type="compliance" status="approved" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P2" id="NFCAdapter_addTransactionEventListener_misarg">
<description>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_getAIDsForCategory_OTHER_without_errorCallback.html</test_script_entry>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_addTransactionEventListener_misarg.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="NFCAdapter" element_type="method" element_name="getAIDsForCategory" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
+ <spec_assertion interface="NFCAdapter" element_type="method" element_name="addTransactionEventListener" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
+ <spec_url>https://developer.tizen.org/dev-guide/2.2.1/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
<spec_statement>TBD</spec_statement>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if method NFCAdapter::getAIDsForCategory() works with UICC param " type="compliance" status="approved" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P1" id="NFCAdapter_getAIDsForCategory_UICC">
+ <testcase purpose="Check if NFCAdapter::addTransactionEventListener throws TypeMismatch exception with incorrect type argument" type="compliance" status="approved" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P2" id="NFCAdapter_addTransactionEventListener_type_TypeMismatch">
<description>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_getAIDsForCategory_UICC.html</test_script_entry>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_addTransactionEventListener_type_TypeMismatch.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="NFCAdapter" element_type="method" element_name="getAIDsForCategory" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
+ <spec_assertion interface="NFCAdapter" element_type="method" element_name="addTransactionEventListener" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
+ <spec_url>https://developer.tizen.org/dev-guide/2.2.1/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
<spec_statement>TBD</spec_statement>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if method NFCAdapter::getAIDsForCategory() with the type of UICC without errorCallback" type="compliance" status="approved" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P1" id="NFCAdapter_getAIDsForCategory_UICC_without_errorCallback">
+ <testcase purpose="Check if method NFCAdapter::removeActiveSecureElementChangeListener works properly Check if method NFCAdapter::removeActiveSecureElementChangeListener() works properly." type="compliance" onload_delay="30" status="approved" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P1" id="NFCAdapter_removeActiveSecureElementChangeListener">
<description>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_getAIDsForCategory_UICC_without_errorCallback.html</test_script_entry>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_removeActiveSecureElementChangeListener.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="NFCAdapter" element_type="method" element_name="getAIDsForCategory" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
+ <spec_assertion interface="NFCAdapter" element_type="method" element_name="removeActiveSecureElementChangeListener" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
+ <spec_url>https://developer.tizen.org/dev-guide/2.2.1/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
<spec_statement>TBD</spec_statement>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if NFCAdapter::getAIDsForCategory throws exception when given wrong type of category" type="compliance" onload_delay="90" status="approved" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P2" id="NFCAdapter_getAIDsForCategory_category_TypeMismatch">
+ <testcase purpose="Check if method NFCAdapter::removeActiveSecureElementChangeListener() method does not exist" type="compliance" status="approved" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P0" id="NFCAdapter_removeActiveSecureElementChangeListener_exist">
<description>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_getAIDsForCategory_category_TypeMismatch.html</test_script_entry>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_removeActiveSecureElementChangeListener_exist.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="NFCAdapter" element_type="method" element_name="getAIDsForCategory" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
+ <spec_assertion interface="NFCAdapter" element_type="method" element_name="removeActiveSecureElementChangeListener" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
+ <spec_url>https://developer.tizen.org/dev-guide/2.2.1/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
<spec_statement>TBD</spec_statement>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if NFCAdapter::getAIDsForCategory throws exception when given wrong type of errorCallback" type="compliance" status="approved" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P2" id="NFCAdapter_getAIDsForCategory_errorCallback_TypeMismatch">
+ <testcase purpose="Check if method NFCAdapter::removeCardEmulationModeChangeListener works properly" type="compliance" status="approved" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P1" id="NFCAdapter_removeCardEmulationModeChangeListener">
<description>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_getAIDsForCategory_errorCallback_TypeMismatch.html</test_script_entry>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_removeCardEmulationModeChangeListener.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="NFCAdapter" element_type="method" element_name="getAIDsForCategory" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
+ <spec_assertion interface="NFCAdapter" element_type="method" element_name="removeCardEmulationModeChangeListener" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
+ <spec_url>https://developer.tizen.org/dev-guide/2.2.1/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
<spec_statement>TBD</spec_statement>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if NFCAdapter::getAIDsForCategory() method throws exception when errorcallback is invalid" type="compliance" onload_delay="90" status="approved" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P2" id="NFCAdapter_getAIDsForCategory_errorCallback_invalid_cb">
+ <testcase purpose="Check if method NFCAdapter::removeCardEmulationModeChangeListener() exists" type="compliance" status="approved" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P0" id="NFCAdapter_removeCardEmulationModeChangeListener_exist">
<description>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_getAIDsForCategory_errorCallback_invalid_cb.html</test_script_entry>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_removeCardEmulationModeChangeListener_exist.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="NFCAdapter" element_type="method" element_name="getAIDsForCategory" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
+ <spec_assertion interface="NFCAdapter" element_type="method" element_name="removeCardEmulationModeChangeListener" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
+ <spec_url>https://developer.tizen.org/dev-guide/2.2.1/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
<spec_statement>TBD</spec_statement>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if error callback of getAIDsForCategory() method invoked" type="compliance" status="approved" component="TizenAPI/Communication/NFC" execution_type="manual" priority="P2" id="NFCAdapter_getAIDsForCategory_errorCallback_invoked">
+ <testcase purpose="Check if method NFCAdapter::removeTransactionEventListener works properly" type="compliance" status="approved" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P1" id="NFCAdapter_removeTransactionEventListener">
<description>
- <pre_condition>Turn off NFC adapter in setting</pre_condition>
- <steps>
- <step order="1">
- <step_desc>Click "Run". Don't forget Turn on NFC adapter in setting when test done</step_desc>
- <expected>pass - ServiceNotAvailable exception throw</expected>
- </step>
- </steps>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_getAIDsForCategory_errorCallback_invoked.html</test_script_entry>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_removeTransactionEventListener.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="NFCAdapter" element_type="method" element_name="getAIDsForCategory" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
+ <spec_assertion interface="NFCAdapter" element_type="method" element_name="removeTransactionEventListener" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
+ <spec_url>https://developer.tizen.org/dev-guide/2.2.1/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
<spec_statement>TBD</spec_statement>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if NFCAdapter::getAIDsForCategory() method exists" type="compliance" status="approved" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P0" id="NFCAdapter_getAIDsForCategory_exist">
+ <testcase purpose="Check if method NFCAdapter::removeTransactionEventListener exists" type="compliance" status="approved" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P0" id="NFCAdapter_removeTransactionEventListener_exist">
<description>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_getAIDsForCategory_exist.html</test_script_entry>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_removeTransactionEventListener_exist.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="NFCAdapter" element_type="method" element_name="getAIDsForCategory" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
+ <spec_assertion interface="NFCAdapter" element_type="method" element_name="removeTransactionEventListener" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
+ <spec_url>https://developer.tizen.org/dev-guide/2.2.1/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
<spec_statement>TBD</spec_statement>
</spec>
</specs>
</testcase>
- <testcase purpose="Check adapter.getAIDsForCategory() with missing argument" type="compliance" status="approved" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P2" id="NFCAdapter_getAIDsForCategory_misarg">
+ <testcase purpose="Check NFCAdapter::setExclusiveModeForTransaction() method works properly" type="compliance" status="approved" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P1" id="NFCAdapter_setExclusiveModeForTransaction">
<description>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_getAIDsForCategory_misarg.html</test_script_entry>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_setExclusiveModeForTransaction.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="NFCAdapter" element_type="method" element_name="getAIDsForCategory" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
+ <spec_assertion interface="NFCAdapter" element_type="method" element_name="setExclusiveModeForTransaction" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
+ <spec_url>https://developer.tizen.org/dev-guide/2.2.1/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
<spec_statement>TBD</spec_statement>
</spec>
</specs>
</testcase>
- <testcase purpose="Check adapter.getAIDsForCategory() without any argument" type="compliance" status="approved" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P2" id="NFCAdapter_getAIDsForCategory_noarg">
+ <testcase purpose="Check if method NFCAdapter::setExclusiveModeForTransaction() exists" type="compliance" status="approved" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P0" id="NFCAdapter_setExclusiveModeForTransaction_exist">
<description>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_getAIDsForCategory_noarg.html</test_script_entry>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_setExclusiveModeForTransaction_exist.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="NFCAdapter" element_type="method" element_name="getAIDsForCategory" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
+ <spec_assertion interface="NFCAdapter" element_type="method" element_name="setExclusiveModeForTransaction" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
+ <spec_url>https://developer.tizen.org/dev-guide/2.2.1/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
<spec_statement>TBD</spec_statement>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if NFCAdapter::getAIDsForCategory throws exception when given wrong type of Secure" type="compliance" onload_delay="90" status="approved" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P2" id="NFCAdapter_getAIDsForCategory_sectype_TypeMismatch">
+ <testcase purpose="Check if interface TransactionEventCallback exists, it should not" type="compliance" status="approved" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P3" id="TransactionEventCallback_notexist">
<description>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_getAIDsForCategory_sectype_TypeMismatch.html</test_script_entry>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/TransactionEventCallback_notexist.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="NFCAdapter" element_type="method" element_name="getAIDsForCategory" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
+ <spec_assertion interface="TransactionEventCallback" usage="true" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
+ <spec_url>https://developer.tizen.org/dev-guide/2.2.1/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
<spec_statement>TBD</spec_statement>
</spec>
</specs>
- </testcase>
- <testcase purpose="Check if NFCAdapter::getAIDsForCategory throws exception when given wrong type of successCallback" type="compliance" status="approved" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P2" id="NFCAdapter_getAIDsForCategory_successCallback_TypeMismatch">
+ </testcase>
+ <!--<testcase purpose="Check TransactionEventCallback::ondetected() is called with argument of proper type" type="compliance" onload_delay="90" status="approved" component="TizenAPI/Communication/NFC" execution_type="manual" priority="P1" id="TransactionEventCallback_ondetected">
<description>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_getAIDsForCategory_successCallback_TypeMismatch.html</test_script_entry>
+ <pre_condition>Turn on NFC adapter. Prepare an external reader to initiate transaction.</pre_condition>
+ <steps>
+ <step order="1">
+ <step_desc>Click "Run". Use an external reader to access "ESE" type secure element.</step_desc>
+ <expected>Pass</expected>
+ </step>
+ </steps>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/TransactionEventCallback_ondetected.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="NFCAdapter" element_type="method" element_name="getAIDsForCategory" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
+ <spec_assertion interface="TransactionEventCallback" element_type="method" element_name="ondetected" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
+ <spec_url>https://developer.tizen.org/dev-guide/2.2.1/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
<spec_statement>TBD</spec_statement>
</spec>
</specs>
- </testcase>
- <testcase purpose="Check if NFCAdapter::getAIDsForCategory() method works with invalid success callback" type="compliance" onload_delay="90" status="approved" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P2" id="NFCAdapter_getAIDsForCategory_successCallback_invalid_cb">
+ </testcase>-->
+ </set>
+ <set name="EMU_wearable">
+ <capabilities>
+ <capability name="http://tizen.org/feature/profile"><value>WEARABLE</value></capability>
+ <capability name="http://tizen.org/feature/network.nfc.card_emulation"/>
+ </capabilities>
+ <testcase purpose="Check NFCAdapter::activeSecureElement attribute" type="compliance" status="approved" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P1" id="NFCAdapter_activeSecureElement_attribute">
<description>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_getAIDsForCategory_successCallback_invalid_cb.html</test_script_entry>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_activeSecureElement_attribute.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="NFCAdapter" element_type="method" element_name="getAIDsForCategory" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
+ <spec_assertion interface="NFCAdapter" element_type="attribute" element_name="activeSecureElement" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
+ <spec_url>https://developer.tizen.org/dev-guide/2.2.1/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
<spec_statement>TBD</spec_statement>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if method NFCAdapter::getAIDsForCategory() successfully without errorCallback" type="compliance" status="approved" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P1" id="NFCAdapter_getAIDsForCategory_without_errorCallback">
+ <testcase purpose="Check NFCAdapter:cardEmulationMode attribute exists, has type CardEmulationMode and can be modified" type="compliance" status="approved" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P1" id="NFCAdapter_cardEmulationMode_attribute">
<description>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_getAIDsForCategory_without_errorCallback.html</test_script_entry>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_cardEmulationMode_attribute.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="NFCAdapter" element_type="method" element_name="getAIDsForCategory" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
+ <spec_assertion interface="NFCAdapter" element_type="attribute" element_name="cardEmulationMode" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
+ <spec_url>https://developer.tizen.org/dev-guide/2.2.1/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
<spec_statement>TBD</spec_statement>
</spec>
</specs>
</testcase>
- <testcase purpose="Check method NFCAdapter::isActivatedHandlerForAID() if current application is activated hander for AID" type="compliance" status="approved" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P1" id="NFCAdapter_isActivatedHandlerForAID">
+ <testcase purpose="Check if interface ActiveSecureElementChangeCallback exists, it should not exist." type="compliance" status="approved" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P3" id="ActiveSecureElementChangeCallback_notexist">
<description>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_isActivatedHandlerForAID.html</test_script_entry>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/ActiveSecureElementChangeCallback_notexist.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="NFCAdapter" element_type="method" element_name="isActivatedHandlerForAID" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
+ <spec_assertion interface="ActiveSecureElementChangeCallback U" usage="true" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
+ <spec_url>https://developer.tizen.org/dev-guide/2.2.1/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
<spec_statement>TBD</spec_statement>
</spec>
</specs>
</testcase>
- <testcase purpose="Check method NFCAdapter::isActivatedHandlerForAID() with ESE param if current application is activated hander for AID" type="compliance" status="approved" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P1" id="NFCAdapter_isActivatedHandlerForAID_ESE">
+ <testcase purpose="Test whether ActiveSecureElementChangeCallback::onchanged is called with argument of proper type" type="compliance" onload_delay="30" status="approved" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P1" id="ActiveSecureElementChangeCallback_onchanged">
<description>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_isActivatedHandlerForAID_ESE.html</test_script_entry>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/ActiveSecureElementChangeCallback_onchanged.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="NFCAdapter" element_type="method" element_name="isActivatedHandlerForAID" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
+ <spec_assertion interface="ActiveSecureElementChangeCallback" element_type="method" element_name="onchanged" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
+ <spec_url>https://developer.tizen.org/dev-guide/2.2.1/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
<spec_statement>TBD</spec_statement>
</spec>
</specs>
</testcase>
- <testcase purpose="Check method NFCAdapter::isActivatedHandlerForAID() if current application is activated hander for the AID type of OTHER" type="compliance" status="approved" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P1" id="NFCAdapter_isActivatedHandlerForAID_OTHER">
+ <testcase purpose="Check if interface CardEmulationModeChangeCallback exists, it should not exists" type="compliance" status="approved" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P3" id="CardEmulationModeChangeCallback_notexist">
<description>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_isActivatedHandlerForAID_OTHER.html</test_script_entry>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/CardEmulationModeChangeCallback_notexist.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="NFCAdapter" element_type="method" element_name="isActivatedHandlerForAID" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
+ <spec_assertion interface="CardEmulationModeChangeCallback" usage="true" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
+ <spec_url>https://developer.tizen.org/dev-guide/2.2.1/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
<spec_statement>TBD</spec_statement>
</spec>
</specs>
</testcase>
- <testcase purpose="Check method NFCAdapter::isActivatedHandlerForAID() with UICC param if current application is activated hander for AID" type="compliance" status="approved" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P1" id="NFCAdapter_isActivatedHandlerForAID_UICC">
+ <testcase purpose="Test whether CardEmulationModeChangeCallback::onchanged is called with argument of proper type" type="compliance" onload_delay="30" status="approved" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P1" id="CardEmulationModeChangeCallback_onchanged">
<description>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_isActivatedHandlerForAID_UICC.html</test_script_entry>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/CardEmulationModeChangeCallback_onchanged.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="NFCAdapter" element_type="method" element_name="isActivatedHandlerForAID" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
+ <spec_assertion interface="CardEmulationModeChangeCallback" element_type="method" element_name="onchanged" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
+ <spec_url>https://developer.tizen.org/dev-guide/2.2.1/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
<spec_statement>TBD</spec_statement>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if NFCAdapter::isActivatedHandlerForAID() method exists" type="compliance" status="approved" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P0" id="NFCAdapter_isActivatedHandlerForAID_exist">
+ <testcase purpose="Check NFCAdapter::addActiveSecureElementChangeListener returns a value expected" type="compliance" onload_delay="30" status="approved" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P1" id="NFCAdapter_addActiveSecureElementChangeListener">
<description>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_isActivatedHandlerForAID_exist.html</test_script_entry>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_addActiveSecureElementChangeListener.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="NFCAdapter" element_type="method" element_name="isActivatedHandlerForAID" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
+ <spec_assertion interface="NFCAdapter" element_type="method" element_name="addActiveSecureElementChangeListener" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
+ <spec_url>https://developer.tizen.org/dev-guide/2.2.1/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
<spec_statement>TBD</spec_statement>
</spec>
</specs>
</testcase>
- <testcase purpose="Check isActivatedHandlerForAID() without any argument" type="compliance" status="approved" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P2" id="NFCAdapter_isActivatedHandlerForAID_noarg">
+ <testcase purpose="Check if NFCAdapter::addActiveSecureElementChangeListener() with incorrect changeCallback argument throws an exception" type="compliance" status="approved" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P2" id="NFCAdapter_addActiveSecureElementChangeListener_TypeMismatch">
<description>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_isActivatedHandlerForAID_noarg.html</test_script_entry>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_addActiveSecureElementChangeListener_TypeMismatch.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="NFCAdapter" element_type="method" element_name="isActivatedHandlerForAID" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
+ <spec_assertion interface="NFCAdapter" element_type="method" element_name="addActiveSecureElementChangeListener" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
+ <spec_url>https://developer.tizen.org/dev-guide/2.2.1/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
<spec_statement>TBD</spec_statement>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if method NFCAdapter::isActivatedHandlerForCategory() successfully for detecting AID category" type="compliance" status="approved" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P1" id="NFCAdapter_isActivatedHandlerForCategory">
+ <testcase purpose="Check if method NFCAdapter::addActiveSecureElementChangeListener exists" type="compliance" status="approved" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P0" id="NFCAdapter_addActiveSecureElementChangeListener_exist">
<description>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_isActivatedHandlerForCategory.html</test_script_entry>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_addActiveSecureElementChangeListener_exist.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="NFCAdapter" element_type="method" element_name="isActivatedHandlerForCategory" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
+ <spec_assertion interface="NFCAdapter" element_type="method" element_name="addActiveSecureElementChangeListener" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
+ <spec_url>https://developer.tizen.org/dev-guide/2.2.1/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
<spec_statement>TBD</spec_statement>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if method NFCAdapter::isActivatedHandlerForCategory() with ESE param successfully for detecting AID category" type="compliance" status="approved" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P1" id="NFCAdapter_isActivatedHandlerForCategory_ESE">
+ <testcase purpose="Check NFCAdapter::addActiveSecureElementChangeListener throws exception with invalid callback" type="compliance" status="approved" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P2" id="NFCAdapter_addActiveSecureElementChangeListener_invalid_cb">
<description>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_isActivatedHandlerForCategory_ESE.html</test_script_entry>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_addActiveSecureElementChangeListener_invalid_cb.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="NFCAdapter" element_type="method" element_name="isActivatedHandlerForCategory" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
+ <spec_assertion interface="NFCAdapter" element_type="method" element_name="addActiveSecureElementChangeListener" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
+ <spec_url>https://developer.tizen.org/dev-guide/2.2.1/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
<spec_statement>TBD</spec_statement>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if method NFCAdapter::isActivatedHandlerForCategory() successfully the type of OTHER for detecting AID category" type="compliance" status="approved" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P1" id="NFCAdapter_isActivatedHandlerForCategory_OTHER">
+ <testcase purpose="Check if NFCAdapter::addActiveSecureElementChangeListener throws exception with no param" type="compliance" status="approved" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P2" id="NFCAdapter_addActiveSecureElementChangeListener_misarg">
<description>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_isActivatedHandlerForCategory_OTHER.html</test_script_entry>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_addActiveSecureElementChangeListener_misarg.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="NFCAdapter" element_type="method" element_name="isActivatedHandlerForCategory" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
+ <spec_assertion interface="NFCAdapter" element_type="method" element_name="addActiveSecureElementChangeListener" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
+ <spec_url>https://developer.tizen.org/dev-guide/2.2.1/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
<spec_statement>TBD</spec_statement>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if method NFCAdapter::isActivatedHandlerForCategory() with UICC param successfully for detecting AID category" type="compliance" status="approved" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P1" id="NFCAdapter_isActivatedHandlerForCategory_UICC">
+ <testcase purpose="Check if method NFCAdapter::addCardEmulationModeChangeListener works properly" type="compliance" onload_delay="30" status="approved" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P1" id="NFCAdapter_addCardEmulationModeChangeListener">
<description>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_isActivatedHandlerForCategory_UICC.html</test_script_entry>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_addCardEmulationModeChangeListener.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="NFCAdapter" element_type="method" element_name="isActivatedHandlerForCategory" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
+ <spec_assertion interface="NFCAdapter" element_type="method" element_name="addCardEmulationModeChangeListener" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
+ <spec_url>https://developer.tizen.org/dev-guide/2.2.1/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
<spec_statement>TBD</spec_statement>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if NFCAdapter::isActivatedHandlerForCategory throws exception when given wrong category type" type="compliance" status="approved" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P2" id="NFCAdapter_isActivatedHandlerForCategory_category_TypeMismatch">
+ <testcase purpose="Check if method NFCAdapter::addCardEmulationModeChangeListener throws TypeMismatch exception whith invalidate params" type="compliance" status="approved" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P2" id="NFCAdapter_addCardEmulationModeChangeListener_TypeMismatch">
<description>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_isActivatedHandlerForCategory_category_TypeMismatch.html</test_script_entry>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_addCardEmulationModeChangeListener_TypeMismatch.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="NFCAdapter" element_type="method" element_name="isActivatedHandlerForCategory" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
+ <spec_assertion interface="NFCAdapter" element_type="method" element_name="addCardEmulationModeChangeListener" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
+ <spec_url>https://developer.tizen.org/dev-guide/2.2.1/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
<spec_statement>TBD</spec_statement>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if NFCAdapter::isActivatedHandlerForCategory() method exists" type="compliance" status="approved" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P0" id="NFCAdapter_isActivatedHandlerForCategory_exist">
+ <testcase purpose="Check if method NFCAdapter::addCardEmulationModeChangeListener exists" type="compliance" status="approved" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P0" id="NFCAdapter_addCardEmulationModeChangeListener_exist">
<description>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_isActivatedHandlerForCategory_exist.html</test_script_entry>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_addCardEmulationModeChangeListener_exist.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="NFCAdapter" element_type="method" element_name="isActivatedHandlerForCategory" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
+ <spec_assertion interface="NFCAdapter" element_type="method" element_name="addCardEmulationModeChangeListener" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
+ <spec_url>https://developer.tizen.org/dev-guide/2.2.1/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
<spec_statement>TBD</spec_statement>
</spec>
</specs>
</testcase>
- <testcase purpose="Check isActivatedHandlerForCategory() with missing argument" type="compliance" status="approved" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P2" id="NFCAdapter_isActivatedHandlerForCategory_misarg">
+ <testcase purpose="Check if NFCAdapter::addCardEmulationModeChangeListener throws exception with invalid callback" type="compliance" onload_delay="30" status="approved" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P2" id="NFCAdapter_addCardEmulationModeChangeListener_invalid_cb">
<description>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_isActivatedHandlerForCategory_misarg.html</test_script_entry>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_addCardEmulationModeChangeListener_invalid_cb.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="NFCAdapter" element_type="method" element_name="isActivatedHandlerForCategory" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
+ <spec_assertion interface="NFCAdapter" element_type="method" element_name="addCardEmulationModeChangeListener" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
+ <spec_url>https://developer.tizen.org/dev-guide/2.2.1/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
<spec_statement>TBD</spec_statement>
</spec>
</specs>
</testcase>
- <testcase purpose="Check isActivatedHandlerForCategory() without any argument" type="compliance" status="approved" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P2" id="NFCAdapter_isActivatedHandlerForCategory_noarg">
+ <testcase purpose="Check if method NFCAdapter::addCardEmulationModeChangeListener throws excepton when argument is missing" type="compliance" status="approved" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P2" id="NFCAdapter_addCardEmulationModeChangeListener_misarg">
<description>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_isActivatedHandlerForCategory_noarg.html</test_script_entry>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_addCardEmulationModeChangeListener_misarg.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="NFCAdapter" element_type="method" element_name="isActivatedHandlerForCategory" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
+ <spec_assertion interface="NFCAdapter" element_type="method" element_name="addCardEmulationModeChangeListener" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
+ <spec_url>https://developer.tizen.org/dev-guide/2.2.1/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
<spec_statement>TBD</spec_statement>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if NFCAdapter::isActivatedHandlerForCategory throws exception when given wrong secure type" type="compliance" status="approved" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P2" id="NFCAdapter_isActivatedHandlerForCategory_sectype_TypeMismatch">
+ <testcase purpose="Check NFCAdapter::addTransactionEventListener() method returns a value expected." type="compliance" status="approved" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P1" id="NFCAdapter_addTransactionEventListener">
<description>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_isActivatedHandlerForCategory_sectype_TypeMismatch.html</test_script_entry>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_addTransactionEventListener.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="NFCAdapter" element_type="method" element_name="isActivatedHandlerForCategory" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
+ <spec_assertion interface="NFCAdapter" element_type="method" element_name="addTransactionEventListener" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
+ <spec_url>https://developer.tizen.org/dev-guide/2.2.1/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
<spec_statement>TBD</spec_statement>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if method NFCAdapter::registerAID() works" type="compliance" status="approved" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P1" id="NFCAdapter_registerAID">
+ <testcase purpose="Check if NFCAdapter::addTransactionEventListener throws TypeMismatch exception with incorrect eventCallback argument" type="compliance" status="approved" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P2" id="NFCAdapter_addTransactionEventListener_eventCallback_TypeMismatch">
<description>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_registerAID.html</test_script_entry>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_addTransactionEventListener_eventCallback_TypeMismatch.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="NFCAdapter" element_type="method" element_name="registerAID" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
+ <spec_assertion interface="NFCAdapter" element_type="method" element_name="addTransactionEventListener" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
+ <spec_url>https://developer.tizen.org/dev-guide/2.2.1/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
<spec_statement>TBD</spec_statement>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if method NFCAdapter::registerAID() works with ESE param" type="compliance" status="approved" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P1" id="NFCAdapter_registerAID_ESE">
+ <testcase purpose="Check if NFCAdapter::addTransactionEventListener throws exception with invalid callback" type="compliance" onload_delay="30" status="approved" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P2" id="NFCAdapter_addTransactionEventListener_eventCallback_invalid_cb">
<description>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_registerAID_ESE.html</test_script_entry>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_addTransactionEventListener_eventCallback_invalid_cb.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="NFCAdapter" element_type="method" element_name="registerAID" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
+ <spec_assertion interface="NFCAdapter" element_type="method" element_name="addTransactionEventListener" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
+ <spec_url>https://developer.tizen.org/dev-guide/2.2.1/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
<spec_statement>TBD</spec_statement>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if method NFCAdapter::registerAID() with the type of OTHER" type="compliance" status="approved" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P1" id="NFCAdapter_registerAID_OTHER">
+ <testcase purpose="Check if method NFCAdapter::addTransactionEventListener exists" type="compliance" status="approved" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P0" id="NFCAdapter_addTransactionEventListener_exist">
<description>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_registerAID_OTHER.html</test_script_entry>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_addTransactionEventListener_exist.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="NFCAdapter" element_type="method" element_name="registerAID" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
+ <spec_assertion interface="NFCAdapter" element_type="method" element_name="addTransactionEventListener" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
+ <spec_url>https://developer.tizen.org/dev-guide/2.2.1/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
<spec_statement>TBD</spec_statement>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if method NFCAdapter::registerAID() works with UICC param" type="compliance" status="approved" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P1" id="NFCAdapter_registerAID_UICC">
+ <testcase purpose="Check if NFCAdapter::addTransactionEventListener throws exception when mandatory argument is missing" type="compliance" status="approved" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P2" id="NFCAdapter_addTransactionEventListener_misarg">
<description>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_registerAID_UICC.html</test_script_entry>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_addTransactionEventListener_misarg.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="NFCAdapter" element_type="method" element_name="registerAID" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
+ <spec_assertion interface="NFCAdapter" element_type="method" element_name="addTransactionEventListener" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
+ <spec_url>https://developer.tizen.org/dev-guide/2.2.1/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
<spec_statement>TBD</spec_statement>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if NFCAdapter::registerAID throws exception when given wrong category type" type="compliance" status="approved" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P2" id="NFCAdapter_registerAID_category_TypeMismatch">
+ <testcase purpose="Check if NFCAdapter::addTransactionEventListener throws TypeMismatch exception with incorrect type argument" type="compliance" status="approved" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P2" id="NFCAdapter_addTransactionEventListener_type_TypeMismatch">
<description>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_registerAID_category_TypeMismatch.html</test_script_entry>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_addTransactionEventListener_type_TypeMismatch.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="NFCAdapter" element_type="method" element_name="registerAID" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
+ <spec_assertion interface="NFCAdapter" element_type="method" element_name="addTransactionEventListener" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
+ <spec_url>https://developer.tizen.org/dev-guide/2.2.1/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
<spec_statement>TBD</spec_statement>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if NFCAdapter::registerAID() method exists" type="compliance" status="approved" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P0" id="NFCAdapter_registerAID_exist">
+ <testcase purpose="Check if method NFCAdapter::removeActiveSecureElementChangeListener works properly Check if method NFCAdapter::removeActiveSecureElementChangeListener() works properly." type="compliance" onload_delay="30" status="approved" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P1" id="NFCAdapter_removeActiveSecureElementChangeListener">
<description>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_registerAID_exist.html</test_script_entry>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_removeActiveSecureElementChangeListener.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="NFCAdapter" element_type="method" element_name="registerAID" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
+ <spec_assertion interface="NFCAdapter" element_type="method" element_name="removeActiveSecureElementChangeListener" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
+ <spec_url>https://developer.tizen.org/dev-guide/2.2.1/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
<spec_statement>TBD</spec_statement>
</spec>
</specs>
</testcase>
- <testcase purpose="Check adapter.registerAID() with missing argument" type="compliance" status="approved" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P2" id="NFCAdapter_registerAID_misarg">
+ <testcase purpose="Check if method NFCAdapter::removeActiveSecureElementChangeListener() method does not exist" type="compliance" status="approved" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P0" id="NFCAdapter_removeActiveSecureElementChangeListener_exist">
<description>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_registerAID_misarg.html</test_script_entry>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_removeActiveSecureElementChangeListener_exist.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="NFCAdapter" element_type="method" element_name="registerAID" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
+ <spec_assertion interface="NFCAdapter" element_type="method" element_name="removeActiveSecureElementChangeListener" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
+ <spec_url>https://developer.tizen.org/dev-guide/2.2.1/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
<spec_statement>TBD</spec_statement>
</spec>
</specs>
</testcase>
- <testcase purpose="Check adapter.registerAID() without any argument" type="compliance" status="approved" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P2" id="NFCAdapter_registerAID_noarg">
+ <testcase purpose="Check if method NFCAdapter::removeCardEmulationModeChangeListener works properly" type="compliance" status="approved" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P1" id="NFCAdapter_removeCardEmulationModeChangeListener">
<description>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_registerAID_noarg.html</test_script_entry>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_removeCardEmulationModeChangeListener.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="NFCAdapter" element_type="method" element_name="registerAID" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
+ <spec_assertion interface="NFCAdapter" element_type="method" element_name="removeCardEmulationModeChangeListener" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
+ <spec_url>https://developer.tizen.org/dev-guide/2.2.1/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
<spec_statement>TBD</spec_statement>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if NFCAdapter::registerAID throws exception when given wrong secure type" type="compliance" status="approved" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P2" id="NFCAdapter_registerAID_sectype_TypeMismatch">
+ <testcase purpose="Check if method NFCAdapter::removeCardEmulationModeChangeListener() exists" type="compliance" status="approved" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P0" id="NFCAdapter_removeCardEmulationModeChangeListener_exist">
<description>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_registerAID_sectype_TypeMismatch.html</test_script_entry>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_removeCardEmulationModeChangeListener_exist.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="NFCAdapter" element_type="method" element_name="registerAID" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
+ <spec_assertion interface="NFCAdapter" element_type="method" element_name="removeCardEmulationModeChangeListener" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
+ <spec_url>https://developer.tizen.org/dev-guide/2.2.1/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
<spec_statement>TBD</spec_statement>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if method NFCAdapter::removeHCEEventListener() successfully" type="compliance" onload_delay="90" status="approved" component="TizenAPI/Communication/NFC" execution_type="manual" priority="P1" id="NFCAdapter_removeHCEEventListener">
+ <testcase purpose="Check if method NFCAdapter::removeTransactionEventListener works properly" type="compliance" status="approved" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P1" id="NFCAdapter_removeTransactionEventListener">
<description>
- <pre_condition>Turn on NFC adapter. Prepare the other device with HCE turned on.</pre_condition>
- <steps>
- <step order="1">
- <step_desc>Click "Run". Move other device with HCE close so it will be detected.</step_desc>
- <expected>pass - HCE event detected</expected>
- </step>
- </steps>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_removeHCEEventListener.html</test_script_entry>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_removeTransactionEventListener.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="NFCAdapter" element_type="method" element_name="removeHCEEventListener" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
+ <spec_assertion interface="NFCAdapter" element_type="method" element_name="removeTransactionEventListener" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
+ <spec_url>https://developer.tizen.org/dev-guide/2.2.1/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
<spec_statement>TBD</spec_statement>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if NFCAdapter::removeHCEEventListener() method exists" type="compliance" status="approved" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P0" id="NFCAdapter_removeHCEEventListener_exist">
+ <testcase purpose="Check if method NFCAdapter::removeTransactionEventListener exists" type="compliance" status="approved" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P0" id="NFCAdapter_removeTransactionEventListener_exist">
<description>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_removeHCEEventListener_exist.html</test_script_entry>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_removeTransactionEventListener_exist.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="NFCAdapter" element_type="method" element_name="removeHCEEventListener" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
+ <spec_assertion interface="NFCAdapter" element_type="method" element_name="removeTransactionEventListener" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
+ <spec_url>https://developer.tizen.org/dev-guide/2.2.1/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
<spec_statement>TBD</spec_statement>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if method NFCAdapter::sendHostAPDUResponse() successfully" type="compliance" onload_delay="90" status="approved" component="TizenAPI/Communication/NFC" execution_type="manual" priority="P1" id="NFCAdapter_sendHostAPDUResponse">
+ <testcase purpose="Check NFCAdapter::setExclusiveModeForTransaction() method works properly" type="compliance" status="approved" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P1" id="NFCAdapter_setExclusiveModeForTransaction">
<description>
- <pre_condition>Turn on NFC adapter. Prepare the other device with HCE turned on.</pre_condition>
- <steps>
- <step order="1">
- <step_desc>Click "Run". Move other device with HCE close so it will be detected.</step_desc>
- <expected>pass - HCE detected</expected>
- </step>
- </steps>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_sendHostAPDUResponse.html</test_script_entry>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_setExclusiveModeForTransaction.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="NFCAdapter" element_type="method" element_name="sendHostAPDUResponse" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
+ <spec_assertion interface="NFCAdapter" element_type="method" element_name="setExclusiveModeForTransaction" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
+ <spec_url>https://developer.tizen.org/dev-guide/2.2.1/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
<spec_statement>TBD</spec_statement>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if NFCAdapter::sendHostAPDUResponse throws exception when given wrong apdu type" type="compliance" status="approved" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P2" id="NFCAdapter_sendHostAPDUResponse_apdu_TypeMismatch">
+ <testcase purpose="Check if method NFCAdapter::setExclusiveModeForTransaction() exists" type="compliance" status="approved" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P0" id="NFCAdapter_setExclusiveModeForTransaction_exist">
<description>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_sendHostAPDUResponse_apdu_TypeMismatch.html</test_script_entry>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_setExclusiveModeForTransaction_exist.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="NFCAdapter" element_type="method" element_name="sendHostAPDUResponse" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
+ <spec_assertion interface="NFCAdapter" element_type="method" element_name="setExclusiveModeForTransaction" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
+ <spec_url>https://developer.tizen.org/dev-guide/2.2.1/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
<spec_statement>TBD</spec_statement>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if NFCAdapter::sendHostAPDUResponse throws exception when given wrong type of errorCallback" type="compliance" status="approved" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P2" id="NFCAdapter_sendHostAPDUResponse_errorCallback_TypeMismatch">
+ <testcase purpose="Check if interface TransactionEventCallback exists, it should not" type="compliance" status="approved" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P3" id="TransactionEventCallback_notexist">
<description>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_sendHostAPDUResponse_errorCallback_TypeMismatch.html</test_script_entry>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/TransactionEventCallback_notexist.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="NFCAdapter" element_type="method" element_name="sendHostAPDUResponse" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
+ <spec_assertion interface="TransactionEventCallback" usage="true" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
+ <spec_url>https://developer.tizen.org/dev-guide/2.2.1/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
<spec_statement>TBD</spec_statement>
</spec>
</specs>
- </testcase>
- <testcase purpose="Check if NFCAdapter::sendHostAPDUResponse() method works with invalid errorcallback" type="compliance" onload_delay="90" status="approved" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P2" id="NFCAdapter_sendHostAPDUResponse_errorCallback_invalid_cb">
+ </testcase>
+ <!--<testcase purpose="Check TransactionEventCallback::ondetected() is called with argument of proper type" type="compliance" onload_delay="90" status="approved" component="TizenAPI/Communication/NFC" execution_type="manual" priority="P1" id="TransactionEventCallback_ondetected">
<description>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_sendHostAPDUResponse_errorCallback_invalid_cb.html</test_script_entry>
+ <pre_condition>Turn on NFC adapter. Prepare an external reader to initiate transaction.</pre_condition>
+ <steps>
+ <step order="1">
+ <step_desc>Click "Run". Use an external reader to access "ESE" type secure element.</step_desc>
+ <expected>Pass</expected>
+ </step>
+ </steps>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/TransactionEventCallback_ondetected.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="NFCAdapter" element_type="method" element_name="sendHostAPDUResponse" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
+ <spec_assertion interface="TransactionEventCallback" element_type="method" element_name="ondetected" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
+ <spec_url>https://developer.tizen.org/dev-guide/2.2.1/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
<spec_statement>TBD</spec_statement>
</spec>
</specs>
- </testcase>
- <testcase purpose="Check if error callback of NFCAdapter::sendHostAPDUResponse() method invoked " type="compliance" onload_delay="90" status="approved" component="TizenAPI/Communication/NFC" execution_type="manual" priority="P2" id="NFCAdapter_sendHostAPDUResponse_errorCallback_invoked">
+ </testcase>-->
+ </set>
+ <set name="P2P_mobile">
+ <capabilities>
+ <capability name="http://tizen.org/feature/profile"><value>MOBILE_FULL</value></capability>
+ <capability name="http://tizen.org/feature/network.nfc.p2p"/>
+ </capabilities>
+ <testcase purpose="Check if method NFCAdapter::setPeerListener() successfully registers listener for detecting NFC peer" type="compliance" status="approved" component="TizenAPI/Communication/NFC" execution_type="manual" priority="P1" id="NFCAdapter_setPeerListener">
<description>
- <pre_condition>Turn off NFC adapter in setting</pre_condition>
+ <pre_condition>Turn on NFC adapter. Prepare the other device with NFC turned on.</pre_condition>
<steps>
<step order="1">
- <step_desc>Click "Run" after the NFC has been turn off in setting</step_desc>
- <expected>pass - ServiceNotAvailable exception throw</expected>
+ <step_desc>Click "Run". Move other NFC device close so it will be detected.</step_desc>
+ <expected>pass - peer detected</expected>
</step>
</steps>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_sendHostAPDUResponse_errorCallback_invoked.html</test_script_entry>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_setPeerListener.html</test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion interface="NFCAdapter" element_type="method" element_name="setPeerListener" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
+ <spec_statement>TBD</spec_statement>
+ </spec>
+ </specs>
+ </testcase>
+ <testcase purpose="Check if NFCAdapter::setPeerListener throws exception when given wrong detectCallback" type="compliance" status="approved" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P2" id="NFCAdapter_setPeerListener_detectCallback_TypeMismatch">
+ <description>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_setPeerListener_detectCallback_TypeMismatch.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="NFCAdapter" element_type="method" element_name="sendHostAPDUResponse" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="NFCAdapter" element_type="method" element_name="setPeerListener" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
<spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
<spec_statement>TBD</spec_statement>
</spec>
+ </specs>
+ </testcase>
+ <testcase purpose="Check verification of detectCallback by NFCAdapter::setPeerListener()" type="compliance" onload_delay="90" status="approved" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P2" id="NFCAdapter_setPeerListener_detectCallback_invalid_cb">
+ <description>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_setPeerListener_detectCallback_invalid_cb.html</test_script_entry>
+ </description>
+ <specs>
<spec>
- <spec_assertion interface="NFCAdapter" element_type="method" element_name="sendHostAPDUResponse" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="NFCAdapter" element_type="method" element_name="setPeerListener" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
<spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
<spec_statement>TBD</spec_statement>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if NFCAdapter::sendHostAPDUResponse() method exists" type="compliance" status="approved" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P0" id="NFCAdapter_sendHostAPDUResponse_exist">
+ <testcase purpose="Check if method NFCAdapter::setPeerListener() exists" type="compliance" status="approved" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P1" id="NFCAdapter_setPeerListener_exist">
<description>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_sendHostAPDUResponse_exist.html</test_script_entry>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_setPeerListener_exist.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="NFCAdapter" element_type="method" element_name="sendHostAPDUResponse" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="NFCAdapter" element_type="method" element_name="setPeerListener" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
<spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
<spec_statement>TBD</spec_statement>
</spec>
</specs>
</testcase>
- <testcase purpose="Check adapter.sendHostAPDUResponse() without any argument" type="compliance" status="approved" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P2" id="NFCAdapter_sendHostAPDUResponse_noarg">
+ <testcase purpose="Check if adapter.setPeerListener() throws an exception when called without argument" type="compliance" status="approved" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P1" id="NFCAdapter_setPeerListener_missarg">
<description>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_sendHostAPDUResponse_noarg.html</test_script_entry>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_setPeerListener_missarg.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="NFCAdapter" element_type="method" element_name="sendHostAPDUResponse" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="NFCAdapter" element_type="method" element_name="setPeerListener" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
<spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
<spec_statement>TBD</spec_statement>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if NFCAdapter::sendHostAPDUResponse throws exception when given wrong type of successCallback" type="compliance" status="approved" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P2" id="NFCAdapter_sendHostAPDUResponse_successCallback_TypeMismatch">
+ <testcase purpose="Check if method NFCAdapter::unsetPeerListener() disables listener for detecting an NFC peer-to-peer target" type="compliance" status="approved" component="TizenAPI/Communication/NFC" execution_type="manual" priority="P1" id="NFCAdapter_unsetPeerListener">
<description>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_sendHostAPDUResponse_successCallback_TypeMismatch.html</test_script_entry>
+ <pre_condition>Turn on NFC adapter. Prepare the other device with NFC turned on.</pre_condition>
+ <steps>
+ <step order="1">
+ <step_desc>Click "Run". Move other NFC device close so it will be detected and then click "Peer was attached" button.</step_desc>
+ <expected>Pass</expected>
+ </step>
+ </steps>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_unsetPeerListener.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="NFCAdapter" element_type="method" element_name="sendHostAPDUResponse" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="NFCAdapter" element_type="method" element_name="unsetPeerListener" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
<spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
<spec_statement>TBD</spec_statement>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if NFCAdapter::sendHostAPDUResponse() method works with invalid successCallback" type="compliance" onload_delay="90" status="approved" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P2" id="NFCAdapter_sendHostAPDUResponse_successCallback_invalid_cb">
+ <testcase purpose="Check if method NFCAdapter::unsetPeerListener() exists" type="compliance" status="approved" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P1" id="NFCAdapter_unsetPeerListener_exist">
<description>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_sendHostAPDUResponse_successCallback_invalid_cb.html</test_script_entry>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_unsetPeerListener_exist.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="NFCAdapter" element_type="method" element_name="sendHostAPDUResponse" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="NFCAdapter" element_type="method" element_name="unsetPeerListener" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
<spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
<spec_statement>TBD</spec_statement>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if method NFCAdapter::sendHostAPDUResponse() successfully without successCallback" type="compliance" status="approved" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P1" id="NFCAdapter_sendHostAPDUResponse_without_successCallback">
+ <testcase purpose="Check if method unsetPeerListener of NFCAdapter accepts extra argument" type="compliance" status="approved" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P1" id="NFCAdapter_unsetPeerListener_extra_argument">
<description>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_sendHostAPDUResponse_without_successCallback.html</test_script_entry>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_unsetPeerListener_extra_argument.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="NFCAdapter" element_type="method" element_name="sendHostAPDUResponse" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="NFCAdapter" element_type="method" element_name="unsetPeerListener" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
<spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
<spec_statement>TBD</spec_statement>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if method NFCAdapter::unregisterAID()" type="compliance" status="approved" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P1" id="NFCAdapter_unregisterAID">
+ <testcase purpose="Check NFCPeer attributes, method existence and TypeMismatchError throwing" type="compliance" status="approved" component="TizenAPI/Communication/NFC" execution_type="manual" priority="P3" id="NFCPeer">
<description>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_unregisterAID.html</test_script_entry>
+ <pre_condition>Turn on NFC adapter. Prepare the other device with NFC turned on.</pre_condition>
+ <steps>
+ <step order="1">
+ <step_desc>Click "Run". Move other NFC device close so it will be detected.</step_desc>
+ <expected>Pass</expected>
+ </step>
+ </steps>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCPeer.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="NFCAdapter" element_type="method" element_name="unregisterAID" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="NFCPeer" element_type="attribute" element_name="isConnected" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
+ <spec_statement>TBD</spec_statement>
+ </spec>
+ <spec>
+ <spec_assertion interface="NFCPeer" element_type="method" element_name="sendNDEF" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
<spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
<spec_statement>TBD</spec_statement>
</spec>
+ <spec>
+ <spec_assertion interface="NFCPeer" element_type="method" element_name="sendNDEF" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
+ <spec_url>https://developer.tizen.org/help/index.jsp?topic=/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
+ <spec_statement>TBD</spec_statement>
+ </spec>
+ <spec>
+ <spec_assertion interface="NFCPeer" element_type="method" element_name="sendNDEF" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
+ <spec_url>https://developer.tizen.org/help/index.jsp?topic=/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
+ <spec_statement>TBD</spec_statement>
+ </spec>
+ <spec>
+ <spec_assertion interface="NFCPeer" element_type="method" element_name="sendNDEF" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
+ <spec_url>https://developer.tizen.org/help/index.jsp?topic=/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
+ <spec_statement>TBD</spec_statement>
+ </spec>
+ <spec>
+ <spec_assertion interface="NFCPeer" element_type="method" element_name="sendNDEF" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
+ <spec_url>https://developer.tizen.org/help/index.jsp?topic=/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
+ <spec_statement>TBD</spec_statement>
+ </spec>
+ <spec>
+ <spec_assertion interface="NFCPeer" element_type="method" element_name="sendNDEF" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
+ <spec_url>https://developer.tizen.org/help/index.jsp?topic=/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
+ <spec_statement>TBD</spec_statement>
+ </spec>
+ <spec>
+ <spec_assertion interface="NFCPeer" element_type="method" element_name="sendNDEF" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
+ <spec_url>https://developer.tizen.org/help/index.jsp?topic=/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
+ <spec_statement>TBD</spec_statement>
+ </spec>
+ <spec>
+ <spec_assertion interface="NFCPeer" element_type="method" element_name="sendNDEF" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
+ <spec_url>https://developer.tizen.org/help/index.jsp?topic=/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
+ <spec_statement>TBD</spec_statement>
+ </spec>
+ <spec>
+ <spec_assertion interface="NFCPeer" element_type="method" element_name="setReceiveNDEFListener" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
+ <spec_url>https://developer.tizen.org/help/index.jsp?topic=/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
+ <spec_statement>TBD</spec_statement>
+ </spec>
+ <spec>
+ <spec_assertion interface="NFCPeer" element_type="method" element_name="setReceiveNDEFListener" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
+ <spec_url>https://developer.tizen.org/help/index.jsp?topic=/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
+ <spec_statement>TBD</spec_statement>
+ </spec>
+ <spec>
+ <spec_assertion interface="NFCPeer" element_type="method" element_name="setReceiveNDEFListener" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
+ <spec_url>https://developer.tizen.org/help/index.jsp?topic=/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
+ <spec_statement>TBD</spec_statement>
+ </spec>
+ <spec>
+ <spec_assertion interface="NFCPeer" element_type="method" element_name="setReceiveNDEFListener" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
+ <spec_url>https://developer.tizen.org/help/index.jsp?topic=/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
+ <spec_statement>TBD</spec_statement>
+ </spec>
+ <spec>
+ <spec_assertion interface="NFCPeer" element_type="method" element_name="unsetReceiveNDEFListener" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
+ <spec_url>https://developer.tizen.org/help/index.jsp?topic=/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
+ <spec_statement>TBD</spec_statement>
+ </spec>
+ <spec>
+ <spec_assertion interface="NFCPeer" usage="true" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
+ <spec_url>https://developer.tizen.org/help/index.jsp?topic=/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
+ <spec_statement>TBD</spec_statement>
+ </spec>
</specs>
</testcase>
- <testcase purpose="Check if method NFCAdapter::unregisterAID() with ESE param" type="compliance" status="approved" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P1" id="NFCAdapter_unregisterAID_ESE">
+ <testcase purpose="Check if interface NFCPeerDetectCallback exists, it should not." type="compliance" status="approved" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P3" id="NFCPeerDetectCallback_notexist">
<description>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_unregisterAID_ESE.html</test_script_entry>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCPeerDetectCallback_notexist.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="NFCAdapter" element_type="method" element_name="unregisterAID" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="NFCPeerDetectCallback" usage="true" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
<spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
<spec_statement>TBD</spec_statement>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if method NFCAdapter::unregisterAID() with the type of OTHER" type="compliance" status="approved" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P1" id="NFCAdapter_unregisterAID_OTHER">
+ <testcase purpose="Check if NFCPeerDetectCallback::onattach() callback is called with proper argument when NFC peer is detected" type="compliance" status="approved" component="TizenAPI/Communication/NFC" execution_type="manual" priority="P1" id="NFCPeerDetectCallback_onattach">
<description>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_unregisterAID_OTHER.html</test_script_entry>
+ <pre_condition>Turn on NFC adapter. Prepare the other device with NFC turned on.</pre_condition>
+ <steps>
+ <step order="1">
+ <step_desc>Click "Run". Move other NFC device close so it will be detected.</step_desc>
+ <expected>pass - setPeerListener onSuccess called</expected>
+ </step>
+ </steps>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCPeerDetectCallback_onattach.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="NFCAdapter" element_type="method" element_name="unregisterAID" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="NFCPeerDetectCallback" element_type="method" element_name="onattach" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
<spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
<spec_statement>TBD</spec_statement>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if method NFCAdapter::unregisterAID() with UICC param" type="compliance" status="approved" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P1" id="NFCAdapter_unregisterAID_UICC">
+ <testcase purpose="Check if NFCPeerDetectCallback::ondetach() is called when NFC peer is taken away" type="compliance" status="approved" component="TizenAPI/Communication/NFC" execution_type="manual" priority="P1" id="NFCPeerDetectCallback_ondetach">
<description>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_unregisterAID_UICC.html</test_script_entry>
+ <pre_condition>Turn on NFC adapter. Prepare the other device with NFC turned on.</pre_condition>
+ <steps>
+ <step order="1">
+ <step_desc>Click "Run". Put the other NFC device close to your device until it will be detected and then take it away.</step_desc>
+ <expected>pass - peerListener ondetach callback should be invoked</expected>
+ </step>
+ </steps>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCPeerDetectCallback_ondetach.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="NFCAdapter" element_type="method" element_name="unregisterAID" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="NFCPeerDetectCallback" element_type="method" element_name="ondetach" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
<spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
<spec_statement>TBD</spec_statement>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if NFCAdapter::unregisterAID throws exception when given wrong category type" type="compliance" status="approved" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P2" id="NFCAdapter_unregisterAID_category_TypeMismatch">
+ <testcase purpose="Check if interface NFCPeer exists, it should not." type="compliance" status="approved" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P3" id="NFCPeer_notexist">
<description>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_unregisterAID_category_TypeMismatch.html</test_script_entry>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCPeer_notexist.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="NFCAdapter" element_type="method" element_name="unregisterAID" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="NFCPeer" usage="true" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
<spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
<spec_statement>TBD</spec_statement>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if NFCAdapter::unregisterAID() method exists" type="compliance" status="approved" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P0" id="NFCAdapter_unregisterAID_exist">
+ <testcase purpose="Check if method NFCPeer::sendNDEF() reports error by calling errorCallback when peer is disconnected" type="compliance" status="approved" component="TizenAPI/Communication/NFC" execution_type="manual" priority="P2" id="NFCPeer_sendNDEF_errorCallback">
<description>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_unregisterAID_exist.html</test_script_entry>
+ <pre_condition>Turn on NFC adapter. Prepare the other device with NFC turned on. Other device should be able to take NDEF message from NFC.</pre_condition>
+ <steps>
+ <step order="1">
+ <step_desc>Click "Run". Put the other NFC device close to your device until it will be detected and then take it away before the expiration of 3 seconds.</step_desc>
+ <expected>pass</expected>
+ </step>
+ </steps>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCPeer_sendNDEF_errorCallback.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="NFCAdapter" element_type="method" element_name="unregisterAID" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="NFCPeer" element_type="method" element_name="sendNDEF" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
<spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
<spec_statement>TBD</spec_statement>
</spec>
</specs>
</testcase>
- <testcase purpose="Check adapter.unregisterAID() with missing argument" type="compliance" status="approved" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P2" id="NFCAdapter_unregisterAID_misarg">
+ <testcase purpose="Check if method NFCPeer::sendNDEF() sends data to other NFC device" type="compliance" status="approved" component="TizenAPI/Communication/NFC" execution_type="manual" priority="P1" id="NFCPeer_sendNDEF_sendData">
<description>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_unregisterAID_misarg.html</test_script_entry>
+ <pre_condition>Turn off the NFC adapter. Prepare the other device with NFC turned on. Other device should be able to take NDEF message from NFC.</pre_condition>
+ <steps>
+ <step order="1">
+ <step_desc>Click "Run". Move other NFC device close so it will be detected.</step_desc>
+ <expected>pass - data sent successfully</expected>
+ </step>
+ </steps>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCPeer_sendNDEF_sendData.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="NFCAdapter" element_type="method" element_name="unregisterAID" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="NFCPeer" element_type="method" element_name="sendNDEF" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
<spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
<spec_statement>TBD</spec_statement>
</spec>
</specs>
</testcase>
- <testcase purpose="Check adapter.unregisterAID() without any argument" type="compliance" status="approved" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P2" id="NFCAdapter_unregisterAID_noarg">
+ <testcase purpose="Check if method NFCPeer::sendNDEF(ndefMessage, onSuccess, onError) can be called successfully" type="compliance" status="approved" component="TizenAPI/Communication/NFC" execution_type="manual" priority="P1" id="NFCPeer_sendNDEF_with_errorCallback">
<description>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_unregisterAID_noarg.html</test_script_entry>
+ <pre_condition>Turn on NFC adapter. Prepare the other device with NFC turned on. Other device should be able to take NDEF message from NFC.</pre_condition>
+ <steps>
+ <step order="1">
+ <step_desc>Click "Run". Move other NFC device close so it will be detected. If other device receives message then PASS.</step_desc>
+ <expected>pass</expected>
+ </step>
+ </steps>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCPeer_sendNDEF_with_errorCallback.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="NFCAdapter" element_type="method" element_name="unregisterAID" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="NFCPeer" element_type="method" element_name="sendNDEF" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
<spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
<spec_statement>TBD</spec_statement>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if NFCAdapter::unregisterAID throws exception when given wrong secure type" type="compliance" status="approved" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P2" id="NFCAdapter_unregisterAID_sectype_TypeMismatch">
+ <testcase purpose="Check if NFCPeer::sendNDEF(ndefMessage, onSuccess) can be called successfully" type="compliance" status="approved" component="TizenAPI/Communication/NFC" execution_type="manual" priority="P1" id="NFCPeer_sendNDEF_with_successCallback">
<description>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_unregisterAID_sectype_TypeMismatch.html</test_script_entry>
+ <pre_condition>Turn on NFC adapter. Prepare the other device with NFC turned on. Other device should be able to take NDEF message from NFC.</pre_condition>
+ <steps>
+ <step order="1">
+ <step_desc>Click "Run". Move other NFC device close so it will be detected. If other device receives message then PASS.</step_desc>
+ <expected>pass</expected>
+ </step>
+ </steps>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCPeer_sendNDEF_with_successCallback.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="NFCAdapter" element_type="method" element_name="unregisterAID" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="NFCPeer" element_type="method" element_name="sendNDEF" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
<spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
<spec_statement>TBD</spec_statement>
</spec>
</specs>
</testcase>
- <testcase purpose="Check NFCAdapter.setPowered() argument errorCallback conversions exception" type="compliance" status="approved" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P2" id="NFCAdapter_setPowered_errorCallback_TypeMismatch">
+ <testcase purpose="Check if NFCPeer::setReceiveNDEFListener() method works properly" type="compliance" status="approved" component="TizenAPI/Communication/NFC" execution_type="manual" priority="P1" id="NFCPeer_setReceiveNDEFListener">
<description>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_setPowered_errorCallback_TypeMismatch.html</test_script_entry>
+ <pre_condition>Turn on NFC adapter. Prepare the other device with NFC turned on. Other device should be able to send NDEF message by NFC.</pre_condition>
+ <steps>
+ <step order="1">
+ <step_desc>Click "Run". Move other NFC device close so it will be detected, then send a NFC message from it. Then click the "Message was sent" button below.</step_desc>
+ <expected>pass</expected>
+ </step>
+ </steps>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCPeer_setReceiveNDEFListener.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="NFCAdapter" element_type="method" element_name="setPowered" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="NFCPeer" element_type="method" element_name="setReceiveNDEFListener" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
<spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
<spec_statement>TBD</spec_statement>
</spec>
</specs>
</testcase>
- <testcase purpose="Check NFCAdapter::setPowered() argument errorCallback validation - object with onerror property" type="compliance" onload_delay="90" status="approved" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P2" id="NFCAdapter_setPowered_errorCallback_invalid_cb">
+ <testcase purpose="Check if NFCPeer::unsetReceiveNDEFListener() method works properly" type="compliance" status="approved" component="TizenAPI/Communication/NFC" execution_type="manual" priority="P1" id="NFCPeer_unsetReceiveNDEFListener">
<description>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_setPowered_errorCallback_invalid_cb.html</test_script_entry>
+ <pre_condition>Turn on NFC adapter. Prepare the other device with NFC turned on. Other device should be able to send NDEF message by NFC.</pre_condition>
+ <steps>
+ <step order="1">
+ <step_desc>Click "Run". Move other NFC device close so it will be detected, then send a NFC message from it. Then click the "Message was sent" button below.</step_desc>
+ <expected>pass</expected>
+ </step>
+ </steps>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCPeer_unsetReceiveNDEFListener.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="NFCAdapter" element_type="method" element_name="setPowered" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="NFCPeer" element_type="method" element_name="unsetReceiveNDEFListener" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
<spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
<spec_statement>TBD</spec_statement>
</spec>
</specs>
</testcase>
- <testcase purpose="Check NFCAdapter.setPowered() argument successCallback conversions exception" type="compliance" status="approved" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P2" id="NFCAdapter_setPowered_successCallback_TypeMismatch">
+ <testcase purpose="Check if method unsetReceiveNDEFListener of NFCPeer accepts extra argument" type="compliance" status="approved" component="TizenAPI/Communication/NFC" execution_type="manual" priority="P2" id="NFCPeer_unsetReceiveNDEFListener_extra_argument">
<description>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_setPowered_successCallback_TypeMismatch.html</test_script_entry>
+ <pre_condition>Turn on NFC adapter. Prepare the other device with NFC turned on.</pre_condition>
+ <steps>
+ <step order="1">
+ <step_desc>Click "Run". Move other NFC device close so it will be detected.</step_desc>
+ <expected>Pass</expected>
+ </step>
+ </steps>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCPeer_unsetReceiveNDEFListener_extra_argument.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="NFCAdapter" element_type="method" element_name="setPowered" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="NFCPeer" element_type="method" element_name="unsetReceiveNDEFListener" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
<spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
<spec_statement>TBD</spec_statement>
</spec>
</specs>
</testcase>
- <testcase purpose="Check NFCAdapter::setPowered() argument successCallback validation - object with onerror property" type="compliance" onload_delay="90" status="approved" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P2" id="NFCAdapter_setPowered_successCallback_invalid_cb">
+ </set>
+ <set name="P2P_wearable">
+ <capabilities>
+ <capability name="http://tizen.org/feature/profile"><value>WEARABLE</value></capability>
+ <capability name="http://tizen.org/feature/network.nfc.p2p"/>
+ </capabilities>
+ <testcase purpose="Check if method NFCAdapter::setPeerListener() successfully registers listener for detecting NFC peer" type="compliance" status="approved" component="TizenAPI/Communication/NFC" execution_type="manual" priority="P1" id="NFCAdapter_setPeerListener">
<description>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_setPowered_successCallback_invalid_cb.html</test_script_entry>
+ <pre_condition>Turn on NFC adapter. Prepare the other device with NFC turned on.</pre_condition>
+ <steps>
+ <step order="1">
+ <step_desc>Click "Run". Move other NFC device close so it will be detected.</step_desc>
+ <expected>pass - peer detected</expected>
+ </step>
+ </steps>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_setPeerListener.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="NFCAdapter" element_type="method" element_name="setPowered" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="NFCAdapter" element_type="method" element_name="setPeerListener" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
<spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
<spec_statement>TBD</spec_statement>
</spec>
</specs>
</testcase>
- <testcase purpose="Check NFCAdapter::setPowered() optional argument errorCallback - call without it" type="compliance" onload_delay="90" status="approved" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P2" id="NFCAdapter_setPowered_without_errorCallback">
+ <testcase purpose="Check if NFCAdapter::setPeerListener throws exception when given wrong detectCallback" type="compliance" status="approved" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P2" id="NFCAdapter_setPeerListener_detectCallback_TypeMismatch">
<description>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_setPowered_without_errorCallback.html</test_script_entry>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_setPeerListener_detectCallback_TypeMismatch.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="NFCAdapter" element_type="method" element_name="setPowered" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="NFCAdapter" element_type="method" element_name="setPeerListener" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
<spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
<spec_statement>TBD</spec_statement>
</spec>
</specs>
</testcase>
- <testcase purpose="Check NFCAdapter::setPowered() optional argument without successCallback - call without it" type="compliance" onload_delay="90" status="approved" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P2" id="NFCAdapter_setPowered_without_successCallback">
+ <testcase purpose="Check verification of detectCallback by NFCAdapter::setPeerListener()" type="compliance" onload_delay="90" status="approved" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P2" id="NFCAdapter_setPeerListener_detectCallback_invalid_cb">
<description>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_setPowered_without_successCallback.html</test_script_entry>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_setPeerListener_detectCallback_invalid_cb.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="NFCAdapter" element_type="method" element_name="setPowered" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="NFCAdapter" element_type="method" element_name="setPeerListener" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
<spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
<spec_statement>TBD</spec_statement>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if method NFCAdapter::setPowered() exists" type="compliance" status="approved" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P1" id="NFCAdapter_setPowered_exist">
+ <testcase purpose="Check if method NFCAdapter::setPeerListener() exists" type="compliance" status="approved" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P1" id="NFCAdapter_setPeerListener_exist">
<description>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_setPowered_exist.html</test_script_entry>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_setPeerListener_exist.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="NFCAdapter" element_type="method" element_name="setPowered" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="NFCAdapter" element_type="method" element_name="setPeerListener" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
<spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
<spec_statement>TBD</spec_statement>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if method NFCAdapter::setPowered(false) sets a value of attribute NFCAdapter::powered to false" type="compliance" status="approved" component="TizenAPI/Communication/NFC" execution_type="manual" priority="P2" id="NFCAdapter_setPowered_off">
+ <testcase purpose="Check if adapter.setPeerListener() throws an exception when called without argument" type="compliance" status="approved" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P1" id="NFCAdapter_setPeerListener_missarg">
<description>
- <pre_condition>Turn ON NFC adapter.</pre_condition>
- <steps>
- <step order="1">
- <step_desc>Click "Run"</step_desc>
- <expected>NFC adapter should be disabled (OFF) - pass</expected>
- </step>
- </steps>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_setPowered_off.html</test_script_entry>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_setPeerListener_missarg.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="NFCAdapter" element_type="method" element_name="setPowered" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="NFCAdapter" element_type="method" element_name="setPeerListener" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
<spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
<spec_statement>TBD</spec_statement>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if method NFCAdapter::setPowered(false) sets a value of attribute NFCAdapter::powered to false" type="compliance" status="approved" component="TizenAPI/Communication/NFC" execution_type="manual" priority="P2" id="NFCAdapter_setPowered_on">
+ <testcase purpose="Check if method NFCAdapter::unsetPeerListener() disables listener for detecting an NFC peer-to-peer target" type="compliance" status="approved" component="TizenAPI/Communication/NFC" execution_type="manual" priority="P1" id="NFCAdapter_unsetPeerListener">
<description>
- <pre_condition>Turn ON NFC adapter.</pre_condition>
+ <pre_condition>Turn on NFC adapter. Prepare the other device with NFC turned on.</pre_condition>
<steps>
<step order="1">
- <step_desc>Click "Run"</step_desc>
- <expected>NFC adapter should be enabled (ON) - pass</expected>
+ <step_desc>Click "Run". Move other NFC device close so it will be detected and then click "Peer was attached" button.</step_desc>
+ <expected>Pass</expected>
</step>
</steps>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_setPowered_on.html</test_script_entry>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_unsetPeerListener.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="NFCAdapter" element_type="method" element_name="setPowered" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="NFCAdapter" element_type="method" element_name="unsetPeerListener" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
<spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
<spec_statement>TBD</spec_statement>
</spec>
</specs>
</testcase>
- <testcase purpose="Check NFCAdapter::setPowered() optional argument errorCallback - call without it" type="compliance" onload_delay="90" status="approved" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P2" id="NFCAdapter_setPowered_misarg">
+ <testcase purpose="Check if method NFCAdapter::unsetPeerListener() exists" type="compliance" status="approved" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P1" id="NFCAdapter_unsetPeerListener_exist">
<description>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_setPowered_misarg.html</test_script_entry>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_unsetPeerListener_exist.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="NFCAdapter" element_type="method" element_name="setPowered" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="NFCAdapter" element_type="method" element_name="unsetPeerListener" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
<spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
<spec_statement>TBD</spec_statement>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if ByteArraySuccessCallback::onsuccess() callback is called successfully" type="compliance" onload_delay="90" status="approved" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P1" id="ByteArraySuccessCallback_onsuccess">
+ <testcase purpose="Check if method unsetPeerListener of NFCAdapter accepts extra argument" type="compliance" status="approved" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P1" id="NFCAdapter_unsetPeerListener_extra_argument">
<description>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/ByteArraySuccessCallback_onsuccess.html</test_script_entry>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_unsetPeerListener_extra_argument.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="NFCAdapter" element_type="method" element_name="setPowered" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="NFCAdapter" element_type="method" element_name="unsetPeerListener" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
<spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
<spec_statement>TBD</spec_statement>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if NFCAdapter::removeCardEmulationModeChangeListener() throws exception when listenerId is missing" type="compliance" onload_delay="90" status="approved" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P2" id="NFCAdapter_removeCardEmulationModeChangeListener_misarg">
+ <testcase purpose="Check NFCPeer attributes, method existence and TypeMismatchError throwing" type="compliance" status="approved" component="TizenAPI/Communication/NFC" execution_type="manual" priority="P3" id="NFCPeer">
<description>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_removeCardEmulationModeChangeListener_misarg.html</test_script_entry>
+ <pre_condition>Turn on NFC adapter. Prepare the other device with NFC turned on.</pre_condition>
+ <steps>
+ <step order="1">
+ <step_desc>Click "Run". Move other NFC device close so it will be detected.</step_desc>
+ <expected>Pass</expected>
+ </step>
+ </steps>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCPeer.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="NFCAdapter" element_type="method" element_name="setPowered" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="NFCPeer" element_type="attribute" element_name="isConnected" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
<spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
<spec_statement>TBD</spec_statement>
</spec>
- </specs>
- </testcase>
- <testcase purpose="Check if NFCAdapter::removeTransactionEventListener() throws exception when listenerId is missing" type="compliance" onload_delay="90" status="approved" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P2" id="NFCAdapter_removeTransactionEventListener_misarg">
- <description>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_removeTransactionEventListener_misarg.html</test_script_entry>
- </description>
- <specs>
<spec>
- <spec_assertion interface="NFCAdapter" element_type="method" element_name="setPowered" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="NFCPeer" element_type="method" element_name="sendNDEF" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
<spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
<spec_statement>TBD</spec_statement>
</spec>
- </specs>
- </testcase>
- <testcase purpose="This NFCManagerObject exists in tizen" type="compliance" onload_delay="90" status="approved" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P3" id="NFCManagerObject_nfc_attribute">
- <description>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCManagerObject_nfc_attribute.html</test_script_entry>
- </description>
- <specs>
<spec>
- <spec_assertion interface="NFCAdapter" element_type="method" element_name="setPowered" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
+ <spec_assertion interface="NFCPeer" element_type="method" element_name="sendNDEF" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
+ <spec_url>https://developer.tizen.org/help/index.jsp?topic=/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
+ <spec_statement>TBD</spec_statement>
+ </spec>
+ <spec>
+ <spec_assertion interface="NFCPeer" element_type="method" element_name="sendNDEF" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
+ <spec_url>https://developer.tizen.org/help/index.jsp?topic=/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
+ <spec_statement>TBD</spec_statement>
+ </spec>
+ <spec>
+ <spec_assertion interface="NFCPeer" element_type="method" element_name="sendNDEF" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
+ <spec_url>https://developer.tizen.org/help/index.jsp?topic=/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
+ <spec_statement>TBD</spec_statement>
+ </spec>
+ <spec>
+ <spec_assertion interface="NFCPeer" element_type="method" element_name="sendNDEF" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
+ <spec_url>https://developer.tizen.org/help/index.jsp?topic=/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
+ <spec_statement>TBD</spec_statement>
+ </spec>
+ <spec>
+ <spec_assertion interface="NFCPeer" element_type="method" element_name="sendNDEF" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
+ <spec_url>https://developer.tizen.org/help/index.jsp?topic=/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
+ <spec_statement>TBD</spec_statement>
+ </spec>
+ <spec>
+ <spec_assertion interface="NFCPeer" element_type="method" element_name="sendNDEF" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
+ <spec_url>https://developer.tizen.org/help/index.jsp?topic=/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
+ <spec_statement>TBD</spec_statement>
+ </spec>
+ <spec>
+ <spec_assertion interface="NFCPeer" element_type="method" element_name="sendNDEF" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
+ <spec_url>https://developer.tizen.org/help/index.jsp?topic=/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
+ <spec_statement>TBD</spec_statement>
+ </spec>
+ <spec>
+ <spec_assertion interface="NFCPeer" element_type="method" element_name="setReceiveNDEFListener" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
+ <spec_url>https://developer.tizen.org/help/index.jsp?topic=/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
+ <spec_statement>TBD</spec_statement>
+ </spec>
+ <spec>
+ <spec_assertion interface="NFCPeer" element_type="method" element_name="setReceiveNDEFListener" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
+ <spec_url>https://developer.tizen.org/help/index.jsp?topic=/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
+ <spec_statement>TBD</spec_statement>
+ </spec>
+ <spec>
+ <spec_assertion interface="NFCPeer" element_type="method" element_name="setReceiveNDEFListener" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
+ <spec_url>https://developer.tizen.org/help/index.jsp?topic=/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
+ <spec_statement>TBD</spec_statement>
+ </spec>
+ <spec>
+ <spec_assertion interface="NFCPeer" element_type="method" element_name="setReceiveNDEFListener" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
+ <spec_url>https://developer.tizen.org/help/index.jsp?topic=/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
+ <spec_statement>TBD</spec_statement>
+ </spec>
+ <spec>
+ <spec_assertion interface="NFCPeer" element_type="method" element_name="unsetReceiveNDEFListener" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
+ <spec_url>https://developer.tizen.org/help/index.jsp?topic=/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
+ <spec_statement>TBD</spec_statement>
+ </spec>
+ <spec>
+ <spec_assertion interface="NFCPeer" usage="true" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
+ <spec_url>https://developer.tizen.org/help/index.jsp?topic=/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
<spec_statement>TBD</spec_statement>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if method NFCPeer:sendNDEF() exists" type="compliance" onload_delay="90" status="approved" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P3" id="NFCPeer_sendNDEF_exist">
+ <testcase purpose="Check if interface NFCPeerDetectCallback exists, it should not." type="compliance" status="approved" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P3" id="NFCPeerDetectCallback_notexist">
<description>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCPeer_sendNDEF_exist.html</test_script_entry>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCPeerDetectCallback_notexist.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="NFCAdapter" element_type="method" element_name="setPowered" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="NFCPeerDetectCallback" usage="true" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
<spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
<spec_statement>TBD</spec_statement>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if NFCPeer::sendNDEF() throws exception when ndefMessage is missing" type="compliance" onload_delay="90" status="approved" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P3" id="NFCPeer_sendNDEF_misarg">
+ <testcase purpose="Check if NFCPeerDetectCallback::onattach() callback is called with proper argument when NFC peer is detected" type="compliance" status="approved" component="TizenAPI/Communication/NFC" execution_type="manual" priority="P1" id="NFCPeerDetectCallback_onattach">
<description>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCPeer_sendNDEF_misarg.html</test_script_entry>
+ <pre_condition>Turn on NFC adapter. Prepare the other device with NFC turned on.</pre_condition>
+ <steps>
+ <step order="1">
+ <step_desc>Click "Run". Move other NFC device close so it will be detected.</step_desc>
+ <expected>pass - setPeerListener onSuccess called</expected>
+ </step>
+ </steps>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCPeerDetectCallback_onattach.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="NFCAdapter" element_type="method" element_name="setPowered" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="NFCPeerDetectCallback" element_type="method" element_name="onattach" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
<spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
<spec_statement>TBD</spec_statement>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if method NFCPeer:setReceiveNDEFListener() exists" type="compliance" onload_delay="90" status="approved" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P3" id="NFCPeer_setReceiveNDEFListener_exist">
+ <testcase purpose="Check if NFCPeerDetectCallback::ondetach() is called when NFC peer is taken away" type="compliance" status="approved" component="TizenAPI/Communication/NFC" execution_type="manual" priority="P1" id="NFCPeerDetectCallback_ondetach">
<description>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCPeer_setReceiveNDEFListener_exist.html</test_script_entry>
+ <pre_condition>Turn on NFC adapter. Prepare the other device with NFC turned on.</pre_condition>
+ <steps>
+ <step order="1">
+ <step_desc>Click "Run". Put the other NFC device close to your device until it will be detected and then take it away.</step_desc>
+ <expected>pass - peerListener ondetach callback should be invoked</expected>
+ </step>
+ </steps>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCPeerDetectCallback_ondetach.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="NFCAdapter" element_type="method" element_name="setPowered" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="NFCPeerDetectCallback" element_type="method" element_name="ondetach" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
<spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
<spec_statement>TBD</spec_statement>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if NFCPeer::setReceiveNDEFListener() throws exception when setReceiveNDEFListenersCB is missing" type="compliance" onload_delay="90" status="approved" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P3" id="NFCPeer_setReceiveNDEFListener_misarg">
+ <testcase purpose="Check if interface NFCPeer exists, it should not." type="compliance" status="approved" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P3" id="NFCPeer_notexist">
<description>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCPeer_setReceiveNDEFListener_misarg.html</test_script_entry>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCPeer_notexist.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="NFCAdapter" element_type="method" element_name="setPowered" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="NFCPeer" usage="true" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
<spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
<spec_statement>TBD</spec_statement>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if method NFCPeer:unsetReceiveNDEFListener() exists" type="compliance" onload_delay="90" status="approved" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P3" id="NFCPeer_unsetReceiveNDEFListener_exist">
+ <testcase purpose="Check if method NFCPeer::sendNDEF() reports error by calling errorCallback when peer is disconnected" type="compliance" status="approved" component="TizenAPI/Communication/NFC" execution_type="manual" priority="P2" id="NFCPeer_sendNDEF_errorCallback">
<description>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCPeer_unsetReceiveNDEFListener_exist.html</test_script_entry>
+ <pre_condition>Turn on NFC adapter. Prepare the other device with NFC turned on. Other device should be able to take NDEF message from NFC.</pre_condition>
+ <steps>
+ <step order="1">
+ <step_desc>Click "Run". Put the other NFC device close to your device until it will be detected and then take it away before the expiration of 3 seconds.</step_desc>
+ <expected>pass</expected>
+ </step>
+ </steps>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCPeer_sendNDEF_errorCallback.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="NFCAdapter" element_type="method" element_name="setPowered" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="NFCPeer" element_type="method" element_name="sendNDEF" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
<spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
<spec_statement>TBD</spec_statement>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if method NFCTag:readNDEF() exists" type="compliance" onload_delay="90" status="approved" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P3" id="NFCTag_readNDEF_exist">
+ <testcase purpose="Check if method NFCPeer::sendNDEF() sends data to other NFC device" type="compliance" status="approved" component="TizenAPI/Communication/NFC" execution_type="manual" priority="P1" id="NFCPeer_sendNDEF_sendData">
<description>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCTag_readNDEF_exist.html</test_script_entry>
+ <pre_condition>Turn off the NFC adapter. Prepare the other device with NFC turned on. Other device should be able to take NDEF message from NFC.</pre_condition>
+ <steps>
+ <step order="1">
+ <step_desc>Click "Run". Move other NFC device close so it will be detected.</step_desc>
+ <expected>pass - data sent successfully</expected>
+ </step>
+ </steps>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCPeer_sendNDEF_sendData.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="NFCAdapter" element_type="method" element_name="setPowered" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="NFCPeer" element_type="method" element_name="sendNDEF" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
<spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
<spec_statement>TBD</spec_statement>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if NFCTag::readNDEF() throws exception when readCallback is missing" type="compliance" onload_delay="90" status="approved" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P3" id="NFCTag_readNDEF_misarg">
+ <testcase purpose="Check if method NFCPeer::sendNDEF(ndefMessage, onSuccess, onError) can be called successfully" type="compliance" status="approved" component="TizenAPI/Communication/NFC" execution_type="manual" priority="P1" id="NFCPeer_sendNDEF_with_errorCallback">
<description>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCTag_readNDEF_misarg.html</test_script_entry>
+ <pre_condition>Turn on NFC adapter. Prepare the other device with NFC turned on. Other device should be able to take NDEF message from NFC.</pre_condition>
+ <steps>
+ <step order="1">
+ <step_desc>Click "Run". Move other NFC device close so it will be detected. If other device receives message then PASS.</step_desc>
+ <expected>pass</expected>
+ </step>
+ </steps>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCPeer_sendNDEF_with_errorCallback.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="NFCAdapter" element_type="method" element_name="setPowered" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="NFCPeer" element_type="method" element_name="sendNDEF" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
<spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
<spec_statement>TBD</spec_statement>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if method NFCTag:transceive() exists" type="compliance" onload_delay="90" status="approved" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P3" id="NFCTag_transceive_exist">
+ <testcase purpose="Check if NFCPeer::sendNDEF(ndefMessage, onSuccess) can be called successfully" type="compliance" status="approved" component="TizenAPI/Communication/NFC" execution_type="manual" priority="P1" id="NFCPeer_sendNDEF_with_successCallback">
<description>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCTag_transceive_exist.html</test_script_entry>
+ <pre_condition>Turn on NFC adapter. Prepare the other device with NFC turned on. Other device should be able to take NDEF message from NFC.</pre_condition>
+ <steps>
+ <step order="1">
+ <step_desc>Click "Run". Move other NFC device close so it will be detected. If other device receives message then PASS.</step_desc>
+ <expected>pass</expected>
+ </step>
+ </steps>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCPeer_sendNDEF_with_successCallback.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="NFCAdapter" element_type="method" element_name="setPowered" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="NFCPeer" element_type="method" element_name="sendNDEF" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
<spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
<spec_statement>TBD</spec_statement>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if NFCTag::transceive() throws exception when ndefMessage is missing" type="compliance" onload_delay="90" status="approved" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P3" id="NFCTag_transceive_misarg">
+ <testcase purpose="Check if NFCPeer::setReceiveNDEFListener() method works properly" type="compliance" status="approved" component="TizenAPI/Communication/NFC" execution_type="manual" priority="P1" id="NFCPeer_setReceiveNDEFListener">
<description>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCTag_transceive_misarg.html</test_script_entry>
+ <pre_condition>Turn on NFC adapter. Prepare the other device with NFC turned on. Other device should be able to send NDEF message by NFC.</pre_condition>
+ <steps>
+ <step order="1">
+ <step_desc>Click "Run". Move other NFC device close so it will be detected, then send a NFC message from it. Then click the "Message was sent" button below.</step_desc>
+ <expected>pass</expected>
+ </step>
+ </steps>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCPeer_setReceiveNDEFListener.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="NFCAdapter" element_type="method" element_name="setPowered" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="NFCPeer" element_type="method" element_name="setReceiveNDEFListener" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
<spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
<spec_statement>TBD</spec_statement>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if method NFCTag:writeNDEF() exists" type="compliance" onload_delay="90" status="approved" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P3" id="NFCTag_writeNDEF_exist">
+ <testcase purpose="Check if NFCPeer::unsetReceiveNDEFListener() method works properly" type="compliance" status="approved" component="TizenAPI/Communication/NFC" execution_type="manual" priority="P1" id="NFCPeer_unsetReceiveNDEFListener">
<description>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCTag_writeNDEF_exist.html</test_script_entry>
+ <pre_condition>Turn on NFC adapter. Prepare the other device with NFC turned on. Other device should be able to send NDEF message by NFC.</pre_condition>
+ <steps>
+ <step order="1">
+ <step_desc>Click "Run". Move other NFC device close so it will be detected, then send a NFC message from it. Then click the "Message was sent" button below.</step_desc>
+ <expected>pass</expected>
+ </step>
+ </steps>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCPeer_unsetReceiveNDEFListener.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="NFCAdapter" element_type="method" element_name="setPowered" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="NFCPeer" element_type="method" element_name="unsetReceiveNDEFListener" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
<spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
<spec_statement>TBD</spec_statement>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if NFCTag::writeNDEF() throws exception when ndefMessage is missing" type="compliance" onload_delay="90" status="approved" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P3" id="NFCTag_writeNDEF_misarg">
+ <testcase purpose="Check if method unsetReceiveNDEFListener of NFCPeer accepts extra argument" type="compliance" status="approved" component="TizenAPI/Communication/NFC" execution_type="manual" priority="P2" id="NFCPeer_unsetReceiveNDEFListener_extra_argument">
<description>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCTag_writeNDEF_misarg.html</test_script_entry>
+ <pre_condition>Turn on NFC adapter. Prepare the other device with NFC turned on.</pre_condition>
+ <steps>
+ <step order="1">
+ <step_desc>Click "Run". Move other NFC device close so it will be detected.</step_desc>
+ <expected>Pass</expected>
+ </step>
+ </steps>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCPeer_unsetReceiveNDEFListener_extra_argument.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="NFCAdapter" element_type="method" element_name="setPowered" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="NFCPeer" element_type="method" element_name="unsetReceiveNDEFListener" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
<spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
<spec_statement>TBD</spec_statement>
</spec>
</specs>
</testcase>
</set>
- <set name="NFC_WEARABLE" type="js">
+ <set name="TAG_mobile">
<capabilities>
- <capability name="http://tizen.org/feature/network.nfc"/>
- <capability name="http://tizen.org/feature/profile"><value>WEARABLE</value></capability>
+ <capability name="http://tizen.org/feature/profile"><value>MOBILE_FULL</value></capability>
+ <capability name="http://tizen.org/feature/network.nfc.tag"/>
</capabilities>
- <testcase purpose="Check if NDEFMessage constructor works without arguments" type="compliance" status="approved" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P1" id="NDEFMessage_constructor">
+ <testcase purpose="Check if interface ByteArraySuccessCallback exists, it should not." type="compliance" status="approved" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P3" id="ByteArraySuccessCallback_notexist">
<description>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NDEFMessage_constructor.html</test_script_entry>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/ByteArraySuccessCallback_notexist.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="NDEFMessage" element_type="constructor" element_name="constructor" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="ByteArraySuccessCallback" usage="true" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
<spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
<spec_statement>TBD</spec_statement>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if NDEFMessage constructor works with rawData" type="compliance" status="approved" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P1" id="NDEFMessage_constructor_rawData">
+ <testcase purpose="Check if interface NDEFMessageReadCallback exists, it should not." type="compliance" status="approved" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P3" id="NDEFMessageReadCallback_notexist">
<description>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NDEFMessage_constructor_rawData.html</test_script_entry>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NDEFMessageReadCallback_notexist.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="NDEFMessage" element_type="constructor" element_name="constructor" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="NDEFMessageReadCallback" usage="true" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
<spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
<spec_statement>TBD</spec_statement>
</spec>
</specs>
</testcase>
- <testcase purpose="Check NDEFMessage constructor with NDEF records array" type="compliance" status="approved" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P1" id="NDEFMessage_constructor_records">
+ <testcase purpose="Check if NDEFMessageReadCallback::onsuccess() callback is called successfully." type="compliance" status="approved" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P1" id="NDEFMessageReadCallback_onsuccess">
<description>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NDEFMessage_constructor_records.html</test_script_entry>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NDEFMessageReadCallback_onsuccess.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="NDEFMessage" element_type="constructor" element_name="constructor" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="NDEFMessageReadCallback" element_type="method" element_name="onsuccess" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
<spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
<spec_statement>TBD</spec_statement>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if NDEFMessage exists" type="compliance" status="approved" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P1" id="NDEFMessage_exist">
+ <testcase purpose="Check if method NFCAdapter::setTagListener() successfully registers listener for detecting NFC tag" type="compliance" status="approved" component="TizenAPI/Communication/NFC" execution_type="manual" priority="P1" id="NFCAdapter_setTagListener">
<description>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NDEFMessage_exist.html</test_script_entry>
+ <pre_condition>Turn on NFC adapter. Prepare NFC tag.</pre_condition>
+ <steps>
+ <step order="1">
+ <step_desc>Click "Run". Move NFC tag close so it will be detected.</step_desc>
+ <expected>pass - tag detected</expected>
+ </step>
+ </steps>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_setTagListener.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="NDEFMessage" element_type="constructor" element_name="constructor" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="NFCAdapter" element_type="method" element_name="setTagListener" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
<spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
<spec_statement>TBD</spec_statement>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if instance of interface NDEFMessage can be extended with new property" type="compliance" status="approved" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P3" id="NDEFMessage_extend">
+ <testcase purpose="Check if NFCAdapter::setTagListener throws exception when given wrong detectCallback" type="compliance" status="approved" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P2" id="NFCAdapter_setTagListener_detectCallback_TypeMismatch">
<description>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NDEFMessage_extend.html</test_script_entry>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_setTagListener_detectCallback_TypeMismatch.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="NDEFMessage" usage="true" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="NFCAdapter" element_type="method" element_name="setTagListener" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
<spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
<spec_statement>TBD</spec_statement>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if attribute NDEFMessage::recordCount exists, has type Number and is readonly" type="compliance" status="approved" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P1" id="NDEFMessage_recordCount_attribute">
+ <testcase purpose="Check verification of detectCallback by NFCAdapter::setTagListener()" type="compliance" onload_delay="90" status="approved" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P2" id="NFCAdapter_setTagListener_detectCallback_invalid_cb">
<description>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NDEFMessage_recordCount_attribute.html</test_script_entry>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_setTagListener_detectCallback_invalid_cb.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="NDEFMessage" element_type="attribute" element_name="recordCount" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="NFCAdapter" element_type="method" element_name="setTagListener" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
<spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
<spec_statement>TBD</spec_statement>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if attribute records of NDEFMessage exists, has type Array, can be overwritten" type="compliance" status="approved" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P1" id="NDEFMessage_records_attribute">
+ <testcase purpose="Check if NFCAdapter::setTagListener() method exists" type="compliance" status="approved" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P1" id="NFCAdapter_setTagListener_exist">
<description>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NDEFMessage_records_attribute.html</test_script_entry>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_setTagListener_exist.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="NDEFMessage" element_type="attribute" element_name="records" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="NFCAdapter" element_type="method" element_name="setTagListener" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
<spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
<spec_statement>TBD</spec_statement>
</spec>
</specs>
</testcase>
- <testcase purpose="Check whether NDEFMessage:toByte() returns correct byte array of the NDEF message" type="compliance" status="approved" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P1" id="NDEFMessage_toByte">
+ <testcase purpose="Check if adapter.setTagListener() throws an exception" type="compliance" status="approved" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P1" id="NFCAdapter_setTagListener_missarg">
<description>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NDEFMessage_toByte.html</test_script_entry>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_setTagListener_missarg.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="NDEFMessage" element_type="method" element_name="toByte" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="NFCAdapter" element_type="method" element_name="setTagListener" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
<spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
<spec_statement>TBD</spec_statement>
</spec>
</specs>
</testcase>
- <testcase purpose="Check whether NDEFMessage:toByte() throws exception when NDEFMessage.records contains invalid object" type="compliance" status="approved" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P2" id="NDEFMessage_toByte_TypeMismatch">
+ <testcase purpose="Check if TypeMismatchError is thrown when NFCAdapter::setTagListener() is given wrong tagFilter" type="compliance" onload_delay="90" status="approved" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P2" id="NFCAdapter_setTagListener_tagFilter_TypeMismatch">
<description>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NDEFMessage_toByte_TypeMismatch.html</test_script_entry>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_setTagListener_tagFilter_TypeMismatch.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="NDEFMessage" element_type="method" element_name="toByte" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="NFCAdapter" element_type="method" element_name="setTagListener" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
<spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
<spec_statement>TBD</spec_statement>
</spec>
</specs>
</testcase>
- <testcase purpose="Check whether NDEFMessage::toByte() returns empty array for empty NDEF message" type="compliance" status="approved" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P1" id="NDEFMessage_toByte_empty">
+ <testcase purpose="Check if onattach() callback is called successfully when NFC tag is detected after NFCAdapter::setTagListener() with null tagFilter" type="compliance" status="approved" component="TizenAPI/Communication/NFC" execution_type="manual" priority="P2" id="NFCAdapter_setTagListener_tagFilter_is_null">
<description>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NDEFMessage_toByte_empty.html</test_script_entry>
+ <pre_condition>Turn on NFC adapter. Prepare NFC tag</pre_condition>
+ <steps>
+ <step order="1">
+ <step_desc>Click "Run". Move NFC tag close to the device so it will be detected.</step_desc>
+ <expected>should be passed</expected>
+ </step>
+ </steps>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_setTagListener_tagFilter_is_null.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="NDEFMessage" element_type="method" element_name="toByte" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="NFCAdapter" element_type="method" element_name="setTagListener" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
<spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
<spec_statement>TBD</spec_statement>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if method NDEFMessage::toByte() exists" type="compliance" status="approved" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P1" id="NDEFMessage_toByte_exists">
+ <testcase purpose="Check if onattach() callback is called successfully when NFC tag is detected after NFCAdapter::setTagListener() with valid tagFilter" type="compliance" status="approved" component="TizenAPI/Communication/NFC" execution_type="manual" priority="P2" id="NFCAdapter_setTagListener_with_tagFilter">
<description>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NDEFMessage_toByte_exists.html</test_script_entry>
+ <pre_condition>Turn on NFC adapter. Prepare NFC tag.</pre_condition>
+ <steps>
+ <step order="1">
+ <step_desc>Click "Run". Move NFC tag close to the device so it will be detected.</step_desc>
+ <expected>should be passed</expected>
+ </step>
+ </steps>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_setTagListener_with_tagFilter.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="NDEFMessage" element_type="method" element_name="toByte" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="NFCAdapter" element_type="method" element_name="setTagListener" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
<spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
<spec_statement>TBD</spec_statement>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if method toByte of NDEFMessage accepts extra argument" type="compliance" status="approved" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P1" id="NDEFMessage_toByte_extra_argument">
+ <testcase purpose="Check if method NFCAdapter::unsetTagListener() disables listener for detecting an NFC tag" type="compliance" status="approved" component="TizenAPI/Communication/NFC" execution_type="manual" priority="P1" id="NFCAdapter_unsetTagListener">
<description>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NDEFMessage_toByte_extra_argument.html</test_script_entry>
+ <pre_condition>Turn on NFC adapter. Prepare NFC tag.</pre_condition>
+ <steps>
+ <step order="1">
+ <step_desc>Click "Run". Move NFC tag close so it will be detected and then click "Tag was attached" button.</step_desc>
+ <expected>pass</expected>
+ </step>
+ </steps>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_unsetTagListener.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="NDEFMessage" element_type="method" element_name="toByte" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="NFCAdapter" element_type="method" element_name="unsetTagListener" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
<spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
<spec_statement>TBD</spec_statement>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if NDEFRecordMedia constructor works" type="compliance" status="approved" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P1" id="NDEFRecordMedia_constructor">
+ <testcase purpose="Check if method NFCAdapter::unsetTagListener() method exists" type="compliance" status="approved" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P1" id="NFCAdapter_unsetTagListener_exist">
<description>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NDEFRecordMedia_constructor.html</test_script_entry>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_unsetTagListener_exist.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="NDEFRecordMedia" element_type="constructor" element_name="constructor" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="NFCAdapter" element_type="method" element_name="unsetTagListener" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
<spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
<spec_statement>TBD</spec_statement>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if NDEFRecordMedia exists" type="compliance" status="approved" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P1" id="NDEFRecordMedia_exist">
+ <testcase purpose="Check if method unsetTagListener of NFCAdapter accepts extra argument" type="compliance" status="approved" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P1" id="NFCAdapter_unsetTagListener_extra_argument">
<description>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NDEFRecordMedia_exist.html</test_script_entry>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_unsetTagListener_extra_argument.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="NDEFRecordMedia" element_type="constructor" element_name="constructor" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="NFCAdapter" element_type="method" element_name="unsetTagListener" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
<spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
<spec_statement>TBD</spec_statement>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if instance of interface NDEFRecordMedia can be extended with new property" type="compliance" status="approved" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P3" id="NDEFRecordMedia_extend">
+ <testcase purpose="Check NFCTag attributes, method existence and TypeMismatchError throwing" type="compliance" status="approved" component="TizenAPI/Communication/NFC" execution_type="manual" priority="P3" id="NFCTag">
<description>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NDEFRecordMedia_extend.html</test_script_entry>
+ <pre_condition>Turn on NFC adapter. Prepare NFC tag.</pre_condition>
+ <steps>
+ <step order="1">
+ <step_desc>Click "Run". Move NFC tag close so it will be detected.</step_desc>
+ <expected>Pass</expected>
+ </step>
+ </steps>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCTag.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="NDEFRecordMedia" usage="true" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
+ <spec_assertion interface="NFCTag" element_type="attribute" element_name="isConnected" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
+ <spec_statement>TBD</spec_statement>
+ </spec>
+ <spec>
+ <spec_assertion interface="NFCTag" element_type="attribute" element_name="isSupportedNDEF" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
+ <spec_statement>TBD</spec_statement>
+ </spec>
+ <spec>
+ <spec_assertion interface="NFCTag" element_type="attribute" element_name="ndefSize" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
+ <spec_url>https://developer.tizen.org/help/index.jsp?topic=/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
+ <spec_statement>TBD</spec_statement>
+ </spec>
+ <spec>
+ <spec_assertion interface="NFCTag" element_type="attribute" element_name="properties" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
+ <spec_url>https://developer.tizen.org/help/index.jsp?topic=/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
+ <spec_statement>TBD</spec_statement>
+ </spec>
+ <spec>
+ <spec_assertion interface="NFCTag" element_type="attribute" element_name="type" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
+ <spec_url>https://developer.tizen.org/help/index.jsp?topic=/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
+ <spec_statement>TBD</spec_statement>
+ </spec>
+ <spec>
+ <spec_assertion interface="NFCTag" element_type="method" element_name="readNDEF" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
+ <spec_url>https://developer.tizen.org/help/index.jsp?topic=/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
+ <spec_statement>TBD</spec_statement>
+ </spec>
+ <spec>
+ <spec_assertion interface="NFCTag" element_type="method" element_name="readNDEF" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
+ <spec_url>https://developer.tizen.org/help/index.jsp?topic=/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
+ <spec_statement>TBD</spec_statement>
+ </spec>
+ <spec>
+ <spec_assertion interface="NFCTag" element_type="method" element_name="readNDEF" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
+ <spec_url>https://developer.tizen.org/help/index.jsp?topic=/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
+ <spec_statement>TBD</spec_statement>
+ </spec>
+ <spec>
+ <spec_assertion interface="NFCTag" element_type="method" element_name="readNDEF" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
+ <spec_url>https://developer.tizen.org/help/index.jsp?topic=/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
+ <spec_statement>TBD</spec_statement>
+ </spec>
+ <spec>
+ <spec_assertion interface="NFCTag" element_type="method" element_name="readNDEF" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
+ <spec_url>https://developer.tizen.org/help/index.jsp?topic=/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
+ <spec_statement>TBD</spec_statement>
+ </spec>
+ <spec>
+ <spec_assertion interface="NFCTag" element_type="method" element_name="readNDEF" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
+ <spec_url>https://developer.tizen.org/help/index.jsp?topic=/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
+ <spec_statement>TBD</spec_statement>
+ </spec>
+ <spec>
+ <spec_assertion interface="NFCTag" element_type="method" element_name="writeNDEF" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
+ <spec_url>https://developer.tizen.org/help/index.jsp?topic=/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
+ <spec_statement>TBD</spec_statement>
+ </spec>
+ <spec>
+ <spec_assertion interface="NFCTag" element_type="method" element_name="writeNDEF" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
+ <spec_url>https://developer.tizen.org/help/index.jsp?topic=/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
+ <spec_statement>TBD</spec_statement>
+ </spec>
+ <spec>
+ <spec_assertion interface="NFCTag" element_type="method" element_name="writeNDEF" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
+ <spec_url>https://developer.tizen.org/help/index.jsp?topic=/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
+ <spec_statement>TBD</spec_statement>
+ </spec>
+ <spec>
+ <spec_assertion interface="NFCTag" element_type="method" element_name="writeNDEF" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
+ <spec_url>https://developer.tizen.org/help/index.jsp?topic=/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
+ <spec_statement>TBD</spec_statement>
+ </spec>
+ <spec>
+ <spec_assertion interface="NFCTag" element_type="method" element_name="writeNDEF" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
+ <spec_url>https://developer.tizen.org/help/index.jsp?topic=/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
+ <spec_statement>TBD</spec_statement>
+ </spec>
+ <spec>
+ <spec_assertion interface="NFCTag" element_type="method" element_name="writeNDEF" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
+ <spec_url>https://developer.tizen.org/help/index.jsp?topic=/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
+ <spec_statement>TBD</spec_statement>
+ </spec>
+ <spec>
+ <spec_assertion interface="NFCTag" element_type="method" element_name="writeNDEF" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
+ <spec_url>https://developer.tizen.org/help/index.jsp?topic=/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
<spec_statement>TBD</spec_statement>
</spec>
- </specs>
- </testcase>
- <testcase purpose="Check if attribute id of NDEFRecordMedia exists, has type Array and is readonly" type="compliance" status="approved" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P1" id="NDEFRecordMedia_id_attribute">
- <description>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NDEFRecordMedia_id_attribute.html</test_script_entry>
- </description>
- <specs>
<spec>
- <spec_assertion interface="NDEFRecordMedia" element_type="attribute" element_name="id" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
+ <spec_assertion interface="NFCTag" element_type="method" element_name="writeNDEF" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
+ <spec_url>https://developer.tizen.org/help/index.jsp?topic=/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
<spec_statement>TBD</spec_statement>
</spec>
- </specs>
- </testcase>
- <testcase purpose="Check if attribute mimeType of NDEFRecordMedia exists, has type DOMString and is readonly" type="compliance" status="approved" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P1" id="NDEFRecordMedia_mimeType_attribute">
- <description>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NDEFRecordMedia_mimeType_attribute.html</test_script_entry>
- </description>
- <specs>
<spec>
- <spec_assertion interface="NDEFRecordMedia" element_type="attribute" element_name="mimeType" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
+ <spec_assertion interface="NFCTag" element_type="method" element_name="transceive" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
+ <spec_url>https://developer.tizen.org/help/index.jsp?topic=/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
<spec_statement>TBD</spec_statement>
</spec>
- </specs>
- </testcase>
- <testcase purpose="Check if attribute payload of NDEFRecordMedia exists, has type Array and is readonly" type="compliance" status="approved" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P1" id="NDEFRecordMedia_payload_attribute">
- <description>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NDEFRecordMedia_payload_attribute.html</test_script_entry>
- </description>
- <specs>
<spec>
- <spec_assertion interface="NDEFRecordMedia" element_type="attribute" element_name="payload" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
+ <spec_assertion interface="NFCTag" element_type="method" element_name="transceive" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
+ <spec_url>https://developer.tizen.org/help/index.jsp?topic=/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
<spec_statement>TBD</spec_statement>
</spec>
- </specs>
- </testcase>
- <testcase purpose="Check if attribute tnf of NDEFRecordMedia exists, has type short and is readonly" type="compliance" status="approved" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P1" id="NDEFRecordMedia_tnf_attribute">
- <description>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NDEFRecordMedia_tnf_attribute.html</test_script_entry>
- </description>
- <specs>
<spec>
- <spec_assertion interface="NDEFRecordMedia" element_type="attribute" element_name="tnf" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
+ <spec_assertion interface="NFCTag" element_type="method" element_name="transceive" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
+ <spec_url>https://developer.tizen.org/help/index.jsp?topic=/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
<spec_statement>TBD</spec_statement>
</spec>
- </specs>
- </testcase>
- <testcase purpose="Check if attribute type of NDEFRecordMedia exists, has type Array and is readonly" type="compliance" status="approved" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P1" id="NDEFRecordMedia_type_attribute">
- <description>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NDEFRecordMedia_type_attribute.html</test_script_entry>
- </description>
- <specs>
<spec>
- <spec_assertion interface="NDEFRecordMedia" element_type="attribute" element_name="type" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
+ <spec_assertion interface="NFCTag" element_type="method" element_name="transceive" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
+ <spec_url>https://developer.tizen.org/help/index.jsp?topic=/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
<spec_statement>TBD</spec_statement>
</spec>
- </specs>
- </testcase>
- <testcase purpose="Check if NDEFRecordText constructor works" type="compliance" status="approved" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P1" id="NDEFRecordText_constructor">
- <description>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NDEFRecordText_constructor.html</test_script_entry>
- </description>
- <specs>
<spec>
- <spec_assertion interface="NDEFRecordText" element_type="constructor" element_name="constructor" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
+ <spec_assertion interface="NFCTag" element_type="method" element_name="transceive" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
+ <spec_url>https://developer.tizen.org/help/index.jsp?topic=/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
<spec_statement>TBD</spec_statement>
</spec>
- </specs>
- </testcase>
- <testcase purpose="Check if NDEFRecordText constructor called with UTF16 encoding works" type="compliance" status="approved" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P1" id="NDEFRecordText_constructor_encoding_UTF16">
- <description>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NDEFRecordText_constructor_encoding_UTF16.html</test_script_entry>
- </description>
- <specs>
<spec>
- <spec_assertion interface="NDEFRecordText" element_type="constructor" element_name="constructor" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
+ <spec_assertion interface="NFCTag" element_type="method" element_name="transceive" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
+ <spec_url>https://developer.tizen.org/help/index.jsp?topic=/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
<spec_statement>TBD</spec_statement>
</spec>
- </specs>
- </testcase>
- <testcase purpose="Check if NDEFRecordText constructor called with UTF8 encoding works" type="compliance" status="approved" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P1" id="NDEFRecordText_constructor_encoding_UTF8">
- <description>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NDEFRecordText_constructor_encoding_UTF8.html</test_script_entry>
- </description>
- <specs>
<spec>
- <spec_assertion interface="NDEFRecordText" element_type="constructor" element_name="constructor" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
+ <spec_assertion interface="NFCTag" element_type="method" element_name="transceive" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
+ <spec_url>https://developer.tizen.org/help/index.jsp?topic=/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
+ <spec_statement>TBD</spec_statement>
+ </spec>
+ <spec>
+ <spec_assertion interface="NFCTag" usage="true" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
+ <spec_url>https://developer.tizen.org/help/index.jsp?topic=/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
<spec_statement>TBD</spec_statement>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if attribute encoding of NDEFRecordText exists, has type NDEFRecordTextEncoding and is readonly" type="compliance" status="approved" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P1" id="NDEFRecordText_encoding_attribute">
+ <testcase purpose="Check if interface NFCTagDetectCallback exists, it should not." type="compliance" status="approved" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P3" id="NFCTagDetectCallback_notexist">
<description>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NDEFRecordText_encoding_attribute.html</test_script_entry>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCTagDetectCallback_notexist.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="NDEFRecordText" element_type="attribute" element_name="encoding" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="NFCTagDetectCallback" usage="true" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
<spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
<spec_statement>TBD</spec_statement>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if NDEFRecordText exists" type="compliance" status="approved" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P1" id="NDEFRecordText_exist">
+ <testcase purpose="Check if NFCTagDetectCallback::onattach() callback is called with proper argument when NFC tag is detected" type="compliance" status="approved" component="TizenAPI/Communication/NFC" execution_type="manual" priority="P1" id="NFCTagDetectCallback_onattach">
<description>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NDEFRecordText_exist.html</test_script_entry>
+ <pre_condition>Turn on NFC adapter. Prepare NFC tag</pre_condition>
+ <steps>
+ <step order="1">
+ <step_desc>Click "Run". Move NFC tag close so it will be detected.</step_desc>
+ <expected>pass - after setTagListener onattach callback was called</expected>
+ </step>
+ </steps>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCTagDetectCallback_onattach.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="NDEFRecordText" element_type="constructor" element_name="constructor" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="NFCTagDetectCallback" element_type="method" element_name="onattach" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
<spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
<spec_statement>TBD</spec_statement>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if instance of interface NDEFRecordText can be extended with new property" type="compliance" status="approved" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P3" id="NDEFRecordText_extend">
+ <testcase purpose="Check if NFCTagDetectCallback::ondetach() callback is called when NFC tag is disconnected" type="compliance" status="approved" component="TizenAPI/Communication/NFC" execution_type="manual" priority="P1" id="NFCTagDetectCallback_ondetach">
<description>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NDEFRecordText_extend.html</test_script_entry>
+ <pre_condition>Turn on NFC adapter. Prepare NFC tag.</pre_condition>
+ <steps>
+ <step order="1">
+ <step_desc>Click "Run". Move NFC tag close until it will be detected and then take it away.</step_desc>
+ <expected>pass - after setTagListener ondetach callback is called</expected>
+ </step>
+ </steps>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCTagDetectCallback_ondetach.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="NDEFRecordText" usage="true" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="NFCTagDetectCallback" element_type="method" element_name="ondetach" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
<spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
<spec_statement>TBD</spec_statement>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if attribute id of NDEFRecordText exists, has type Array and is readonly" type="compliance" status="approved" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P1" id="NDEFRecordText_id_attribute">
+ <testcase purpose="Check if interface NFCTag exists, it should not." type="compliance" status="approved" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P3" id="NFCTag_notexist">
<description>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NDEFRecordText_id_attribute.html</test_script_entry>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCTag_notexist.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="NDEFRecordText" element_type="attribute" element_name="id" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="NFCTag" usage="true" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
<spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
<spec_statement>TBD</spec_statement>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if attribute languageCode of NDEFRecordText exists, has type DOMString and is readonly" type="compliance" status="approved" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P1" id="NDEFRecordText_languageCode_attribute">
+ <testcase purpose="Check if method NFCTag::readNDEF() reports error by calling errorCallback when NFC tag was disconnected" type="compliance" status="approved" component="TizenAPI/Communication/NFC" execution_type="manual" priority="P2" id="NFCTag_readNDEF_errorCallback">
<description>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NDEFRecordText_languageCode_attribute.html</test_script_entry>
+ <pre_condition>Turn on NFC adapter. Prepare NFC tag.</pre_condition>
+ <steps>
+ <step order="1">
+ <step_desc>Click "Run". Move NFC tag close until it will be detected and then take it away before the expiration of 3 seconds.</step_desc>
+ <expected>pass - readNDEF reported failure by error callback</expected>
+ </step>
+ </steps>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCTag_readNDEF_errorCallback.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="NDEFRecordText" element_type="attribute" element_name="languageCode" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="NFCTag" element_type="method" element_name="readNDEF" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
<spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
<spec_statement>TBD</spec_statement>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if attribute payload of NDEFRecordText exists, has type Array and is readonly" type="compliance" status="approved" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P1" id="NDEFRecordText_payload_attribute">
+ <testcase purpose="Check if method NFCTag::readNDEF() successfully reads data from NFC tag" type="compliance" onload_delay="90" status="approved" component="TizenAPI/Communication/NFC" execution_type="manual" priority="P1" id="NFCTag_readNDEF_without_errorCallback">
<description>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NDEFRecordText_payload_attribute.html</test_script_entry>
+ <pre_condition>Turn on NFC adapter. Prepare NFC tag.</pre_condition>
+ <steps>
+ <step order="1">
+ <step_desc>Click "Run". Move NFC tag close so it will be detected.</step_desc>
+ <expected>pass - read the NDEF data successfully</expected>
+ </step>
+ </steps>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCTag_readNDEF_without_errorCallback.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="NDEFRecordText" element_type="attribute" element_name="payload" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="NFCTag" element_type="method" element_name="readNDEF" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
<spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
<spec_statement>TBD</spec_statement>
</spec>
- </specs>
- </testcase>
- <testcase purpose="Check if attribute text of NDEFRecordText exists, has type DOMString and is readonly" type="compliance" status="approved" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P1" id="NDEFRecordText_text_attribute">
- <description>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NDEFRecordText_text_attribute.html</test_script_entry>
- </description>
- <specs>
<spec>
- <spec_assertion interface="NDEFRecordText" element_type="attribute" element_name="text" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="NDEFMessageReadCallback" element_type="method" element_name="onsuccess" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
<spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
<spec_statement>TBD</spec_statement>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if attribute tnf of NDEFRecordText exists, has type short and is readonly" type="compliance" status="approved" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P1" id="NDEFRecordText_tnf_attribute">
+ <testcase purpose="Check if method NFCTag::transceive() reports error by calling errorCallback when NFC tag is disconnected" type="compliance" status="approved" component="TizenAPI/Communication/NFC" execution_type="manual" priority="P2" id="NFCTag_transceive_with_errorCallback">
<description>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NDEFRecordText_tnf_attribute.html</test_script_entry>
+ <pre_condition>Turn on NFC adapter. Prepare NFC tag.</pre_condition>
+ <steps>
+ <step order="1">
+ <step_desc>Click "Run". Move NFC tag close until it will be detected and then take it away before the expiration of 3 seconds.</step_desc>
+ <expected>pass - transceive reported failure by error callback</expected>
+ </step>
+ </steps>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCTag_transceive_with_errorCallback.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="NDEFRecordText" element_type="attribute" element_name="tnf" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="NFCTag" element_type="method" element_name="transceive" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
<spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
<spec_statement>TBD</spec_statement>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if attribute type of NDEFRecordText exists, has type Array and is readonly" type="compliance" status="approved" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P1" id="NDEFRecordText_type_attribute">
+ <testcase purpose="Check if method NFCTag::writeNDEF() can be called with only mandatory argument" type="compliance" status="approved" component="TizenAPI/Communication/NFC" execution_type="manual" priority="P2" id="NFCTag_writeNDEF">
<description>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NDEFRecordText_type_attribute.html</test_script_entry>
+ <pre_condition>Turn on NFC adapter. Prepare NFC tag.</pre_condition>
+ <steps>
+ <step order="1">
+ <step_desc>Click "Run". Move NFC tag close so it will be detected.</step_desc>
+ <expected>pass - writeNDEF successfully without callback</expected>
+ </step>
+ </steps>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCTag_writeNDEF.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="NDEFRecordText" element_type="attribute" element_name="type" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="NFCTag" element_type="method" element_name="writeNDEF" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
<spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
<spec_statement>TBD</spec_statement>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if NDEFRecordURI constructor works" type="compliance" status="approved" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P1" id="NDEFRecordURI_constructor">
+ <testcase purpose="Check if method NFCTag::writeNDEF() reports error by calling errorCallback when NFC tag is disconnected" type="compliance" status="approved" component="TizenAPI/Communication/NFC" execution_type="manual" priority="P2" id="NFCTag_writeNDEF_with_errorCallback">
<description>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NDEFRecordURI_constructor.html</test_script_entry>
+ <pre_condition>Turn on NFC adapter. Prepare NFC tag.</pre_condition>
+ <steps>
+ <step order="1">
+ <step_desc>Click "Run". Move NFC tag close until it will be detected and then take it away before the expiration of 3 seconds.</step_desc>
+ <expected>pass - writeNDEF reported failure by error callback</expected>
+ </step>
+ </steps>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCTag_writeNDEF_with_errorCallback.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="NDEFRecordURI" element_type="constructor" element_name="constructor" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="NFCTag" element_type="method" element_name="writeNDEF" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
<spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
<spec_statement>TBD</spec_statement>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if NDEFRecordURI exists" type="compliance" status="approved" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P1" id="NDEFRecordURI_exist">
+ <testcase purpose="Check if method NFCTag::writeNDEF() calls successCallback" type="compliance" status="approved" component="TizenAPI/Communication/NFC" execution_type="manual" priority="P1" id="NFCTag_writeNDEF_with_successCallback">
<description>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NDEFRecordURI_exist.html</test_script_entry>
+ <pre_condition>Turn on NFC adapter. Prepare NFC tag.</pre_condition>
+ <steps>
+ <step order="1">
+ <step_desc>Click "Run". Move NFC tag close so it will be detected.</step_desc>
+ <expected>pass - writing the NDEF Data successfully</expected>
+ </step>
+ </steps>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCTag_writeNDEF_with_successCallback.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="NDEFRecordURI" element_type="constructor" element_name="constructor" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="NFCTag" element_type="method" element_name="writeNDEF" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
<spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
<spec_statement>TBD</spec_statement>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if instance of interface NDEFRecordURI can be extended with new property" type="compliance" status="approved" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P3" id="NDEFRecordURI_extend">
+ </set>
+ <set name="TAG_wearable">
+ <capabilities>
+ <capability name="http://tizen.org/feature/profile"><value>WEARABLE</value></capability>
+ <capability name="http://tizen.org/feature/network.nfc.tag"/>
+ </capabilities>
+ <testcase purpose="Check if interface ByteArraySuccessCallback exists, it should not." type="compliance" status="approved" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P3" id="ByteArraySuccessCallback_notexist">
<description>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NDEFRecordURI_extend.html</test_script_entry>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/ByteArraySuccessCallback_notexist.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="NDEFRecordURI" usage="true" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="ByteArraySuccessCallback" usage="true" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
<spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
<spec_statement>TBD</spec_statement>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if attribute id of NDEFRecordURI exists, has type Array and is readonly" type="compliance" status="approved" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P1" id="NDEFRecordURI_id_attribute">
+ <testcase purpose="Check if interface NDEFMessageReadCallback exists, it should not." type="compliance" status="approved" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P3" id="NDEFMessageReadCallback_notexist">
<description>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NDEFRecordURI_id_attribute.html</test_script_entry>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NDEFMessageReadCallback_notexist.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="NDEFRecordURI" element_type="attribute" element_name="id" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="NDEFMessageReadCallback" usage="true" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
<spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
<spec_statement>TBD</spec_statement>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if attribute payload of NDEFRecordURI exists, has type Array and is readonly" type="compliance" status="approved" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P1" id="NDEFRecordURI_payload_attribute">
+ <testcase purpose="Check if NDEFMessageReadCallback::onsuccess() callback is called successfully." type="compliance" status="approved" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P1" id="NDEFMessageReadCallback_onsuccess">
<description>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NDEFRecordURI_payload_attribute.html</test_script_entry>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NDEFMessageReadCallback_onsuccess.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="NDEFRecordURI" element_type="attribute" element_name="payload" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="NDEFMessageReadCallback" element_type="method" element_name="onsuccess" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
<spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
<spec_statement>TBD</spec_statement>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if attribute tnf of NDEFRecordURI exists, has type short and is readonly" type="compliance" status="approved" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P1" id="NDEFRecordURI_tnf_attribute">
+ <testcase purpose="Check if method NFCAdapter::setTagListener() successfully registers listener for detecting NFC tag" type="compliance" status="approved" component="TizenAPI/Communication/NFC" execution_type="manual" priority="P1" id="NFCAdapter_setTagListener">
<description>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NDEFRecordURI_tnf_attribute.html</test_script_entry>
+ <pre_condition>Turn on NFC adapter. Prepare NFC tag.</pre_condition>
+ <steps>
+ <step order="1">
+ <step_desc>Click "Run". Move NFC tag close so it will be detected.</step_desc>
+ <expected>pass - tag detected</expected>
+ </step>
+ </steps>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_setTagListener.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="NDEFRecordURI" element_type="attribute" element_name="tnf" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="NFCAdapter" element_type="method" element_name="setTagListener" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
<spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
<spec_statement>TBD</spec_statement>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if attribute type of NDEFRecordURI exists, has type Array and is readonly" type="compliance" status="approved" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P1" id="NDEFRecordURI_type_attribute">
+ <testcase purpose="Check if NFCAdapter::setTagListener throws exception when given wrong detectCallback" type="compliance" status="approved" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P2" id="NFCAdapter_setTagListener_detectCallback_TypeMismatch">
<description>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NDEFRecordURI_type_attribute.html</test_script_entry>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_setTagListener_detectCallback_TypeMismatch.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="NDEFRecordURI" element_type="attribute" element_name="type" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="NFCAdapter" element_type="method" element_name="setTagListener" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
<spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
<spec_statement>TBD</spec_statement>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if attribute uri of NDEFRecordURI exists, has type DOMString and is readonly" type="compliance" status="approved" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P1" id="NDEFRecordURI_uri_attribute">
+ <testcase purpose="Check verification of detectCallback by NFCAdapter::setTagListener()" type="compliance" onload_delay="90" status="approved" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P2" id="NFCAdapter_setTagListener_detectCallback_invalid_cb">
<description>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NDEFRecordURI_uri_attribute.html</test_script_entry>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_setTagListener_detectCallback_invalid_cb.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="NDEFRecordURI" element_type="attribute" element_name="uri" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="NFCAdapter" element_type="method" element_name="setTagListener" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
<spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
<spec_statement>TBD</spec_statement>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if NDEFRecord constructor works" type="compliance" status="approved" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P1" id="NDEFRecord_constructor">
+ <testcase purpose="Check if NFCAdapter::setTagListener() method exists" type="compliance" status="approved" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P1" id="NFCAdapter_setTagListener_exist">
<description>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NDEFRecord_constructor.html</test_script_entry>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_setTagListener_exist.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="NDEFRecord" element_type="constructor" element_name="constructor" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="NFCAdapter" element_type="method" element_name="setTagListener" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
<spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
<spec_statement>TBD</spec_statement>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if new tizen.NDEFRecord(raw_data) works" type="compliance" status="approved" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P1" id="NDEFRecord_constructor_raw_data">
+ <testcase purpose="Check if adapter.setTagListener() throws an exception" type="compliance" status="approved" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P1" id="NFCAdapter_setTagListener_missarg">
<description>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NDEFRecord_constructor_raw_data.html</test_script_entry>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_setTagListener_missarg.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="NDEFRecord" element_type="constructor" element_name="constructor" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="NFCAdapter" element_type="method" element_name="setTagListener" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
<spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
<spec_statement>TBD</spec_statement>
</spec>
</specs>
</testcase>
- <testcase purpose="Check NDEFRecord constructor with all parameters" type="compliance" status="approved" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P2" id="NDEFRecord_constructor_tnf">
+ <testcase purpose="Check if TypeMismatchError is thrown when NFCAdapter::setTagListener() is given wrong tagFilter" type="compliance" onload_delay="90" status="approved" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P2" id="NFCAdapter_setTagListener_tagFilter_TypeMismatch">
<description>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NDEFRecord_constructor_tnf.html</test_script_entry>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_setTagListener_tagFilter_TypeMismatch.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="NDEFRecord" element_type="constructor" element_name="constructor" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="NFCAdapter" element_type="method" element_name="setTagListener" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
<spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
<spec_statement>TBD</spec_statement>
</spec>
</specs>
</testcase>
- <testcase purpose="Check NDEFRecord constructor with only mandatory parameters" type="compliance" status="approved" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P2" id="NDEFRecord_constructor_tnf_with_id">
+ <testcase purpose="Check if onattach() callback is called successfully when NFC tag is detected after NFCAdapter::setTagListener() with null tagFilter" type="compliance" status="approved" component="TizenAPI/Communication/NFC" execution_type="manual" priority="P2" id="NFCAdapter_setTagListener_tagFilter_is_null">
<description>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NDEFRecord_constructor_tnf_with_id.html</test_script_entry>
+ <pre_condition>Turn on NFC adapter. Prepare NFC tag</pre_condition>
+ <steps>
+ <step order="1">
+ <step_desc>Click "Run". Move NFC tag close to the device so it will be detected.</step_desc>
+ <expected>should be passed</expected>
+ </step>
+ </steps>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_setTagListener_tagFilter_is_null.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="NDEFRecord" element_type="constructor" element_name="constructor" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="NFCAdapter" element_type="method" element_name="setTagListener" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
<spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
<spec_statement>TBD</spec_statement>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if NDEFRecord exists" type="compliance" status="approved" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P1" id="NDEFRecord_exist">
+ <testcase purpose="Check if onattach() callback is called successfully when NFC tag is detected after NFCAdapter::setTagListener() with valid tagFilter" type="compliance" status="approved" component="TizenAPI/Communication/NFC" execution_type="manual" priority="P2" id="NFCAdapter_setTagListener_with_tagFilter">
<description>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NDEFRecord_exist.html</test_script_entry>
+ <pre_condition>Turn on NFC adapter. Prepare NFC tag.</pre_condition>
+ <steps>
+ <step order="1">
+ <step_desc>Click "Run". Move NFC tag close to the device so it will be detected.</step_desc>
+ <expected>should be passed</expected>
+ </step>
+ </steps>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_setTagListener_with_tagFilter.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="NDEFRecord" element_type="constructor" element_name="constructor" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="NFCAdapter" element_type="method" element_name="setTagListener" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
<spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
<spec_statement>TBD</spec_statement>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if instance of interface NDEFRecord can be extended with new property" type="compliance" status="approved" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P3" id="NDEFRecord_extend">
+ <testcase purpose="Check if method NFCAdapter::unsetTagListener() disables listener for detecting an NFC tag" type="compliance" status="approved" component="TizenAPI/Communication/NFC" execution_type="manual" priority="P1" id="NFCAdapter_unsetTagListener">
<description>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NDEFRecord_extend.html</test_script_entry>
+ <pre_condition>Turn on NFC adapter. Prepare NFC tag.</pre_condition>
+ <steps>
+ <step order="1">
+ <step_desc>Click "Run". Move NFC tag close so it will be detected and then click "Tag was attached" button.</step_desc>
+ <expected>pass</expected>
+ </step>
+ </steps>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_unsetTagListener.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="NDEFRecord" usage="true" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="NFCAdapter" element_type="method" element_name="unsetTagListener" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
<spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
<spec_statement>TBD</spec_statement>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if attribute id of NDEFRecord exists, has type Array and is readonly" type="compliance" status="approved" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P1" id="NDEFRecord_id_attribute">
+ <testcase purpose="Check if method NFCAdapter::unsetTagListener() method exists" type="compliance" status="approved" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P1" id="NFCAdapter_unsetTagListener_exist">
<description>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NDEFRecord_id_attribute.html</test_script_entry>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_unsetTagListener_exist.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="NDEFRecord" element_type="attribute" element_name="id" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="NFCAdapter" element_type="method" element_name="unsetTagListener" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
<spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
<spec_statement>TBD</spec_statement>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if attribute payload of NDEFRecord exists, has type Array and is readonly" type="compliance" status="approved" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P1" id="NDEFRecord_payload_attribute">
+ <testcase purpose="Check if method unsetTagListener of NFCAdapter accepts extra argument" type="compliance" status="approved" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P1" id="NFCAdapter_unsetTagListener_extra_argument">
<description>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NDEFRecord_payload_attribute.html</test_script_entry>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_unsetTagListener_extra_argument.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="NDEFRecord" element_type="attribute" element_name="payload" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="NFCAdapter" element_type="method" element_name="unsetTagListener" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
<spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
<spec_statement>TBD</spec_statement>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if attribute tnf of NDEFRecord exists, has type short and is readonly" type="compliance" status="approved" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P1" id="NDEFRecord_tnf_attribute">
+ <testcase purpose="Check NFCTag attributes, method existence and TypeMismatchError throwing" type="compliance" status="approved" component="TizenAPI/Communication/NFC" execution_type="manual" priority="P3" id="NFCTag">
<description>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NDEFRecord_tnf_attribute.html</test_script_entry>
+ <pre_condition>Turn on NFC adapter. Prepare NFC tag.</pre_condition>
+ <steps>
+ <step order="1">
+ <step_desc>Click "Run". Move NFC tag close so it will be detected.</step_desc>
+ <expected>Pass</expected>
+ </step>
+ </steps>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCTag.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="NDEFRecord" element_type="attribute" element_name="tnf" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="NFCTag" element_type="attribute" element_name="isConnected" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
<spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
<spec_statement>TBD</spec_statement>
</spec>
- </specs>
- </testcase>
- <testcase purpose="Check if attribute type of NDEFRecord exists, has type Array and is readonly" type="compliance" status="approved" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P1" id="NDEFRecord_type_attribute">
- <description>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NDEFRecord_type_attribute.html</test_script_entry>
- </description>
- <specs>
<spec>
- <spec_assertion interface="NDEFRecord" element_type="attribute" element_name="type" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="NFCTag" element_type="attribute" element_name="isSupportedNDEF" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
<spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
<spec_statement>TBD</spec_statement>
</spec>
+ <spec>
+ <spec_assertion interface="NFCTag" element_type="attribute" element_name="ndefSize" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
+ <spec_url>https://developer.tizen.org/help/index.jsp?topic=/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
+ <spec_statement>TBD</spec_statement>
+ </spec>
+ <spec>
+ <spec_assertion interface="NFCTag" element_type="attribute" element_name="properties" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
+ <spec_url>https://developer.tizen.org/help/index.jsp?topic=/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
+ <spec_statement>TBD</spec_statement>
+ </spec>
+ <spec>
+ <spec_assertion interface="NFCTag" element_type="attribute" element_name="type" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
+ <spec_url>https://developer.tizen.org/help/index.jsp?topic=/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
+ <spec_statement>TBD</spec_statement>
+ </spec>
+ <spec>
+ <spec_assertion interface="NFCTag" element_type="method" element_name="readNDEF" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
+ <spec_url>https://developer.tizen.org/help/index.jsp?topic=/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
+ <spec_statement>TBD</spec_statement>
+ </spec>
+ <spec>
+ <spec_assertion interface="NFCTag" element_type="method" element_name="readNDEF" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
+ <spec_url>https://developer.tizen.org/help/index.jsp?topic=/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
+ <spec_statement>TBD</spec_statement>
+ </spec>
+ <spec>
+ <spec_assertion interface="NFCTag" element_type="method" element_name="readNDEF" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
+ <spec_url>https://developer.tizen.org/help/index.jsp?topic=/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
+ <spec_statement>TBD</spec_statement>
+ </spec>
+ <spec>
+ <spec_assertion interface="NFCTag" element_type="method" element_name="readNDEF" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
+ <spec_url>https://developer.tizen.org/help/index.jsp?topic=/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
+ <spec_statement>TBD</spec_statement>
+ </spec>
+ <spec>
+ <spec_assertion interface="NFCTag" element_type="method" element_name="readNDEF" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
+ <spec_url>https://developer.tizen.org/help/index.jsp?topic=/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
+ <spec_statement>TBD</spec_statement>
+ </spec>
+ <spec>
+ <spec_assertion interface="NFCTag" element_type="method" element_name="readNDEF" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
+ <spec_url>https://developer.tizen.org/help/index.jsp?topic=/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
+ <spec_statement>TBD</spec_statement>
+ </spec>
+ <spec>
+ <spec_assertion interface="NFCTag" element_type="method" element_name="writeNDEF" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
+ <spec_url>https://developer.tizen.org/help/index.jsp?topic=/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
+ <spec_statement>TBD</spec_statement>
+ </spec>
+ <spec>
+ <spec_assertion interface="NFCTag" element_type="method" element_name="writeNDEF" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
+ <spec_url>https://developer.tizen.org/help/index.jsp?topic=/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
+ <spec_statement>TBD</spec_statement>
+ </spec>
+ <spec>
+ <spec_assertion interface="NFCTag" element_type="method" element_name="writeNDEF" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
+ <spec_url>https://developer.tizen.org/help/index.jsp?topic=/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
+ <spec_statement>TBD</spec_statement>
+ </spec>
+ <spec>
+ <spec_assertion interface="NFCTag" element_type="method" element_name="writeNDEF" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
+ <spec_url>https://developer.tizen.org/help/index.jsp?topic=/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
+ <spec_statement>TBD</spec_statement>
+ </spec>
+ <spec>
+ <spec_assertion interface="NFCTag" element_type="method" element_name="writeNDEF" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
+ <spec_url>https://developer.tizen.org/help/index.jsp?topic=/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
+ <spec_statement>TBD</spec_statement>
+ </spec>
+ <spec>
+ <spec_assertion interface="NFCTag" element_type="method" element_name="writeNDEF" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
+ <spec_url>https://developer.tizen.org/help/index.jsp?topic=/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
+ <spec_statement>TBD</spec_statement>
+ </spec>
+ <spec>
+ <spec_assertion interface="NFCTag" element_type="method" element_name="writeNDEF" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
+ <spec_url>https://developer.tizen.org/help/index.jsp?topic=/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
+ <spec_statement>TBD</spec_statement>
+ </spec>
+ <spec>
+ <spec_assertion interface="NFCTag" element_type="method" element_name="writeNDEF" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
+ <spec_url>https://developer.tizen.org/help/index.jsp?topic=/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
+ <spec_statement>TBD</spec_statement>
+ </spec>
+ <spec>
+ <spec_assertion interface="NFCTag" element_type="method" element_name="transceive" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
+ <spec_url>https://developer.tizen.org/help/index.jsp?topic=/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
+ <spec_statement>TBD</spec_statement>
+ </spec>
+ <spec>
+ <spec_assertion interface="NFCTag" element_type="method" element_name="transceive" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
+ <spec_url>https://developer.tizen.org/help/index.jsp?topic=/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
+ <spec_statement>TBD</spec_statement>
+ </spec>
+ <spec>
+ <spec_assertion interface="NFCTag" element_type="method" element_name="transceive" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
+ <spec_url>https://developer.tizen.org/help/index.jsp?topic=/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
+ <spec_statement>TBD</spec_statement>
+ </spec>
+ <spec>
+ <spec_assertion interface="NFCTag" element_type="method" element_name="transceive" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
+ <spec_url>https://developer.tizen.org/help/index.jsp?topic=/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
+ <spec_statement>TBD</spec_statement>
+ </spec>
+ <spec>
+ <spec_assertion interface="NFCTag" element_type="method" element_name="transceive" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
+ <spec_url>https://developer.tizen.org/help/index.jsp?topic=/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
+ <spec_statement>TBD</spec_statement>
+ </spec>
+ <spec>
+ <spec_assertion interface="NFCTag" element_type="method" element_name="transceive" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
+ <spec_url>https://developer.tizen.org/help/index.jsp?topic=/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
+ <spec_statement>TBD</spec_statement>
+ </spec>
+ <spec>
+ <spec_assertion interface="NFCTag" element_type="method" element_name="transceive" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
+ <spec_url>https://developer.tizen.org/help/index.jsp?topic=/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
+ <spec_statement>TBD</spec_statement>
+ </spec>
+ <spec>
+ <spec_assertion interface="NFCTag" usage="true" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
+ <spec_url>https://developer.tizen.org/help/index.jsp?topic=/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
+ <spec_statement>TBD</spec_statement>
+ </spec>
</specs>
</testcase>
- <testcase purpose="Check if instance of interface NFCAdapter can be extended with new property" type="compliance" status="approved" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P3" id="NFCAdapter_extend">
+ <testcase purpose="Check if interface NFCTagDetectCallback exists, it should not." type="compliance" status="approved" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P3" id="NFCTagDetectCallback_notexist">
<description>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_extend.html</test_script_entry>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCTagDetectCallback_notexist.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="NFCAdapter" usage="true" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="NFCTagDetectCallback" usage="true" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
<spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
<spec_statement>TBD</spec_statement>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if method getCachedMessage of NFCAdapter works" type="compliance" status="approved" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P1" id="NFCAdapter_getCachedMessage">
+ <testcase purpose="Check if NFCTagDetectCallback::onattach() callback is called with proper argument when NFC tag is detected" type="compliance" status="approved" component="TizenAPI/Communication/NFC" execution_type="manual" priority="P1" id="NFCTagDetectCallback_onattach">
<description>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_getCachedMessage.html</test_script_entry>
+ <pre_condition>Turn on NFC adapter. Prepare NFC tag</pre_condition>
+ <steps>
+ <step order="1">
+ <step_desc>Click "Run". Move NFC tag close so it will be detected.</step_desc>
+ <expected>pass - after setTagListener onattach callback was called</expected>
+ </step>
+ </steps>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCTagDetectCallback_onattach.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="NFCAdapter" element_type="method" element_name="getCachedMessage" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="NFCTagDetectCallback" element_type="method" element_name="onattach" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
<spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
<spec_statement>TBD</spec_statement>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if method NFCAdapter::getCachedMessage() exists" type="compliance" status="approved" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P1" id="NFCAdapter_getCachedMessage_exist">
+ <testcase purpose="Check if NFCTagDetectCallback::ondetach() callback is called when NFC tag is disconnected" type="compliance" status="approved" component="TizenAPI/Communication/NFC" execution_type="manual" priority="P1" id="NFCTagDetectCallback_ondetach">
<description>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_getCachedMessage_exist.html</test_script_entry>
+ <pre_condition>Turn on NFC adapter. Prepare NFC tag.</pre_condition>
+ <steps>
+ <step order="1">
+ <step_desc>Click "Run". Move NFC tag close until it will be detected and then take it away.</step_desc>
+ <expected>pass - after setTagListener ondetach callback is called</expected>
+ </step>
+ </steps>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCTagDetectCallback_ondetach.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="NFCAdapter" element_type="method" element_name="getCachedMessage" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="NFCTagDetectCallback" element_type="method" element_name="ondetach" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
<spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
<spec_statement>TBD</spec_statement>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if method getCachedMessage of NFCAdapter accepts extra argument" type="compliance" status="approved" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P1" id="NFCAdapter_getCachedMessage_extra_argument">
+ <testcase purpose="Check if interface NFCTag exists, it should not." type="compliance" status="approved" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P3" id="NFCTag_notexist">
<description>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_getCachedMessage_extra_argument.html</test_script_entry>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCTag_notexist.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="NFCAdapter" element_type="method" element_name="getCachedMessage" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="NFCTag" usage="true" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
<spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
<spec_statement>TBD</spec_statement>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if interface NFCAdapter exists, it should not." type="compliance" status="approved" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P3" id="NFCAdapter_notexist">
+ <testcase purpose="Check if method NFCTag::readNDEF() reports error by calling errorCallback when NFC tag was disconnected" type="compliance" status="approved" component="TizenAPI/Communication/NFC" execution_type="manual" priority="P2" id="NFCTag_readNDEF_errorCallback">
<description>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_notexist.html</test_script_entry>
+ <pre_condition>Turn on NFC adapter. Prepare NFC tag.</pre_condition>
+ <steps>
+ <step order="1">
+ <step_desc>Click "Run". Move NFC tag close until it will be detected and then take it away before the expiration of 3 seconds.</step_desc>
+ <expected>pass - readNDEF reported failure by error callback</expected>
+ </step>
+ </steps>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCTag_readNDEF_errorCallback.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="NFCAdapter" usage="true" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="NFCTag" element_type="method" element_name="readNDEF" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
<spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
<spec_statement>TBD</spec_statement>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if attribute powered of NFCAdapter exists, has type Boolean and is readonly" type="compliance" status="approved" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P1" id="NFCAdapter_powered_attribute">
+ <testcase purpose="Check if method NFCTag::readNDEF() successfully reads data from NFC tag" type="compliance" onload_delay="90" status="approved" component="TizenAPI/Communication/NFC" execution_type="manual" priority="P1" id="NFCTag_readNDEF_without_errorCallback">
<description>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_powered_attribute.html</test_script_entry>
+ <pre_condition>Turn on NFC adapter. Prepare NFC tag.</pre_condition>
+ <steps>
+ <step order="1">
+ <step_desc>Click "Run". Move NFC tag close so it will be detected.</step_desc>
+ <expected>pass - read the NDEF data successfully</expected>
+ </step>
+ </steps>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCTag_readNDEF_without_errorCallback.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="NFCAdapter" element_type="attribute" element_name="powered" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="NFCTag" element_type="method" element_name="readNDEF" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
<spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
<spec_statement>TBD</spec_statement>
</spec>
- </specs>
- </testcase>
- <testcase purpose="Check if interface NFCManagerObject exists, it should not." type="compliance" status="approved" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P3" id="NFCManagerObject_notexist">
- <description>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCManagerObject_notexist.html</test_script_entry>
- </description>
- <specs>
<spec>
- <spec_assertion interface="NFCManagerObject" usage="true" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="NDEFMessageReadCallback" element_type="method" element_name="onsuccess" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
<spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
<spec_statement>TBD</spec_statement>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if NFCManager has constant NFC_RECORD_TNF_EMPTY and its value is 0" type="compliance" status="approved" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P2" id="NFCManager_NFC_RECORD_TNF_EMPTY_const">
+ <testcase purpose="Check if method NFCTag::transceive() reports error by calling errorCallback when NFC tag is disconnected" type="compliance" status="approved" component="TizenAPI/Communication/NFC" execution_type="manual" priority="P2" id="NFCTag_transceive_with_errorCallback">
<description>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCManager_NFC_RECORD_TNF_EMPTY_const.html</test_script_entry>
+ <pre_condition>Turn on NFC adapter. Prepare NFC tag.</pre_condition>
+ <steps>
+ <step order="1">
+ <step_desc>Click "Run". Move NFC tag close until it will be detected and then take it away before the expiration of 3 seconds.</step_desc>
+ <expected>pass - transceive reported failure by error callback</expected>
+ </step>
+ </steps>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCTag_transceive_with_errorCallback.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="NFCManager" element_type="attribute" element_name="NFC_RECORD_TNF_EMPTY" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="NFCTag" element_type="method" element_name="transceive" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
<spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
<spec_statement>TBD</spec_statement>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if NFCManager has constant NFC_RECORD_TNF_EXTERNAL_RTD and its value is 4" type="compliance" status="approved" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P2" id="NFCManager_NFC_RECORD_TNF_EXTERNAL_RTD_const">
+ <testcase purpose="Check if method NFCTag::writeNDEF() can be called with only mandatory argument" type="compliance" status="approved" component="TizenAPI/Communication/NFC" execution_type="manual" priority="P2" id="NFCTag_writeNDEF">
<description>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCManager_NFC_RECORD_TNF_EXTERNAL_RTD_const.html</test_script_entry>
+ <pre_condition>Turn on NFC adapter. Prepare NFC tag.</pre_condition>
+ <steps>
+ <step order="1">
+ <step_desc>Click "Run". Move NFC tag close so it will be detected.</step_desc>
+ <expected>pass - writeNDEF successfully without callback</expected>
+ </step>
+ </steps>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCTag_writeNDEF.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="NFCManager" element_type="attribute" element_name="NFC_RECORD_TNF_EXTERNAL_RTD" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="NFCTag" element_type="method" element_name="writeNDEF" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
<spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
<spec_statement>TBD</spec_statement>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if NFCManager has constant NFC_RECORD_TNF_MIME_MEDIA and its value is 2" type="compliance" status="approved" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P2" id="NFCManager_NFC_RECORD_TNF_MIME_MEDIA_const">
+ <testcase purpose="Check if method NFCTag::writeNDEF() reports error by calling errorCallback when NFC tag is disconnected" type="compliance" status="approved" component="TizenAPI/Communication/NFC" execution_type="manual" priority="P2" id="NFCTag_writeNDEF_with_errorCallback">
<description>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCManager_NFC_RECORD_TNF_MIME_MEDIA_const.html</test_script_entry>
+ <pre_condition>Turn on NFC adapter. Prepare NFC tag.</pre_condition>
+ <steps>
+ <step order="1">
+ <step_desc>Click "Run". Move NFC tag close until it will be detected and then take it away before the expiration of 3 seconds.</step_desc>
+ <expected>pass - writeNDEF reported failure by error callback</expected>
+ </step>
+ </steps>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCTag_writeNDEF_with_errorCallback.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="NFCManager" element_type="attribute" element_name="NFC_RECORD_TNF_MIME_MEDIA" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="NFCTag" element_type="method" element_name="writeNDEF" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
<spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
<spec_statement>TBD</spec_statement>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if NFCManager has constant NFC_RECORD_TNF_UNCHANGED and its value is 6" type="compliance" status="approved" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P2" id="NFCManager_NFC_RECORD_TNF_UNCHANGED_const">
+ <testcase purpose="Check if method NFCTag::writeNDEF() calls successCallback" type="compliance" status="approved" component="TizenAPI/Communication/NFC" execution_type="manual" priority="P1" id="NFCTag_writeNDEF_with_successCallback">
<description>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCManager_NFC_RECORD_TNF_UNCHANGED_const.html</test_script_entry>
+ <pre_condition>Turn on NFC adapter. Prepare NFC tag.</pre_condition>
+ <steps>
+ <step order="1">
+ <step_desc>Click "Run". Move NFC tag close so it will be detected.</step_desc>
+ <expected>pass - writing the NDEF Data successfully</expected>
+ </step>
+ </steps>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCTag_writeNDEF_with_successCallback.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="NFCManager" element_type="attribute" element_name="NFC_RECORD_TNF_UNCHANGED" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="NFCTag" element_type="method" element_name="writeNDEF" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
<spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
<spec_statement>TBD</spec_statement>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if NFCManager has constant NFC_RECORD_TNF_UNKNOWN and its value is 5" type="compliance" status="approved" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P2" id="NFCManager_NFC_RECORD_TNF_UNKNOWN_const">
+ </set>
+ <set name="HCE_mobile">
+ <capabilities>
+ <capability name="http://tizen.org/feature/profile"><value>MOBILE_FULL</value></capability>
+ <capability name="http://tizen.org/feature/network.nfc.card_emulation.hce"/>
+ </capabilities>
+ <testcase purpose="Check if interface AIDArraySuccessCallback exists, it should not." type="compliance" status="approved" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P3" id="AIDArraySuccessCallback_notexist">
<description>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCManager_NFC_RECORD_TNF_UNKNOWN_const.html</test_script_entry>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/AIDArraySuccessCallback_notexist.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="NFCManager" element_type="attribute" element_name="NFC_RECORD_TNF_UNKNOWN" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="AIDArraySuccessCallback" usage="true" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
<spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
<spec_statement>TBD</spec_statement>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if NFCManager has constant NFC_RECORD_TNF_URI and its value is 3" type="compliance" status="approved" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P2" id="NFCManager_NFC_RECORD_TNF_URI_const">
+ <testcase purpose="Check if AIDArraySuccessCallback onsuccess is called and if its arguments have proper type" type="compliance" status="approved" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P1" id="AIDArraySuccessCallback_onsuccess">
<description>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCManager_NFC_RECORD_TNF_URI_const.html</test_script_entry>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/AIDArraySuccessCallback_onsuccess.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="NFCManager" element_type="attribute" element_name="NFC_RECORD_TNF_URI" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="AIDArraySuccessCallback" element_type="method" element_name="onSuccess" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
<spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
<spec_statement>TBD</spec_statement>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if NFCManager has constant NFC_RECORD_TNF_WELL_KNOWN and its value is 1" type="compliance" status="approved" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P2" id="NFCManager_NFC_RECORD_TNF_WELL_KNOWN_const">
+ <testcase purpose="Check if aid string exist in AIDData has default value and its readonly" type="compliance" status="approved" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P1" id="AIDData_aid_attribute">
<description>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCManager_NFC_RECORD_TNF_WELL_KNOWN_const.html</test_script_entry>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/AIDData_aid_attribute.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="NFCManager" element_type="attribute" element_name="NFC_RECORD_TNF_WELL_KNOWN" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="AIDData" element_type="attribute" element_name="aid" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
<spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
<spec_statement>TBD</spec_statement>
</spec>
</specs>
</testcase>
- <testcase purpose="Test whether the NFCManager object can have new properties added" type="compliance" status="approved" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P3" id="NFCManager_extend">
+ <testcase purpose="Check if instance of AIDData can be extended with new property" type="compliance" status="approved" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P3" id="AIDData_extend">
<description>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCManager_extend.html</test_script_entry>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/AIDData_extend.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="NFCManager" usage="true" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="AIDData" usage="true" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
<spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
<spec_statement>TBD</spec_statement>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if NFCManager::getDefaultAdapter() method returns object" type="compliance" status="approved" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P1" id="NFCManager_getDefaultAdapter">
+ <testcase purpose="Check if interface AIDData exists, it should not." type="compliance" status="approved" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P3" id="AIDData_notexist">
<description>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCManager_getDefaultAdapter.html</test_script_entry>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/AIDData_notexist.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="NFCManager" element_type="method" element_name="getDefaultAdapter" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="AIDData" usage="true" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
<spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
<spec_statement>TBD</spec_statement>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if method NFCAdapter::getDefaultAdapter() exists" type="compliance" status="approved" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P1" id="NFCManager_getDefaultAdapter_exists">
+ <testcase purpose="Check if AIDData has default value and its readonly" type="compliance" status="approved" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P1" id="AIDData_readOnly_attribute">
<description>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCManager_getDefaultAdapter_exists.html</test_script_entry>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/AIDData_readOnly_attribute.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="NFCManager" element_type="method" element_name="getDefaultAdapter" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="AIDData" element_type="attribute" element_name="readOnly" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
<spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
<spec_statement>TBD</spec_statement>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if method getDefaultAdapter of NFCManager accepts extra argument" type="compliance" status="approved" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P1" id="NFCManager_getDefaultAdapter_extra_argument">
+ <testcase purpose="Check if type exist in AIDData has default value and its readonly" type="compliance" status="approved" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P1" id="AIDData_type_attribute">
<description>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCManager_getDefaultAdapter_extra_argument.html</test_script_entry>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/AIDData_type_attribute.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="NFCManager" element_type="method" element_name="getDefaultAdapter" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="AIDData" element_type="attribute" element_name="type" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
<spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
<spec_statement>TBD</spec_statement>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if interface NFCManager exists, it should not." type="compliance" status="approved" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P3" id="NFCManager_notexist">
+ <testcase purpose="Check if apdu exist in HCEEventData has default value and its readonly" type="compliance" status="approved" component="TizenAPI/Communication/NFC" execution_type="manual" priority="P1" id="HCEEventData_apdu_attribute">
<description>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCManager_notexist.html</test_script_entry>
+ <pre_condition>Turn on NFC adapter.Prepare another device supported nfc emulation card</pre_condition>
+ <steps>
+ <step order="1">
+ <step_desc>Click "Run" . Attach device or send APDU using another device to trigger the onDetect CB.</step_desc>
+ <expected>pass - onDetect listener should be called</expected>
+ </step>
+ </steps>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/HCEEventData_apdu_attribute.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="NFCManager" usage="true" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="HCEEventData" element_type="attribute" element_name="apdu" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
<spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
<spec_statement>TBD</spec_statement>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if NFCManager::setExclusiveMode() method can be executed" type="compliance" status="approved" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P1" id="NFCManager_setExclusiveMode">
+ <testcase purpose="Check if eventdata exist in HCEEventData has default value and its readonly" type="compliance" status="approved" component="TizenAPI/Communication/NFC" execution_type="manual" priority="P1" id="HCEEventData_eventType_attribute">
<description>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCManager_setExclusiveMode.html</test_script_entry>
+ <pre_condition>Turn on NFC adapter.Prepare another device supported nfc emulation card</pre_condition>
+ <steps>
+ <step order="1">
+ <step_desc>Click "Run" . Attach device or send APDU using another device to trigger the onDetect CB.</step_desc>
+ <expected>pass - onDetect listener should be called</expected>
+ </step>
+ </steps>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/HCEEventData_eventType_attribute.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="NFCManager" element_type="method" element_name="setExclusiveMode" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="HCEEventData" element_type="attribute" element_name="eventType" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
<spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
<spec_statement>TBD</spec_statement>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if NFCManager object has method setExclusiveMode()" type="compliance" status="approved" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P0" id="NFCManager_setExclusiveMode_exist">
+ <testcase purpose="Check if instance of HCEEventData can be extended with new property" type="compliance" status="approved" component="TizenAPI/Communication/NFC" execution_type="manual" priority="P3" id="HCEEventData_extend">
<description>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCManager_setExclusiveMode_exist.html</test_script_entry>
+ <pre_condition>Turn on NFC adapter.Prepare another device supported nfc emulation card</pre_condition>
+ <steps>
+ <step order="1">
+ <step_desc>Click "Run" . Attach device or send APDU using another device to trigger the onDetect CB.</step_desc>
+ <expected>pass - onDetect listener should be called</expected>
+ </step>
+ </steps>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/HCEEventData_extend.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="NFCManager" element_type="method" element_name="setExclusiveMode" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="HCEEventData" usage="true" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
<spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
<spec_statement>TBD</spec_statement>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if NFCManager::setExclusiveMode() method throws an exception when called without argument" type="compliance" status="approved" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P1" id="NFCManager_setExclusiveMode_missarg">
+ <testcase purpose="Check if length exist in HCEEventData has default value and its readonly" type="compliance" status="approved" component="TizenAPI/Communication/NFC" execution_type="manual" priority="P1" id="HCEEventData_length_attribute">
<description>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCManager_setExclusiveMode_missarg.html</test_script_entry>
+ <pre_condition>Turn on NFC adapter.Prepare another device supported nfc emulation card</pre_condition>
+ <steps>
+ <step order="1">
+ <step_desc>Click "Run" . Attach device or send APDU using another device to trigger the onDetect CB.</step_desc>
+ <expected>pass - onDetect listener should be called</expected>
+ </step>
+ </steps>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/HCEEventData_length_attribute.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="NFCManager" element_type="method" element_name="setExclusiveMode" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="HCEEventData" element_type="attribute" element_name="length" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
<spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
<spec_statement>TBD</spec_statement>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if Tizen implements interface NFCManagerObject and has attribute nfc" type="compliance" status="approved" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P3" id="Tizen_nfc_exist">
+ <testcase purpose="Check if interface HCEEventData exists, it should not." type="compliance" status="approved" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P3" id="HCEEventData_notexist">
<description>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/Tizen_nfc_exist.html</test_script_entry>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/HCEEventData_notexist.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="NFCManager" usage="true" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="HCEEventData" usage="true" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
<spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
<spec_statement>TBD</spec_statement>
</spec>
</specs>
</testcase>
- </set>
- <set name="EMU">
- <capabilities>
- <capability name="http://tizen.org/feature/network.nfc.card_emulation"/>
- </capabilities>
- <testcase purpose="Check NFCAdapter::activeSecureElement attribute" type="compliance" status="approved" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P1" id="NFCAdapter_activeSecureElement_attribute">
+ <testcase purpose="Check if interface HCEEventReceiveCallback exists, it should not." type="compliance" status="approved" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P3" id="HCEEventReceiveCallback_notexist">
<description>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_activeSecureElement_attribute.html</test_script_entry>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/HCEEventReceiveCallback_notexist.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="NFCAdapter" element_type="attribute" element_name="activeSecureElement" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/dev-guide/2.2.1/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
+ <spec_assertion interface="HCEEventReceiveCallback" usage="true" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
<spec_statement>TBD</spec_statement>
</spec>
</specs>
</testcase>
- <testcase purpose="Check NFCAdapter:cardEmulationMode attribute exists, has type CardEmulationMode and can be modified" type="compliance" status="approved" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P1" id="NFCAdapter_cardEmulationMode_attribute">
+ <testcase purpose="Check if HCEEventReceiveCallback ondetected is called and if its arguments have proper type" type="compliance" onload_delay="90" status="approved" component="TizenAPI/Communication/NFC" execution_type="manual" priority="P1" id="HCEEventReceiveCallback_ondetected">
<description>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_cardEmulationMode_attribute.html</test_script_entry>
+ <pre_condition>Turn on NFC adapter. Prepare the other device with HCE turned on.</pre_condition>
+ <steps>
+ <step order="1">
+ <step_desc>Click "Run". Move other device with HCE close so it will be detected.</step_desc>
+ <expected>Pass</expected>
+ </step>
+ </steps>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/HCEEventReceiveCallback_ondetected.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="NFCAdapter" element_type="attribute" element_name="cardEmulationMode" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/dev-guide/2.2.1/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
+ <spec_assertion interface="HCEEventReceiveCallback" element_type="method" element_name="ondetected" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
<spec_statement>TBD</spec_statement>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if interface ActiveSecureElementChangeCallback exists, it should not exist." type="compliance" status="approved" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P3" id="ActiveSecureElementChangeCallback_notexist">
+ <testcase purpose="Check if method NFCAdapter::addHCEEventListener() successfully" type="compliance" onload_delay="90" status="approved" component="TizenAPI/Communication/NFC" execution_type="manual" priority="P1" id="NFCAdapter_addHCEEventListener">
<description>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/ActiveSecureElementChangeCallback_notexist.html</test_script_entry>
+ <pre_condition>Turn on NFC adapter. Prepare the other device with HCE turned on.</pre_condition>
+ <steps>
+ <step order="1">
+ <step_desc>Click "Run". Move other device with HCE close so it will be detected.</step_desc>
+ <expected>pass - HCE detected</expected>
+ </step>
+ </steps>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_addHCEEventListener.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="ActiveSecureElementChangeCallback U" usage="true" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/dev-guide/2.2.1/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
+ <spec_assertion interface="NFCAdapter" element_type="method" element_name="addHCEEventListener" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
<spec_statement>TBD</spec_statement>
</spec>
</specs>
</testcase>
- <testcase purpose="Test whether ActiveSecureElementChangeCallback::onchanged is called with argument of proper type" type="compliance" onload_delay="30" status="approved" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P1" id="ActiveSecureElementChangeCallback_onchanged">
+ <testcase purpose="Check if NFCAdapter::addHCEEventListener throws exception when given wrong type of eventCallback" type="compliance" status="approved" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P2" id="NFCAdapter_addHCEEventListener_eventCallback_TypeMismatch">
<description>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/ActiveSecureElementChangeCallback_onchanged.html</test_script_entry>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_addHCEEventListener_eventCallback_TypeMismatch.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="ActiveSecureElementChangeCallback" element_type="method" element_name="onchanged" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/dev-guide/2.2.1/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
+ <spec_assertion interface="NFCAdapter" element_type="method" element_name="addHCEEventListener" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
<spec_statement>TBD</spec_statement>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if interface CardEmulationModeChangeCallback exists, it should not exists" type="compliance" status="approved" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P3" id="CardEmulationModeChangeCallback_notexist">
+ <testcase purpose="Check if NFCAdapter::addHCEEventListener() method throws exception when eventcallback is invalid" type="compliance" onload_delay="90" status="approved" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P2" id="NFCAdapter_addHCEEventListener_eventCallback_invalid_cb">
<description>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/CardEmulationModeChangeCallback_notexist.html</test_script_entry>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_addHCEEventListener_eventCallback_invalid_cb.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="CardEmulationModeChangeCallback" usage="true" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/dev-guide/2.2.1/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
+ <spec_assertion interface="NFCAdapter" element_type="method" element_name="addHCEEventListener" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
<spec_statement>TBD</spec_statement>
</spec>
</specs>
</testcase>
- <testcase purpose="Test whether CardEmulationModeChangeCallback::onchanged is called with argument of proper type" type="compliance" onload_delay="30" status="approved" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P1" id="CardEmulationModeChangeCallback_onchanged">
+ <testcase purpose="Check if NFCAdapter::addHCEEventListener() method exists" type="compliance" status="approved" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P0" id="NFCAdapter_addHCEEventListener_exist">
<description>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/CardEmulationModeChangeCallback_onchanged.html</test_script_entry>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_addHCEEventListener_exist.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="CardEmulationModeChangeCallback" element_type="method" element_name="onchanged" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/dev-guide/2.2.1/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
+ <spec_assertion interface="NFCAdapter" element_type="method" element_name="addHCEEventListener" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
<spec_statement>TBD</spec_statement>
</spec>
</specs>
</testcase>
- <testcase purpose="Check NFCAdapter::addActiveSecureElementChangeListener returns a value expected" type="compliance" onload_delay="30" status="approved" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P1" id="NFCAdapter_addActiveSecureElementChangeListener">
+ <testcase purpose="Check NFCAdapter::addHCEEventListener() without any argument" type="compliance" status="approved" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P2" id="NFCAdapter_addHCEEventListener_noarg">
<description>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_addActiveSecureElementChangeListener.html</test_script_entry>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_addHCEEventListener_noarg.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="NFCAdapter" element_type="method" element_name="addActiveSecureElementChangeListener" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/dev-guide/2.2.1/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
+ <spec_assertion interface="NFCAdapter" element_type="method" element_name="addHCEEventListener" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
<spec_statement>TBD</spec_statement>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if NFCAdapter::addActiveSecureElementChangeListener() with incorrect changeCallback argument throws an exception" type="compliance" status="approved" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P2" id="NFCAdapter_addActiveSecureElementChangeListener_TypeMismatch">
+ <testcase purpose="Check if method NFCAdapter::getAIDsForCategory()" type="compliance" status="approved" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P1" id="NFCAdapter_getAIDsForCategory">
<description>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_addActiveSecureElementChangeListener_TypeMismatch.html</test_script_entry>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_getAIDsForCategory.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="NFCAdapter" element_type="method" element_name="addActiveSecureElementChangeListener" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/dev-guide/2.2.1/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
+ <spec_assertion interface="NFCAdapter" element_type="method" element_name="getAIDsForCategory" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
<spec_statement>TBD</spec_statement>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if method NFCAdapter::addActiveSecureElementChangeListener exists" type="compliance" status="approved" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P0" id="NFCAdapter_addActiveSecureElementChangeListener_exist">
+ <testcase purpose="Check if method NFCAdapter::getAIDsForCategory() works with ESE param " type="compliance" status="approved" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P1" id="NFCAdapter_getAIDsForCategory_ESE">
<description>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_addActiveSecureElementChangeListener_exist.html</test_script_entry>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_getAIDsForCategory_ESE.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="NFCAdapter" element_type="method" element_name="addActiveSecureElementChangeListener" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/dev-guide/2.2.1/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
+ <spec_assertion interface="NFCAdapter" element_type="method" element_name="getAIDsForCategory" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
<spec_statement>TBD</spec_statement>
</spec>
</specs>
</testcase>
- <testcase purpose="Check NFCAdapter::addActiveSecureElementChangeListener throws exception with invalid callback" type="compliance" status="approved" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P2" id="NFCAdapter_addActiveSecureElementChangeListener_invalid_cb">
+ <testcase purpose="Check if method NFCAdapter::getAIDsForCategory() successfully by ESE param without errorCallback" type="compliance" status="approved" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P1" id="NFCAdapter_getAIDsForCategory_ESE_without_errorCallback">
<description>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_addActiveSecureElementChangeListener_invalid_cb.html</test_script_entry>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_getAIDsForCategory_ESE_without_errorCallback.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="NFCAdapter" element_type="method" element_name="addActiveSecureElementChangeListener" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/dev-guide/2.2.1/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
+ <spec_assertion interface="NFCAdapter" element_type="method" element_name="getAIDsForCategory" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
<spec_statement>TBD</spec_statement>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if NFCAdapter::addActiveSecureElementChangeListener throws exception with no param" type="compliance" status="approved" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P2" id="NFCAdapter_addActiveSecureElementChangeListener_misarg">
+ <testcase purpose="Check if method NFCAdapter::getAIDsForCategory() with the type of OTHER successfully" type="compliance" status="approved" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P1" id="NFCAdapter_getAIDsForCategory_OTHER">
<description>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_addActiveSecureElementChangeListener_misarg.html</test_script_entry>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_getAIDsForCategory_OTHER.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="NFCAdapter" element_type="method" element_name="addActiveSecureElementChangeListener" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/dev-guide/2.2.1/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
+ <spec_assertion interface="NFCAdapter" element_type="method" element_name="getAIDsForCategory" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
<spec_statement>TBD</spec_statement>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if method NFCAdapter::addCardEmulationModeChangeListener works properly" type="compliance" onload_delay="30" status="approved" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P1" id="NFCAdapter_addCardEmulationModeChangeListener">
+ <testcase purpose="Check if method NFCAdapter::getAIDsForCategory() with the type of OTHER without errorCallback" type="compliance" status="approved" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P1" id="NFCAdapter_getAIDsForCategory_OTHER_without_errorCallback">
<description>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_addCardEmulationModeChangeListener.html</test_script_entry>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_getAIDsForCategory_OTHER_without_errorCallback.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="NFCAdapter" element_type="method" element_name="addCardEmulationModeChangeListener" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/dev-guide/2.2.1/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
+ <spec_assertion interface="NFCAdapter" element_type="method" element_name="getAIDsForCategory" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
<spec_statement>TBD</spec_statement>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if method NFCAdapter::addCardEmulationModeChangeListener throws TypeMismatch exception whith invalidate params" type="compliance" status="approved" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P2" id="NFCAdapter_addCardEmulationModeChangeListener_TypeMismatch">
+ <testcase purpose="Check if method NFCAdapter::getAIDsForCategory() works with UICC param " type="compliance" status="approved" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P1" id="NFCAdapter_getAIDsForCategory_UICC">
<description>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_addCardEmulationModeChangeListener_TypeMismatch.html</test_script_entry>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_getAIDsForCategory_UICC.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="NFCAdapter" element_type="method" element_name="addCardEmulationModeChangeListener" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/dev-guide/2.2.1/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
+ <spec_assertion interface="NFCAdapter" element_type="method" element_name="getAIDsForCategory" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
<spec_statement>TBD</spec_statement>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if method NFCAdapter::addCardEmulationModeChangeListener exists" type="compliance" status="approved" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P0" id="NFCAdapter_addCardEmulationModeChangeListener_exist">
+ <testcase purpose="Check if method NFCAdapter::getAIDsForCategory() with the type of UICC without errorCallback" type="compliance" status="approved" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P1" id="NFCAdapter_getAIDsForCategory_UICC_without_errorCallback">
<description>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_addCardEmulationModeChangeListener_exist.html</test_script_entry>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_getAIDsForCategory_UICC_without_errorCallback.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="NFCAdapter" element_type="method" element_name="addCardEmulationModeChangeListener" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/dev-guide/2.2.1/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
+ <spec_assertion interface="NFCAdapter" element_type="method" element_name="getAIDsForCategory" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
<spec_statement>TBD</spec_statement>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if NFCAdapter::addCardEmulationModeChangeListener throws exception with invalid callback" type="compliance" onload_delay="30" status="approved" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P2" id="NFCAdapter_addCardEmulationModeChangeListener_invalid_cb">
+ <testcase purpose="Check if NFCAdapter::getAIDsForCategory throws exception when given wrong type of category" type="compliance" onload_delay="90" status="approved" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P2" id="NFCAdapter_getAIDsForCategory_category_TypeMismatch">
<description>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_addCardEmulationModeChangeListener_invalid_cb.html</test_script_entry>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_getAIDsForCategory_category_TypeMismatch.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="NFCAdapter" element_type="method" element_name="addCardEmulationModeChangeListener" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/dev-guide/2.2.1/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
+ <spec_assertion interface="NFCAdapter" element_type="method" element_name="getAIDsForCategory" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
<spec_statement>TBD</spec_statement>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if method NFCAdapter::addCardEmulationModeChangeListener throws excepton when argument is missing" type="compliance" status="approved" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P2" id="NFCAdapter_addCardEmulationModeChangeListener_misarg">
+ <testcase purpose="Check if NFCAdapter::getAIDsForCategory throws exception when given wrong type of errorCallback" type="compliance" status="approved" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P2" id="NFCAdapter_getAIDsForCategory_errorCallback_TypeMismatch">
<description>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_addCardEmulationModeChangeListener_misarg.html</test_script_entry>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_getAIDsForCategory_errorCallback_TypeMismatch.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="NFCAdapter" element_type="method" element_name="addCardEmulationModeChangeListener" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/dev-guide/2.2.1/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
+ <spec_assertion interface="NFCAdapter" element_type="method" element_name="getAIDsForCategory" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
<spec_statement>TBD</spec_statement>
</spec>
</specs>
</testcase>
- <testcase purpose="Check NFCAdapter::addTransactionEventListener() method returns a value expected." type="compliance" status="approved" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P1" id="NFCAdapter_addTransactionEventListener">
+ <testcase purpose="Check if NFCAdapter::getAIDsForCategory() method throws exception when errorcallback is invalid" type="compliance" onload_delay="90" status="approved" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P2" id="NFCAdapter_getAIDsForCategory_errorCallback_invalid_cb">
<description>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_addTransactionEventListener.html</test_script_entry>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_getAIDsForCategory_errorCallback_invalid_cb.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="NFCAdapter" element_type="method" element_name="addTransactionEventListener" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/dev-guide/2.2.1/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
+ <spec_assertion interface="NFCAdapter" element_type="method" element_name="getAIDsForCategory" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
<spec_statement>TBD</spec_statement>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if NFCAdapter::addTransactionEventListener throws TypeMismatch exception with incorrect eventCallback argument" type="compliance" status="approved" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P2" id="NFCAdapter_addTransactionEventListener_eventCallback_TypeMismatch">
+ <testcase purpose="Check if error callback of getAIDsForCategory() method invoked" type="compliance" status="approved" component="TizenAPI/Communication/NFC" execution_type="manual" priority="P2" id="NFCAdapter_getAIDsForCategory_errorCallback_invoked">
<description>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_addTransactionEventListener_eventCallback_TypeMismatch.html</test_script_entry>
+ <pre_condition>Turn off NFC adapter in setting</pre_condition>
+ <steps>
+ <step order="1">
+ <step_desc>Click "Run". Don't forget Turn on NFC adapter in setting when test done</step_desc>
+ <expected>pass - ServiceNotAvailable exception throw</expected>
+ </step>
+ </steps>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_getAIDsForCategory_errorCallback_invoked.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="NFCAdapter" element_type="method" element_name="addTransactionEventListener" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/dev-guide/2.2.1/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
+ <spec_assertion interface="NFCAdapter" element_type="method" element_name="getAIDsForCategory" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
<spec_statement>TBD</spec_statement>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if NFCAdapter::addTransactionEventListener throws exception with invalid callback" type="compliance" onload_delay="30" status="approved" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P2" id="NFCAdapter_addTransactionEventListener_eventCallback_invalid_cb">
+ <testcase purpose="Check if NFCAdapter::getAIDsForCategory() method exists" type="compliance" status="approved" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P0" id="NFCAdapter_getAIDsForCategory_exist">
<description>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_addTransactionEventListener_eventCallback_invalid_cb.html</test_script_entry>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_getAIDsForCategory_exist.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="NFCAdapter" element_type="method" element_name="addTransactionEventListener" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/dev-guide/2.2.1/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
+ <spec_assertion interface="NFCAdapter" element_type="method" element_name="getAIDsForCategory" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
<spec_statement>TBD</spec_statement>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if method NFCAdapter::addTransactionEventListener exists" type="compliance" status="approved" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P0" id="NFCAdapter_addTransactionEventListener_exist">
+ <testcase purpose="Check adapter.getAIDsForCategory() with missing argument" type="compliance" status="approved" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P2" id="NFCAdapter_getAIDsForCategory_misarg">
<description>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_addTransactionEventListener_exist.html</test_script_entry>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_getAIDsForCategory_misarg.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="NFCAdapter" element_type="method" element_name="addTransactionEventListener" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/dev-guide/2.2.1/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
+ <spec_assertion interface="NFCAdapter" element_type="method" element_name="getAIDsForCategory" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
<spec_statement>TBD</spec_statement>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if NFCAdapter::addTransactionEventListener throws exception when mandatory argument is missing" type="compliance" status="approved" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P2" id="NFCAdapter_addTransactionEventListener_misarg">
+ <testcase purpose="Check adapter.getAIDsForCategory() without any argument" type="compliance" status="approved" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P2" id="NFCAdapter_getAIDsForCategory_noarg">
<description>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_addTransactionEventListener_misarg.html</test_script_entry>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_getAIDsForCategory_noarg.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="NFCAdapter" element_type="method" element_name="addTransactionEventListener" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/dev-guide/2.2.1/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
+ <spec_assertion interface="NFCAdapter" element_type="method" element_name="getAIDsForCategory" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
<spec_statement>TBD</spec_statement>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if NFCAdapter::addTransactionEventListener throws TypeMismatch exception with incorrect type argument" type="compliance" status="approved" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P2" id="NFCAdapter_addTransactionEventListener_type_TypeMismatch">
+ <testcase purpose="Check if NFCAdapter::getAIDsForCategory throws exception when given wrong type of Secure" type="compliance" onload_delay="90" status="approved" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P2" id="NFCAdapter_getAIDsForCategory_sectype_TypeMismatch">
<description>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_addTransactionEventListener_type_TypeMismatch.html</test_script_entry>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_getAIDsForCategory_sectype_TypeMismatch.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="NFCAdapter" element_type="method" element_name="addTransactionEventListener" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/dev-guide/2.2.1/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
+ <spec_assertion interface="NFCAdapter" element_type="method" element_name="getAIDsForCategory" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
<spec_statement>TBD</spec_statement>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if method NFCAdapter::removeActiveSecureElementChangeListener works properly Check if method NFCAdapter::removeActiveSecureElementChangeListener() works properly." type="compliance" onload_delay="30" status="approved" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P1" id="NFCAdapter_removeActiveSecureElementChangeListener">
+ <testcase purpose="Check if NFCAdapter::getAIDsForCategory throws exception when given wrong type of successCallback" type="compliance" status="approved" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P2" id="NFCAdapter_getAIDsForCategory_successCallback_TypeMismatch">
<description>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_removeActiveSecureElementChangeListener.html</test_script_entry>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_getAIDsForCategory_successCallback_TypeMismatch.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="NFCAdapter" element_type="method" element_name="removeActiveSecureElementChangeListener" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/dev-guide/2.2.1/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
+ <spec_assertion interface="NFCAdapter" element_type="method" element_name="getAIDsForCategory" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
<spec_statement>TBD</spec_statement>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if method NFCAdapter::removeActiveSecureElementChangeListener() method does not exist" type="compliance" status="approved" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P0" id="NFCAdapter_removeActiveSecureElementChangeListener_exist">
+ <testcase purpose="Check if NFCAdapter::getAIDsForCategory() method works with invalid success callback" type="compliance" onload_delay="90" status="approved" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P2" id="NFCAdapter_getAIDsForCategory_successCallback_invalid_cb">
<description>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_removeActiveSecureElementChangeListener_exist.html</test_script_entry>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_getAIDsForCategory_successCallback_invalid_cb.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="NFCAdapter" element_type="method" element_name="removeActiveSecureElementChangeListener" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/dev-guide/2.2.1/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
+ <spec_assertion interface="NFCAdapter" element_type="method" element_name="getAIDsForCategory" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
<spec_statement>TBD</spec_statement>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if method NFCAdapter::removeCardEmulationModeChangeListener works properly" type="compliance" status="approved" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P1" id="NFCAdapter_removeCardEmulationModeChangeListener">
+ <testcase purpose="Check if method NFCAdapter::getAIDsForCategory() successfully without errorCallback" type="compliance" status="approved" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P1" id="NFCAdapter_getAIDsForCategory_without_errorCallback">
<description>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_removeCardEmulationModeChangeListener.html</test_script_entry>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_getAIDsForCategory_without_errorCallback.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="NFCAdapter" element_type="method" element_name="removeCardEmulationModeChangeListener" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/dev-guide/2.2.1/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
+ <spec_assertion interface="NFCAdapter" element_type="method" element_name="getAIDsForCategory" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
<spec_statement>TBD</spec_statement>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if method NFCAdapter::removeCardEmulationModeChangeListener() exists" type="compliance" status="approved" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P0" id="NFCAdapter_removeCardEmulationModeChangeListener_exist">
+ <testcase purpose="Check method NFCAdapter::isActivatedHandlerForAID() if current application is activated hander for AID" type="compliance" status="approved" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P1" id="NFCAdapter_isActivatedHandlerForAID">
<description>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_removeCardEmulationModeChangeListener_exist.html</test_script_entry>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_isActivatedHandlerForAID.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="NFCAdapter" element_type="method" element_name="removeCardEmulationModeChangeListener" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/dev-guide/2.2.1/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
+ <spec_assertion interface="NFCAdapter" element_type="method" element_name="isActivatedHandlerForAID" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
<spec_statement>TBD</spec_statement>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if method NFCAdapter::removeTransactionEventListener works properly" type="compliance" status="approved" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P1" id="NFCAdapter_removeTransactionEventListener">
+ <testcase purpose="Check method NFCAdapter::isActivatedHandlerForAID() with ESE param if current application is activated hander for AID" type="compliance" status="approved" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P1" id="NFCAdapter_isActivatedHandlerForAID_ESE">
<description>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_removeTransactionEventListener.html</test_script_entry>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_isActivatedHandlerForAID_ESE.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="NFCAdapter" element_type="method" element_name="removeTransactionEventListener" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/dev-guide/2.2.1/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
+ <spec_assertion interface="NFCAdapter" element_type="method" element_name="isActivatedHandlerForAID" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
<spec_statement>TBD</spec_statement>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if method NFCAdapter::removeTransactionEventListener exists" type="compliance" status="approved" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P0" id="NFCAdapter_removeTransactionEventListener_exist">
+ <testcase purpose="Check method NFCAdapter::isActivatedHandlerForAID() if current application is activated hander for the AID type of OTHER" type="compliance" status="approved" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P1" id="NFCAdapter_isActivatedHandlerForAID_OTHER">
<description>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_removeTransactionEventListener_exist.html</test_script_entry>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_isActivatedHandlerForAID_OTHER.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="NFCAdapter" element_type="method" element_name="removeTransactionEventListener" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/dev-guide/2.2.1/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
+ <spec_assertion interface="NFCAdapter" element_type="method" element_name="isActivatedHandlerForAID" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
<spec_statement>TBD</spec_statement>
</spec>
</specs>
</testcase>
- <testcase purpose="Check NFCAdapter::setExclusiveModeForTransaction() method works properly" type="compliance" status="approved" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P1" id="NFCAdapter_setExclusiveModeForTransaction">
+ <testcase purpose="Check method NFCAdapter::isActivatedHandlerForAID() with UICC param if current application is activated hander for AID" type="compliance" status="approved" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P1" id="NFCAdapter_isActivatedHandlerForAID_UICC">
<description>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_setExclusiveModeForTransaction.html</test_script_entry>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_isActivatedHandlerForAID_UICC.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="NFCAdapter" element_type="method" element_name="setExclusiveModeForTransaction" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/dev-guide/2.2.1/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
+ <spec_assertion interface="NFCAdapter" element_type="method" element_name="isActivatedHandlerForAID" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
<spec_statement>TBD</spec_statement>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if method NFCAdapter::setExclusiveModeForTransaction() exists" type="compliance" status="approved" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P0" id="NFCAdapter_setExclusiveModeForTransaction_exist">
+ <testcase purpose="Check if NFCAdapter::isActivatedHandlerForAID() method exists" type="compliance" status="approved" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P0" id="NFCAdapter_isActivatedHandlerForAID_exist">
<description>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_setExclusiveModeForTransaction_exist.html</test_script_entry>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_isActivatedHandlerForAID_exist.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="NFCAdapter" element_type="method" element_name="setExclusiveModeForTransaction" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/dev-guide/2.2.1/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
+ <spec_assertion interface="NFCAdapter" element_type="method" element_name="isActivatedHandlerForAID" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
<spec_statement>TBD</spec_statement>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if interface TransactionEventCallback exists, it should not" type="compliance" status="approved" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P3" id="TransactionEventCallback_notexist">
+ <testcase purpose="Check isActivatedHandlerForAID() without any argument" type="compliance" status="approved" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P2" id="NFCAdapter_isActivatedHandlerForAID_noarg">
<description>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/TransactionEventCallback_notexist.html</test_script_entry>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_isActivatedHandlerForAID_noarg.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="TransactionEventCallback" usage="true" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/dev-guide/2.2.1/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
+ <spec_assertion interface="NFCAdapter" element_type="method" element_name="isActivatedHandlerForAID" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
<spec_statement>TBD</spec_statement>
</spec>
</specs>
- </testcase>
- <!--<testcase purpose="Check TransactionEventCallback::ondetected() is called with argument of proper type" type="compliance" onload_delay="90" status="approved" component="TizenAPI/Communication/NFC" execution_type="manual" priority="P1" id="TransactionEventCallback_ondetected">
+ </testcase>
+ <testcase purpose="Check if method NFCAdapter::isActivatedHandlerForCategory() successfully for detecting AID category" type="compliance" status="approved" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P1" id="NFCAdapter_isActivatedHandlerForCategory">
<description>
- <pre_condition>Turn on NFC adapter. Prepare an external reader to initiate transaction.</pre_condition>
- <steps>
- <step order="1">
- <step_desc>Click "Run". Use an external reader to access "ESE" type secure element.</step_desc>
- <expected>Pass</expected>
- </step>
- </steps>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/TransactionEventCallback_ondetected.html</test_script_entry>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_isActivatedHandlerForCategory.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="TransactionEventCallback" element_type="method" element_name="ondetected" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/dev-guide/2.2.1/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
+ <spec_assertion interface="NFCAdapter" element_type="method" element_name="isActivatedHandlerForCategory" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
<spec_statement>TBD</spec_statement>
</spec>
</specs>
- </testcase>-->
- </set>
- <set name="P2P">
- <capabilities>
- <capability name="http://tizen.org/feature/network.nfc.p2p"/>
- </capabilities>
- <testcase purpose="Check if method NFCAdapter::setPeerListener() successfully registers listener for detecting NFC peer" type="compliance" status="approved" component="TizenAPI/Communication/NFC" execution_type="manual" priority="P1" id="NFCAdapter_setPeerListener">
+ </testcase>
+ <testcase purpose="Check if method NFCAdapter::isActivatedHandlerForCategory() with ESE param successfully for detecting AID category" type="compliance" status="approved" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P1" id="NFCAdapter_isActivatedHandlerForCategory_ESE">
<description>
- <pre_condition>Turn on NFC adapter. Prepare the other device with NFC turned on.</pre_condition>
- <steps>
- <step order="1">
- <step_desc>Click "Run". Move other NFC device close so it will be detected.</step_desc>
- <expected>pass - peer detected</expected>
- </step>
- </steps>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_setPeerListener.html</test_script_entry>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_isActivatedHandlerForCategory_ESE.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="NFCAdapter" element_type="method" element_name="setPeerListener" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="NFCAdapter" element_type="method" element_name="isActivatedHandlerForCategory" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
<spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
<spec_statement>TBD</spec_statement>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if NFCAdapter::setPeerListener throws exception when given wrong detectCallback" type="compliance" status="approved" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P2" id="NFCAdapter_setPeerListener_detectCallback_TypeMismatch">
+ <testcase purpose="Check if method NFCAdapter::isActivatedHandlerForCategory() successfully the type of OTHER for detecting AID category" type="compliance" status="approved" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P1" id="NFCAdapter_isActivatedHandlerForCategory_OTHER">
<description>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_setPeerListener_detectCallback_TypeMismatch.html</test_script_entry>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_isActivatedHandlerForCategory_OTHER.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="NFCAdapter" element_type="method" element_name="setPeerListener" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="NFCAdapter" element_type="method" element_name="isActivatedHandlerForCategory" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
<spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
<spec_statement>TBD</spec_statement>
</spec>
</specs>
</testcase>
- <testcase purpose="Check verification of detectCallback by NFCAdapter::setPeerListener()" type="compliance" onload_delay="90" status="approved" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P2" id="NFCAdapter_setPeerListener_detectCallback_invalid_cb">
+ <testcase purpose="Check if method NFCAdapter::isActivatedHandlerForCategory() with UICC param successfully for detecting AID category" type="compliance" status="approved" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P1" id="NFCAdapter_isActivatedHandlerForCategory_UICC">
<description>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_setPeerListener_detectCallback_invalid_cb.html</test_script_entry>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_isActivatedHandlerForCategory_UICC.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="NFCAdapter" element_type="method" element_name="setPeerListener" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="NFCAdapter" element_type="method" element_name="isActivatedHandlerForCategory" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
<spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
<spec_statement>TBD</spec_statement>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if method NFCAdapter::setPeerListener() exists" type="compliance" status="approved" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P1" id="NFCAdapter_setPeerListener_exist">
+ <testcase purpose="Check if NFCAdapter::isActivatedHandlerForCategory throws exception when given wrong category type" type="compliance" status="approved" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P2" id="NFCAdapter_isActivatedHandlerForCategory_category_TypeMismatch">
<description>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_setPeerListener_exist.html</test_script_entry>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_isActivatedHandlerForCategory_category_TypeMismatch.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="NFCAdapter" element_type="method" element_name="setPeerListener" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="NFCAdapter" element_type="method" element_name="isActivatedHandlerForCategory" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
<spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
<spec_statement>TBD</spec_statement>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if adapter.setPeerListener() throws an exception when called without argument" type="compliance" status="approved" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P1" id="NFCAdapter_setPeerListener_missarg">
+ <testcase purpose="Check if NFCAdapter::isActivatedHandlerForCategory() method exists" type="compliance" status="approved" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P0" id="NFCAdapter_isActivatedHandlerForCategory_exist">
<description>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_setPeerListener_missarg.html</test_script_entry>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_isActivatedHandlerForCategory_exist.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="NFCAdapter" element_type="method" element_name="setPeerListener" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="NFCAdapter" element_type="method" element_name="isActivatedHandlerForCategory" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
<spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
<spec_statement>TBD</spec_statement>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if method NFCAdapter::unsetPeerListener() disables listener for detecting an NFC peer-to-peer target" type="compliance" status="approved" component="TizenAPI/Communication/NFC" execution_type="manual" priority="P1" id="NFCAdapter_unsetPeerListener">
+ <testcase purpose="Check isActivatedHandlerForCategory() with missing argument" type="compliance" status="approved" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P2" id="NFCAdapter_isActivatedHandlerForCategory_misarg">
<description>
- <pre_condition>Turn on NFC adapter. Prepare the other device with NFC turned on.</pre_condition>
- <steps>
- <step order="1">
- <step_desc>Click "Run". Move other NFC device close so it will be detected and then click "Peer was attached" button.</step_desc>
- <expected>Pass</expected>
- </step>
- </steps>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_unsetPeerListener.html</test_script_entry>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_isActivatedHandlerForCategory_misarg.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="NFCAdapter" element_type="method" element_name="unsetPeerListener" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="NFCAdapter" element_type="method" element_name="isActivatedHandlerForCategory" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
<spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
<spec_statement>TBD</spec_statement>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if method NFCAdapter::unsetPeerListener() exists" type="compliance" status="approved" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P1" id="NFCAdapter_unsetPeerListener_exist">
+ <testcase purpose="Check isActivatedHandlerForCategory() without any argument" type="compliance" status="approved" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P2" id="NFCAdapter_isActivatedHandlerForCategory_noarg">
<description>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_unsetPeerListener_exist.html</test_script_entry>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_isActivatedHandlerForCategory_noarg.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="NFCAdapter" element_type="method" element_name="unsetPeerListener" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="NFCAdapter" element_type="method" element_name="isActivatedHandlerForCategory" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
<spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
<spec_statement>TBD</spec_statement>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if method unsetPeerListener of NFCAdapter accepts extra argument" type="compliance" status="approved" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P1" id="NFCAdapter_unsetPeerListener_extra_argument">
+ <testcase purpose="Check if NFCAdapter::isActivatedHandlerForCategory throws exception when given wrong secure type" type="compliance" status="approved" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P2" id="NFCAdapter_isActivatedHandlerForCategory_sectype_TypeMismatch">
<description>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_unsetPeerListener_extra_argument.html</test_script_entry>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_isActivatedHandlerForCategory_sectype_TypeMismatch.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="NFCAdapter" element_type="method" element_name="unsetPeerListener" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="NFCAdapter" element_type="method" element_name="isActivatedHandlerForCategory" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
<spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
<spec_statement>TBD</spec_statement>
</spec>
</specs>
</testcase>
- <testcase purpose="Check NFCPeer attributes, method existence and TypeMismatchError throwing" type="compliance" status="approved" component="TizenAPI/Communication/NFC" execution_type="manual" priority="P3" id="NFCPeer">
+ <testcase purpose="Check if method NFCAdapter::registerAID() works" type="compliance" status="approved" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P1" id="NFCAdapter_registerAID">
<description>
- <pre_condition>Turn on NFC adapter. Prepare the other device with NFC turned on.</pre_condition>
- <steps>
- <step order="1">
- <step_desc>Click "Run". Move other NFC device close so it will be detected.</step_desc>
- <expected>Pass</expected>
- </step>
- </steps>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCPeer.html</test_script_entry>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_registerAID.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="NFCPeer" element_type="attribute" element_name="isConnected" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="NFCAdapter" element_type="method" element_name="registerAID" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
<spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
<spec_statement>TBD</spec_statement>
</spec>
+ </specs>
+ </testcase>
+ <testcase purpose="Check if method NFCAdapter::registerAID() works with ESE param" type="compliance" status="approved" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P1" id="NFCAdapter_registerAID_ESE">
+ <description>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_registerAID_ESE.html</test_script_entry>
+ </description>
+ <specs>
<spec>
- <spec_assertion interface="NFCPeer" element_type="method" element_name="sendNDEF" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="NFCAdapter" element_type="method" element_name="registerAID" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
<spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
<spec_statement>TBD</spec_statement>
</spec>
+ </specs>
+ </testcase>
+ <testcase purpose="Check if method NFCAdapter::registerAID() with the type of OTHER" type="compliance" status="approved" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P1" id="NFCAdapter_registerAID_OTHER">
+ <description>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_registerAID_OTHER.html</test_script_entry>
+ </description>
+ <specs>
<spec>
- <spec_assertion interface="NFCPeer" element_type="method" element_name="sendNDEF" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/index.jsp?topic=/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- <spec>
- <spec_assertion interface="NFCPeer" element_type="method" element_name="sendNDEF" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/index.jsp?topic=/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- <spec>
- <spec_assertion interface="NFCPeer" element_type="method" element_name="sendNDEF" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/index.jsp?topic=/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- <spec>
- <spec_assertion interface="NFCPeer" element_type="method" element_name="sendNDEF" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/index.jsp?topic=/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- <spec>
- <spec_assertion interface="NFCPeer" element_type="method" element_name="sendNDEF" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/index.jsp?topic=/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- <spec>
- <spec_assertion interface="NFCPeer" element_type="method" element_name="sendNDEF" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/index.jsp?topic=/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- <spec>
- <spec_assertion interface="NFCPeer" element_type="method" element_name="sendNDEF" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/index.jsp?topic=/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- <spec>
- <spec_assertion interface="NFCPeer" element_type="method" element_name="setReceiveNDEFListener" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/index.jsp?topic=/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- <spec>
- <spec_assertion interface="NFCPeer" element_type="method" element_name="setReceiveNDEFListener" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/index.jsp?topic=/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- <spec>
- <spec_assertion interface="NFCPeer" element_type="method" element_name="setReceiveNDEFListener" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/index.jsp?topic=/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- <spec>
- <spec_assertion interface="NFCPeer" element_type="method" element_name="setReceiveNDEFListener" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/index.jsp?topic=/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
+ <spec_assertion interface="NFCAdapter" element_type="method" element_name="registerAID" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
<spec_statement>TBD</spec_statement>
</spec>
+ </specs>
+ </testcase>
+ <testcase purpose="Check if method NFCAdapter::registerAID() works with UICC param" type="compliance" status="approved" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P1" id="NFCAdapter_registerAID_UICC">
+ <description>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_registerAID_UICC.html</test_script_entry>
+ </description>
+ <specs>
<spec>
- <spec_assertion interface="NFCPeer" element_type="method" element_name="unsetReceiveNDEFListener" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/index.jsp?topic=/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
+ <spec_assertion interface="NFCAdapter" element_type="method" element_name="registerAID" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
<spec_statement>TBD</spec_statement>
</spec>
+ </specs>
+ </testcase>
+ <testcase purpose="Check if NFCAdapter::registerAID throws exception when given wrong category type" type="compliance" status="approved" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P2" id="NFCAdapter_registerAID_category_TypeMismatch">
+ <description>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_registerAID_category_TypeMismatch.html</test_script_entry>
+ </description>
+ <specs>
<spec>
- <spec_assertion interface="NFCPeer" usage="true" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/index.jsp?topic=/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
+ <spec_assertion interface="NFCAdapter" element_type="method" element_name="registerAID" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
<spec_statement>TBD</spec_statement>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if interface NFCPeerDetectCallback exists, it should not." type="compliance" status="approved" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P3" id="NFCPeerDetectCallback_notexist">
+ <testcase purpose="Check if NFCAdapter::registerAID() method exists" type="compliance" status="approved" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P0" id="NFCAdapter_registerAID_exist">
<description>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCPeerDetectCallback_notexist.html</test_script_entry>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_registerAID_exist.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="NFCPeerDetectCallback" usage="true" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="NFCAdapter" element_type="method" element_name="registerAID" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
<spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
<spec_statement>TBD</spec_statement>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if NFCPeerDetectCallback::onattach() callback is called with proper argument when NFC peer is detected" type="compliance" status="approved" component="TizenAPI/Communication/NFC" execution_type="manual" priority="P1" id="NFCPeerDetectCallback_onattach">
+ <testcase purpose="Check adapter.registerAID() with missing argument" type="compliance" status="approved" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P2" id="NFCAdapter_registerAID_misarg">
<description>
- <pre_condition>Turn on NFC adapter. Prepare the other device with NFC turned on.</pre_condition>
- <steps>
- <step order="1">
- <step_desc>Click "Run". Move other NFC device close so it will be detected.</step_desc>
- <expected>pass - setPeerListener onSuccess called</expected>
- </step>
- </steps>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCPeerDetectCallback_onattach.html</test_script_entry>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_registerAID_misarg.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="NFCPeerDetectCallback" element_type="method" element_name="onattach" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="NFCAdapter" element_type="method" element_name="registerAID" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
<spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
<spec_statement>TBD</spec_statement>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if NFCPeerDetectCallback::ondetach() is called when NFC peer is taken away" type="compliance" status="approved" component="TizenAPI/Communication/NFC" execution_type="manual" priority="P1" id="NFCPeerDetectCallback_ondetach">
+ <testcase purpose="Check adapter.registerAID() without any argument" type="compliance" status="approved" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P2" id="NFCAdapter_registerAID_noarg">
<description>
- <pre_condition>Turn on NFC adapter. Prepare the other device with NFC turned on.</pre_condition>
- <steps>
- <step order="1">
- <step_desc>Click "Run". Put the other NFC device close to your device until it will be detected and then take it away.</step_desc>
- <expected>pass - peerListener ondetach callback should be invoked</expected>
- </step>
- </steps>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCPeerDetectCallback_ondetach.html</test_script_entry>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_registerAID_noarg.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="NFCPeerDetectCallback" element_type="method" element_name="ondetach" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="NFCAdapter" element_type="method" element_name="registerAID" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
<spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
<spec_statement>TBD</spec_statement>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if interface NFCPeer exists, it should not." type="compliance" status="approved" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P3" id="NFCPeer_notexist">
+ <testcase purpose="Check if NFCAdapter::registerAID throws exception when given wrong secure type" type="compliance" status="approved" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P2" id="NFCAdapter_registerAID_sectype_TypeMismatch">
<description>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCPeer_notexist.html</test_script_entry>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_registerAID_sectype_TypeMismatch.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="NFCPeer" usage="true" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="NFCAdapter" element_type="method" element_name="registerAID" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
<spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
<spec_statement>TBD</spec_statement>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if method NFCPeer::sendNDEF() reports error by calling errorCallback when peer is disconnected" type="compliance" status="approved" component="TizenAPI/Communication/NFC" execution_type="manual" priority="P2" id="NFCPeer_sendNDEF_errorCallback">
+ <testcase purpose="Check if method NFCAdapter::removeHCEEventListener() successfully" type="compliance" onload_delay="90" status="approved" component="TizenAPI/Communication/NFC" execution_type="manual" priority="P1" id="NFCAdapter_removeHCEEventListener">
<description>
- <pre_condition>Turn on NFC adapter. Prepare the other device with NFC turned on. Other device should be able to take NDEF message from NFC.</pre_condition>
+ <pre_condition>Turn on NFC adapter. Prepare the other device with HCE turned on.</pre_condition>
<steps>
<step order="1">
- <step_desc>Click "Run". Put the other NFC device close to your device until it will be detected and then take it away before the expiration of 3 seconds.</step_desc>
- <expected>pass</expected>
+ <step_desc>Click "Run". Move other device with HCE close so it will be detected.</step_desc>
+ <expected>pass - HCE event detected</expected>
</step>
</steps>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCPeer_sendNDEF_errorCallback.html</test_script_entry>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_removeHCEEventListener.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="NFCPeer" element_type="method" element_name="sendNDEF" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="NFCAdapter" element_type="method" element_name="removeHCEEventListener" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
<spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
<spec_statement>TBD</spec_statement>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if method NFCPeer::sendNDEF() sends data to other NFC device" type="compliance" status="approved" component="TizenAPI/Communication/NFC" execution_type="manual" priority="P1" id="NFCPeer_sendNDEF_sendData">
+ <testcase purpose="Check if NFCAdapter::removeHCEEventListener() method exists" type="compliance" status="approved" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P0" id="NFCAdapter_removeHCEEventListener_exist">
<description>
- <pre_condition>Turn off the NFC adapter. Prepare the other device with NFC turned on. Other device should be able to take NDEF message from NFC.</pre_condition>
- <steps>
- <step order="1">
- <step_desc>Click "Run". Move other NFC device close so it will be detected.</step_desc>
- <expected>pass - data sent successfully</expected>
- </step>
- </steps>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCPeer_sendNDEF_sendData.html</test_script_entry>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_removeHCEEventListener_exist.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="NFCPeer" element_type="method" element_name="sendNDEF" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="NFCAdapter" element_type="method" element_name="removeHCEEventListener" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
<spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
<spec_statement>TBD</spec_statement>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if method NFCPeer::sendNDEF(ndefMessage, onSuccess, onError) can be called successfully" type="compliance" status="approved" component="TizenAPI/Communication/NFC" execution_type="manual" priority="P1" id="NFCPeer_sendNDEF_with_errorCallback">
+ <testcase purpose="Check if method NFCAdapter::sendHostAPDUResponse() successfully" type="compliance" onload_delay="90" status="approved" component="TizenAPI/Communication/NFC" execution_type="manual" priority="P1" id="NFCAdapter_sendHostAPDUResponse">
<description>
- <pre_condition>Turn on NFC adapter. Prepare the other device with NFC turned on. Other device should be able to take NDEF message from NFC.</pre_condition>
+ <pre_condition>Turn on NFC adapter. Prepare the other device with HCE turned on.</pre_condition>
<steps>
<step order="1">
- <step_desc>Click "Run". Move other NFC device close so it will be detected. If other device receives message then PASS.</step_desc>
- <expected>pass</expected>
+ <step_desc>Click "Run". Move other device with HCE close so it will be detected.</step_desc>
+ <expected>pass - HCE detected</expected>
</step>
</steps>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCPeer_sendNDEF_with_errorCallback.html</test_script_entry>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_sendHostAPDUResponse.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="NFCPeer" element_type="method" element_name="sendNDEF" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="NFCAdapter" element_type="method" element_name="sendHostAPDUResponse" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
<spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
<spec_statement>TBD</spec_statement>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if NFCPeer::sendNDEF(ndefMessage, onSuccess) can be called successfully" type="compliance" status="approved" component="TizenAPI/Communication/NFC" execution_type="manual" priority="P1" id="NFCPeer_sendNDEF_with_successCallback">
+ <testcase purpose="Check if NFCAdapter::sendHostAPDUResponse throws exception when given wrong apdu type" type="compliance" status="approved" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P2" id="NFCAdapter_sendHostAPDUResponse_apdu_TypeMismatch">
<description>
- <pre_condition>Turn on NFC adapter. Prepare the other device with NFC turned on. Other device should be able to take NDEF message from NFC.</pre_condition>
- <steps>
- <step order="1">
- <step_desc>Click "Run". Move other NFC device close so it will be detected. If other device receives message then PASS.</step_desc>
- <expected>pass</expected>
- </step>
- </steps>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCPeer_sendNDEF_with_successCallback.html</test_script_entry>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_sendHostAPDUResponse_apdu_TypeMismatch.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="NFCPeer" element_type="method" element_name="sendNDEF" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="NFCAdapter" element_type="method" element_name="sendHostAPDUResponse" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
+ <spec_statement>TBD</spec_statement>
+ </spec>
+ </specs>
+ </testcase>
+ <testcase purpose="Check if NFCAdapter::sendHostAPDUResponse throws exception when given wrong type of errorCallback" type="compliance" status="approved" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P2" id="NFCAdapter_sendHostAPDUResponse_errorCallback_TypeMismatch">
+ <description>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_sendHostAPDUResponse_errorCallback_TypeMismatch.html</test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion interface="NFCAdapter" element_type="method" element_name="sendHostAPDUResponse" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
<spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
<spec_statement>TBD</spec_statement>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if NFCPeer::setReceiveNDEFListener() method works properly" type="compliance" status="approved" component="TizenAPI/Communication/NFC" execution_type="manual" priority="P1" id="NFCPeer_setReceiveNDEFListener">
+ <testcase purpose="Check if NFCAdapter::sendHostAPDUResponse() method works with invalid errorcallback" type="compliance" onload_delay="90" status="approved" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P2" id="NFCAdapter_sendHostAPDUResponse_errorCallback_invalid_cb">
<description>
- <pre_condition>Turn on NFC adapter. Prepare the other device with NFC turned on. Other device should be able to send NDEF message by NFC.</pre_condition>
- <steps>
- <step order="1">
- <step_desc>Click "Run". Move other NFC device close so it will be detected, then send a NFC message from it. Then click the "Message was sent" button below.</step_desc>
- <expected>pass</expected>
- </step>
- </steps>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCPeer_setReceiveNDEFListener.html</test_script_entry>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_sendHostAPDUResponse_errorCallback_invalid_cb.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="NFCPeer" element_type="method" element_name="setReceiveNDEFListener" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="NFCAdapter" element_type="method" element_name="sendHostAPDUResponse" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
<spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
<spec_statement>TBD</spec_statement>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if NFCPeer::unsetReceiveNDEFListener() method works properly" type="compliance" status="approved" component="TizenAPI/Communication/NFC" execution_type="manual" priority="P1" id="NFCPeer_unsetReceiveNDEFListener">
+ <testcase purpose="Check if error callback of NFCAdapter::sendHostAPDUResponse() method invoked " type="compliance" onload_delay="90" status="approved" component="TizenAPI/Communication/NFC" execution_type="manual" priority="P2" id="NFCAdapter_sendHostAPDUResponse_errorCallback_invoked">
<description>
- <pre_condition>Turn on NFC adapter. Prepare the other device with NFC turned on. Other device should be able to send NDEF message by NFC.</pre_condition>
+ <pre_condition>Turn off NFC adapter in setting</pre_condition>
<steps>
<step order="1">
- <step_desc>Click "Run". Move other NFC device close so it will be detected, then send a NFC message from it. Then click the "Message was sent" button below.</step_desc>
- <expected>pass</expected>
+ <step_desc>Click "Run" after the NFC has been turn off in setting</step_desc>
+ <expected>pass - ServiceNotAvailable exception throw</expected>
</step>
</steps>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCPeer_unsetReceiveNDEFListener.html</test_script_entry>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_sendHostAPDUResponse_errorCallback_invoked.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="NFCPeer" element_type="method" element_name="unsetReceiveNDEFListener" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="NFCAdapter" element_type="method" element_name="sendHostAPDUResponse" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
+ <spec_statement>TBD</spec_statement>
+ </spec>
+ <spec>
+ <spec_assertion interface="NFCAdapter" element_type="method" element_name="sendHostAPDUResponse" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
<spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
<spec_statement>TBD</spec_statement>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if method unsetReceiveNDEFListener of NFCPeer accepts extra argument" type="compliance" status="approved" component="TizenAPI/Communication/NFC" execution_type="manual" priority="P2" id="NFCPeer_unsetReceiveNDEFListener_extra_argument">
+ <testcase purpose="Check if NFCAdapter::sendHostAPDUResponse() method exists" type="compliance" status="approved" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P0" id="NFCAdapter_sendHostAPDUResponse_exist">
<description>
- <pre_condition>Turn on NFC adapter. Prepare the other device with NFC turned on.</pre_condition>
- <steps>
- <step order="1">
- <step_desc>Click "Run". Move other NFC device close so it will be detected.</step_desc>
- <expected>Pass</expected>
- </step>
- </steps>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCPeer_unsetReceiveNDEFListener_extra_argument.html</test_script_entry>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_sendHostAPDUResponse_exist.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="NFCPeer" element_type="method" element_name="unsetReceiveNDEFListener" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="NFCAdapter" element_type="method" element_name="sendHostAPDUResponse" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
<spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
<spec_statement>TBD</spec_statement>
</spec>
</specs>
</testcase>
- </set>
- <set name="TAG">
- <capabilities>
- <capability name="http://tizen.org/feature/network.nfc.tag"/>
- </capabilities>
- <testcase purpose="Check if interface ByteArraySuccessCallback exists, it should not." type="compliance" status="approved" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P3" id="ByteArraySuccessCallback_notexist">
+ <testcase purpose="Check adapter.sendHostAPDUResponse() without any argument" type="compliance" status="approved" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P2" id="NFCAdapter_sendHostAPDUResponse_noarg">
<description>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/ByteArraySuccessCallback_notexist.html</test_script_entry>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_sendHostAPDUResponse_noarg.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="ByteArraySuccessCallback" usage="true" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="NFCAdapter" element_type="method" element_name="sendHostAPDUResponse" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
<spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
<spec_statement>TBD</spec_statement>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if interface NDEFMessageReadCallback exists, it should not." type="compliance" status="approved" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P3" id="NDEFMessageReadCallback_notexist">
+ <testcase purpose="Check if NFCAdapter::sendHostAPDUResponse throws exception when given wrong type of successCallback" type="compliance" status="approved" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P2" id="NFCAdapter_sendHostAPDUResponse_successCallback_TypeMismatch">
<description>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NDEFMessageReadCallback_notexist.html</test_script_entry>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_sendHostAPDUResponse_successCallback_TypeMismatch.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="NDEFMessageReadCallback" usage="true" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="NFCAdapter" element_type="method" element_name="sendHostAPDUResponse" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
<spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
<spec_statement>TBD</spec_statement>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if NDEFMessageReadCallback::onsuccess() callback is called successfully." type="compliance" status="approved" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P1" id="NDEFMessageReadCallback_onsuccess">
+ <testcase purpose="Check if NFCAdapter::sendHostAPDUResponse() method works with invalid successCallback" type="compliance" onload_delay="90" status="approved" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P2" id="NFCAdapter_sendHostAPDUResponse_successCallback_invalid_cb">
<description>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NDEFMessageReadCallback_onsuccess.html</test_script_entry>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_sendHostAPDUResponse_successCallback_invalid_cb.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="NDEFMessageReadCallback" element_type="method" element_name="onsuccess" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="NFCAdapter" element_type="method" element_name="sendHostAPDUResponse" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
<spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
<spec_statement>TBD</spec_statement>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if method NFCAdapter::setTagListener() successfully registers listener for detecting NFC tag" type="compliance" status="approved" component="TizenAPI/Communication/NFC" execution_type="manual" priority="P1" id="NFCAdapter_setTagListener">
+ <testcase purpose="Check if method NFCAdapter::sendHostAPDUResponse() successfully without successCallback" type="compliance" status="approved" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P1" id="NFCAdapter_sendHostAPDUResponse_without_successCallback">
<description>
- <pre_condition>Turn on NFC adapter. Prepare NFC tag.</pre_condition>
- <steps>
- <step order="1">
- <step_desc>Click "Run". Move NFC tag close so it will be detected.</step_desc>
- <expected>pass - tag detected</expected>
- </step>
- </steps>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_setTagListener.html</test_script_entry>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_sendHostAPDUResponse_without_successCallback.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="NFCAdapter" element_type="method" element_name="setTagListener" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="NFCAdapter" element_type="method" element_name="sendHostAPDUResponse" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
<spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
<spec_statement>TBD</spec_statement>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if NFCAdapter::setTagListener throws exception when given wrong detectCallback" type="compliance" status="approved" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P2" id="NFCAdapter_setTagListener_detectCallback_TypeMismatch">
+ <testcase purpose="Check if method NFCAdapter::unregisterAID()" type="compliance" status="approved" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P1" id="NFCAdapter_unregisterAID">
<description>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_setTagListener_detectCallback_TypeMismatch.html</test_script_entry>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_unregisterAID.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="NFCAdapter" element_type="method" element_name="setTagListener" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="NFCAdapter" element_type="method" element_name="unregisterAID" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
<spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
<spec_statement>TBD</spec_statement>
</spec>
</specs>
</testcase>
- <testcase purpose="Check verification of detectCallback by NFCAdapter::setTagListener()" type="compliance" onload_delay="90" status="approved" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P2" id="NFCAdapter_setTagListener_detectCallback_invalid_cb">
+ <testcase purpose="Check if method NFCAdapter::unregisterAID() with ESE param" type="compliance" status="approved" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P1" id="NFCAdapter_unregisterAID_ESE">
<description>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_setTagListener_detectCallback_invalid_cb.html</test_script_entry>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_unregisterAID_ESE.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="NFCAdapter" element_type="method" element_name="setTagListener" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="NFCAdapter" element_type="method" element_name="unregisterAID" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
<spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
<spec_statement>TBD</spec_statement>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if NFCAdapter::setTagListener() method exists" type="compliance" status="approved" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P1" id="NFCAdapter_setTagListener_exist">
+ <testcase purpose="Check if method NFCAdapter::unregisterAID() with the type of OTHER" type="compliance" status="approved" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P1" id="NFCAdapter_unregisterAID_OTHER">
<description>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_setTagListener_exist.html</test_script_entry>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_unregisterAID_OTHER.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="NFCAdapter" element_type="method" element_name="setTagListener" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="NFCAdapter" element_type="method" element_name="unregisterAID" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
<spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
<spec_statement>TBD</spec_statement>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if adapter.setTagListener() throws an exception" type="compliance" status="approved" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P1" id="NFCAdapter_setTagListener_missarg">
+ <testcase purpose="Check if method NFCAdapter::unregisterAID() with UICC param" type="compliance" status="approved" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P1" id="NFCAdapter_unregisterAID_UICC">
<description>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_setTagListener_missarg.html</test_script_entry>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_unregisterAID_UICC.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="NFCAdapter" element_type="method" element_name="setTagListener" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="NFCAdapter" element_type="method" element_name="unregisterAID" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
<spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
<spec_statement>TBD</spec_statement>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if TypeMismatchError is thrown when NFCAdapter::setTagListener() is given wrong tagFilter" type="compliance" onload_delay="90" status="approved" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P2" id="NFCAdapter_setTagListener_tagFilter_TypeMismatch">
+ <testcase purpose="Check if NFCAdapter::unregisterAID throws exception when given wrong category type" type="compliance" status="approved" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P2" id="NFCAdapter_unregisterAID_category_TypeMismatch">
<description>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_setTagListener_tagFilter_TypeMismatch.html</test_script_entry>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_unregisterAID_category_TypeMismatch.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="NFCAdapter" element_type="method" element_name="setTagListener" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="NFCAdapter" element_type="method" element_name="unregisterAID" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
<spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
<spec_statement>TBD</spec_statement>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if onattach() callback is called successfully when NFC tag is detected after NFCAdapter::setTagListener() with null tagFilter" type="compliance" status="approved" component="TizenAPI/Communication/NFC" execution_type="manual" priority="P2" id="NFCAdapter_setTagListener_tagFilter_is_null">
+ <testcase purpose="Check if NFCAdapter::unregisterAID() method exists" type="compliance" status="approved" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P0" id="NFCAdapter_unregisterAID_exist">
<description>
- <pre_condition>Turn on NFC adapter. Prepare NFC tag</pre_condition>
- <steps>
- <step order="1">
- <step_desc>Click "Run". Move NFC tag close to the device so it will be detected.</step_desc>
- <expected>should be passed</expected>
- </step>
- </steps>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_setTagListener_tagFilter_is_null.html</test_script_entry>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_unregisterAID_exist.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="NFCAdapter" element_type="method" element_name="setTagListener" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="NFCAdapter" element_type="method" element_name="unregisterAID" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
<spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
<spec_statement>TBD</spec_statement>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if onattach() callback is called successfully when NFC tag is detected after NFCAdapter::setTagListener() with valid tagFilter" type="compliance" status="approved" component="TizenAPI/Communication/NFC" execution_type="manual" priority="P2" id="NFCAdapter_setTagListener_with_tagFilter">
+ <testcase purpose="Check adapter.unregisterAID() with missing argument" type="compliance" status="approved" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P2" id="NFCAdapter_unregisterAID_misarg">
<description>
- <pre_condition>Turn on NFC adapter. Prepare NFC tag.</pre_condition>
- <steps>
- <step order="1">
- <step_desc>Click "Run". Move NFC tag close to the device so it will be detected.</step_desc>
- <expected>should be passed</expected>
- </step>
- </steps>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_setTagListener_with_tagFilter.html</test_script_entry>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_unregisterAID_misarg.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="NFCAdapter" element_type="method" element_name="setTagListener" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="NFCAdapter" element_type="method" element_name="unregisterAID" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
<spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
<spec_statement>TBD</spec_statement>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if method NFCAdapter::unsetTagListener() disables listener for detecting an NFC tag" type="compliance" status="approved" component="TizenAPI/Communication/NFC" execution_type="manual" priority="P1" id="NFCAdapter_unsetTagListener">
+ <testcase purpose="Check adapter.unregisterAID() without any argument" type="compliance" status="approved" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P2" id="NFCAdapter_unregisterAID_noarg">
<description>
- <pre_condition>Turn on NFC adapter. Prepare NFC tag.</pre_condition>
- <steps>
- <step order="1">
- <step_desc>Click "Run". Move NFC tag close so it will be detected and then click "Tag was attached" button.</step_desc>
- <expected>pass</expected>
- </step>
- </steps>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_unsetTagListener.html</test_script_entry>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_unregisterAID_noarg.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="NFCAdapter" element_type="method" element_name="unsetTagListener" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="NFCAdapter" element_type="method" element_name="unregisterAID" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
<spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
<spec_statement>TBD</spec_statement>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if method NFCAdapter::unsetTagListener() method exists" type="compliance" status="approved" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P1" id="NFCAdapter_unsetTagListener_exist">
+ <testcase purpose="Check if NFCAdapter::unregisterAID throws exception when given wrong secure type" type="compliance" status="approved" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P2" id="NFCAdapter_unregisterAID_sectype_TypeMismatch">
<description>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_unsetTagListener_exist.html</test_script_entry>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_unregisterAID_sectype_TypeMismatch.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="NFCAdapter" element_type="method" element_name="unsetTagListener" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="NFCAdapter" element_type="method" element_name="unregisterAID" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
<spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
<spec_statement>TBD</spec_statement>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if method unsetTagListener of NFCAdapter accepts extra argument" type="compliance" status="approved" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P1" id="NFCAdapter_unsetTagListener_extra_argument">
+ <testcase purpose="Check NFCAdapter.setPowered() argument errorCallback conversions exception" type="compliance" status="approved" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P2" id="NFCAdapter_setPowered_errorCallback_TypeMismatch">
<description>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_unsetTagListener_extra_argument.html</test_script_entry>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_setPowered_errorCallback_TypeMismatch.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="NFCAdapter" element_type="method" element_name="unsetTagListener" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="NFCAdapter" element_type="method" element_name="setPowered" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
<spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
<spec_statement>TBD</spec_statement>
</spec>
</specs>
</testcase>
- <testcase purpose="Check NFCTag attributes, method existence and TypeMismatchError throwing" type="compliance" status="approved" component="TizenAPI/Communication/NFC" execution_type="manual" priority="P3" id="NFCTag">
+ <testcase purpose="Check NFCAdapter::setPowered() argument errorCallback validation - object with onerror property" type="compliance" onload_delay="90" status="approved" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P2" id="NFCAdapter_setPowered_errorCallback_invalid_cb">
<description>
- <pre_condition>Turn on NFC adapter. Prepare NFC tag.</pre_condition>
- <steps>
- <step order="1">
- <step_desc>Click "Run". Move NFC tag close so it will be detected.</step_desc>
- <expected>Pass</expected>
- </step>
- </steps>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCTag.html</test_script_entry>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_setPowered_errorCallback_invalid_cb.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="NFCTag" element_type="attribute" element_name="isConnected" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="NFCAdapter" element_type="method" element_name="setPowered" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
<spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
<spec_statement>TBD</spec_statement>
</spec>
+ </specs>
+ </testcase>
+ <testcase purpose="Check NFCAdapter.setPowered() argument successCallback conversions exception" type="compliance" status="approved" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P2" id="NFCAdapter_setPowered_successCallback_TypeMismatch">
+ <description>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_setPowered_successCallback_TypeMismatch.html</test_script_entry>
+ </description>
+ <specs>
<spec>
- <spec_assertion interface="NFCTag" element_type="attribute" element_name="isSupportedNDEF" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="NFCAdapter" element_type="method" element_name="setPowered" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
<spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
<spec_statement>TBD</spec_statement>
</spec>
+ </specs>
+ </testcase>
+ <testcase purpose="Check NFCAdapter::setPowered() argument successCallback validation - object with onerror property" type="compliance" onload_delay="90" status="approved" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P2" id="NFCAdapter_setPowered_successCallback_invalid_cb">
+ <description>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_setPowered_successCallback_invalid_cb.html</test_script_entry>
+ </description>
+ <specs>
<spec>
- <spec_assertion interface="NFCTag" element_type="attribute" element_name="ndefSize" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/index.jsp?topic=/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- <spec>
- <spec_assertion interface="NFCTag" element_type="attribute" element_name="properties" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/index.jsp?topic=/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- <spec>
- <spec_assertion interface="NFCTag" element_type="attribute" element_name="type" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/index.jsp?topic=/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- <spec>
- <spec_assertion interface="NFCTag" element_type="method" element_name="readNDEF" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/index.jsp?topic=/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- <spec>
- <spec_assertion interface="NFCTag" element_type="method" element_name="readNDEF" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/index.jsp?topic=/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- <spec>
- <spec_assertion interface="NFCTag" element_type="method" element_name="readNDEF" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/index.jsp?topic=/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- <spec>
- <spec_assertion interface="NFCTag" element_type="method" element_name="readNDEF" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/index.jsp?topic=/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- <spec>
- <spec_assertion interface="NFCTag" element_type="method" element_name="readNDEF" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/index.jsp?topic=/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- <spec>
- <spec_assertion interface="NFCTag" element_type="method" element_name="readNDEF" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/index.jsp?topic=/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- <spec>
- <spec_assertion interface="NFCTag" element_type="method" element_name="writeNDEF" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/index.jsp?topic=/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- <spec>
- <spec_assertion interface="NFCTag" element_type="method" element_name="writeNDEF" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/index.jsp?topic=/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- <spec>
- <spec_assertion interface="NFCTag" element_type="method" element_name="writeNDEF" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/index.jsp?topic=/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- <spec>
- <spec_assertion interface="NFCTag" element_type="method" element_name="writeNDEF" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/index.jsp?topic=/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- <spec>
- <spec_assertion interface="NFCTag" element_type="method" element_name="writeNDEF" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/index.jsp?topic=/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- <spec>
- <spec_assertion interface="NFCTag" element_type="method" element_name="writeNDEF" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/index.jsp?topic=/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
+ <spec_assertion interface="NFCAdapter" element_type="method" element_name="setPowered" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
<spec_statement>TBD</spec_statement>
</spec>
+ </specs>
+ </testcase>
+ <testcase purpose="Check NFCAdapter::setPowered() optional argument errorCallback - call without it" type="compliance" onload_delay="90" status="approved" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P2" id="NFCAdapter_setPowered_without_errorCallback">
+ <description>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_setPowered_without_errorCallback.html</test_script_entry>
+ </description>
+ <specs>
<spec>
- <spec_assertion interface="NFCTag" element_type="method" element_name="writeNDEF" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/index.jsp?topic=/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
+ <spec_assertion interface="NFCAdapter" element_type="method" element_name="setPowered" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
<spec_statement>TBD</spec_statement>
</spec>
+ </specs>
+ </testcase>
+ <testcase purpose="Check NFCAdapter::setPowered() optional argument without successCallback - call without it" type="compliance" onload_delay="90" status="approved" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P2" id="NFCAdapter_setPowered_without_successCallback">
+ <description>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_setPowered_without_successCallback.html</test_script_entry>
+ </description>
+ <specs>
<spec>
- <spec_assertion interface="NFCTag" element_type="method" element_name="writeNDEF" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/index.jsp?topic=/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
+ <spec_assertion interface="NFCAdapter" element_type="method" element_name="setPowered" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
<spec_statement>TBD</spec_statement>
</spec>
+ </specs>
+ </testcase>
+ <testcase purpose="Check if method NFCAdapter::setPowered() exists" type="compliance" status="approved" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P1" id="NFCAdapter_setPowered_exist">
+ <description>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_setPowered_exist.html</test_script_entry>
+ </description>
+ <specs>
<spec>
- <spec_assertion interface="NFCTag" element_type="method" element_name="transceive" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/index.jsp?topic=/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
+ <spec_assertion interface="NFCAdapter" element_type="method" element_name="setPowered" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
<spec_statement>TBD</spec_statement>
</spec>
+ </specs>
+ </testcase>
+ <testcase purpose="Check if method NFCAdapter::setPowered(false) sets a value of attribute NFCAdapter::powered to false" type="compliance" status="approved" component="TizenAPI/Communication/NFC" execution_type="manual" priority="P2" id="NFCAdapter_setPowered_off">
+ <description>
+ <pre_condition>Turn ON NFC adapter.</pre_condition>
+ <steps>
+ <step order="1">
+ <step_desc>Click "Run"</step_desc>
+ <expected>NFC adapter should be disabled (OFF) - pass</expected>
+ </step>
+ </steps>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_setPowered_off.html</test_script_entry>
+ </description>
+ <specs>
<spec>
- <spec_assertion interface="NFCTag" element_type="method" element_name="transceive" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/index.jsp?topic=/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
+ <spec_assertion interface="NFCAdapter" element_type="method" element_name="setPowered" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
<spec_statement>TBD</spec_statement>
</spec>
+ </specs>
+ </testcase>
+ <testcase purpose="Check if method NFCAdapter::setPowered(false) sets a value of attribute NFCAdapter::powered to false" type="compliance" status="approved" component="TizenAPI/Communication/NFC" execution_type="manual" priority="P2" id="NFCAdapter_setPowered_on">
+ <description>
+ <pre_condition>Turn ON NFC adapter.</pre_condition>
+ <steps>
+ <step order="1">
+ <step_desc>Click "Run"</step_desc>
+ <expected>NFC adapter should be enabled (ON) - pass</expected>
+ </step>
+ </steps>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_setPowered_on.html</test_script_entry>
+ </description>
+ <specs>
<spec>
- <spec_assertion interface="NFCTag" element_type="method" element_name="transceive" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/index.jsp?topic=/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
+ <spec_assertion interface="NFCAdapter" element_type="method" element_name="setPowered" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
<spec_statement>TBD</spec_statement>
</spec>
+ </specs>
+ </testcase>
+ <testcase purpose="Check NFCAdapter::setPowered() optional argument errorCallback - call without it" type="compliance" onload_delay="90" status="approved" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P2" id="NFCAdapter_setPowered_misarg">
+ <description>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_setPowered_misarg.html</test_script_entry>
+ </description>
+ <specs>
<spec>
- <spec_assertion interface="NFCTag" element_type="method" element_name="transceive" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/index.jsp?topic=/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
+ <spec_assertion interface="NFCAdapter" element_type="method" element_name="setPowered" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
<spec_statement>TBD</spec_statement>
</spec>
+ </specs>
+ </testcase>
+ <testcase purpose="Check if ByteArraySuccessCallback::onsuccess() callback is called successfully" type="compliance" onload_delay="90" status="approved" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P1" id="ByteArraySuccessCallback_onsuccess">
+ <description>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/ByteArraySuccessCallback_onsuccess.html</test_script_entry>
+ </description>
+ <specs>
<spec>
- <spec_assertion interface="NFCTag" element_type="method" element_name="transceive" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/index.jsp?topic=/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
+ <spec_assertion interface="NFCAdapter" element_type="method" element_name="setPowered" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
<spec_statement>TBD</spec_statement>
</spec>
+ </specs>
+ </testcase>
+ <testcase purpose="Check if NFCAdapter::removeCardEmulationModeChangeListener() throws exception when listenerId is missing" type="compliance" onload_delay="90" status="approved" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P2" id="NFCAdapter_removeCardEmulationModeChangeListener_misarg">
+ <description>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_removeCardEmulationModeChangeListener_misarg.html</test_script_entry>
+ </description>
+ <specs>
<spec>
- <spec_assertion interface="NFCTag" element_type="method" element_name="transceive" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/index.jsp?topic=/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
+ <spec_assertion interface="NFCAdapter" element_type="method" element_name="setPowered" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
<spec_statement>TBD</spec_statement>
</spec>
+ </specs>
+ </testcase>
+ <testcase purpose="Check if NFCAdapter::removeTransactionEventListener() throws exception when listenerId is missing" type="compliance" onload_delay="90" status="approved" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P2" id="NFCAdapter_removeTransactionEventListener_misarg">
+ <description>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_removeTransactionEventListener_misarg.html</test_script_entry>
+ </description>
+ <specs>
<spec>
- <spec_assertion interface="NFCTag" element_type="method" element_name="transceive" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/index.jsp?topic=/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
+ <spec_assertion interface="NFCAdapter" element_type="method" element_name="setPowered" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
<spec_statement>TBD</spec_statement>
</spec>
+ </specs>
+ </testcase>
+ <testcase purpose="This NFCManagerObject exists in tizen" type="compliance" onload_delay="90" status="approved" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P3" id="NFCManagerObject_nfc_attribute">
+ <description>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCManagerObject_nfc_attribute.html</test_script_entry>
+ </description>
+ <specs>
<spec>
- <spec_assertion interface="NFCTag" usage="true" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/index.jsp?topic=/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
+ <spec_assertion interface="NFCAdapter" element_type="method" element_name="setPowered" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
<spec_statement>TBD</spec_statement>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if interface NFCTagDetectCallback exists, it should not." type="compliance" status="approved" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P3" id="NFCTagDetectCallback_notexist">
+ <testcase purpose="Check if method NFCPeer:sendNDEF() exists" type="compliance" onload_delay="90" status="approved" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P3" id="NFCPeer_sendNDEF_exist">
<description>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCTagDetectCallback_notexist.html</test_script_entry>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCPeer_sendNDEF_exist.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="NFCTagDetectCallback" usage="true" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="NFCAdapter" element_type="method" element_name="setPowered" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
<spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
<spec_statement>TBD</spec_statement>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if NFCTagDetectCallback::onattach() callback is called with proper argument when NFC tag is detected" type="compliance" status="approved" component="TizenAPI/Communication/NFC" execution_type="manual" priority="P1" id="NFCTagDetectCallback_onattach">
+ <testcase purpose="Check if NFCPeer::sendNDEF() throws exception when ndefMessage is missing" type="compliance" onload_delay="90" status="approved" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P3" id="NFCPeer_sendNDEF_misarg">
<description>
- <pre_condition>Turn on NFC adapter. Prepare NFC tag</pre_condition>
- <steps>
- <step order="1">
- <step_desc>Click "Run". Move NFC tag close so it will be detected.</step_desc>
- <expected>pass - after setTagListener onattach callback was called</expected>
- </step>
- </steps>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCTagDetectCallback_onattach.html</test_script_entry>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCPeer_sendNDEF_misarg.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="NFCTagDetectCallback" element_type="method" element_name="onattach" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="NFCAdapter" element_type="method" element_name="setPowered" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
<spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
<spec_statement>TBD</spec_statement>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if NFCTagDetectCallback::ondetach() callback is called when NFC tag is disconnected" type="compliance" status="approved" component="TizenAPI/Communication/NFC" execution_type="manual" priority="P1" id="NFCTagDetectCallback_ondetach">
+ <testcase purpose="Check if method NFCPeer:setReceiveNDEFListener() exists" type="compliance" onload_delay="90" status="approved" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P3" id="NFCPeer_setReceiveNDEFListener_exist">
<description>
- <pre_condition>Turn on NFC adapter. Prepare NFC tag.</pre_condition>
- <steps>
- <step order="1">
- <step_desc>Click "Run". Move NFC tag close until it will be detected and then take it away.</step_desc>
- <expected>pass - after setTagListener ondetach callback is called</expected>
- </step>
- </steps>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCTagDetectCallback_ondetach.html</test_script_entry>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCPeer_setReceiveNDEFListener_exist.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="NFCTagDetectCallback" element_type="method" element_name="ondetach" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="NFCAdapter" element_type="method" element_name="setPowered" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
<spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
<spec_statement>TBD</spec_statement>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if interface NFCTag exists, it should not." type="compliance" status="approved" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P3" id="NFCTag_notexist">
+ <testcase purpose="Check if NFCPeer::setReceiveNDEFListener() throws exception when setReceiveNDEFListenersCB is missing" type="compliance" onload_delay="90" status="approved" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P3" id="NFCPeer_setReceiveNDEFListener_misarg">
<description>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCTag_notexist.html</test_script_entry>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCPeer_setReceiveNDEFListener_misarg.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="NFCTag" usage="true" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="NFCAdapter" element_type="method" element_name="setPowered" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
<spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
<spec_statement>TBD</spec_statement>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if method NFCTag::readNDEF() reports error by calling errorCallback when NFC tag was disconnected" type="compliance" status="approved" component="TizenAPI/Communication/NFC" execution_type="manual" priority="P2" id="NFCTag_readNDEF_errorCallback">
+ <testcase purpose="Check if method NFCPeer:unsetReceiveNDEFListener() exists" type="compliance" onload_delay="90" status="approved" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P3" id="NFCPeer_unsetReceiveNDEFListener_exist">
<description>
- <pre_condition>Turn on NFC adapter. Prepare NFC tag.</pre_condition>
- <steps>
- <step order="1">
- <step_desc>Click "Run". Move NFC tag close until it will be detected and then take it away before the expiration of 3 seconds.</step_desc>
- <expected>pass - readNDEF reported failure by error callback</expected>
- </step>
- </steps>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCTag_readNDEF_errorCallback.html</test_script_entry>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCPeer_unsetReceiveNDEFListener_exist.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="NFCTag" element_type="method" element_name="readNDEF" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="NFCAdapter" element_type="method" element_name="setPowered" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
<spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
<spec_statement>TBD</spec_statement>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if method NFCTag::readNDEF() successfully reads data from NFC tag" type="compliance" onload_delay="90" status="approved" component="TizenAPI/Communication/NFC" execution_type="manual" priority="P1" id="NFCTag_readNDEF_without_errorCallback">
+ <testcase purpose="Check if method NFCTag:readNDEF() exists" type="compliance" onload_delay="90" status="approved" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P3" id="NFCTag_readNDEF_exist">
<description>
- <pre_condition>Turn on NFC adapter. Prepare NFC tag.</pre_condition>
- <steps>
- <step order="1">
- <step_desc>Click "Run". Move NFC tag close so it will be detected.</step_desc>
- <expected>pass - read the NDEF data successfully</expected>
- </step>
- </steps>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCTag_readNDEF_without_errorCallback.html</test_script_entry>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCTag_readNDEF_exist.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="NFCTag" element_type="method" element_name="readNDEF" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="NFCAdapter" element_type="method" element_name="setPowered" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
<spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
<spec_statement>TBD</spec_statement>
</spec>
+ </specs>
+ </testcase>
+ <testcase purpose="Check if NFCTag::readNDEF() throws exception when readCallback is missing" type="compliance" onload_delay="90" status="approved" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P3" id="NFCTag_readNDEF_misarg">
+ <description>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCTag_readNDEF_misarg.html</test_script_entry>
+ </description>
+ <specs>
<spec>
- <spec_assertion interface="NDEFMessageReadCallback" element_type="method" element_name="onsuccess" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="NFCAdapter" element_type="method" element_name="setPowered" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
<spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
<spec_statement>TBD</spec_statement>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if method NFCTag::transceive() reports error by calling errorCallback when NFC tag is disconnected" type="compliance" status="approved" component="TizenAPI/Communication/NFC" execution_type="manual" priority="P2" id="NFCTag_transceive_with_errorCallback">
+ <testcase purpose="Check if method NFCTag:transceive() exists" type="compliance" onload_delay="90" status="approved" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P3" id="NFCTag_transceive_exist">
<description>
- <pre_condition>Turn on NFC adapter. Prepare NFC tag.</pre_condition>
- <steps>
- <step order="1">
- <step_desc>Click "Run". Move NFC tag close until it will be detected and then take it away before the expiration of 3 seconds.</step_desc>
- <expected>pass - transceive reported failure by error callback</expected>
- </step>
- </steps>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCTag_transceive_with_errorCallback.html</test_script_entry>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCTag_transceive_exist.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="NFCTag" element_type="method" element_name="transceive" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="NFCAdapter" element_type="method" element_name="setPowered" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
<spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
<spec_statement>TBD</spec_statement>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if method NFCTag::writeNDEF() can be called with only mandatory argument" type="compliance" status="approved" component="TizenAPI/Communication/NFC" execution_type="manual" priority="P2" id="NFCTag_writeNDEF">
+ <testcase purpose="Check if NFCTag::transceive() throws exception when ndefMessage is missing" type="compliance" onload_delay="90" status="approved" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P3" id="NFCTag_transceive_misarg">
<description>
- <pre_condition>Turn on NFC adapter. Prepare NFC tag.</pre_condition>
- <steps>
- <step order="1">
- <step_desc>Click "Run". Move NFC tag close so it will be detected.</step_desc>
- <expected>pass - writeNDEF successfully without callback</expected>
- </step>
- </steps>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCTag_writeNDEF.html</test_script_entry>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCTag_transceive_misarg.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="NFCTag" element_type="method" element_name="writeNDEF" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="NFCAdapter" element_type="method" element_name="setPowered" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
<spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
<spec_statement>TBD</spec_statement>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if method NFCTag::writeNDEF() reports error by calling errorCallback when NFC tag is disconnected" type="compliance" status="approved" component="TizenAPI/Communication/NFC" execution_type="manual" priority="P2" id="NFCTag_writeNDEF_with_errorCallback">
+ <testcase purpose="Check if method NFCTag:writeNDEF() exists" type="compliance" onload_delay="90" status="approved" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P3" id="NFCTag_writeNDEF_exist">
<description>
- <pre_condition>Turn on NFC adapter. Prepare NFC tag.</pre_condition>
- <steps>
- <step order="1">
- <step_desc>Click "Run". Move NFC tag close until it will be detected and then take it away before the expiration of 3 seconds.</step_desc>
- <expected>pass - writeNDEF reported failure by error callback</expected>
- </step>
- </steps>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCTag_writeNDEF_with_errorCallback.html</test_script_entry>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCTag_writeNDEF_exist.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="NFCTag" element_type="method" element_name="writeNDEF" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="NFCAdapter" element_type="method" element_name="setPowered" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
<spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
<spec_statement>TBD</spec_statement>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if method NFCTag::writeNDEF() calls successCallback" type="compliance" status="approved" component="TizenAPI/Communication/NFC" execution_type="manual" priority="P1" id="NFCTag_writeNDEF_with_successCallback">
+ <testcase purpose="Check if NFCTag::writeNDEF() throws exception when ndefMessage is missing" type="compliance" onload_delay="90" status="approved" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P3" id="NFCTag_writeNDEF_misarg">
<description>
- <pre_condition>Turn on NFC adapter. Prepare NFC tag.</pre_condition>
- <steps>
- <step order="1">
- <step_desc>Click "Run". Move NFC tag close so it will be detected.</step_desc>
- <expected>pass - writing the NDEF Data successfully</expected>
- </step>
- </steps>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCTag_writeNDEF_with_successCallback.html</test_script_entry>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCTag_writeNDEF_misarg.html</test_script_entry>
</description>
<specs>
<spec>
- <spec_assertion interface="NFCTag" element_type="method" element_name="writeNDEF" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
+ <spec_assertion interface="NFCAdapter" element_type="method" element_name="setPowered" specification="NFC" section="Communication" category="Tizen Device API Specifications"/>
<spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/nfc.html</spec_url>
<spec_statement>TBD</spec_statement>
</spec>
</specs>
</testcase>
</set>
- <set name="HCE">
+ <set name="HCE_wearable">
<capabilities>
+ <capability name="http://tizen.org/feature/profile"><value>WEARABLE</value></capability>
<capability name="http://tizen.org/feature/network.nfc.card_emulation.hce"/>
</capabilities>
<testcase purpose="Check if interface AIDArraySuccessCallback exists, it should not." type="compliance" status="approved" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P3" id="AIDArraySuccessCallback_notexist">
<?xml-stylesheet type="text/xsl" href="./testcase.xsl"?>
<test_definition>
<suite name="tct-nfc-tizen-tests" extension="crosswalk" category="Tizen Web Device APIs">
- <set name="NFC_MOBILE" type="js">
+ <set name="NFC_mobile" type="js">
<capabilities>
- <capability name="http://tizen.org/feature/network.nfc"/>
<capability name="http://tizen.org/feature/profile"><value>MOBILE_FULL</value></capability>
+ <capability name="http://tizen.org/feature/network.nfc"/>
</capabilities>
<testcase purpose="Check if NDEFMessage constructor works without arguments" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P1" id="NDEFMessage_constructor">
<description>
</description>
</testcase>
</set>
- <set name="EMU">
+ <set name="NFC_wearable" type="js">
<capabilities>
- <capability name="http://tizen.org/feature/network.nfc.card_emulation"/>
+ <capability name="http://tizen.org/feature/profile"><value>WEARABLE</value></capability>
+ <capability name="http://tizen.org/feature/network.nfc"/>
</capabilities>
-<testcase purpose="Check NFCAdapter::activeSecureElement attribute" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P1" id="NFCAdapter_activeSecureElement_attribute">
+ <testcase purpose="Check if NDEFMessage constructor works without arguments" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P1" id="NDEFMessage_constructor">
<description>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_activeSecureElement_attribute.html</test_script_entry>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NDEFMessage_constructor.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check NFCAdapter:cardEmulationMode attribute exists, has type CardEmulationMode and can be modified" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P1" id="NFCAdapter_cardEmulationMode_attribute">
+ <testcase purpose="Check if NDEFMessage constructor works with rawData" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P1" id="NDEFMessage_constructor_rawData">
<description>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_cardEmulationMode_attribute.html</test_script_entry>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NDEFMessage_constructor_rawData.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check if interface ActiveSecureElementChangeCallback exists, it should not exist." component="TizenAPI/Communication/NFC" execution_type="auto" priority="P3" id="ActiveSecureElementChangeCallback_notexist">
+ <testcase purpose="Check NDEFMessage constructor with NDEF records array" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P1" id="NDEFMessage_constructor_records">
<description>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/ActiveSecureElementChangeCallback_notexist.html</test_script_entry>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NDEFMessage_constructor_records.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Test whether ActiveSecureElementChangeCallback::onchanged is called with argument of proper type" onload_delay="30" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P1" id="ActiveSecureElementChangeCallback_onchanged">
+ <testcase purpose="Check if NDEFMessage exists" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P1" id="NDEFMessage_exist">
<description>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/ActiveSecureElementChangeCallback_onchanged.html</test_script_entry>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NDEFMessage_exist.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check if interface CardEmulationModeChangeCallback exists, it should not exists" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P3" id="CardEmulationModeChangeCallback_notexist">
+ <testcase purpose="Check if instance of interface NDEFMessage can be extended with new property" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P3" id="NDEFMessage_extend">
<description>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/CardEmulationModeChangeCallback_notexist.html</test_script_entry>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NDEFMessage_extend.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Test whether CardEmulationModeChangeCallback::onchanged is called with argument of proper type" onload_delay="30" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P1" id="CardEmulationModeChangeCallback_onchanged">
+ <testcase purpose="Check if attribute NDEFMessage::recordCount exists, has type Number and is readonly" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P1" id="NDEFMessage_recordCount_attribute">
<description>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/CardEmulationModeChangeCallback_onchanged.html</test_script_entry>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NDEFMessage_recordCount_attribute.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check NFCAdapter::addActiveSecureElementChangeListener returns a value expected" onload_delay="30" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P1" id="NFCAdapter_addActiveSecureElementChangeListener">
+ <testcase purpose="Check if attribute records of NDEFMessage exists, has type Array, can be overwritten" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P1" id="NDEFMessage_records_attribute">
<description>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_addActiveSecureElementChangeListener.html</test_script_entry>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NDEFMessage_records_attribute.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check if NFCAdapter::addActiveSecureElementChangeListener() with incorrect changeCallback argument throws an exception" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P2" id="NFCAdapter_addActiveSecureElementChangeListener_TypeMismatch">
+ <testcase purpose="Check whether NDEFMessage:toByte() returns correct byte array of the NDEF message" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P1" id="NDEFMessage_toByte">
<description>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_addActiveSecureElementChangeListener_TypeMismatch.html</test_script_entry>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NDEFMessage_toByte.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check if method NFCAdapter::addActiveSecureElementChangeListener exists" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P0" id="NFCAdapter_addActiveSecureElementChangeListener_exist">
+ <testcase purpose="Check whether NDEFMessage:toByte() throws exception when NDEFMessage.records contains invalid object" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P2" id="NDEFMessage_toByte_TypeMismatch">
<description>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_addActiveSecureElementChangeListener_exist.html</test_script_entry>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NDEFMessage_toByte_TypeMismatch.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check NFCAdapter::addActiveSecureElementChangeListener throws exception with invalid callback" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P2" id="NFCAdapter_addActiveSecureElementChangeListener_invalid_cb">
+ <testcase purpose="Check whether NDEFMessage::toByte() returns empty array for empty NDEF message" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P1" id="NDEFMessage_toByte_empty">
<description>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_addActiveSecureElementChangeListener_invalid_cb.html</test_script_entry>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NDEFMessage_toByte_empty.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check if NFCAdapter::addActiveSecureElementChangeListener throws exception with no param" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P2" id="NFCAdapter_addActiveSecureElementChangeListener_misarg">
+ <testcase purpose="Check if method NDEFMessage::toByte() exists" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P1" id="NDEFMessage_toByte_exists">
<description>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_addActiveSecureElementChangeListener_misarg.html</test_script_entry>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NDEFMessage_toByte_exists.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check if method NFCAdapter::addCardEmulationModeChangeListener works properly" onload_delay="30" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P1" id="NFCAdapter_addCardEmulationModeChangeListener">
+ <testcase purpose="Check if method toByte of NDEFMessage accepts extra argument" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P1" id="NDEFMessage_toByte_extra_argument">
<description>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_addCardEmulationModeChangeListener.html</test_script_entry>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NDEFMessage_toByte_extra_argument.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check if method NFCAdapter::addCardEmulationModeChangeListener throws TypeMismatch exception whith invalidate params" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P2" id="NFCAdapter_addCardEmulationModeChangeListener_TypeMismatch">
+ <testcase purpose="Check if NDEFRecordMedia constructor works" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P1" id="NDEFRecordMedia_constructor">
<description>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_addCardEmulationModeChangeListener_TypeMismatch.html</test_script_entry>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NDEFRecordMedia_constructor.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check if method NFCAdapter::addCardEmulationModeChangeListener exists" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P0" id="NFCAdapter_addCardEmulationModeChangeListener_exist">
+ <testcase purpose="Check if NDEFRecordMedia exists" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P1" id="NDEFRecordMedia_exist">
<description>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_addCardEmulationModeChangeListener_exist.html</test_script_entry>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NDEFRecordMedia_exist.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check if NFCAdapter::addCardEmulationModeChangeListener throws exception with invalid callback" onload_delay="30" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P2" id="NFCAdapter_addCardEmulationModeChangeListener_invalid_cb">
+ <testcase purpose="Check if instance of interface NDEFRecordMedia can be extended with new property" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P3" id="NDEFRecordMedia_extend">
<description>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_addCardEmulationModeChangeListener_invalid_cb.html</test_script_entry>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NDEFRecordMedia_extend.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check if method NFCAdapter::addCardEmulationModeChangeListener throws excepton when argument is missing" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P2" id="NFCAdapter_addCardEmulationModeChangeListener_misarg">
+ <testcase purpose="Check if attribute id of NDEFRecordMedia exists, has type Array and is readonly" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P1" id="NDEFRecordMedia_id_attribute">
<description>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_addCardEmulationModeChangeListener_misarg.html</test_script_entry>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NDEFRecordMedia_id_attribute.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check NFCAdapter::addTransactionEventListener() method returns a value expected." component="TizenAPI/Communication/NFC" execution_type="auto" priority="P1" id="NFCAdapter_addTransactionEventListener">
+ <testcase purpose="Check if attribute mimeType of NDEFRecordMedia exists, has type DOMString and is readonly" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P1" id="NDEFRecordMedia_mimeType_attribute">
<description>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_addTransactionEventListener.html</test_script_entry>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NDEFRecordMedia_mimeType_attribute.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check if NFCAdapter::addTransactionEventListener throws TypeMismatch exception with incorrect eventCallback argument" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P2" id="NFCAdapter_addTransactionEventListener_eventCallback_TypeMismatch">
+ <testcase purpose="Check if attribute payload of NDEFRecordMedia exists, has type Array and is readonly" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P1" id="NDEFRecordMedia_payload_attribute">
<description>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_addTransactionEventListener_eventCallback_TypeMismatch.html</test_script_entry>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NDEFRecordMedia_payload_attribute.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check if NFCAdapter::addTransactionEventListener throws exception with invalid callback" onload_delay="30" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P2" id="NFCAdapter_addTransactionEventListener_eventCallback_invalid_cb">
+ <testcase purpose="Check if attribute tnf of NDEFRecordMedia exists, has type short and is readonly" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P1" id="NDEFRecordMedia_tnf_attribute">
<description>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_addTransactionEventListener_eventCallback_invalid_cb.html</test_script_entry>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NDEFRecordMedia_tnf_attribute.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check if method NFCAdapter::addTransactionEventListener exists" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P0" id="NFCAdapter_addTransactionEventListener_exist">
+ <testcase purpose="Check if attribute type of NDEFRecordMedia exists, has type Array and is readonly" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P1" id="NDEFRecordMedia_type_attribute">
<description>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_addTransactionEventListener_exist.html</test_script_entry>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NDEFRecordMedia_type_attribute.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check if NFCAdapter::addTransactionEventListener throws exception when mandatory argument is missing" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P2" id="NFCAdapter_addTransactionEventListener_misarg">
+ <testcase purpose="Check if NDEFRecordText constructor works" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P1" id="NDEFRecordText_constructor">
<description>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_addTransactionEventListener_misarg.html</test_script_entry>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NDEFRecordText_constructor.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check if NFCAdapter::addTransactionEventListener throws TypeMismatch exception with incorrect type argument" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P2" id="NFCAdapter_addTransactionEventListener_type_TypeMismatch">
+ <testcase purpose="Check if NDEFRecordText constructor called with UTF16 encoding works" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P1" id="NDEFRecordText_constructor_encoding_UTF16">
<description>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_addTransactionEventListener_type_TypeMismatch.html</test_script_entry>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NDEFRecordText_constructor_encoding_UTF16.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check if method NFCAdapter::removeActiveSecureElementChangeListener works properly Check if method NFCAdapter::removeActiveSecureElementChangeListener() works properly." onload_delay="30" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P1" id="NFCAdapter_removeActiveSecureElementChangeListener">
+ <testcase purpose="Check if NDEFRecordText constructor called with UTF8 encoding works" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P1" id="NDEFRecordText_constructor_encoding_UTF8">
<description>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_removeActiveSecureElementChangeListener.html</test_script_entry>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NDEFRecordText_constructor_encoding_UTF8.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check if method NFCAdapter::removeActiveSecureElementChangeListener() method does not exist" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P0" id="NFCAdapter_removeActiveSecureElementChangeListener_exist">
+ <testcase purpose="Check if attribute encoding of NDEFRecordText exists, has type NDEFRecordTextEncoding and is readonly" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P1" id="NDEFRecordText_encoding_attribute">
<description>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_removeActiveSecureElementChangeListener_exist.html</test_script_entry>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NDEFRecordText_encoding_attribute.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check if method NFCAdapter::removeCardEmulationModeChangeListener works properly" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P1" id="NFCAdapter_removeCardEmulationModeChangeListener">
+ <testcase purpose="Check if NDEFRecordText exists" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P1" id="NDEFRecordText_exist">
<description>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_removeCardEmulationModeChangeListener.html</test_script_entry>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NDEFRecordText_exist.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check if method NFCAdapter::removeCardEmulationModeChangeListener() exists" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P0" id="NFCAdapter_removeCardEmulationModeChangeListener_exist">
+ <testcase purpose="Check if instance of interface NDEFRecordText can be extended with new property" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P3" id="NDEFRecordText_extend">
<description>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_removeCardEmulationModeChangeListener_exist.html</test_script_entry>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NDEFRecordText_extend.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check if method NFCAdapter::removeTransactionEventListener works properly" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P1" id="NFCAdapter_removeTransactionEventListener">
+ <testcase purpose="Check if attribute id of NDEFRecordText exists, has type Array and is readonly" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P1" id="NDEFRecordText_id_attribute">
<description>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_removeTransactionEventListener.html</test_script_entry>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NDEFRecordText_id_attribute.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check if method NFCAdapter::removeTransactionEventListener exists" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P0" id="NFCAdapter_removeTransactionEventListener_exist">
+ <testcase purpose="Check if attribute languageCode of NDEFRecordText exists, has type DOMString and is readonly" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P1" id="NDEFRecordText_languageCode_attribute">
<description>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_removeTransactionEventListener_exist.html</test_script_entry>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NDEFRecordText_languageCode_attribute.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check NFCAdapter::setExclusiveModeForTransaction() method works properly" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P1" id="NFCAdapter_setExclusiveModeForTransaction">
+ <testcase purpose="Check if attribute payload of NDEFRecordText exists, has type Array and is readonly" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P1" id="NDEFRecordText_payload_attribute">
<description>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_setExclusiveModeForTransaction.html</test_script_entry>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NDEFRecordText_payload_attribute.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check if method NFCAdapter::setExclusiveModeForTransaction() exists" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P0" id="NFCAdapter_setExclusiveModeForTransaction_exist">
+ <testcase purpose="Check if attribute text of NDEFRecordText exists, has type DOMString and is readonly" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P1" id="NDEFRecordText_text_attribute">
<description>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_setExclusiveModeForTransaction_exist.html</test_script_entry>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NDEFRecordText_text_attribute.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check if interface TransactionEventCallback exists, it should not" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P3" id="TransactionEventCallback_notexist">
+ <testcase purpose="Check if attribute tnf of NDEFRecordText exists, has type short and is readonly" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P1" id="NDEFRecordText_tnf_attribute">
<description>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/TransactionEventCallback_notexist.html</test_script_entry>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NDEFRecordText_tnf_attribute.html</test_script_entry>
</description>
- </testcase>
- <!--<testcase purpose="Check TransactionEventCallback::ondetected() is called with argument of proper type" onload_delay="90" component="TizenAPI/Communication/NFC" execution_type="manual" priority="P1" id="TransactionEventCallback_ondetected">
+ </testcase>
+ <testcase purpose="Check if attribute type of NDEFRecordText exists, has type Array and is readonly" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P1" id="NDEFRecordText_type_attribute">
<description>
- <pre_condition>Turn on NFC adapter. Prepare an external reader to initiate transaction.</pre_condition>
- <steps>
- <step order="1">
- <step_desc>Click "Run". Use an external reader to access "ESE" type secure element.</step_desc>
- <expected>Pass</expected>
- </step>
- </steps>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/TransactionEventCallback_ondetected.html</test_script_entry>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NDEFRecordText_type_attribute.html</test_script_entry>
</description>
- </testcase>-->
- </set>
- <set name="P2P">
- <capabilities>
- <capability name="http://tizen.org/feature/network.nfc.p2p"/>
- </capabilities>
- <testcase purpose="Check if method NFCAdapter::setPeerListener() successfully registers listener for detecting NFC peer" component="TizenAPI/Communication/NFC" execution_type="manual" priority="P1" id="NFCAdapter_setPeerListener">
+ </testcase>
+ <testcase purpose="Check if NDEFRecordURI constructor works" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P1" id="NDEFRecordURI_constructor">
<description>
- <pre_condition>Turn on NFC adapter. Prepare the other device with NFC turned on.</pre_condition>
- <steps>
- <step order="1">
- <step_desc>Click "Run". Move other NFC device close so it will be detected.</step_desc>
- <expected>pass - peer detected</expected>
- </step>
- </steps>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_setPeerListener.html</test_script_entry>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NDEFRecordURI_constructor.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check if NFCAdapter::setPeerListener throws exception when given wrong detectCallback" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P2" id="NFCAdapter_setPeerListener_detectCallback_TypeMismatch">
+ <testcase purpose="Check if NDEFRecordURI exists" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P1" id="NDEFRecordURI_exist">
<description>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_setPeerListener_detectCallback_TypeMismatch.html</test_script_entry>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NDEFRecordURI_exist.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check verification of detectCallback by NFCAdapter::setPeerListener()" onload_delay="90" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P2" id="NFCAdapter_setPeerListener_detectCallback_invalid_cb">
+ <testcase purpose="Check if instance of interface NDEFRecordURI can be extended with new property" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P3" id="NDEFRecordURI_extend">
<description>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_setPeerListener_detectCallback_invalid_cb.html</test_script_entry>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NDEFRecordURI_extend.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check if method NFCAdapter::setPeerListener() exists" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P1" id="NFCAdapter_setPeerListener_exist">
+ <testcase purpose="Check if attribute id of NDEFRecordURI exists, has type Array and is readonly" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P1" id="NDEFRecordURI_id_attribute">
<description>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_setPeerListener_exist.html</test_script_entry>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NDEFRecordURI_id_attribute.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check if adapter.setPeerListener() throws an exception when called without argument" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P1" id="NFCAdapter_setPeerListener_missarg">
+ <testcase purpose="Check if attribute payload of NDEFRecordURI exists, has type Array and is readonly" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P1" id="NDEFRecordURI_payload_attribute">
<description>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_setPeerListener_missarg.html</test_script_entry>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NDEFRecordURI_payload_attribute.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check if method NFCAdapter::unsetPeerListener() disables listener for detecting an NFC peer-to-peer target" component="TizenAPI/Communication/NFC" execution_type="manual" priority="P1" id="NFCAdapter_unsetPeerListener">
+ <testcase purpose="Check if attribute tnf of NDEFRecordURI exists, has type short and is readonly" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P1" id="NDEFRecordURI_tnf_attribute">
<description>
- <pre_condition>Turn on NFC adapter. Prepare the other device with NFC turned on.</pre_condition>
- <steps>
- <step order="1">
- <step_desc>Click "Run". Move other NFC device close so it will be detected and then click "Peer was attached" button.</step_desc>
- <expected>Pass</expected>
- </step>
- </steps>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_unsetPeerListener.html</test_script_entry>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NDEFRecordURI_tnf_attribute.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check if method NFCAdapter::unsetPeerListener() exists" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P1" id="NFCAdapter_unsetPeerListener_exist">
+ <testcase purpose="Check if attribute type of NDEFRecordURI exists, has type Array and is readonly" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P1" id="NDEFRecordURI_type_attribute">
<description>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_unsetPeerListener_exist.html</test_script_entry>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NDEFRecordURI_type_attribute.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check if method unsetPeerListener of NFCAdapter accepts extra argument" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P1" id="NFCAdapter_unsetPeerListener_extra_argument">
+ <testcase purpose="Check if attribute uri of NDEFRecordURI exists, has type DOMString and is readonly" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P1" id="NDEFRecordURI_uri_attribute">
<description>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_unsetPeerListener_extra_argument.html</test_script_entry>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NDEFRecordURI_uri_attribute.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check NFCPeer attributes, method existence and TypeMismatchError throwing" component="TizenAPI/Communication/NFC" execution_type="manual" priority="P3" id="NFCPeer">
+ <testcase purpose="Check if NDEFRecord constructor works" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P1" id="NDEFRecord_constructor">
<description>
- <pre_condition>Turn on NFC adapter. Prepare the other device with NFC turned on.</pre_condition>
- <steps>
- <step order="1">
- <step_desc>Click "Run". Move other NFC device close so it will be detected.</step_desc>
- <expected>Pass</expected>
- </step>
- </steps>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCPeer.html</test_script_entry>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NDEFRecord_constructor.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check if interface NFCPeerDetectCallback exists, it should not." component="TizenAPI/Communication/NFC" execution_type="auto" priority="P3" id="NFCPeerDetectCallback_notexist">
+ <testcase purpose="Check if new tizen.NDEFRecord(raw_data) works" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P1" id="NDEFRecord_constructor_raw_data">
<description>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCPeerDetectCallback_notexist.html</test_script_entry>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NDEFRecord_constructor_raw_data.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check if NFCPeerDetectCallback::onattach() callback is called with proper argument when NFC peer is detected" component="TizenAPI/Communication/NFC" execution_type="manual" priority="P1" id="NFCPeerDetectCallback_onattach">
+ <testcase purpose="Check NDEFRecord constructor with all parameters" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P2" id="NDEFRecord_constructor_tnf">
<description>
- <pre_condition>Turn on NFC adapter. Prepare the other device with NFC turned on.</pre_condition>
- <steps>
- <step order="1">
- <step_desc>Click "Run". Move other NFC device close so it will be detected.</step_desc>
- <expected>pass - setPeerListener onSuccess called</expected>
- </step>
- </steps>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCPeerDetectCallback_onattach.html</test_script_entry>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NDEFRecord_constructor_tnf.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check if NFCPeerDetectCallback::ondetach() is called when NFC peer is taken away" component="TizenAPI/Communication/NFC" execution_type="manual" priority="P1" id="NFCPeerDetectCallback_ondetach">
+ <testcase purpose="Check NDEFRecord constructor with only mandatory parameters" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P2" id="NDEFRecord_constructor_tnf_with_id">
<description>
- <pre_condition>Turn on NFC adapter. Prepare the other device with NFC turned on.</pre_condition>
- <steps>
- <step order="1">
- <step_desc>Click "Run". Put the other NFC device close to your device until it will be detected and then take it away.</step_desc>
- <expected>pass - peerListener ondetach callback should be invoked</expected>
- </step>
- </steps>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCPeerDetectCallback_ondetach.html</test_script_entry>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NDEFRecord_constructor_tnf_with_id.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check if interface NFCPeer exists, it should not." component="TizenAPI/Communication/NFC" execution_type="auto" priority="P3" id="NFCPeer_notexist">
+ <testcase purpose="Check if NDEFRecord exists" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P1" id="NDEFRecord_exist">
<description>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCPeer_notexist.html</test_script_entry>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NDEFRecord_exist.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check if method NFCPeer::sendNDEF() reports error by calling errorCallback when peer is disconnected" component="TizenAPI/Communication/NFC" execution_type="manual" priority="P2" id="NFCPeer_sendNDEF_errorCallback">
+ <testcase purpose="Check if instance of interface NDEFRecord can be extended with new property" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P3" id="NDEFRecord_extend">
<description>
- <pre_condition>Turn on NFC adapter. Prepare the other device with NFC turned on. Other device should be able to take NDEF message from NFC.</pre_condition>
- <steps>
- <step order="1">
- <step_desc>Click "Run". Put the other NFC device close to your device until it will be detected and then take it away before the expiration of 3 seconds.</step_desc>
- <expected>pass</expected>
- </step>
- </steps>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCPeer_sendNDEF_errorCallback.html</test_script_entry>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NDEFRecord_extend.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check if method NFCPeer::sendNDEF() sends data to other NFC device" component="TizenAPI/Communication/NFC" execution_type="manual" priority="P1" id="NFCPeer_sendNDEF_sendData">
+ <testcase purpose="Check if attribute id of NDEFRecord exists, has type Array and is readonly" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P1" id="NDEFRecord_id_attribute">
<description>
- <pre_condition>Turn off the NFC adapter. Prepare the other device with NFC turned on. Other device should be able to take NDEF message from NFC.</pre_condition>
- <steps>
- <step order="1">
- <step_desc>Click "Run". Move other NFC device close so it will be detected.</step_desc>
- <expected>pass - data sent successfully</expected>
- </step>
- </steps>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCPeer_sendNDEF_sendData.html</test_script_entry>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NDEFRecord_id_attribute.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check if method NFCPeer::sendNDEF(ndefMessage, onSuccess, onError) can be called successfully" component="TizenAPI/Communication/NFC" execution_type="manual" priority="P1" id="NFCPeer_sendNDEF_with_errorCallback">
+ <testcase purpose="Check if attribute payload of NDEFRecord exists, has type Array and is readonly" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P1" id="NDEFRecord_payload_attribute">
<description>
- <pre_condition>Turn on NFC adapter. Prepare the other device with NFC turned on. Other device should be able to take NDEF message from NFC.</pre_condition>
- <steps>
- <step order="1">
- <step_desc>Click "Run". Move other NFC device close so it will be detected. If other device receives message then PASS.</step_desc>
- <expected>pass</expected>
- </step>
- </steps>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCPeer_sendNDEF_with_errorCallback.html</test_script_entry>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NDEFRecord_payload_attribute.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check if NFCPeer::sendNDEF(ndefMessage, onSuccess) can be called successfully" component="TizenAPI/Communication/NFC" execution_type="manual" priority="P1" id="NFCPeer_sendNDEF_with_successCallback">
+ <testcase purpose="Check if attribute tnf of NDEFRecord exists, has type short and is readonly" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P1" id="NDEFRecord_tnf_attribute">
<description>
- <pre_condition>Turn on NFC adapter. Prepare the other device with NFC turned on. Other device should be able to take NDEF message from NFC.</pre_condition>
- <steps>
- <step order="1">
- <step_desc>Click "Run". Move other NFC device close so it will be detected. If other device receives message then PASS.</step_desc>
- <expected>pass</expected>
- </step>
- </steps>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCPeer_sendNDEF_with_successCallback.html</test_script_entry>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NDEFRecord_tnf_attribute.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check if NFCPeer::setReceiveNDEFListener() method works properly" component="TizenAPI/Communication/NFC" execution_type="manual" priority="P1" id="NFCPeer_setReceiveNDEFListener">
+ <testcase purpose="Check if attribute type of NDEFRecord exists, has type Array and is readonly" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P1" id="NDEFRecord_type_attribute">
<description>
- <pre_condition>Turn on NFC adapter. Prepare the other device with NFC turned on. Other device should be able to send NDEF message by NFC.</pre_condition>
- <steps>
- <step order="1">
- <step_desc>Click "Run". Move other NFC device close so it will be detected, then send a NFC message from it. Then click the "Message was sent" button below.</step_desc>
- <expected>pass</expected>
- </step>
- </steps>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCPeer_setReceiveNDEFListener.html</test_script_entry>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NDEFRecord_type_attribute.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check if NFCPeer::unsetReceiveNDEFListener() method works properly" component="TizenAPI/Communication/NFC" execution_type="manual" priority="P1" id="NFCPeer_unsetReceiveNDEFListener">
+ <testcase purpose="Check if instance of interface NFCAdapter can be extended with new property" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P3" id="NFCAdapter_extend">
<description>
- <pre_condition>Turn on NFC adapter. Prepare the other device with NFC turned on. Other device should be able to send NDEF message by NFC.</pre_condition>
- <steps>
- <step order="1">
- <step_desc>Click "Run". Move other NFC device close so it will be detected, then send a NFC message from it. Then click the "Message was sent" button below.</step_desc>
- <expected>pass</expected>
- </step>
- </steps>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCPeer_unsetReceiveNDEFListener.html</test_script_entry>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_extend.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check if method unsetReceiveNDEFListener of NFCPeer accepts extra argument" component="TizenAPI/Communication/NFC" execution_type="manual" priority="P2" id="NFCPeer_unsetReceiveNDEFListener_extra_argument">
+ <testcase purpose="Check if method getCachedMessage of NFCAdapter works" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P1" id="NFCAdapter_getCachedMessage">
<description>
- <pre_condition>Turn on NFC adapter. Prepare the other device with NFC turned on.</pre_condition>
- <steps>
- <step order="1">
- <step_desc>Click "Run". Move other NFC device close so it will be detected.</step_desc>
- <expected>Pass</expected>
- </step>
- </steps>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCPeer_unsetReceiveNDEFListener_extra_argument.html</test_script_entry>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_getCachedMessage.html</test_script_entry>
</description>
</testcase>
- </set>
- <set name="TAG">
- <capabilities>
- <capability name="http://tizen.org/feature/network.nfc.tag"/>
- </capabilities>
- <testcase purpose="Check if interface ByteArraySuccessCallback exists, it should not." component="TizenAPI/Communication/NFC" execution_type="auto" priority="P3" id="ByteArraySuccessCallback_notexist">
+ <testcase purpose="Check if method NFCAdapter::getCachedMessage() exists" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P1" id="NFCAdapter_getCachedMessage_exist">
<description>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/ByteArraySuccessCallback_notexist.html</test_script_entry>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_getCachedMessage_exist.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check if interface NDEFMessageReadCallback exists, it should not." component="TizenAPI/Communication/NFC" execution_type="auto" priority="P3" id="NDEFMessageReadCallback_notexist">
+ <testcase purpose="Check if method getCachedMessage of NFCAdapter accepts extra argument" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P1" id="NFCAdapter_getCachedMessage_extra_argument">
<description>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NDEFMessageReadCallback_notexist.html</test_script_entry>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_getCachedMessage_extra_argument.html</test_script_entry>
</description>
</testcase>
-<!--
- <testcase purpose="Check if NDEFMessageReadCallback::onsuccess() callback is called successfully." component="TizenAPI/Communication/NFC" execution_type="auto" priority="P1" id="NDEFMessageReadCallback_onsuccess">
+ <testcase purpose="Check if interface NFCAdapter exists, it should not." component="TizenAPI/Communication/NFC" execution_type="auto" priority="P3" id="NFCAdapter_notexist">
<description>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NDEFMessageReadCallback_onsuccess.html</test_script_entry>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_notexist.html</test_script_entry>
</description>
</testcase>
--->
- <testcase purpose="Check if method NFCAdapter::setTagListener() successfully registers listener for detecting NFC tag" component="TizenAPI/Communication/NFC" execution_type="manual" priority="P1" id="NFCAdapter_setTagListener">
+ <testcase purpose="Check if attribute powered of NFCAdapter exists, has type Boolean and is readonly" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P1" id="NFCAdapter_powered_attribute">
<description>
- <pre_condition>Turn on NFC adapter. Prepare NFC tag.</pre_condition>
- <steps>
- <step order="1">
- <step_desc>Click "Run". Move NFC tag close so it will be detected.</step_desc>
- <expected>pass - tag detected</expected>
- </step>
- </steps>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_setTagListener.html</test_script_entry>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_powered_attribute.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check if NFCAdapter::setTagListener throws exception when given wrong detectCallback" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P2" id="NFCAdapter_setTagListener_detectCallback_TypeMismatch">
+ <testcase purpose="Check if interface NFCManagerObject exists, it should not." component="TizenAPI/Communication/NFC" execution_type="auto" priority="P3" id="NFCManagerObject_notexist">
<description>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_setTagListener_detectCallback_TypeMismatch.html</test_script_entry>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCManagerObject_notexist.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check verification of detectCallback by NFCAdapter::setTagListener()" onload_delay="90" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P2" id="NFCAdapter_setTagListener_detectCallback_invalid_cb">
+ <testcase purpose="Check if NFCManager has constant NFC_RECORD_TNF_EMPTY and its value is 0" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P2" id="NFCManager_NFC_RECORD_TNF_EMPTY_const">
<description>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_setTagListener_detectCallback_invalid_cb.html</test_script_entry>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCManager_NFC_RECORD_TNF_EMPTY_const.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check if NFCAdapter::setTagListener() method exists" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P1" id="NFCAdapter_setTagListener_exist">
+ <testcase purpose="Check if NFCManager has constant NFC_RECORD_TNF_EXTERNAL_RTD and its value is 4" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P2" id="NFCManager_NFC_RECORD_TNF_EXTERNAL_RTD_const">
<description>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_setTagListener_exist.html</test_script_entry>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCManager_NFC_RECORD_TNF_EXTERNAL_RTD_const.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check if adapter.setTagListener() throws an exception" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P1" id="NFCAdapter_setTagListener_missarg">
+ <testcase purpose="Check if NFCManager has constant NFC_RECORD_TNF_MIME_MEDIA and its value is 2" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P2" id="NFCManager_NFC_RECORD_TNF_MIME_MEDIA_const">
<description>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_setTagListener_missarg.html</test_script_entry>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCManager_NFC_RECORD_TNF_MIME_MEDIA_const.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check if TypeMismatchError is thrown when NFCAdapter::setTagListener() is given wrong tagFilter" onload_delay="90" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P2" id="NFCAdapter_setTagListener_tagFilter_TypeMismatch">
+ <testcase purpose="Check if NFCManager has constant NFC_RECORD_TNF_UNCHANGED and its value is 6" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P2" id="NFCManager_NFC_RECORD_TNF_UNCHANGED_const">
<description>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_setTagListener_tagFilter_TypeMismatch.html</test_script_entry>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCManager_NFC_RECORD_TNF_UNCHANGED_const.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check if onattach() callback is called successfully when NFC tag is detected after NFCAdapter::setTagListener() with null tagFilter" component="TizenAPI/Communication/NFC" execution_type="manual" priority="P2" id="NFCAdapter_setTagListener_tagFilter_is_null">
+ <testcase purpose="Check if NFCManager has constant NFC_RECORD_TNF_UNKNOWN and its value is 5" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P2" id="NFCManager_NFC_RECORD_TNF_UNKNOWN_const">
<description>
- <pre_condition>Turn on NFC adapter. Prepare NFC tag</pre_condition>
- <steps>
- <step order="1">
- <step_desc>Click "Run". Move NFC tag close to the device so it will be detected.</step_desc>
- <expected>should be passed</expected>
- </step>
- </steps>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_setTagListener_tagFilter_is_null.html</test_script_entry>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCManager_NFC_RECORD_TNF_UNKNOWN_const.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check if onattach() callback is called successfully when NFC tag is detected after NFCAdapter::setTagListener() with valid tagFilter" component="TizenAPI/Communication/NFC" execution_type="manual" priority="P2" id="NFCAdapter_setTagListener_with_tagFilter">
+ <testcase purpose="Check if NFCManager has constant NFC_RECORD_TNF_URI and its value is 3" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P2" id="NFCManager_NFC_RECORD_TNF_URI_const">
<description>
- <pre_condition>Turn on NFC adapter. Prepare NFC tag.</pre_condition>
- <steps>
- <step order="1">
- <step_desc>Click "Run". Move NFC tag close to the device so it will be detected.</step_desc>
- <expected>should be passed</expected>
- </step>
- </steps>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_setTagListener_with_tagFilter.html</test_script_entry>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCManager_NFC_RECORD_TNF_URI_const.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check if method NFCAdapter::unsetTagListener() disables listener for detecting an NFC tag" component="TizenAPI/Communication/NFC" execution_type="manual" priority="P1" id="NFCAdapter_unsetTagListener">
+ <testcase purpose="Check if NFCManager has constant NFC_RECORD_TNF_WELL_KNOWN and its value is 1" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P2" id="NFCManager_NFC_RECORD_TNF_WELL_KNOWN_const">
<description>
- <pre_condition>Turn on NFC adapter. Prepare NFC tag.</pre_condition>
- <steps>
- <step order="1">
- <step_desc>Click "Run". Move NFC tag close so it will be detected and then click "Tag was attached" button.</step_desc>
- <expected>pass</expected>
- </step>
- </steps>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_unsetTagListener.html</test_script_entry>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCManager_NFC_RECORD_TNF_WELL_KNOWN_const.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check if method NFCAdapter::unsetTagListener() method exists" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P1" id="NFCAdapter_unsetTagListener_exist">
+ <testcase purpose="Test whether the NFCManager object can have new properties added" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P3" id="NFCManager_extend">
<description>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_unsetTagListener_exist.html</test_script_entry>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCManager_extend.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check if method unsetTagListener of NFCAdapter accepts extra argument" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P1" id="NFCAdapter_unsetTagListener_extra_argument">
+ <testcase purpose="Check if NFCManager::getDefaultAdapter() method returns object" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P1" id="NFCManager_getDefaultAdapter">
<description>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_unsetTagListener_extra_argument.html</test_script_entry>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCManager_getDefaultAdapter.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check NFCTag attributes, method existence and TypeMismatchError throwing" component="TizenAPI/Communication/NFC" execution_type="manual" priority="P3" id="NFCTag">
+ <testcase purpose="Check if method NFCAdapter::getDefaultAdapter() exists" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P1" id="NFCManager_getDefaultAdapter_exists">
<description>
- <pre_condition>Turn on NFC adapter. Prepare NFC tag.</pre_condition>
- <steps>
- <step order="1">
- <step_desc>Click "Run". Move NFC tag close so it will be detected.</step_desc>
- <expected>Pass</expected>
- </step>
- </steps>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCTag.html</test_script_entry>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCManager_getDefaultAdapter_exists.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check if interface NFCTagDetectCallback exists, it should not." component="TizenAPI/Communication/NFC" execution_type="auto" priority="P3" id="NFCTagDetectCallback_notexist">
+ <testcase purpose="Check if method getDefaultAdapter of NFCManager accepts extra argument" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P1" id="NFCManager_getDefaultAdapter_extra_argument">
<description>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCTagDetectCallback_notexist.html</test_script_entry>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCManager_getDefaultAdapter_extra_argument.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check if NFCTagDetectCallback::onattach() callback is called with proper argument when NFC tag is detected" component="TizenAPI/Communication/NFC" execution_type="manual" priority="P1" id="NFCTagDetectCallback_onattach">
+ <testcase purpose="Check if interface NFCManager exists, it should not." component="TizenAPI/Communication/NFC" execution_type="auto" priority="P3" id="NFCManager_notexist">
<description>
- <pre_condition>Turn on NFC adapter. Prepare NFC tag</pre_condition>
- <steps>
- <step order="1">
- <step_desc>Click "Run". Move NFC tag close so it will be detected.</step_desc>
- <expected>pass - after setTagListener onattach callback was called</expected>
- </step>
- </steps>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCTagDetectCallback_onattach.html</test_script_entry>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCManager_notexist.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check if NFCTagDetectCallback::ondetach() callback is called when NFC tag is disconnected" component="TizenAPI/Communication/NFC" execution_type="manual" priority="P1" id="NFCTagDetectCallback_ondetach">
+ <testcase purpose="Check if NFCManager::setExclusiveMode() method can be executed" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P1" id="NFCManager_setExclusiveMode">
<description>
- <pre_condition>Turn on NFC adapter. Prepare NFC tag.</pre_condition>
- <steps>
- <step order="1">
- <step_desc>Click "Run". Move NFC tag close until it will be detected and then take it away.</step_desc>
- <expected>pass - after setTagListener ondetach callback is called</expected>
- </step>
- </steps>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCTagDetectCallback_ondetach.html</test_script_entry>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCManager_setExclusiveMode.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check if interface NFCTag exists, it should not." component="TizenAPI/Communication/NFC" execution_type="auto" priority="P3" id="NFCTag_notexist">
+ <testcase purpose="Check if NFCManager object has method setExclusiveMode()" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P0" id="NFCManager_setExclusiveMode_exist">
<description>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCTag_notexist.html</test_script_entry>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCManager_setExclusiveMode_exist.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check if method NFCTag::readNDEF() reports error by calling errorCallback when NFC tag was disconnected" component="TizenAPI/Communication/NFC" execution_type="manual" priority="P2" id="NFCTag_readNDEF_errorCallback">
+ <testcase purpose="Check if NFCManager::setExclusiveMode() method does NOT throw exception when called without argument" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P1" id="NFCManager_setExclusiveMode_missarg">
<description>
- <pre_condition>Turn on NFC adapter. Prepare NFC tag.</pre_condition>
- <steps>
- <step order="1">
- <step_desc>Click "Run". Move NFC tag close until it will be detected and then take it away before the expiration of 3 seconds.</step_desc>
- <expected>pass - readNDEF reported failure by error callback</expected>
- </step>
- </steps>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCTag_readNDEF_errorCallback.html</test_script_entry>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCManager_setExclusiveMode_missarg.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check if method NFCTag::readNDEF() successfully reads data from NFC tag" onload_delay="90" component="TizenAPI/Communication/NFC" execution_type="manual" priority="P1" id="NFCTag_readNDEF_without_errorCallback">
+ <testcase purpose="Check if Tizen implements interface NFCManagerObject and has attribute nfc" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P3" id="Tizen_nfc_exist">
<description>
- <pre_condition>Turn on NFC adapter. Prepare NFC tag.</pre_condition>
- <steps>
- <step order="1">
- <step_desc>Click "Run". Move NFC tag close so it will be detected.</step_desc>
- <expected>pass - read the NDEF data successfully</expected>
- </step>
- </steps>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCTag_readNDEF_without_errorCallback.html</test_script_entry>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/Tizen_nfc_exist.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check if method NFCTag::transceive() reports error by calling errorCallback when NFC tag is disconnected" component="TizenAPI/Communication/NFC" execution_type="manual" priority="P2" id="NFCTag_transceive_with_errorCallback">
+ </set>
+ <set name="EMU_mobile">
+ <capabilities>
+ <capability name="http://tizen.org/feature/profile"><value>MOBILE_FULL</value></capability>
+ <capability name="http://tizen.org/feature/network.nfc.card_emulation"/>
+ </capabilities>
+ <testcase purpose="Check NFCAdapter::activeSecureElement attribute" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P1" id="NFCAdapter_activeSecureElement_attribute">
<description>
- <pre_condition>Turn on NFC adapter. Prepare NFC tag.</pre_condition>
- <steps>
- <step order="1">
- <step_desc>Click "Run". Move NFC tag close until it will be detected and then take it away before the expiration of 3 seconds.</step_desc>
- <expected>pass - transceive reported failure by error callback</expected>
- </step>
- </steps>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCTag_transceive_with_errorCallback.html</test_script_entry>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_activeSecureElement_attribute.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check if method NFCTag::writeNDEF() can be called with only mandatory argument" component="TizenAPI/Communication/NFC" execution_type="manual" priority="P2" id="NFCTag_writeNDEF">
+ <testcase purpose="Check NFCAdapter:cardEmulationMode attribute exists, has type CardEmulationMode and can be modified" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P1" id="NFCAdapter_cardEmulationMode_attribute">
<description>
- <pre_condition>Turn on NFC adapter. Prepare NFC tag.</pre_condition>
- <steps>
- <step order="1">
- <step_desc>Click "Run". Move NFC tag close so it will be detected.</step_desc>
- <expected>pass - writeNDEF successfully without callback</expected>
- </step>
- </steps>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCTag_writeNDEF.html</test_script_entry>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_cardEmulationMode_attribute.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check if method NFCTag::writeNDEF() reports error by calling errorCallback when NFC tag is disconnected" component="TizenAPI/Communication/NFC" execution_type="manual" priority="P2" id="NFCTag_writeNDEF_with_errorCallback">
+ <testcase purpose="Check if interface ActiveSecureElementChangeCallback exists, it should not exist." component="TizenAPI/Communication/NFC" execution_type="auto" priority="P3" id="ActiveSecureElementChangeCallback_notexist">
<description>
- <pre_condition>Turn on NFC adapter. Prepare NFC tag.</pre_condition>
- <steps>
- <step order="1">
- <step_desc>Click "Run". Move NFC tag close until it will be detected and then take it away before the expiration of 3 seconds.</step_desc>
- <expected>pass - writeNDEF reported failure by error callback</expected>
- </step>
- </steps>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCTag_writeNDEF_with_errorCallback.html</test_script_entry>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/ActiveSecureElementChangeCallback_notexist.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check if method NFCTag::writeNDEF() calls successCallback" component="TizenAPI/Communication/NFC" execution_type="manual" priority="P1" id="NFCTag_writeNDEF_with_successCallback">
+ <testcase purpose="Test whether ActiveSecureElementChangeCallback::onchanged is called with argument of proper type" onload_delay="30" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P1" id="ActiveSecureElementChangeCallback_onchanged_mobile">
<description>
- <pre_condition>Turn on NFC adapter. Prepare NFC tag.</pre_condition>
- <steps>
- <step order="1">
- <step_desc>Click "Run". Move NFC tag close so it will be detected.</step_desc>
- <expected>pass - writing the NDEF Data successfully</expected>
- </step>
- </steps>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCTag_writeNDEF_with_successCallback.html</test_script_entry>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/ActiveSecureElementChangeCallback_onchanged_mobile.html</test_script_entry>
</description>
</testcase>
- </set>
- <set name="HCE">
- <capabilities>
- <capability name="http://tizen.org/feature/network.nfc.card_emulation.hce"/>
- </capabilities>
- <testcase purpose="Check if interface AIDArraySuccessCallback exists, it should not." component="TizenAPI/Communication/NFC" execution_type="auto" priority="P3" id="AIDArraySuccessCallback_notexist">
+ <testcase purpose="Check if interface CardEmulationModeChangeCallback exists, it should not exists" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P3" id="CardEmulationModeChangeCallback_notexist">
<description>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/AIDArraySuccessCallback_notexist.html</test_script_entry>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/CardEmulationModeChangeCallback_notexist.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check if AIDArraySuccessCallback onsuccess is called and if its arguments have proper type" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P1" id="AIDArraySuccessCallback_onsuccess">
- <description>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/AIDArraySuccessCallback_onsuccess.html</test_script_entry>
- </description>
- </testcase>
- <testcase purpose="Check if aid string exist in AIDData has default value and its readonly" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P1" id="AIDData_aid_attribute">
- <description>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/AIDData_aid_attribute.html</test_script_entry>
- </description>
- </testcase>
- <testcase purpose="Check if instance of AIDData can be extended with new property" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P3" id="AIDData_extend">
+ <testcase purpose="Test whether CardEmulationModeChangeCallback::onchanged is called with argument of proper type" onload_delay="30" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P1" id="CardEmulationModeChangeCallback_onchanged">
<description>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/AIDData_extend.html</test_script_entry>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/CardEmulationModeChangeCallback_onchanged.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check if interface AIDData exists, it should not." component="TizenAPI/Communication/NFC" execution_type="auto" priority="P3" id="AIDData_notexist">
+ <testcase purpose="Check NFCAdapter::addActiveSecureElementChangeListener returns a value expected" onload_delay="30" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P1" id="NFCAdapter_addActiveSecureElementChangeListener_mobile">
<description>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/AIDData_notexist.html</test_script_entry>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_addActiveSecureElementChangeListener_mobile.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check if AIDData has default value and its readonly" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P1" id="AIDData_readOnly_attribute">
+ <testcase purpose="Check if NFCAdapter::addActiveSecureElementChangeListener() with incorrect changeCallback argument throws an exception" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P2" id="NFCAdapter_addActiveSecureElementChangeListener_TypeMismatch">
<description>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/AIDData_readOnly_attribute.html</test_script_entry>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_addActiveSecureElementChangeListener_TypeMismatch.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check if type exist in AIDData has default value and its readonly" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P1" id="AIDData_type_attribute">
+ <testcase purpose="Check if method NFCAdapter::addActiveSecureElementChangeListener exists" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P0" id="NFCAdapter_addActiveSecureElementChangeListener_exist">
<description>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/AIDData_type_attribute.html</test_script_entry>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_addActiveSecureElementChangeListener_exist.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check if apdu exist in HCEEventData has default value and its readonly" component="TizenAPI/Communication/NFC" execution_type="manual" priority="P1" id="HCEEventData_apdu_attribute">
+ <testcase purpose="Check NFCAdapter::addActiveSecureElementChangeListener throws exception with invalid callback" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P2" id="NFCAdapter_addActiveSecureElementChangeListener_invalid_cb">
<description>
- <pre_condition>Turn on NFC adapter.Prepare another device supported nfc emulation card</pre_condition>
- <steps>
- <step order="1">
- <step_desc>Click "Run" . Attach device or send APDU using another device to trigger the onDetect CB.</step_desc>
- <expected>pass - onDetect listener should be called</expected>
- </step>
- </steps>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/HCEEventData_apdu_attribute.html</test_script_entry>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_addActiveSecureElementChangeListener_invalid_cb.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check if eventdata exist in HCEEventData has default value and its readonly" component="TizenAPI/Communication/NFC" execution_type="manual" priority="P1" id="HCEEventData_eventType_attribute">
+ <testcase purpose="Check if NFCAdapter::addActiveSecureElementChangeListener throws exception with no param" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P2" id="NFCAdapter_addActiveSecureElementChangeListener_misarg">
<description>
- <pre_condition>Turn on NFC adapter.Prepare another device supported nfc emulation card</pre_condition>
- <steps>
- <step order="1">
- <step_desc>Click "Run" . Attach device or send APDU using another device to trigger the onDetect CB.</step_desc>
- <expected>pass - onDetect listener should be called</expected>
- </step>
- </steps>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/HCEEventData_eventType_attribute.html</test_script_entry>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_addActiveSecureElementChangeListener_misarg.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check if instance of HCEEventData can be extended with new property" component="TizenAPI/Communication/NFC" execution_type="manual" priority="P3" id="HCEEventData_extend">
+ <testcase purpose="Check if method NFCAdapter::addCardEmulationModeChangeListener works properly" onload_delay="30" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P1" id="NFCAdapter_addCardEmulationModeChangeListener">
<description>
- <pre_condition>Turn on NFC adapter.Prepare another device supported nfc emulation card</pre_condition>
- <steps>
- <step order="1">
- <step_desc>Click "Run" . Attach device or send APDU using another device to trigger the onDetect CB.</step_desc>
- <expected>pass - onDetect listener should be called</expected>
- </step>
- </steps>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/HCEEventData_extend.html</test_script_entry>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_addCardEmulationModeChangeListener.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check if length exist in HCEEventData has default value and its readonly" component="TizenAPI/Communication/NFC" execution_type="manual" priority="P1" id="HCEEventData_length_attribute">
+ <testcase purpose="Check if method NFCAdapter::addCardEmulationModeChangeListener throws TypeMismatch exception whith invalidate params" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P2" id="NFCAdapter_addCardEmulationModeChangeListener_TypeMismatch">
<description>
- <pre_condition>Turn on NFC adapter.Prepare another device supported nfc emulation card</pre_condition>
- <steps>
- <step order="1">
- <step_desc>Click "Run" . Attach device or send APDU using another device to trigger the onDetect CB.</step_desc>
- <expected>pass - onDetect listener should be called</expected>
- </step>
- </steps>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/HCEEventData_length_attribute.html</test_script_entry>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_addCardEmulationModeChangeListener_TypeMismatch.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check if interface HCEEventData exists, it should not." component="TizenAPI/Communication/NFC" execution_type="auto" priority="P3" id="HCEEventData_notexist">
+ <testcase purpose="Check if method NFCAdapter::addCardEmulationModeChangeListener exists" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P0" id="NFCAdapter_addCardEmulationModeChangeListener_exist">
<description>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/HCEEventData_notexist.html</test_script_entry>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_addCardEmulationModeChangeListener_exist.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check if interface HCEEventReceiveCallback exists, it should not." component="TizenAPI/Communication/NFC" execution_type="auto" priority="P3" id="HCEEventReceiveCallback_notexist">
+ <testcase purpose="Check if NFCAdapter::addCardEmulationModeChangeListener throws exception with invalid callback" onload_delay="30" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P2" id="NFCAdapter_addCardEmulationModeChangeListener_invalid_cb">
<description>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/HCEEventReceiveCallback_notexist.html</test_script_entry>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_addCardEmulationModeChangeListener_invalid_cb.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check if HCEEventReceiveCallback ondetected is called and if its arguments have proper type" onload_delay="90" component="TizenAPI/Communication/NFC" execution_type="manual" priority="P1" id="HCEEventReceiveCallback_ondetected">
+ <testcase purpose="Check if method NFCAdapter::addCardEmulationModeChangeListener throws excepton when argument is missing" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P2" id="NFCAdapter_addCardEmulationModeChangeListener_misarg">
<description>
- <pre_condition>Turn on NFC adapter. Prepare the other device with HCE turned on.</pre_condition>
- <steps>
- <step order="1">
- <step_desc>Click "Run". Move other device with HCE close so it will be detected.</step_desc>
- <expected>Pass</expected>
- </step>
- </steps>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/HCEEventReceiveCallback_ondetected.html</test_script_entry>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_addCardEmulationModeChangeListener_misarg.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check if method NFCAdapter::addHCEEventListener() successfully" onload_delay="90" component="TizenAPI/Communication/NFC" execution_type="manual" priority="P1" id="NFCAdapter_addHCEEventListener">
+ <testcase purpose="Check NFCAdapter::addTransactionEventListener() method returns a value expected." component="TizenAPI/Communication/NFC" execution_type="auto" priority="P1" id="NFCAdapter_addTransactionEventListener">
<description>
- <pre_condition>Turn on NFC adapter. Prepare the other device with HCE turned on.</pre_condition>
- <steps>
- <step order="1">
- <step_desc>Click "Run". Move other device with HCE close so it will be detected.</step_desc>
- <expected>pass - HCE detected</expected>
- </step>
- </steps>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_addHCEEventListener.html</test_script_entry>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_addTransactionEventListener.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check if NFCAdapter::addHCEEventListener throws exception when given wrong type of eventCallback" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P2" id="NFCAdapter_addHCEEventListener_eventCallback_TypeMismatch">
+ <testcase purpose="Check if NFCAdapter::addTransactionEventListener throws TypeMismatch exception with incorrect eventCallback argument" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P2" id="NFCAdapter_addTransactionEventListener_eventCallback_TypeMismatch">
<description>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_addHCEEventListener_eventCallback_TypeMismatch.html</test_script_entry>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_addTransactionEventListener_eventCallback_TypeMismatch.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check if NFCAdapter::addHCEEventListener() method throws exception when eventcallback is invalid" onload_delay="90" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P2" id="NFCAdapter_addHCEEventListener_eventCallback_invalid_cb">
+ <testcase purpose="Check if NFCAdapter::addTransactionEventListener throws exception with invalid callback" onload_delay="30" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P2" id="NFCAdapter_addTransactionEventListener_eventCallback_invalid_cb">
<description>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_addHCEEventListener_eventCallback_invalid_cb.html</test_script_entry>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_addTransactionEventListener_eventCallback_invalid_cb.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check if NFCAdapter::addHCEEventListener() method exists" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P0" id="NFCAdapter_addHCEEventListener_exist">
+ <testcase purpose="Check if method NFCAdapter::addTransactionEventListener exists" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P0" id="NFCAdapter_addTransactionEventListener_exist">
<description>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_addHCEEventListener_exist.html</test_script_entry>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_addTransactionEventListener_exist.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check NFCAdapter::addHCEEventListener() without any argument" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P2" id="NFCAdapter_addHCEEventListener_noarg">
+ <testcase purpose="Check if NFCAdapter::addTransactionEventListener throws exception when mandatory argument is missing" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P2" id="NFCAdapter_addTransactionEventListener_misarg">
<description>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_addHCEEventListener_noarg.html</test_script_entry>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_addTransactionEventListener_misarg.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check if method NFCAdapter::getAIDsForCategory()" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P1" id="NFCAdapter_getAIDsForCategory">
+ <testcase purpose="Check if NFCAdapter::addTransactionEventListener throws TypeMismatch exception with incorrect type argument" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P2" id="NFCAdapter_addTransactionEventListener_type_TypeMismatch">
<description>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_getAIDsForCategory.html</test_script_entry>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_addTransactionEventListener_type_TypeMismatch.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check if method NFCAdapter::getAIDsForCategory() works with ESE param " component="TizenAPI/Communication/NFC" execution_type="auto" priority="P1" id="NFCAdapter_getAIDsForCategory_ESE">
+ <testcase purpose="Check if method NFCAdapter::removeActiveSecureElementChangeListener works properly Check if method NFCAdapter::removeActiveSecureElementChangeListener() works properly." onload_delay="30" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P1" id="NFCAdapter_removeActiveSecureElementChangeListener_mobile">
<description>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_getAIDsForCategory_ESE.html</test_script_entry>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_removeActiveSecureElementChangeListener_mobile.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check if method NFCAdapter::getAIDsForCategory() successfully by ESE param without errorCallback" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P1" id="NFCAdapter_getAIDsForCategory_ESE_without_errorCallback">
+ <testcase purpose="Check if method NFCAdapter::removeActiveSecureElementChangeListener() method does not exist" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P0" id="NFCAdapter_removeActiveSecureElementChangeListener_exist">
<description>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_getAIDsForCategory_ESE_without_errorCallback.html</test_script_entry>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_removeActiveSecureElementChangeListener_exist.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check if method NFCAdapter::getAIDsForCategory() with the type of OTHER successfully" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P1" id="NFCAdapter_getAIDsForCategory_OTHER">
+ <testcase purpose="Check if method NFCAdapter::removeCardEmulationModeChangeListener works properly" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P1" id="NFCAdapter_removeCardEmulationModeChangeListener">
<description>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_getAIDsForCategory_OTHER.html</test_script_entry>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_removeCardEmulationModeChangeListener.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check if method NFCAdapter::getAIDsForCategory() with the type of OTHER without errorCallback" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P1" id="NFCAdapter_getAIDsForCategory_OTHER_without_errorCallback">
+ <testcase purpose="Check if method NFCAdapter::removeCardEmulationModeChangeListener() exists" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P0" id="NFCAdapter_removeCardEmulationModeChangeListener_exist">
<description>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_getAIDsForCategory_OTHER_without_errorCallback.html</test_script_entry>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_removeCardEmulationModeChangeListener_exist.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check if method NFCAdapter::getAIDsForCategory() works with UICC param " component="TizenAPI/Communication/NFC" execution_type="auto" priority="P1" id="NFCAdapter_getAIDsForCategory_UICC">
+ <testcase purpose="Check if method NFCAdapter::removeTransactionEventListener works properly" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P1" id="NFCAdapter_removeTransactionEventListener">
<description>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_getAIDsForCategory_UICC.html</test_script_entry>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_removeTransactionEventListener.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check if method NFCAdapter::getAIDsForCategory() with the type of UICC without errorCallback" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P1" id="NFCAdapter_getAIDsForCategory_UICC_without_errorCallback">
+ <testcase purpose="Check if method NFCAdapter::removeTransactionEventListener exists" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P0" id="NFCAdapter_removeTransactionEventListener_exist">
<description>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_getAIDsForCategory_UICC_without_errorCallback.html</test_script_entry>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_removeTransactionEventListener_exist.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check if NFCAdapter::getAIDsForCategory throws exception when given wrong type of category" onload_delay="90" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P2" id="NFCAdapter_getAIDsForCategory_category_TypeMismatch">
+ <testcase purpose="Check NFCAdapter::setExclusiveModeForTransaction() method works properly" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P1" id="NFCAdapter_setExclusiveModeForTransaction">
<description>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_getAIDsForCategory_category_TypeMismatch.html</test_script_entry>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_setExclusiveModeForTransaction.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check if NFCAdapter::getAIDsForCategory throws exception when given wrong type of errorCallback" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P2" id="NFCAdapter_getAIDsForCategory_errorCallback_TypeMismatch">
+ <testcase purpose="Check if method NFCAdapter::setExclusiveModeForTransaction() exists" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P0" id="NFCAdapter_setExclusiveModeForTransaction_exist">
<description>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_getAIDsForCategory_errorCallback_TypeMismatch.html</test_script_entry>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_setExclusiveModeForTransaction_exist.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check if NFCAdapter::getAIDsForCategory() method throws exception when errorcallback is invalid" onload_delay="90" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P2" id="NFCAdapter_getAIDsForCategory_errorCallback_invalid_cb">
+ <testcase purpose="Check if interface TransactionEventCallback exists, it should not" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P3" id="TransactionEventCallback_notexist">
<description>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_getAIDsForCategory_errorCallback_invalid_cb.html</test_script_entry>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/TransactionEventCallback_notexist.html</test_script_entry>
</description>
- </testcase>
- <testcase purpose="Check if error callback of getAIDsForCategory() method invoked" component="TizenAPI/Communication/NFC" execution_type="manual" priority="P2" id="NFCAdapter_getAIDsForCategory_errorCallback_invoked">
+ </testcase>
+ <!--<testcase purpose="Check TransactionEventCallback::ondetected() is called with argument of proper type" onload_delay="90" component="TizenAPI/Communication/NFC" execution_type="manual" priority="P1" id="TransactionEventCallback_ondetected">
<description>
- <pre_condition>Turn off NFC adapter in setting</pre_condition>
+ <pre_condition>Turn on NFC adapter. Prepare an external reader to initiate transaction.</pre_condition>
<steps>
<step order="1">
- <step_desc>Click "Run". Don't forget Turn on NFC adapter in setting when test done</step_desc>
- <expected>pass - ServiceNotAvailable exception throw</expected>
+ <step_desc>Click "Run". Use an external reader to access "ESE" type secure element.</step_desc>
+ <expected>Pass</expected>
</step>
</steps>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_getAIDsForCategory_errorCallback_invoked.html</test_script_entry>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/TransactionEventCallback_ondetected.html</test_script_entry>
</description>
- </testcase>
- <testcase purpose="Check if NFCAdapter::getAIDsForCategory() method exists" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P0" id="NFCAdapter_getAIDsForCategory_exist">
+ </testcase>-->
+ </set>
+ <set name="EMU_wearable">
+ <capabilities>
+ <capability name="http://tizen.org/feature/profile"><value>WEARABLE</value></capability>
+ <capability name="http://tizen.org/feature/network.nfc.card_emulation"/>
+ </capabilities>
+ <testcase purpose="Check NFCAdapter::activeSecureElement attribute" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P1" id="NFCAdapter_activeSecureElement_attribute">
<description>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_getAIDsForCategory_exist.html</test_script_entry>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_activeSecureElement_attribute.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check adapter.getAIDsForCategory() with missing argument" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P2" id="NFCAdapter_getAIDsForCategory_misarg">
+ <testcase purpose="Check NFCAdapter:cardEmulationMode attribute exists, has type CardEmulationMode and can be modified" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P1" id="NFCAdapter_cardEmulationMode_attribute">
<description>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_getAIDsForCategory_misarg.html</test_script_entry>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_cardEmulationMode_attribute.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check adapter.getAIDsForCategory() without any argument" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P2" id="NFCAdapter_getAIDsForCategory_noarg">
+ <testcase purpose="Check if interface ActiveSecureElementChangeCallback exists, it should not exist." component="TizenAPI/Communication/NFC" execution_type="auto" priority="P3" id="ActiveSecureElementChangeCallback_notexist">
<description>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_getAIDsForCategory_noarg.html</test_script_entry>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/ActiveSecureElementChangeCallback_notexist.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check if NFCAdapter::getAIDsForCategory throws exception when given wrong type of Secure" onload_delay="90" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P2" id="NFCAdapter_getAIDsForCategory_sectype_TypeMismatch">
+ <testcase purpose="Test whether ActiveSecureElementChangeCallback::onchanged is called with argument of proper type" onload_delay="30" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P1" id="ActiveSecureElementChangeCallback_onchanged_wearable">
<description>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_getAIDsForCategory_sectype_TypeMismatch.html</test_script_entry>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/ActiveSecureElementChangeCallback_onchanged_wearable.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check if NFCAdapter::getAIDsForCategory throws exception when given wrong type of successCallback" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P2" id="NFCAdapter_getAIDsForCategory_successCallback_TypeMismatch">
+ <testcase purpose="Check if interface CardEmulationModeChangeCallback exists, it should not exists" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P3" id="CardEmulationModeChangeCallback_notexist">
<description>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_getAIDsForCategory_successCallback_TypeMismatch.html</test_script_entry>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/CardEmulationModeChangeCallback_notexist.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check if NFCAdapter::getAIDsForCategory() method works with invalid success callback" onload_delay="90" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P2" id="NFCAdapter_getAIDsForCategory_successCallback_invalid_cb">
+ <testcase purpose="Test whether CardEmulationModeChangeCallback::onchanged is called with argument of proper type" onload_delay="30" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P1" id="CardEmulationModeChangeCallback_onchanged">
<description>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_getAIDsForCategory_successCallback_invalid_cb.html</test_script_entry>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/CardEmulationModeChangeCallback_onchanged.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check if method NFCAdapter::getAIDsForCategory() successfully without errorCallback" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P1" id="NFCAdapter_getAIDsForCategory_without_errorCallback">
+ <testcase purpose="Check NFCAdapter::addActiveSecureElementChangeListener returns a value expected" onload_delay="30" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P1" id="NFCAdapter_addActiveSecureElementChangeListener_wearable">
<description>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_getAIDsForCategory_without_errorCallback.html</test_script_entry>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_addActiveSecureElementChangeListener_wearable.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check method NFCAdapter::isActivatedHandlerForAID() if current application is activated hander for AID" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P1" id="NFCAdapter_isActivatedHandlerForAID">
+ <testcase purpose="Check if NFCAdapter::addActiveSecureElementChangeListener() with incorrect changeCallback argument throws an exception" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P2" id="NFCAdapter_addActiveSecureElementChangeListener_TypeMismatch">
<description>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_isActivatedHandlerForAID.html</test_script_entry>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_addActiveSecureElementChangeListener_TypeMismatch.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check method NFCAdapter::isActivatedHandlerForAID() with ESE param if current application is activated hander for AID" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P1" id="NFCAdapter_isActivatedHandlerForAID_ESE">
+ <testcase purpose="Check if method NFCAdapter::addActiveSecureElementChangeListener exists" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P0" id="NFCAdapter_addActiveSecureElementChangeListener_exist">
<description>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_isActivatedHandlerForAID_ESE.html</test_script_entry>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_addActiveSecureElementChangeListener_exist.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check method NFCAdapter::isActivatedHandlerForAID() if current application is activated hander for the AID type of OTHER" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P1" id="NFCAdapter_isActivatedHandlerForAID_OTHER">
+ <testcase purpose="Check NFCAdapter::addActiveSecureElementChangeListener throws exception with invalid callback" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P2" id="NFCAdapter_addActiveSecureElementChangeListener_invalid_cb">
<description>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_isActivatedHandlerForAID_OTHER.html</test_script_entry>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_addActiveSecureElementChangeListener_invalid_cb.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check method NFCAdapter::isActivatedHandlerForAID() with UICC param if current application is activated hander for AID" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P1" id="NFCAdapter_isActivatedHandlerForAID_UICC">
+ <testcase purpose="Check if NFCAdapter::addActiveSecureElementChangeListener throws exception with no param" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P2" id="NFCAdapter_addActiveSecureElementChangeListener_misarg">
<description>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_isActivatedHandlerForAID_UICC.html</test_script_entry>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_addActiveSecureElementChangeListener_misarg.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check if NFCAdapter::isActivatedHandlerForAID() method exists" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P0" id="NFCAdapter_isActivatedHandlerForAID_exist">
+ <testcase purpose="Check if method NFCAdapter::addCardEmulationModeChangeListener works properly" onload_delay="30" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P1" id="NFCAdapter_addCardEmulationModeChangeListener">
<description>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_isActivatedHandlerForAID_exist.html</test_script_entry>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_addCardEmulationModeChangeListener.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check isActivatedHandlerForAID() without any argument" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P2" id="NFCAdapter_isActivatedHandlerForAID_noarg">
+ <testcase purpose="Check if method NFCAdapter::addCardEmulationModeChangeListener throws TypeMismatch exception whith invalidate params" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P2" id="NFCAdapter_addCardEmulationModeChangeListener_TypeMismatch">
<description>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_isActivatedHandlerForAID_noarg.html</test_script_entry>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_addCardEmulationModeChangeListener_TypeMismatch.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check if method NFCAdapter::isActivatedHandlerForCategory() successfully for detecting AID category" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P1" id="NFCAdapter_isActivatedHandlerForCategory">
+ <testcase purpose="Check if method NFCAdapter::addCardEmulationModeChangeListener exists" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P0" id="NFCAdapter_addCardEmulationModeChangeListener_exist">
<description>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_isActivatedHandlerForCategory.html</test_script_entry>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_addCardEmulationModeChangeListener_exist.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check if method NFCAdapter::isActivatedHandlerForCategory() with ESE param successfully for detecting AID category" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P1" id="NFCAdapter_isActivatedHandlerForCategory_ESE">
+ <testcase purpose="Check if NFCAdapter::addCardEmulationModeChangeListener throws exception with invalid callback" onload_delay="30" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P2" id="NFCAdapter_addCardEmulationModeChangeListener_invalid_cb">
<description>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_isActivatedHandlerForCategory_ESE.html</test_script_entry>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_addCardEmulationModeChangeListener_invalid_cb.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check if method NFCAdapter::isActivatedHandlerForCategory() successfully the type of OTHER for detecting AID category" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P1" id="NFCAdapter_isActivatedHandlerForCategory_OTHER">
+ <testcase purpose="Check if method NFCAdapter::addCardEmulationModeChangeListener throws excepton when argument is missing" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P2" id="NFCAdapter_addCardEmulationModeChangeListener_misarg">
<description>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_isActivatedHandlerForCategory_OTHER.html</test_script_entry>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_addCardEmulationModeChangeListener_misarg.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check if method NFCAdapter::isActivatedHandlerForCategory() with UICC param successfully for detecting AID category" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P1" id="NFCAdapter_isActivatedHandlerForCategory_UICC">
+ <testcase purpose="Check NFCAdapter::addTransactionEventListener() method returns a value expected." component="TizenAPI/Communication/NFC" execution_type="auto" priority="P1" id="NFCAdapter_addTransactionEventListener">
<description>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_isActivatedHandlerForCategory_UICC.html</test_script_entry>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_addTransactionEventListener.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check if NFCAdapter::isActivatedHandlerForCategory throws exception when given wrong category type" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P2" id="NFCAdapter_isActivatedHandlerForCategory_category_TypeMismatch">
+ <testcase purpose="Check if NFCAdapter::addTransactionEventListener throws TypeMismatch exception with incorrect eventCallback argument" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P2" id="NFCAdapter_addTransactionEventListener_eventCallback_TypeMismatch">
<description>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_isActivatedHandlerForCategory_category_TypeMismatch.html</test_script_entry>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_addTransactionEventListener_eventCallback_TypeMismatch.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check if NFCAdapter::isActivatedHandlerForCategory() method exists" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P0" id="NFCAdapter_isActivatedHandlerForCategory_exist">
+ <testcase purpose="Check if NFCAdapter::addTransactionEventListener throws exception with invalid callback" onload_delay="30" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P2" id="NFCAdapter_addTransactionEventListener_eventCallback_invalid_cb">
<description>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_isActivatedHandlerForCategory_exist.html</test_script_entry>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_addTransactionEventListener_eventCallback_invalid_cb.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check isActivatedHandlerForCategory() with missing argument" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P2" id="NFCAdapter_isActivatedHandlerForCategory_misarg">
+ <testcase purpose="Check if method NFCAdapter::addTransactionEventListener exists" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P0" id="NFCAdapter_addTransactionEventListener_exist">
<description>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_isActivatedHandlerForCategory_misarg.html</test_script_entry>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_addTransactionEventListener_exist.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check isActivatedHandlerForCategory() without any argument" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P2" id="NFCAdapter_isActivatedHandlerForCategory_noarg">
+ <testcase purpose="Check if NFCAdapter::addTransactionEventListener throws exception when mandatory argument is missing" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P2" id="NFCAdapter_addTransactionEventListener_misarg">
<description>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_isActivatedHandlerForCategory_noarg.html</test_script_entry>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_addTransactionEventListener_misarg.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check if NFCAdapter::isActivatedHandlerForCategory throws exception when given wrong secure type" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P2" id="NFCAdapter_isActivatedHandlerForCategory_sectype_TypeMismatch">
+ <testcase purpose="Check if NFCAdapter::addTransactionEventListener throws TypeMismatch exception with incorrect type argument" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P2" id="NFCAdapter_addTransactionEventListener_type_TypeMismatch">
<description>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_isActivatedHandlerForCategory_sectype_TypeMismatch.html</test_script_entry>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_addTransactionEventListener_type_TypeMismatch.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check if method NFCAdapter::registerAID() works" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P1" id="NFCAdapter_registerAID">
+ <testcase purpose="Check if method NFCAdapter::removeActiveSecureElementChangeListener works properly Check if method NFCAdapter::removeActiveSecureElementChangeListener() works properly." onload_delay="30" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P1" id="NFCAdapter_removeActiveSecureElementChangeListener_wearable">
<description>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_registerAID.html</test_script_entry>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_removeActiveSecureElementChangeListener_wearable.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check if method NFCAdapter::registerAID() works with ESE param" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P1" id="NFCAdapter_registerAID_ESE">
+ <testcase purpose="Check if method NFCAdapter::removeActiveSecureElementChangeListener() method does not exist" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P0" id="NFCAdapter_removeActiveSecureElementChangeListener_exist">
<description>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_registerAID_ESE.html</test_script_entry>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_removeActiveSecureElementChangeListener_exist.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check if method NFCAdapter::registerAID() with the type of OTHER" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P1" id="NFCAdapter_registerAID_OTHER">
+ <testcase purpose="Check if method NFCAdapter::removeCardEmulationModeChangeListener works properly" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P1" id="NFCAdapter_removeCardEmulationModeChangeListener">
<description>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_registerAID_OTHER.html</test_script_entry>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_removeCardEmulationModeChangeListener.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check if method NFCAdapter::registerAID() works with UICC param" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P1" id="NFCAdapter_registerAID_UICC">
+ <testcase purpose="Check if method NFCAdapter::removeCardEmulationModeChangeListener() exists" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P0" id="NFCAdapter_removeCardEmulationModeChangeListener_exist">
<description>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_registerAID_UICC.html</test_script_entry>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_removeCardEmulationModeChangeListener_exist.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check if NFCAdapter::registerAID throws exception when given wrong category type" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P2" id="NFCAdapter_registerAID_category_TypeMismatch">
+ <testcase purpose="Check if method NFCAdapter::removeTransactionEventListener works properly" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P1" id="NFCAdapter_removeTransactionEventListener">
<description>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_registerAID_category_TypeMismatch.html</test_script_entry>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_removeTransactionEventListener.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check if NFCAdapter::registerAID() method exists" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P0" id="NFCAdapter_registerAID_exist">
+ <testcase purpose="Check if method NFCAdapter::removeTransactionEventListener exists" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P0" id="NFCAdapter_removeTransactionEventListener_exist">
<description>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_registerAID_exist.html</test_script_entry>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_removeTransactionEventListener_exist.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check adapter.registerAID() with missing argument" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P2" id="NFCAdapter_registerAID_misarg">
+ <testcase purpose="Check NFCAdapter::setExclusiveModeForTransaction() method works properly" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P1" id="NFCAdapter_setExclusiveModeForTransaction">
<description>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_registerAID_misarg.html</test_script_entry>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_setExclusiveModeForTransaction.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check adapter.registerAID() without any argument" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P2" id="NFCAdapter_registerAID_noarg">
+ <testcase purpose="Check if method NFCAdapter::setExclusiveModeForTransaction() exists" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P0" id="NFCAdapter_setExclusiveModeForTransaction_exist">
<description>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_registerAID_noarg.html</test_script_entry>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_setExclusiveModeForTransaction_exist.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check if NFCAdapter::registerAID throws exception when given wrong secure type" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P2" id="NFCAdapter_registerAID_sectype_TypeMismatch">
+ <testcase purpose="Check if interface TransactionEventCallback exists, it should not" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P3" id="TransactionEventCallback_notexist">
<description>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_registerAID_sectype_TypeMismatch.html</test_script_entry>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/TransactionEventCallback_notexist.html</test_script_entry>
</description>
- </testcase>
- <testcase purpose="Check if method NFCAdapter::removeHCEEventListener() successfully" onload_delay="90" component="TizenAPI/Communication/NFC" execution_type="manual" priority="P1" id="NFCAdapter_removeHCEEventListener">
+ </testcase>
+ <!--<testcase purpose="Check TransactionEventCallback::ondetected() is called with argument of proper type" onload_delay="90" component="TizenAPI/Communication/NFC" execution_type="manual" priority="P1" id="TransactionEventCallback_ondetected">
<description>
- <pre_condition>Turn on NFC adapter. Prepare the other device with HCE turned on.</pre_condition>
+ <pre_condition>Turn on NFC adapter. Prepare an external reader to initiate transaction.</pre_condition>
<steps>
<step order="1">
- <step_desc>Click "Run". Move other device with HCE close so it will be detected.</step_desc>
- <expected>pass - HCE event detected</expected>
+ <step_desc>Click "Run". Use an external reader to access "ESE" type secure element.</step_desc>
+ <expected>Pass</expected>
</step>
</steps>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_removeHCEEventListener.html</test_script_entry>
- </description>
- </testcase>
- <testcase purpose="Check if NFCAdapter::removeHCEEventListener() method exists" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P0" id="NFCAdapter_removeHCEEventListener_exist">
- <description>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_removeHCEEventListener_exist.html</test_script_entry>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/TransactionEventCallback_ondetected.html</test_script_entry>
</description>
- </testcase>
- <testcase purpose="Check if method NFCAdapter::sendHostAPDUResponse() successfully" onload_delay="90" component="TizenAPI/Communication/NFC" execution_type="manual" priority="P1" id="NFCAdapter_sendHostAPDUResponse">
+ </testcase>-->
+ </set>
+ <set name="P2P_mobile">
+ <capabilities>
+ <capability name="http://tizen.org/feature/profile"><value>MOBILE_FULL</value></capability>
+ <capability name="http://tizen.org/feature/network.nfc.p2p"/>
+ </capabilities>
+ <testcase purpose="Check if method NFCAdapter::setPeerListener() successfully registers listener for detecting NFC peer" component="TizenAPI/Communication/NFC" execution_type="manual" priority="P1" id="NFCAdapter_setPeerListener">
<description>
- <pre_condition>Turn on NFC adapter. Prepare the other device with HCE turned on.</pre_condition>
+ <pre_condition>Turn on NFC adapter. Prepare the other device with NFC turned on.</pre_condition>
<steps>
<step order="1">
- <step_desc>Click "Run". Move other device with HCE close so it will be detected.</step_desc>
- <expected>pass - HCE detected</expected>
+ <step_desc>Click "Run". Move other NFC device close so it will be detected.</step_desc>
+ <expected>pass - peer detected</expected>
</step>
</steps>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_sendHostAPDUResponse.html</test_script_entry>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_setPeerListener.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check if NFCAdapter::sendHostAPDUResponse throws exception when given wrong apdu type" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P2" id="NFCAdapter_sendHostAPDUResponse_apdu_TypeMismatch">
+ <testcase purpose="Check if NFCAdapter::setPeerListener throws exception when given wrong detectCallback" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P2" id="NFCAdapter_setPeerListener_detectCallback_TypeMismatch">
<description>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_sendHostAPDUResponse_apdu_TypeMismatch.html</test_script_entry>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_setPeerListener_detectCallback_TypeMismatch.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check if NFCAdapter::sendHostAPDUResponse throws exception when given wrong type of errorCallback" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P2" id="NFCAdapter_sendHostAPDUResponse_errorCallback_TypeMismatch">
+ <testcase purpose="Check verification of detectCallback by NFCAdapter::setPeerListener()" onload_delay="90" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P2" id="NFCAdapter_setPeerListener_detectCallback_invalid_cb">
<description>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_sendHostAPDUResponse_errorCallback_TypeMismatch.html</test_script_entry>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_setPeerListener_detectCallback_invalid_cb.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check if NFCAdapter::sendHostAPDUResponse() method works with invalid errorcallback" onload_delay="90" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P2" id="NFCAdapter_sendHostAPDUResponse_errorCallback_invalid_cb">
+ <testcase purpose="Check if method NFCAdapter::setPeerListener() exists" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P1" id="NFCAdapter_setPeerListener_exist">
<description>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_sendHostAPDUResponse_errorCallback_invalid_cb.html</test_script_entry>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_setPeerListener_exist.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check if error callback of NFCAdapter::sendHostAPDUResponse() method invoked " onload_delay="90" component="TizenAPI/Communication/NFC" execution_type="manual" priority="P2" id="NFCAdapter_sendHostAPDUResponse_errorCallback_invoked">
+ <testcase purpose="Check if adapter.setPeerListener() throws an exception when called without argument" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P1" id="NFCAdapter_setPeerListener_missarg">
<description>
- <pre_condition>Turn off NFC adapter in setting</pre_condition>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_setPeerListener_missarg.html</test_script_entry>
+ </description>
+ </testcase>
+ <testcase purpose="Check if method NFCAdapter::unsetPeerListener() disables listener for detecting an NFC peer-to-peer target" component="TizenAPI/Communication/NFC" execution_type="manual" priority="P1" id="NFCAdapter_unsetPeerListener">
+ <description>
+ <pre_condition>Turn on NFC adapter. Prepare the other device with NFC turned on.</pre_condition>
<steps>
<step order="1">
- <step_desc>Click "Run" after the NFC has been turn off in setting</step_desc>
- <expected>pass - ServiceNotAvailable exception throw</expected>
+ <step_desc>Click "Run". Move other NFC device close so it will be detected and then click "Peer was attached" button.</step_desc>
+ <expected>Pass</expected>
</step>
</steps>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_sendHostAPDUResponse_errorCallback_invoked.html</test_script_entry>
- </description>
- </testcase>
- <testcase purpose="Check if NFCAdapter::sendHostAPDUResponse() method exists" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P0" id="NFCAdapter_sendHostAPDUResponse_exist">
- <description>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_sendHostAPDUResponse_exist.html</test_script_entry>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_unsetPeerListener.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check adapter.sendHostAPDUResponse() without any argument" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P2" id="NFCAdapter_sendHostAPDUResponse_noarg">
+ <testcase purpose="Check if method NFCAdapter::unsetPeerListener() exists" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P1" id="NFCAdapter_unsetPeerListener_exist">
<description>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_sendHostAPDUResponse_noarg.html</test_script_entry>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_unsetPeerListener_exist.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check if NFCAdapter::sendHostAPDUResponse throws exception when given wrong type of successCallback" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P2" id="NFCAdapter_sendHostAPDUResponse_successCallback_TypeMismatch">
+ <testcase purpose="Check if method unsetPeerListener of NFCAdapter accepts extra argument" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P1" id="NFCAdapter_unsetPeerListener_extra_argument">
<description>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_sendHostAPDUResponse_successCallback_TypeMismatch.html</test_script_entry>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_unsetPeerListener_extra_argument.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check if NFCAdapter::sendHostAPDUResponse() method works with invalid successCallback" onload_delay="90" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P2" id="NFCAdapter_sendHostAPDUResponse_successCallback_invalid_cb">
+ <testcase purpose="Check NFCPeer attributes, method existence and TypeMismatchError throwing" component="TizenAPI/Communication/NFC" execution_type="manual" priority="P3" id="NFCPeer">
<description>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_sendHostAPDUResponse_successCallback_invalid_cb.html</test_script_entry>
+ <pre_condition>Turn on NFC adapter. Prepare the other device with NFC turned on.</pre_condition>
+ <steps>
+ <step order="1">
+ <step_desc>Click "Run". Move other NFC device close so it will be detected.</step_desc>
+ <expected>Pass</expected>
+ </step>
+ </steps>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCPeer.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check if method NFCAdapter::sendHostAPDUResponse() successfully without successCallback" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P1" id="NFCAdapter_sendHostAPDUResponse_without_successCallback">
+ <testcase purpose="Check if interface NFCPeerDetectCallback exists, it should not." component="TizenAPI/Communication/NFC" execution_type="auto" priority="P3" id="NFCPeerDetectCallback_notexist">
<description>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_sendHostAPDUResponse_without_successCallback.html</test_script_entry>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCPeerDetectCallback_notexist.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check if method NFCAdapter::unregisterAID()" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P1" id="NFCAdapter_unregisterAID">
+ <testcase purpose="Check if NFCPeerDetectCallback::onattach() callback is called with proper argument when NFC peer is detected" component="TizenAPI/Communication/NFC" execution_type="manual" priority="P1" id="NFCPeerDetectCallback_onattach">
<description>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_unregisterAID.html</test_script_entry>
+ <pre_condition>Turn on NFC adapter. Prepare the other device with NFC turned on.</pre_condition>
+ <steps>
+ <step order="1">
+ <step_desc>Click "Run". Move other NFC device close so it will be detected.</step_desc>
+ <expected>pass - setPeerListener onSuccess called</expected>
+ </step>
+ </steps>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCPeerDetectCallback_onattach.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check if method NFCAdapter::unregisterAID() with ESE param" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P1" id="NFCAdapter_unregisterAID_ESE">
+ <testcase purpose="Check if NFCPeerDetectCallback::ondetach() is called when NFC peer is taken away" component="TizenAPI/Communication/NFC" execution_type="manual" priority="P1" id="NFCPeerDetectCallback_ondetach">
<description>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_unregisterAID_ESE.html</test_script_entry>
+ <pre_condition>Turn on NFC adapter. Prepare the other device with NFC turned on.</pre_condition>
+ <steps>
+ <step order="1">
+ <step_desc>Click "Run". Put the other NFC device close to your device until it will be detected and then take it away.</step_desc>
+ <expected>pass - peerListener ondetach callback should be invoked</expected>
+ </step>
+ </steps>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCPeerDetectCallback_ondetach.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check if method NFCAdapter::unregisterAID() with the type of OTHER" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P1" id="NFCAdapter_unregisterAID_OTHER">
+ <testcase purpose="Check if interface NFCPeer exists, it should not." component="TizenAPI/Communication/NFC" execution_type="auto" priority="P3" id="NFCPeer_notexist">
<description>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_unregisterAID_OTHER.html</test_script_entry>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCPeer_notexist.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check if method NFCAdapter::unregisterAID() with UICC param" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P1" id="NFCAdapter_unregisterAID_UICC">
+ <testcase purpose="Check if method NFCPeer::sendNDEF() reports error by calling errorCallback when peer is disconnected" component="TizenAPI/Communication/NFC" execution_type="manual" priority="P2" id="NFCPeer_sendNDEF_errorCallback">
<description>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_unregisterAID_UICC.html</test_script_entry>
+ <pre_condition>Turn on NFC adapter. Prepare the other device with NFC turned on. Other device should be able to take NDEF message from NFC.</pre_condition>
+ <steps>
+ <step order="1">
+ <step_desc>Click "Run". Put the other NFC device close to your device until it will be detected and then take it away before the expiration of 3 seconds.</step_desc>
+ <expected>pass</expected>
+ </step>
+ </steps>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCPeer_sendNDEF_errorCallback.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check if NFCAdapter::unregisterAID throws exception when given wrong category type" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P2" id="NFCAdapter_unregisterAID_category_TypeMismatch">
+ <testcase purpose="Check if method NFCPeer::sendNDEF() sends data to other NFC device" component="TizenAPI/Communication/NFC" execution_type="manual" priority="P1" id="NFCPeer_sendNDEF_sendData">
<description>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_unregisterAID_category_TypeMismatch.html</test_script_entry>
+ <pre_condition>Turn off the NFC adapter. Prepare the other device with NFC turned on. Other device should be able to take NDEF message from NFC.</pre_condition>
+ <steps>
+ <step order="1">
+ <step_desc>Click "Run". Move other NFC device close so it will be detected.</step_desc>
+ <expected>pass - data sent successfully</expected>
+ </step>
+ </steps>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCPeer_sendNDEF_sendData.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check if NFCAdapter::unregisterAID() method exists" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P0" id="NFCAdapter_unregisterAID_exist">
+ <testcase purpose="Check if method NFCPeer::sendNDEF(ndefMessage, onSuccess, onError) can be called successfully" component="TizenAPI/Communication/NFC" execution_type="manual" priority="P1" id="NFCPeer_sendNDEF_with_errorCallback">
<description>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_unregisterAID_exist.html</test_script_entry>
+ <pre_condition>Turn on NFC adapter. Prepare the other device with NFC turned on. Other device should be able to take NDEF message from NFC.</pre_condition>
+ <steps>
+ <step order="1">
+ <step_desc>Click "Run". Move other NFC device close so it will be detected. If other device receives message then PASS.</step_desc>
+ <expected>pass</expected>
+ </step>
+ </steps>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCPeer_sendNDEF_with_errorCallback.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check adapter.unregisterAID() with missing argument" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P2" id="NFCAdapter_unregisterAID_misarg">
+ <testcase purpose="Check if NFCPeer::sendNDEF(ndefMessage, onSuccess) can be called successfully" component="TizenAPI/Communication/NFC" execution_type="manual" priority="P1" id="NFCPeer_sendNDEF_with_successCallback">
<description>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_unregisterAID_misarg.html</test_script_entry>
+ <pre_condition>Turn on NFC adapter. Prepare the other device with NFC turned on. Other device should be able to take NDEF message from NFC.</pre_condition>
+ <steps>
+ <step order="1">
+ <step_desc>Click "Run". Move other NFC device close so it will be detected. If other device receives message then PASS.</step_desc>
+ <expected>pass</expected>
+ </step>
+ </steps>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCPeer_sendNDEF_with_successCallback.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check adapter.unregisterAID() without any argument" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P2" id="NFCAdapter_unregisterAID_noarg">
+ <testcase purpose="Check if NFCPeer::setReceiveNDEFListener() method works properly" component="TizenAPI/Communication/NFC" execution_type="manual" priority="P1" id="NFCPeer_setReceiveNDEFListener">
<description>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_unregisterAID_noarg.html</test_script_entry>
+ <pre_condition>Turn on NFC adapter. Prepare the other device with NFC turned on. Other device should be able to send NDEF message by NFC.</pre_condition>
+ <steps>
+ <step order="1">
+ <step_desc>Click "Run". Move other NFC device close so it will be detected, then send a NFC message from it. Then click the "Message was sent" button below.</step_desc>
+ <expected>pass</expected>
+ </step>
+ </steps>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCPeer_setReceiveNDEFListener.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check if NFCAdapter::unregisterAID throws exception when given wrong secure type" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P2" id="NFCAdapter_unregisterAID_sectype_TypeMismatch">
+ <testcase purpose="Check if NFCPeer::unsetReceiveNDEFListener() method works properly" component="TizenAPI/Communication/NFC" execution_type="manual" priority="P1" id="NFCPeer_unsetReceiveNDEFListener">
<description>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_unregisterAID_sectype_TypeMismatch.html</test_script_entry>
+ <pre_condition>Turn on NFC adapter. Prepare the other device with NFC turned on. Other device should be able to send NDEF message by NFC.</pre_condition>
+ <steps>
+ <step order="1">
+ <step_desc>Click "Run". Move other NFC device close so it will be detected, then send a NFC message from it. Then click the "Message was sent" button below.</step_desc>
+ <expected>pass</expected>
+ </step>
+ </steps>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCPeer_unsetReceiveNDEFListener.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check NFCAdapter.setPowered() argument errorCallback conversions exception" component="TizenAPI/Communication/NFC" execution_type="auto" id="NFCAdapter_setPowered_errorCallback_TypeMismatch">
+ <testcase purpose="Check if method unsetReceiveNDEFListener of NFCPeer accepts extra argument" component="TizenAPI/Communication/NFC" execution_type="manual" priority="P2" id="NFCPeer_unsetReceiveNDEFListener_extra_argument">
<description>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_setPowered_errorCallback_TypeMismatch.html</test_script_entry>
+ <pre_condition>Turn on NFC adapter. Prepare the other device with NFC turned on.</pre_condition>
+ <steps>
+ <step order="1">
+ <step_desc>Click "Run". Move other NFC device close so it will be detected.</step_desc>
+ <expected>Pass</expected>
+ </step>
+ </steps>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCPeer_unsetReceiveNDEFListener_extra_argument.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check NFCAdapter::setPowered() argument errorCallback validation - object with onerror property" onload_delay="90" component="TizenAPI/Communication/NFC" execution_type="auto" id="NFCAdapter_setPowered_errorCallback_invalid_cb">
+ </set>
+ <set name="P2P_wearable">
+ <capabilities>
+ <capability name="http://tizen.org/feature/profile"><value>WEARABLE</value></capability>
+ <capability name="http://tizen.org/feature/network.nfc.p2p"/>
+ </capabilities>
+ <testcase purpose="Check if method NFCAdapter::setPeerListener() successfully registers listener for detecting NFC peer" component="TizenAPI/Communication/NFC" execution_type="manual" priority="P1" id="NFCAdapter_setPeerListener">
<description>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_setPowered_errorCallback_invalid_cb.html</test_script_entry>
+ <pre_condition>Turn on NFC adapter. Prepare the other device with NFC turned on.</pre_condition>
+ <steps>
+ <step order="1">
+ <step_desc>Click "Run". Move other NFC device close so it will be detected.</step_desc>
+ <expected>pass - peer detected</expected>
+ </step>
+ </steps>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_setPeerListener.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check NFCAdapter.setPowered() argument successCallback conversions exception" component="TizenAPI/Communication/NFC" execution_type="auto" id="NFCAdapter_setPowered_successCallback_TypeMismatch">
+ <testcase purpose="Check if NFCAdapter::setPeerListener throws exception when given wrong detectCallback" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P2" id="NFCAdapter_setPeerListener_detectCallback_TypeMismatch">
<description>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_setPowered_successCallback_TypeMismatch.html</test_script_entry>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_setPeerListener_detectCallback_TypeMismatch.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check NFCAdapter::setPowered() argument successCallback validation - object with onerror property" onload_delay="90" component="TizenAPI/Communication/NFC" execution_type="auto" id="NFCAdapter_setPowered_successCallback_invalid_cb">
+ <testcase purpose="Check verification of detectCallback by NFCAdapter::setPeerListener()" onload_delay="90" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P2" id="NFCAdapter_setPeerListener_detectCallback_invalid_cb">
<description>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_setPowered_successCallback_invalid_cb.html</test_script_entry>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_setPeerListener_detectCallback_invalid_cb.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check NFCAdapter::setPowered() optional argument errorCallback - call without it" onload_delay="90" component="TizenAPI/Communication/NFC" execution_type="auto" id="NFCAdapter_setPowered_without_errorCallback">
+ <testcase purpose="Check if method NFCAdapter::setPeerListener() exists" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P1" id="NFCAdapter_setPeerListener_exist">
<description>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_setPowered_without_errorCallback.html</test_script_entry>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_setPeerListener_exist.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check NFCAdapter::setPowered() optional argument without successCallback - call without it" onload_delay="90" component="TizenAPI/Communication/NFC" execution_type="auto" id="NFCAdapter_setPowered_without_successCallback">
+ <testcase purpose="Check if adapter.setPeerListener() throws an exception when called without argument" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P1" id="NFCAdapter_setPeerListener_missarg">
<description>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_setPowered_without_successCallback.html</test_script_entry>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_setPeerListener_missarg.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check if method NFCAdapter::setPowered() exists" component="TizenAPI/Communication/NFC" execution_type="auto" id="NFCAdapter_setPowered_exist">
+ <testcase purpose="Check if method NFCAdapter::unsetPeerListener() disables listener for detecting an NFC peer-to-peer target" component="TizenAPI/Communication/NFC" execution_type="manual" priority="P1" id="NFCAdapter_unsetPeerListener">
<description>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_setPowered_exist.html</test_script_entry>
- </description>
- </testcase>
- <testcase purpose="Check if method NFCAdapter::setPowered(false) sets a value of attribute NFCAdapter::powered to false" component="TizenAPI/Communication/NFC" execution_type="manual" id="NFCAdapter_setPowered_off">
- <description>
- <pre_condition>Turn ON NFC adapter.</pre_condition>
+ <pre_condition>Turn on NFC adapter. Prepare the other device with NFC turned on.</pre_condition>
<steps>
<step order="1">
- <step_desc>Click "Run"</step_desc>
- <expected>NFC adapter should be disabled (OFF) - pass</expected>
+ <step_desc>Click "Run". Move other NFC device close so it will be detected and then click "Peer was attached" button.</step_desc>
+ <expected>Pass</expected>
</step>
</steps>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_setPowered_off.html</test_script_entry>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_unsetPeerListener.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check if method NFCAdapter::setPowered(false) sets a value of attribute NFCAdapter::powered to false" component="TizenAPI/Communication/NFC" execution_type="manual" id="NFCAdapter_setPowered_on">
+ <testcase purpose="Check if method NFCAdapter::unsetPeerListener() exists" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P1" id="NFCAdapter_unsetPeerListener_exist">
<description>
- <pre_condition>Turn ON NFC adapter.</pre_condition>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_unsetPeerListener_exist.html</test_script_entry>
+ </description>
+ </testcase>
+ <testcase purpose="Check if method unsetPeerListener of NFCAdapter accepts extra argument" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P1" id="NFCAdapter_unsetPeerListener_extra_argument">
+ <description>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_unsetPeerListener_extra_argument.html</test_script_entry>
+ </description>
+ </testcase>
+ <testcase purpose="Check NFCPeer attributes, method existence and TypeMismatchError throwing" component="TizenAPI/Communication/NFC" execution_type="manual" priority="P3" id="NFCPeer">
+ <description>
+ <pre_condition>Turn on NFC adapter. Prepare the other device with NFC turned on.</pre_condition>
<steps>
<step order="1">
- <step_desc>Click "Run"</step_desc>
- <expected>NFC adapter should be enabled (ON) - pass</expected>
+ <step_desc>Click "Run". Move other NFC device close so it will be detected.</step_desc>
+ <expected>Pass</expected>
</step>
</steps>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_setPowered_on.html</test_script_entry>
- </description>
- </testcase>
- <testcase purpose="Check NFCAdapter::setPowered() argument successCallback validation - object with onerror property" onload_delay="90" component="TizenAPI/Communication/NFC" execution_type="auto" id="NFCAdapter_setPowered_misarg">
- <description>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_setPowered_misarg.html</test_script_entry>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCPeer.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check if ByteArraySuccessCallback::onsuccess() callback is called successfully" onload_delay="90" component="TizenAPI/Communication/NFC" execution_type="auto" id="ByteArraySuccessCallback_onsuccess">
+ <testcase purpose="Check if interface NFCPeerDetectCallback exists, it should not." component="TizenAPI/Communication/NFC" execution_type="auto" priority="P3" id="NFCPeerDetectCallback_notexist">
<description>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/ByteArraySuccessCallback_onsuccess.html</test_script_entry>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCPeerDetectCallback_notexist.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check if NFCAdapter::removeCardEmulationModeChangeListener() throws exception when listenerId is missing" onload_delay="90" component="TizenAPI/Communication/NFC" execution_type="auto" id="NFCAdapter_removeCardEmulationModeChangeListener_misarg">
+ <testcase purpose="Check if NFCPeerDetectCallback::onattach() callback is called with proper argument when NFC peer is detected" component="TizenAPI/Communication/NFC" execution_type="manual" priority="P1" id="NFCPeerDetectCallback_onattach">
<description>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_removeCardEmulationModeChangeListener_misarg.html</test_script_entry>
+ <pre_condition>Turn on NFC adapter. Prepare the other device with NFC turned on.</pre_condition>
+ <steps>
+ <step order="1">
+ <step_desc>Click "Run". Move other NFC device close so it will be detected.</step_desc>
+ <expected>pass - setPeerListener onSuccess called</expected>
+ </step>
+ </steps>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCPeerDetectCallback_onattach.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check if NFCAdapter::removeTransactionEventListener() throws exception when listenerId is missing" onload_delay="90" component="TizenAPI/Communication/NFC" execution_type="auto" id="NFCAdapter_removeTransactionEventListener_misarg">
+ <testcase purpose="Check if NFCPeerDetectCallback::ondetach() is called when NFC peer is taken away" component="TizenAPI/Communication/NFC" execution_type="manual" priority="P1" id="NFCPeerDetectCallback_ondetach">
<description>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_removeTransactionEventListener_misarg.html</test_script_entry>
+ <pre_condition>Turn on NFC adapter. Prepare the other device with NFC turned on.</pre_condition>
+ <steps>
+ <step order="1">
+ <step_desc>Click "Run". Put the other NFC device close to your device until it will be detected and then take it away.</step_desc>
+ <expected>pass - peerListener ondetach callback should be invoked</expected>
+ </step>
+ </steps>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCPeerDetectCallback_ondetach.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="This NFCManagerObject exists in tizen" onload_delay="90" component="TizenAPI/Communication/NFC" execution_type="auto" id="NFCManagerObject_nfc_attribute">
+ <testcase purpose="Check if interface NFCPeer exists, it should not." component="TizenAPI/Communication/NFC" execution_type="auto" priority="P3" id="NFCPeer_notexist">
<description>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCManagerObject_nfc_attribute.html</test_script_entry>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCPeer_notexist.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check if method NFCPeer:sendNDEF() exists" onload_delay="90" component="TizenAPI/Communication/NFC" execution_type="auto" id="NFCPeer_sendNDEF_exist">
+ <testcase purpose="Check if method NFCPeer::sendNDEF() reports error by calling errorCallback when peer is disconnected" component="TizenAPI/Communication/NFC" execution_type="manual" priority="P2" id="NFCPeer_sendNDEF_errorCallback">
<description>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCPeer_sendNDEF_exist.html</test_script_entry>
+ <pre_condition>Turn on NFC adapter. Prepare the other device with NFC turned on. Other device should be able to take NDEF message from NFC.</pre_condition>
+ <steps>
+ <step order="1">
+ <step_desc>Click "Run". Put the other NFC device close to your device until it will be detected and then take it away before the expiration of 3 seconds.</step_desc>
+ <expected>pass</expected>
+ </step>
+ </steps>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCPeer_sendNDEF_errorCallback.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check if NFCPeer::sendNDEF() throws exception when ndefMessage is missing" onload_delay="90" component="TizenAPI/Communication/NFC" execution_type="auto" id="NFCPeer_sendNDEF_misarg">
+ <testcase purpose="Check if method NFCPeer::sendNDEF() sends data to other NFC device" component="TizenAPI/Communication/NFC" execution_type="manual" priority="P1" id="NFCPeer_sendNDEF_sendData">
<description>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCPeer_sendNDEF_misarg.html</test_script_entry>
+ <pre_condition>Turn off the NFC adapter. Prepare the other device with NFC turned on. Other device should be able to take NDEF message from NFC.</pre_condition>
+ <steps>
+ <step order="1">
+ <step_desc>Click "Run". Move other NFC device close so it will be detected.</step_desc>
+ <expected>pass - data sent successfully</expected>
+ </step>
+ </steps>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCPeer_sendNDEF_sendData.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check if method NFCPeer:setReceiveNDEFListener() exists" onload_delay="90" component="TizenAPI/Communication/NFC" execution_type="auto" id="NFCPeer_setReceiveNDEFListener_exist">
+ <testcase purpose="Check if method NFCPeer::sendNDEF(ndefMessage, onSuccess, onError) can be called successfully" component="TizenAPI/Communication/NFC" execution_type="manual" priority="P1" id="NFCPeer_sendNDEF_with_errorCallback">
<description>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCPeer_setReceiveNDEFListener_exist.html</test_script_entry>
+ <pre_condition>Turn on NFC adapter. Prepare the other device with NFC turned on. Other device should be able to take NDEF message from NFC.</pre_condition>
+ <steps>
+ <step order="1">
+ <step_desc>Click "Run". Move other NFC device close so it will be detected. If other device receives message then PASS.</step_desc>
+ <expected>pass</expected>
+ </step>
+ </steps>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCPeer_sendNDEF_with_errorCallback.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check if NFCPeer::setReceiveNDEFListener() throws exception when setReceiveNDEFListenersCB is missing" onload_delay="90" component="TizenAPI/Communication/NFC" execution_type="auto" id="NFCPeer_setReceiveNDEFListener_misarg">
+ <testcase purpose="Check if NFCPeer::sendNDEF(ndefMessage, onSuccess) can be called successfully" component="TizenAPI/Communication/NFC" execution_type="manual" priority="P1" id="NFCPeer_sendNDEF_with_successCallback">
<description>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCPeer_setReceiveNDEFListener_misarg.html</test_script_entry>
+ <pre_condition>Turn on NFC adapter. Prepare the other device with NFC turned on. Other device should be able to take NDEF message from NFC.</pre_condition>
+ <steps>
+ <step order="1">
+ <step_desc>Click "Run". Move other NFC device close so it will be detected. If other device receives message then PASS.</step_desc>
+ <expected>pass</expected>
+ </step>
+ </steps>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCPeer_sendNDEF_with_successCallback.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check if method NFCPeer:unsetReceiveNDEFListener() exists" onload_delay="90" component="TizenAPI/Communication/NFC" execution_type="auto" id="NFCPeer_unsetReceiveNDEFListener_exist">
+ <testcase purpose="Check if NFCPeer::setReceiveNDEFListener() method works properly" component="TizenAPI/Communication/NFC" execution_type="manual" priority="P1" id="NFCPeer_setReceiveNDEFListener">
<description>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCPeer_unsetReceiveNDEFListener_exist.html</test_script_entry>
+ <pre_condition>Turn on NFC adapter. Prepare the other device with NFC turned on. Other device should be able to send NDEF message by NFC.</pre_condition>
+ <steps>
+ <step order="1">
+ <step_desc>Click "Run". Move other NFC device close so it will be detected, then send a NFC message from it. Then click the "Message was sent" button below.</step_desc>
+ <expected>pass</expected>
+ </step>
+ </steps>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCPeer_setReceiveNDEFListener.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check if method NFCTag:readNDEF() exists" onload_delay="90" component="TizenAPI/Communication/NFC" execution_type="auto" id="NFCTag_readNDEF_exist">
+ <testcase purpose="Check if NFCPeer::unsetReceiveNDEFListener() method works properly" component="TizenAPI/Communication/NFC" execution_type="manual" priority="P1" id="NFCPeer_unsetReceiveNDEFListener">
<description>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCTag_readNDEF_exist.html</test_script_entry>
+ <pre_condition>Turn on NFC adapter. Prepare the other device with NFC turned on. Other device should be able to send NDEF message by NFC.</pre_condition>
+ <steps>
+ <step order="1">
+ <step_desc>Click "Run". Move other NFC device close so it will be detected, then send a NFC message from it. Then click the "Message was sent" button below.</step_desc>
+ <expected>pass</expected>
+ </step>
+ </steps>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCPeer_unsetReceiveNDEFListener.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check if NFCTag::readNDEF() throws exception when readCallback is missing" onload_delay="90" component="TizenAPI/Communication/NFC" execution_type="auto" id="NFCTag_readNDEF_misarg">
+ <testcase purpose="Check if method unsetReceiveNDEFListener of NFCPeer accepts extra argument" component="TizenAPI/Communication/NFC" execution_type="manual" priority="P2" id="NFCPeer_unsetReceiveNDEFListener_extra_argument">
<description>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCTag_readNDEF_misarg.html</test_script_entry>
+ <pre_condition>Turn on NFC adapter. Prepare the other device with NFC turned on.</pre_condition>
+ <steps>
+ <step order="1">
+ <step_desc>Click "Run". Move other NFC device close so it will be detected.</step_desc>
+ <expected>Pass</expected>
+ </step>
+ </steps>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCPeer_unsetReceiveNDEFListener_extra_argument.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check if method NFCTag:transceive() exists" onload_delay="90" component="TizenAPI/Communication/NFC" execution_type="auto" id="NFCTag_transceive_exist">
+ </set>
+ <set name="TAG_mobile">
+ <capabilities>
+ <capability name="http://tizen.org/feature/profile"><value>MOBILE_FULL</value></capability>
+ <capability name="http://tizen.org/feature/network.nfc.tag"/>
+ </capabilities>
+ <testcase purpose="Check if interface ByteArraySuccessCallback exists, it should not." component="TizenAPI/Communication/NFC" execution_type="auto" priority="P3" id="ByteArraySuccessCallback_notexist">
<description>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCTag_transceive_exist.html</test_script_entry>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/ByteArraySuccessCallback_notexist.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check if NFCTag::transceive() throws exception when ndefMessage is missing" onload_delay="90" component="TizenAPI/Communication/NFC" execution_type="auto" id="NFCTag_transceive_misarg">
+ <testcase purpose="Check if interface NDEFMessageReadCallback exists, it should not." component="TizenAPI/Communication/NFC" execution_type="auto" priority="P3" id="NDEFMessageReadCallback_notexist">
<description>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCTag_transceive_misarg.html</test_script_entry>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NDEFMessageReadCallback_notexist.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check if method NFCTag:writeNDEF() exists" onload_delay="90" component="TizenAPI/Communication/NFC" execution_type="auto" id="NFCTag_writeNDEF_exist">
+<!--
+ <testcase purpose="Check if NDEFMessageReadCallback::onsuccess() callback is called successfully." component="TizenAPI/Communication/NFC" execution_type="auto" priority="P1" id="NDEFMessageReadCallback_onsuccess">
<description>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCTag_writeNDEF_exist.html</test_script_entry>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NDEFMessageReadCallback_onsuccess.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check if NFCTag::writeNDEF() throws exception when ndefMessage is missing" onload_delay="90" component="TizenAPI/Communication/NFC" execution_type="auto" id="NFCTag_writeNDEF_misarg">
+-->
+ <testcase purpose="Check if method NFCAdapter::setTagListener() successfully registers listener for detecting NFC tag" component="TizenAPI/Communication/NFC" execution_type="manual" priority="P1" id="NFCAdapter_setTagListener">
<description>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCTag_writeNDEF_misarg.html</test_script_entry>
+ <pre_condition>Turn on NFC adapter. Prepare NFC tag.</pre_condition>
+ <steps>
+ <step order="1">
+ <step_desc>Click "Run". Move NFC tag close so it will be detected.</step_desc>
+ <expected>pass - tag detected</expected>
+ </step>
+ </steps>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_setTagListener.html</test_script_entry>
</description>
</testcase>
- </set>
- <set name="NFC_WEARABLE" type="js">
- <capabilities>
- <capability name="http://tizen.org/feature/network.nfc"/>
- <capability name="http://tizen.org/feature/profile"><value>WEARABLE</value></capability>
- </capabilities>
- <testcase purpose="Check if NDEFMessage constructor works without arguments" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P1" id="NDEFMessage_constructor">
+ <testcase purpose="Check if NFCAdapter::setTagListener throws exception when given wrong detectCallback" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P2" id="NFCAdapter_setTagListener_detectCallback_TypeMismatch">
<description>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NDEFMessage_constructor.html</test_script_entry>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_setTagListener_detectCallback_TypeMismatch.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check if NDEFMessage constructor works with rawData" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P1" id="NDEFMessage_constructor_rawData">
+ <testcase purpose="Check verification of detectCallback by NFCAdapter::setTagListener()" onload_delay="90" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P2" id="NFCAdapter_setTagListener_detectCallback_invalid_cb">
<description>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NDEFMessage_constructor_rawData.html</test_script_entry>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_setTagListener_detectCallback_invalid_cb.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check NDEFMessage constructor with NDEF records array" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P1" id="NDEFMessage_constructor_records">
+ <testcase purpose="Check if NFCAdapter::setTagListener() method exists" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P1" id="NFCAdapter_setTagListener_exist">
<description>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NDEFMessage_constructor_records.html</test_script_entry>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_setTagListener_exist.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check if NDEFMessage exists" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P1" id="NDEFMessage_exist">
+ <testcase purpose="Check if adapter.setTagListener() throws an exception" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P1" id="NFCAdapter_setTagListener_missarg">
<description>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NDEFMessage_exist.html</test_script_entry>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_setTagListener_missarg.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check if instance of interface NDEFMessage can be extended with new property" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P3" id="NDEFMessage_extend">
+ <testcase purpose="Check if TypeMismatchError is thrown when NFCAdapter::setTagListener() is given wrong tagFilter" onload_delay="90" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P2" id="NFCAdapter_setTagListener_tagFilter_TypeMismatch">
<description>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NDEFMessage_extend.html</test_script_entry>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_setTagListener_tagFilter_TypeMismatch.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check if attribute NDEFMessage::recordCount exists, has type Number and is readonly" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P1" id="NDEFMessage_recordCount_attribute">
+ <testcase purpose="Check if onattach() callback is called successfully when NFC tag is detected after NFCAdapter::setTagListener() with null tagFilter" component="TizenAPI/Communication/NFC" execution_type="manual" priority="P2" id="NFCAdapter_setTagListener_tagFilter_is_null">
<description>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NDEFMessage_recordCount_attribute.html</test_script_entry>
+ <pre_condition>Turn on NFC adapter. Prepare NFC tag</pre_condition>
+ <steps>
+ <step order="1">
+ <step_desc>Click "Run". Move NFC tag close to the device so it will be detected.</step_desc>
+ <expected>should be passed</expected>
+ </step>
+ </steps>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_setTagListener_tagFilter_is_null.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check if attribute records of NDEFMessage exists, has type Array, can be overwritten" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P1" id="NDEFMessage_records_attribute">
+ <testcase purpose="Check if onattach() callback is called successfully when NFC tag is detected after NFCAdapter::setTagListener() with valid tagFilter" component="TizenAPI/Communication/NFC" execution_type="manual" priority="P2" id="NFCAdapter_setTagListener_with_tagFilter">
<description>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NDEFMessage_records_attribute.html</test_script_entry>
+ <pre_condition>Turn on NFC adapter. Prepare NFC tag.</pre_condition>
+ <steps>
+ <step order="1">
+ <step_desc>Click "Run". Move NFC tag close to the device so it will be detected.</step_desc>
+ <expected>should be passed</expected>
+ </step>
+ </steps>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_setTagListener_with_tagFilter.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check whether NDEFMessage:toByte() returns correct byte array of the NDEF message" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P1" id="NDEFMessage_toByte">
+ <testcase purpose="Check if method NFCAdapter::unsetTagListener() disables listener for detecting an NFC tag" component="TizenAPI/Communication/NFC" execution_type="manual" priority="P1" id="NFCAdapter_unsetTagListener">
<description>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NDEFMessage_toByte.html</test_script_entry>
+ <pre_condition>Turn on NFC adapter. Prepare NFC tag.</pre_condition>
+ <steps>
+ <step order="1">
+ <step_desc>Click "Run". Move NFC tag close so it will be detected and then click "Tag was attached" button.</step_desc>
+ <expected>pass</expected>
+ </step>
+ </steps>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_unsetTagListener.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check whether NDEFMessage:toByte() throws exception when NDEFMessage.records contains invalid object" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P2" id="NDEFMessage_toByte_TypeMismatch">
+ <testcase purpose="Check if method NFCAdapter::unsetTagListener() method exists" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P1" id="NFCAdapter_unsetTagListener_exist">
<description>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NDEFMessage_toByte_TypeMismatch.html</test_script_entry>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_unsetTagListener_exist.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check whether NDEFMessage::toByte() returns empty array for empty NDEF message" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P1" id="NDEFMessage_toByte_empty">
+ <testcase purpose="Check if method unsetTagListener of NFCAdapter accepts extra argument" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P1" id="NFCAdapter_unsetTagListener_extra_argument">
<description>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NDEFMessage_toByte_empty.html</test_script_entry>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_unsetTagListener_extra_argument.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check if method NDEFMessage::toByte() exists" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P1" id="NDEFMessage_toByte_exists">
+ <testcase purpose="Check NFCTag attributes, method existence and TypeMismatchError throwing" component="TizenAPI/Communication/NFC" execution_type="manual" priority="P3" id="NFCTag">
<description>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NDEFMessage_toByte_exists.html</test_script_entry>
+ <pre_condition>Turn on NFC adapter. Prepare NFC tag.</pre_condition>
+ <steps>
+ <step order="1">
+ <step_desc>Click "Run". Move NFC tag close so it will be detected.</step_desc>
+ <expected>Pass</expected>
+ </step>
+ </steps>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCTag.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check if method toByte of NDEFMessage accepts extra argument" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P1" id="NDEFMessage_toByte_extra_argument">
+ <testcase purpose="Check if interface NFCTagDetectCallback exists, it should not." component="TizenAPI/Communication/NFC" execution_type="auto" priority="P3" id="NFCTagDetectCallback_notexist">
<description>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NDEFMessage_toByte_extra_argument.html</test_script_entry>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCTagDetectCallback_notexist.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check if NDEFRecordMedia constructor works" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P1" id="NDEFRecordMedia_constructor">
+ <testcase purpose="Check if NFCTagDetectCallback::onattach() callback is called with proper argument when NFC tag is detected" component="TizenAPI/Communication/NFC" execution_type="manual" priority="P1" id="NFCTagDetectCallback_onattach">
<description>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NDEFRecordMedia_constructor.html</test_script_entry>
+ <pre_condition>Turn on NFC adapter. Prepare NFC tag</pre_condition>
+ <steps>
+ <step order="1">
+ <step_desc>Click "Run". Move NFC tag close so it will be detected.</step_desc>
+ <expected>pass - after setTagListener onattach callback was called</expected>
+ </step>
+ </steps>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCTagDetectCallback_onattach.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check if NDEFRecordMedia exists" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P1" id="NDEFRecordMedia_exist">
+ <testcase purpose="Check if NFCTagDetectCallback::ondetach() callback is called when NFC tag is disconnected" component="TizenAPI/Communication/NFC" execution_type="manual" priority="P1" id="NFCTagDetectCallback_ondetach">
<description>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NDEFRecordMedia_exist.html</test_script_entry>
+ <pre_condition>Turn on NFC adapter. Prepare NFC tag.</pre_condition>
+ <steps>
+ <step order="1">
+ <step_desc>Click "Run". Move NFC tag close until it will be detected and then take it away.</step_desc>
+ <expected>pass - after setTagListener ondetach callback is called</expected>
+ </step>
+ </steps>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCTagDetectCallback_ondetach.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check if instance of interface NDEFRecordMedia can be extended with new property" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P3" id="NDEFRecordMedia_extend">
+ <testcase purpose="Check if interface NFCTag exists, it should not." component="TizenAPI/Communication/NFC" execution_type="auto" priority="P3" id="NFCTag_notexist">
<description>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NDEFRecordMedia_extend.html</test_script_entry>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCTag_notexist.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check if attribute id of NDEFRecordMedia exists, has type Array and is readonly" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P1" id="NDEFRecordMedia_id_attribute">
+ <testcase purpose="Check if method NFCTag::readNDEF() reports error by calling errorCallback when NFC tag was disconnected" component="TizenAPI/Communication/NFC" execution_type="manual" priority="P2" id="NFCTag_readNDEF_errorCallback">
<description>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NDEFRecordMedia_id_attribute.html</test_script_entry>
+ <pre_condition>Turn on NFC adapter. Prepare NFC tag.</pre_condition>
+ <steps>
+ <step order="1">
+ <step_desc>Click "Run". Move NFC tag close until it will be detected and then take it away before the expiration of 3 seconds.</step_desc>
+ <expected>pass - readNDEF reported failure by error callback</expected>
+ </step>
+ </steps>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCTag_readNDEF_errorCallback.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check if attribute mimeType of NDEFRecordMedia exists, has type DOMString and is readonly" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P1" id="NDEFRecordMedia_mimeType_attribute">
+ <testcase purpose="Check if method NFCTag::readNDEF() successfully reads data from NFC tag" onload_delay="90" component="TizenAPI/Communication/NFC" execution_type="manual" priority="P1" id="NFCTag_readNDEF_without_errorCallback">
<description>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NDEFRecordMedia_mimeType_attribute.html</test_script_entry>
+ <pre_condition>Turn on NFC adapter. Prepare NFC tag.</pre_condition>
+ <steps>
+ <step order="1">
+ <step_desc>Click "Run". Move NFC tag close so it will be detected.</step_desc>
+ <expected>pass - read the NDEF data successfully</expected>
+ </step>
+ </steps>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCTag_readNDEF_without_errorCallback.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check if attribute payload of NDEFRecordMedia exists, has type Array and is readonly" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P1" id="NDEFRecordMedia_payload_attribute">
+ <testcase purpose="Check if method NFCTag::transceive() reports error by calling errorCallback when NFC tag is disconnected" component="TizenAPI/Communication/NFC" execution_type="manual" priority="P2" id="NFCTag_transceive_with_errorCallback">
<description>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NDEFRecordMedia_payload_attribute.html</test_script_entry>
+ <pre_condition>Turn on NFC adapter. Prepare NFC tag.</pre_condition>
+ <steps>
+ <step order="1">
+ <step_desc>Click "Run". Move NFC tag close until it will be detected and then take it away before the expiration of 3 seconds.</step_desc>
+ <expected>pass - transceive reported failure by error callback</expected>
+ </step>
+ </steps>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCTag_transceive_with_errorCallback.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check if attribute tnf of NDEFRecordMedia exists, has type short and is readonly" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P1" id="NDEFRecordMedia_tnf_attribute">
+ <testcase purpose="Check if method NFCTag::writeNDEF() can be called with only mandatory argument" component="TizenAPI/Communication/NFC" execution_type="manual" priority="P2" id="NFCTag_writeNDEF">
<description>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NDEFRecordMedia_tnf_attribute.html</test_script_entry>
+ <pre_condition>Turn on NFC adapter. Prepare NFC tag.</pre_condition>
+ <steps>
+ <step order="1">
+ <step_desc>Click "Run". Move NFC tag close so it will be detected.</step_desc>
+ <expected>pass - writeNDEF successfully without callback</expected>
+ </step>
+ </steps>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCTag_writeNDEF.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check if attribute type of NDEFRecordMedia exists, has type Array and is readonly" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P1" id="NDEFRecordMedia_type_attribute">
+ <testcase purpose="Check if method NFCTag::writeNDEF() reports error by calling errorCallback when NFC tag is disconnected" component="TizenAPI/Communication/NFC" execution_type="manual" priority="P2" id="NFCTag_writeNDEF_with_errorCallback">
<description>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NDEFRecordMedia_type_attribute.html</test_script_entry>
+ <pre_condition>Turn on NFC adapter. Prepare NFC tag.</pre_condition>
+ <steps>
+ <step order="1">
+ <step_desc>Click "Run". Move NFC tag close until it will be detected and then take it away before the expiration of 3 seconds.</step_desc>
+ <expected>pass - writeNDEF reported failure by error callback</expected>
+ </step>
+ </steps>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCTag_writeNDEF_with_errorCallback.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check if NDEFRecordText constructor works" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P1" id="NDEFRecordText_constructor">
+ <testcase purpose="Check if method NFCTag::writeNDEF() calls successCallback" component="TizenAPI/Communication/NFC" execution_type="manual" priority="P1" id="NFCTag_writeNDEF_with_successCallback">
<description>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NDEFRecordText_constructor.html</test_script_entry>
+ <pre_condition>Turn on NFC adapter. Prepare NFC tag.</pre_condition>
+ <steps>
+ <step order="1">
+ <step_desc>Click "Run". Move NFC tag close so it will be detected.</step_desc>
+ <expected>pass - writing the NDEF Data successfully</expected>
+ </step>
+ </steps>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCTag_writeNDEF_with_successCallback.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check if NDEFRecordText constructor called with UTF16 encoding works" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P1" id="NDEFRecordText_constructor_encoding_UTF16">
+ </set>
+ <set name="TAG_wearable">
+ <capabilities>
+ <capability name="http://tizen.org/feature/profile"><value>WEARABLE</value></capability>
+ <capability name="http://tizen.org/feature/network.nfc.tag"/>
+ </capabilities>
+ <testcase purpose="Check if interface ByteArraySuccessCallback exists, it should not." component="TizenAPI/Communication/NFC" execution_type="auto" priority="P3" id="ByteArraySuccessCallback_notexist">
<description>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NDEFRecordText_constructor_encoding_UTF16.html</test_script_entry>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/ByteArraySuccessCallback_notexist.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check if NDEFRecordText constructor called with UTF8 encoding works" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P1" id="NDEFRecordText_constructor_encoding_UTF8">
+ <testcase purpose="Check if interface NDEFMessageReadCallback exists, it should not." component="TizenAPI/Communication/NFC" execution_type="auto" priority="P3" id="NDEFMessageReadCallback_notexist">
<description>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NDEFRecordText_constructor_encoding_UTF8.html</test_script_entry>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NDEFMessageReadCallback_notexist.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check if attribute encoding of NDEFRecordText exists, has type NDEFRecordTextEncoding and is readonly" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P1" id="NDEFRecordText_encoding_attribute">
+<!--
+ <testcase purpose="Check if NDEFMessageReadCallback::onsuccess() callback is called successfully." component="TizenAPI/Communication/NFC" execution_type="auto" priority="P1" id="NDEFMessageReadCallback_onsuccess">
<description>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NDEFRecordText_encoding_attribute.html</test_script_entry>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NDEFMessageReadCallback_onsuccess.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check if NDEFRecordText exists" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P1" id="NDEFRecordText_exist">
+-->
+ <testcase purpose="Check if method NFCAdapter::setTagListener() successfully registers listener for detecting NFC tag" component="TizenAPI/Communication/NFC" execution_type="manual" priority="P1" id="NFCAdapter_setTagListener">
<description>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NDEFRecordText_exist.html</test_script_entry>
+ <pre_condition>Turn on NFC adapter. Prepare NFC tag.</pre_condition>
+ <steps>
+ <step order="1">
+ <step_desc>Click "Run". Move NFC tag close so it will be detected.</step_desc>
+ <expected>pass - tag detected</expected>
+ </step>
+ </steps>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_setTagListener.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check if instance of interface NDEFRecordText can be extended with new property" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P3" id="NDEFRecordText_extend">
+ <testcase purpose="Check if NFCAdapter::setTagListener throws exception when given wrong detectCallback" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P2" id="NFCAdapter_setTagListener_detectCallback_TypeMismatch">
<description>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NDEFRecordText_extend.html</test_script_entry>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_setTagListener_detectCallback_TypeMismatch.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check if attribute id of NDEFRecordText exists, has type Array and is readonly" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P1" id="NDEFRecordText_id_attribute">
+ <testcase purpose="Check verification of detectCallback by NFCAdapter::setTagListener()" onload_delay="90" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P2" id="NFCAdapter_setTagListener_detectCallback_invalid_cb">
<description>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NDEFRecordText_id_attribute.html</test_script_entry>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_setTagListener_detectCallback_invalid_cb.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check if attribute languageCode of NDEFRecordText exists, has type DOMString and is readonly" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P1" id="NDEFRecordText_languageCode_attribute">
+ <testcase purpose="Check if NFCAdapter::setTagListener() method exists" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P1" id="NFCAdapter_setTagListener_exist">
<description>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NDEFRecordText_languageCode_attribute.html</test_script_entry>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_setTagListener_exist.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check if attribute payload of NDEFRecordText exists, has type Array and is readonly" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P1" id="NDEFRecordText_payload_attribute">
+ <testcase purpose="Check if adapter.setTagListener() throws an exception" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P1" id="NFCAdapter_setTagListener_missarg">
<description>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NDEFRecordText_payload_attribute.html</test_script_entry>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_setTagListener_missarg.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check if attribute text of NDEFRecordText exists, has type DOMString and is readonly" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P1" id="NDEFRecordText_text_attribute">
+ <testcase purpose="Check if TypeMismatchError is thrown when NFCAdapter::setTagListener() is given wrong tagFilter" onload_delay="90" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P2" id="NFCAdapter_setTagListener_tagFilter_TypeMismatch">
<description>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NDEFRecordText_text_attribute.html</test_script_entry>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_setTagListener_tagFilter_TypeMismatch.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check if attribute tnf of NDEFRecordText exists, has type short and is readonly" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P1" id="NDEFRecordText_tnf_attribute">
+ <testcase purpose="Check if onattach() callback is called successfully when NFC tag is detected after NFCAdapter::setTagListener() with null tagFilter" component="TizenAPI/Communication/NFC" execution_type="manual" priority="P2" id="NFCAdapter_setTagListener_tagFilter_is_null">
<description>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NDEFRecordText_tnf_attribute.html</test_script_entry>
+ <pre_condition>Turn on NFC adapter. Prepare NFC tag</pre_condition>
+ <steps>
+ <step order="1">
+ <step_desc>Click "Run". Move NFC tag close to the device so it will be detected.</step_desc>
+ <expected>should be passed</expected>
+ </step>
+ </steps>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_setTagListener_tagFilter_is_null.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check if attribute type of NDEFRecordText exists, has type Array and is readonly" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P1" id="NDEFRecordText_type_attribute">
+ <testcase purpose="Check if onattach() callback is called successfully when NFC tag is detected after NFCAdapter::setTagListener() with valid tagFilter" component="TizenAPI/Communication/NFC" execution_type="manual" priority="P2" id="NFCAdapter_setTagListener_with_tagFilter">
<description>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NDEFRecordText_type_attribute.html</test_script_entry>
+ <pre_condition>Turn on NFC adapter. Prepare NFC tag.</pre_condition>
+ <steps>
+ <step order="1">
+ <step_desc>Click "Run". Move NFC tag close to the device so it will be detected.</step_desc>
+ <expected>should be passed</expected>
+ </step>
+ </steps>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_setTagListener_with_tagFilter.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check if NDEFRecordURI constructor works" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P1" id="NDEFRecordURI_constructor">
+ <testcase purpose="Check if method NFCAdapter::unsetTagListener() disables listener for detecting an NFC tag" component="TizenAPI/Communication/NFC" execution_type="manual" priority="P1" id="NFCAdapter_unsetTagListener">
<description>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NDEFRecordURI_constructor.html</test_script_entry>
+ <pre_condition>Turn on NFC adapter. Prepare NFC tag.</pre_condition>
+ <steps>
+ <step order="1">
+ <step_desc>Click "Run". Move NFC tag close so it will be detected and then click "Tag was attached" button.</step_desc>
+ <expected>pass</expected>
+ </step>
+ </steps>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_unsetTagListener.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check if NDEFRecordURI exists" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P1" id="NDEFRecordURI_exist">
+ <testcase purpose="Check if method NFCAdapter::unsetTagListener() method exists" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P1" id="NFCAdapter_unsetTagListener_exist">
<description>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NDEFRecordURI_exist.html</test_script_entry>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_unsetTagListener_exist.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check if instance of interface NDEFRecordURI can be extended with new property" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P3" id="NDEFRecordURI_extend">
+ <testcase purpose="Check if method unsetTagListener of NFCAdapter accepts extra argument" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P1" id="NFCAdapter_unsetTagListener_extra_argument">
<description>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NDEFRecordURI_extend.html</test_script_entry>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_unsetTagListener_extra_argument.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check if attribute id of NDEFRecordURI exists, has type Array and is readonly" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P1" id="NDEFRecordURI_id_attribute">
+ <testcase purpose="Check NFCTag attributes, method existence and TypeMismatchError throwing" component="TizenAPI/Communication/NFC" execution_type="manual" priority="P3" id="NFCTag">
<description>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NDEFRecordURI_id_attribute.html</test_script_entry>
+ <pre_condition>Turn on NFC adapter. Prepare NFC tag.</pre_condition>
+ <steps>
+ <step order="1">
+ <step_desc>Click "Run". Move NFC tag close so it will be detected.</step_desc>
+ <expected>Pass</expected>
+ </step>
+ </steps>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCTag.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check if attribute payload of NDEFRecordURI exists, has type Array and is readonly" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P1" id="NDEFRecordURI_payload_attribute">
+ <testcase purpose="Check if interface NFCTagDetectCallback exists, it should not." component="TizenAPI/Communication/NFC" execution_type="auto" priority="P3" id="NFCTagDetectCallback_notexist">
<description>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NDEFRecordURI_payload_attribute.html</test_script_entry>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCTagDetectCallback_notexist.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check if attribute tnf of NDEFRecordURI exists, has type short and is readonly" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P1" id="NDEFRecordURI_tnf_attribute">
+ <testcase purpose="Check if NFCTagDetectCallback::onattach() callback is called with proper argument when NFC tag is detected" component="TizenAPI/Communication/NFC" execution_type="manual" priority="P1" id="NFCTagDetectCallback_onattach">
<description>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NDEFRecordURI_tnf_attribute.html</test_script_entry>
+ <pre_condition>Turn on NFC adapter. Prepare NFC tag</pre_condition>
+ <steps>
+ <step order="1">
+ <step_desc>Click "Run". Move NFC tag close so it will be detected.</step_desc>
+ <expected>pass - after setTagListener onattach callback was called</expected>
+ </step>
+ </steps>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCTagDetectCallback_onattach.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check if attribute type of NDEFRecordURI exists, has type Array and is readonly" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P1" id="NDEFRecordURI_type_attribute">
+ <testcase purpose="Check if NFCTagDetectCallback::ondetach() callback is called when NFC tag is disconnected" component="TizenAPI/Communication/NFC" execution_type="manual" priority="P1" id="NFCTagDetectCallback_ondetach">
<description>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NDEFRecordURI_type_attribute.html</test_script_entry>
+ <pre_condition>Turn on NFC adapter. Prepare NFC tag.</pre_condition>
+ <steps>
+ <step order="1">
+ <step_desc>Click "Run". Move NFC tag close until it will be detected and then take it away.</step_desc>
+ <expected>pass - after setTagListener ondetach callback is called</expected>
+ </step>
+ </steps>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCTagDetectCallback_ondetach.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check if attribute uri of NDEFRecordURI exists, has type DOMString and is readonly" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P1" id="NDEFRecordURI_uri_attribute">
+ <testcase purpose="Check if interface NFCTag exists, it should not." component="TizenAPI/Communication/NFC" execution_type="auto" priority="P3" id="NFCTag_notexist">
<description>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NDEFRecordURI_uri_attribute.html</test_script_entry>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCTag_notexist.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check if NDEFRecord constructor works" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P1" id="NDEFRecord_constructor">
+ <testcase purpose="Check if method NFCTag::readNDEF() reports error by calling errorCallback when NFC tag was disconnected" component="TizenAPI/Communication/NFC" execution_type="manual" priority="P2" id="NFCTag_readNDEF_errorCallback">
<description>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NDEFRecord_constructor.html</test_script_entry>
+ <pre_condition>Turn on NFC adapter. Prepare NFC tag.</pre_condition>
+ <steps>
+ <step order="1">
+ <step_desc>Click "Run". Move NFC tag close until it will be detected and then take it away before the expiration of 3 seconds.</step_desc>
+ <expected>pass - readNDEF reported failure by error callback</expected>
+ </step>
+ </steps>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCTag_readNDEF_errorCallback.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check if new tizen.NDEFRecord(raw_data) works" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P1" id="NDEFRecord_constructor_raw_data">
+ <testcase purpose="Check if method NFCTag::readNDEF() successfully reads data from NFC tag" onload_delay="90" component="TizenAPI/Communication/NFC" execution_type="manual" priority="P1" id="NFCTag_readNDEF_without_errorCallback">
<description>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NDEFRecord_constructor_raw_data.html</test_script_entry>
+ <pre_condition>Turn on NFC adapter. Prepare NFC tag.</pre_condition>
+ <steps>
+ <step order="1">
+ <step_desc>Click "Run". Move NFC tag close so it will be detected.</step_desc>
+ <expected>pass - read the NDEF data successfully</expected>
+ </step>
+ </steps>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCTag_readNDEF_without_errorCallback.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check NDEFRecord constructor with all parameters" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P2" id="NDEFRecord_constructor_tnf">
+ <testcase purpose="Check if method NFCTag::transceive() reports error by calling errorCallback when NFC tag is disconnected" component="TizenAPI/Communication/NFC" execution_type="manual" priority="P2" id="NFCTag_transceive_with_errorCallback">
<description>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NDEFRecord_constructor_tnf.html</test_script_entry>
+ <pre_condition>Turn on NFC adapter. Prepare NFC tag.</pre_condition>
+ <steps>
+ <step order="1">
+ <step_desc>Click "Run". Move NFC tag close until it will be detected and then take it away before the expiration of 3 seconds.</step_desc>
+ <expected>pass - transceive reported failure by error callback</expected>
+ </step>
+ </steps>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCTag_transceive_with_errorCallback.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check NDEFRecord constructor with only mandatory parameters" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P2" id="NDEFRecord_constructor_tnf_with_id">
+ <testcase purpose="Check if method NFCTag::writeNDEF() can be called with only mandatory argument" component="TizenAPI/Communication/NFC" execution_type="manual" priority="P2" id="NFCTag_writeNDEF">
<description>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NDEFRecord_constructor_tnf_with_id.html</test_script_entry>
+ <pre_condition>Turn on NFC adapter. Prepare NFC tag.</pre_condition>
+ <steps>
+ <step order="1">
+ <step_desc>Click "Run". Move NFC tag close so it will be detected.</step_desc>
+ <expected>pass - writeNDEF successfully without callback</expected>
+ </step>
+ </steps>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCTag_writeNDEF.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check if NDEFRecord exists" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P1" id="NDEFRecord_exist">
+ <testcase purpose="Check if method NFCTag::writeNDEF() reports error by calling errorCallback when NFC tag is disconnected" component="TizenAPI/Communication/NFC" execution_type="manual" priority="P2" id="NFCTag_writeNDEF_with_errorCallback">
<description>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NDEFRecord_exist.html</test_script_entry>
+ <pre_condition>Turn on NFC adapter. Prepare NFC tag.</pre_condition>
+ <steps>
+ <step order="1">
+ <step_desc>Click "Run". Move NFC tag close until it will be detected and then take it away before the expiration of 3 seconds.</step_desc>
+ <expected>pass - writeNDEF reported failure by error callback</expected>
+ </step>
+ </steps>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCTag_writeNDEF_with_errorCallback.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check if instance of interface NDEFRecord can be extended with new property" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P3" id="NDEFRecord_extend">
+ <testcase purpose="Check if method NFCTag::writeNDEF() calls successCallback" component="TizenAPI/Communication/NFC" execution_type="manual" priority="P1" id="NFCTag_writeNDEF_with_successCallback">
<description>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NDEFRecord_extend.html</test_script_entry>
+ <pre_condition>Turn on NFC adapter. Prepare NFC tag.</pre_condition>
+ <steps>
+ <step order="1">
+ <step_desc>Click "Run". Move NFC tag close so it will be detected.</step_desc>
+ <expected>pass - writing the NDEF Data successfully</expected>
+ </step>
+ </steps>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCTag_writeNDEF_with_successCallback.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check if attribute id of NDEFRecord exists, has type Array and is readonly" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P1" id="NDEFRecord_id_attribute">
+ </set>
+ <set name="HCE_mobile">
+ <capabilities>
+ <capability name="http://tizen.org/feature/profile"><value>MOBILE_FULL</value></capability>
+ <capability name="http://tizen.org/feature/network.nfc.card_emulation.hce"/>
+ </capabilities>
+ <testcase purpose="Check if interface AIDArraySuccessCallback exists, it should not." component="TizenAPI/Communication/NFC" execution_type="auto" priority="P3" id="AIDArraySuccessCallback_notexist">
<description>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NDEFRecord_id_attribute.html</test_script_entry>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/AIDArraySuccessCallback_notexist.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check if attribute payload of NDEFRecord exists, has type Array and is readonly" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P1" id="NDEFRecord_payload_attribute">
+ <testcase purpose="Check if AIDArraySuccessCallback onsuccess is called and if its arguments have proper type" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P1" id="AIDArraySuccessCallback_onsuccess">
<description>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NDEFRecord_payload_attribute.html</test_script_entry>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/AIDArraySuccessCallback_onsuccess.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check if attribute tnf of NDEFRecord exists, has type short and is readonly" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P1" id="NDEFRecord_tnf_attribute">
+ <testcase purpose="Check if aid string exist in AIDData has default value and its readonly" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P1" id="AIDData_aid_attribute">
<description>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NDEFRecord_tnf_attribute.html</test_script_entry>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/AIDData_aid_attribute.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check if attribute type of NDEFRecord exists, has type Array and is readonly" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P1" id="NDEFRecord_type_attribute">
+ <testcase purpose="Check if instance of AIDData can be extended with new property" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P3" id="AIDData_extend">
<description>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NDEFRecord_type_attribute.html</test_script_entry>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/AIDData_extend.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check if instance of interface NFCAdapter can be extended with new property" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P3" id="NFCAdapter_extend">
+ <testcase purpose="Check if interface AIDData exists, it should not." component="TizenAPI/Communication/NFC" execution_type="auto" priority="P3" id="AIDData_notexist">
<description>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_extend.html</test_script_entry>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/AIDData_notexist.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check if method getCachedMessage of NFCAdapter works" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P1" id="NFCAdapter_getCachedMessage">
+ <testcase purpose="Check if AIDData has default value and its readonly" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P1" id="AIDData_readOnly_attribute">
<description>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_getCachedMessage.html</test_script_entry>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/AIDData_readOnly_attribute.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check if method NFCAdapter::getCachedMessage() exists" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P1" id="NFCAdapter_getCachedMessage_exist">
+ <testcase purpose="Check if type exist in AIDData has default value and its readonly" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P1" id="AIDData_type_attribute">
<description>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_getCachedMessage_exist.html</test_script_entry>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/AIDData_type_attribute.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check if method getCachedMessage of NFCAdapter accepts extra argument" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P1" id="NFCAdapter_getCachedMessage_extra_argument">
+ <testcase purpose="Check if apdu exist in HCEEventData has default value and its readonly" component="TizenAPI/Communication/NFC" execution_type="manual" priority="P1" id="HCEEventData_apdu_attribute">
<description>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_getCachedMessage_extra_argument.html</test_script_entry>
+ <pre_condition>Turn on NFC adapter.Prepare another device supported nfc emulation card</pre_condition>
+ <steps>
+ <step order="1">
+ <step_desc>Click "Run" . Attach device or send APDU using another device to trigger the onDetect CB.</step_desc>
+ <expected>pass - onDetect listener should be called</expected>
+ </step>
+ </steps>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/HCEEventData_apdu_attribute.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check if interface NFCAdapter exists, it should not." component="TizenAPI/Communication/NFC" execution_type="auto" priority="P3" id="NFCAdapter_notexist">
+ <testcase purpose="Check if eventdata exist in HCEEventData has default value and its readonly" component="TizenAPI/Communication/NFC" execution_type="manual" priority="P1" id="HCEEventData_eventType_attribute">
<description>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_notexist.html</test_script_entry>
+ <pre_condition>Turn on NFC adapter.Prepare another device supported nfc emulation card</pre_condition>
+ <steps>
+ <step order="1">
+ <step_desc>Click "Run" . Attach device or send APDU using another device to trigger the onDetect CB.</step_desc>
+ <expected>pass - onDetect listener should be called</expected>
+ </step>
+ </steps>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/HCEEventData_eventType_attribute.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check if attribute powered of NFCAdapter exists, has type Boolean and is readonly" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P1" id="NFCAdapter_powered_attribute">
+ <testcase purpose="Check if instance of HCEEventData can be extended with new property" component="TizenAPI/Communication/NFC" execution_type="manual" priority="P3" id="HCEEventData_extend">
<description>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_powered_attribute.html</test_script_entry>
+ <pre_condition>Turn on NFC adapter.Prepare another device supported nfc emulation card</pre_condition>
+ <steps>
+ <step order="1">
+ <step_desc>Click "Run" . Attach device or send APDU using another device to trigger the onDetect CB.</step_desc>
+ <expected>pass - onDetect listener should be called</expected>
+ </step>
+ </steps>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/HCEEventData_extend.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check if interface NFCManagerObject exists, it should not." component="TizenAPI/Communication/NFC" execution_type="auto" priority="P3" id="NFCManagerObject_notexist">
+ <testcase purpose="Check if length exist in HCEEventData has default value and its readonly" component="TizenAPI/Communication/NFC" execution_type="manual" priority="P1" id="HCEEventData_length_attribute">
<description>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCManagerObject_notexist.html</test_script_entry>
+ <pre_condition>Turn on NFC adapter.Prepare another device supported nfc emulation card</pre_condition>
+ <steps>
+ <step order="1">
+ <step_desc>Click "Run" . Attach device or send APDU using another device to trigger the onDetect CB.</step_desc>
+ <expected>pass - onDetect listener should be called</expected>
+ </step>
+ </steps>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/HCEEventData_length_attribute.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check if NFCManager has constant NFC_RECORD_TNF_EMPTY and its value is 0" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P2" id="NFCManager_NFC_RECORD_TNF_EMPTY_const">
+ <testcase purpose="Check if interface HCEEventData exists, it should not." component="TizenAPI/Communication/NFC" execution_type="auto" priority="P3" id="HCEEventData_notexist">
<description>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCManager_NFC_RECORD_TNF_EMPTY_const.html</test_script_entry>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/HCEEventData_notexist.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check if NFCManager has constant NFC_RECORD_TNF_EXTERNAL_RTD and its value is 4" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P2" id="NFCManager_NFC_RECORD_TNF_EXTERNAL_RTD_const">
+ <testcase purpose="Check if interface HCEEventReceiveCallback exists, it should not." component="TizenAPI/Communication/NFC" execution_type="auto" priority="P3" id="HCEEventReceiveCallback_notexist">
<description>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCManager_NFC_RECORD_TNF_EXTERNAL_RTD_const.html</test_script_entry>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/HCEEventReceiveCallback_notexist.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check if NFCManager has constant NFC_RECORD_TNF_MIME_MEDIA and its value is 2" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P2" id="NFCManager_NFC_RECORD_TNF_MIME_MEDIA_const">
+ <testcase purpose="Check if HCEEventReceiveCallback ondetected is called and if its arguments have proper type" onload_delay="90" component="TizenAPI/Communication/NFC" execution_type="manual" priority="P1" id="HCEEventReceiveCallback_ondetected">
<description>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCManager_NFC_RECORD_TNF_MIME_MEDIA_const.html</test_script_entry>
+ <pre_condition>Turn on NFC adapter. Prepare the other device with HCE turned on.</pre_condition>
+ <steps>
+ <step order="1">
+ <step_desc>Click "Run". Move other device with HCE close so it will be detected.</step_desc>
+ <expected>Pass</expected>
+ </step>
+ </steps>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/HCEEventReceiveCallback_ondetected.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check if NFCManager has constant NFC_RECORD_TNF_UNCHANGED and its value is 6" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P2" id="NFCManager_NFC_RECORD_TNF_UNCHANGED_const">
+ <testcase purpose="Check if method NFCAdapter::addHCEEventListener() successfully" onload_delay="90" component="TizenAPI/Communication/NFC" execution_type="manual" priority="P1" id="NFCAdapter_addHCEEventListener">
<description>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCManager_NFC_RECORD_TNF_UNCHANGED_const.html</test_script_entry>
+ <pre_condition>Turn on NFC adapter. Prepare the other device with HCE turned on.</pre_condition>
+ <steps>
+ <step order="1">
+ <step_desc>Click "Run". Move other device with HCE close so it will be detected.</step_desc>
+ <expected>pass - HCE detected</expected>
+ </step>
+ </steps>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_addHCEEventListener.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check if NFCManager has constant NFC_RECORD_TNF_UNKNOWN and its value is 5" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P2" id="NFCManager_NFC_RECORD_TNF_UNKNOWN_const">
+ <testcase purpose="Check if NFCAdapter::addHCEEventListener throws exception when given wrong type of eventCallback" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P2" id="NFCAdapter_addHCEEventListener_eventCallback_TypeMismatch">
<description>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCManager_NFC_RECORD_TNF_UNKNOWN_const.html</test_script_entry>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_addHCEEventListener_eventCallback_TypeMismatch.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check if NFCManager has constant NFC_RECORD_TNF_URI and its value is 3" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P2" id="NFCManager_NFC_RECORD_TNF_URI_const">
+ <testcase purpose="Check if NFCAdapter::addHCEEventListener() method throws exception when eventcallback is invalid" onload_delay="90" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P2" id="NFCAdapter_addHCEEventListener_eventCallback_invalid_cb">
<description>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCManager_NFC_RECORD_TNF_URI_const.html</test_script_entry>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_addHCEEventListener_eventCallback_invalid_cb.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check if NFCManager has constant NFC_RECORD_TNF_WELL_KNOWN and its value is 1" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P2" id="NFCManager_NFC_RECORD_TNF_WELL_KNOWN_const">
+ <testcase purpose="Check if NFCAdapter::addHCEEventListener() method exists" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P0" id="NFCAdapter_addHCEEventListener_exist">
<description>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCManager_NFC_RECORD_TNF_WELL_KNOWN_const.html</test_script_entry>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_addHCEEventListener_exist.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Test whether the NFCManager object can have new properties added" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P3" id="NFCManager_extend">
+ <testcase purpose="Check NFCAdapter::addHCEEventListener() without any argument" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P2" id="NFCAdapter_addHCEEventListener_noarg">
<description>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCManager_extend.html</test_script_entry>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_addHCEEventListener_noarg.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check if NFCManager::getDefaultAdapter() method returns object" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P1" id="NFCManager_getDefaultAdapter">
+ <testcase purpose="Check if method NFCAdapter::getAIDsForCategory()" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P1" id="NFCAdapter_getAIDsForCategory">
<description>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCManager_getDefaultAdapter.html</test_script_entry>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_getAIDsForCategory.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check if method NFCAdapter::getDefaultAdapter() exists" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P1" id="NFCManager_getDefaultAdapter_exists">
+ <testcase purpose="Check if method NFCAdapter::getAIDsForCategory() works with ESE param " component="TizenAPI/Communication/NFC" execution_type="auto" priority="P1" id="NFCAdapter_getAIDsForCategory_ESE">
<description>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCManager_getDefaultAdapter_exists.html</test_script_entry>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_getAIDsForCategory_ESE.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check if method getDefaultAdapter of NFCManager accepts extra argument" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P1" id="NFCManager_getDefaultAdapter_extra_argument">
+ <testcase purpose="Check if method NFCAdapter::getAIDsForCategory() successfully by ESE param without errorCallback" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P1" id="NFCAdapter_getAIDsForCategory_ESE_without_errorCallback">
<description>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCManager_getDefaultAdapter_extra_argument.html</test_script_entry>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_getAIDsForCategory_ESE_without_errorCallback.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check if interface NFCManager exists, it should not." component="TizenAPI/Communication/NFC" execution_type="auto" priority="P3" id="NFCManager_notexist">
+ <testcase purpose="Check if method NFCAdapter::getAIDsForCategory() with the type of OTHER successfully" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P1" id="NFCAdapter_getAIDsForCategory_OTHER">
<description>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCManager_notexist.html</test_script_entry>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_getAIDsForCategory_OTHER.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check if NFCManager::setExclusiveMode() method can be executed" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P1" id="NFCManager_setExclusiveMode">
+ <testcase purpose="Check if method NFCAdapter::getAIDsForCategory() with the type of OTHER without errorCallback" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P1" id="NFCAdapter_getAIDsForCategory_OTHER_without_errorCallback">
<description>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCManager_setExclusiveMode.html</test_script_entry>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_getAIDsForCategory_OTHER_without_errorCallback.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check if NFCManager object has method setExclusiveMode()" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P0" id="NFCManager_setExclusiveMode_exist">
+ <testcase purpose="Check if method NFCAdapter::getAIDsForCategory() works with UICC param " component="TizenAPI/Communication/NFC" execution_type="auto" priority="P1" id="NFCAdapter_getAIDsForCategory_UICC">
<description>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCManager_setExclusiveMode_exist.html</test_script_entry>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_getAIDsForCategory_UICC.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check if NFCManager::setExclusiveMode() method does NOT throw exception when called without argument" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P1" id="NFCManager_setExclusiveMode_missarg">
+ <testcase purpose="Check if method NFCAdapter::getAIDsForCategory() with the type of UICC without errorCallback" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P1" id="NFCAdapter_getAIDsForCategory_UICC_without_errorCallback">
<description>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCManager_setExclusiveMode_missarg.html</test_script_entry>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_getAIDsForCategory_UICC_without_errorCallback.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check if Tizen implements interface NFCManagerObject and has attribute nfc" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P3" id="Tizen_nfc_exist">
+ <testcase purpose="Check if NFCAdapter::getAIDsForCategory throws exception when given wrong type of category" onload_delay="90" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P2" id="NFCAdapter_getAIDsForCategory_category_TypeMismatch">
<description>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/Tizen_nfc_exist.html</test_script_entry>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_getAIDsForCategory_category_TypeMismatch.html</test_script_entry>
</description>
</testcase>
- </set>
- <set name="EMU">
- <capabilities>
- <capability name="http://tizen.org/feature/network.nfc.card_emulation"/>
- </capabilities>
-<testcase purpose="Check NFCAdapter::activeSecureElement attribute" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P1" id="NFCAdapter_activeSecureElement_attribute">
+ <testcase purpose="Check if NFCAdapter::getAIDsForCategory throws exception when given wrong type of errorCallback" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P2" id="NFCAdapter_getAIDsForCategory_errorCallback_TypeMismatch">
<description>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_activeSecureElement_attribute.html</test_script_entry>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_getAIDsForCategory_errorCallback_TypeMismatch.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check NFCAdapter:cardEmulationMode attribute exists, has type CardEmulationMode and can be modified" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P1" id="NFCAdapter_cardEmulationMode_attribute">
+ <testcase purpose="Check if NFCAdapter::getAIDsForCategory() method throws exception when errorcallback is invalid" onload_delay="90" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P2" id="NFCAdapter_getAIDsForCategory_errorCallback_invalid_cb">
<description>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_cardEmulationMode_attribute.html</test_script_entry>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_getAIDsForCategory_errorCallback_invalid_cb.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check if interface ActiveSecureElementChangeCallback exists, it should not exist." component="TizenAPI/Communication/NFC" execution_type="auto" priority="P3" id="ActiveSecureElementChangeCallback_notexist">
+ <testcase purpose="Check if error callback of getAIDsForCategory() method invoked" component="TizenAPI/Communication/NFC" execution_type="manual" priority="P2" id="NFCAdapter_getAIDsForCategory_errorCallback_invoked">
<description>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/ActiveSecureElementChangeCallback_notexist.html</test_script_entry>
+ <pre_condition>Turn off NFC adapter in setting</pre_condition>
+ <steps>
+ <step order="1">
+ <step_desc>Click "Run". Don't forget Turn on NFC adapter in setting when test done</step_desc>
+ <expected>pass - ServiceNotAvailable exception throw</expected>
+ </step>
+ </steps>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_getAIDsForCategory_errorCallback_invoked.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Test whether ActiveSecureElementChangeCallback::onchanged is called with argument of proper type" onload_delay="30" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P1" id="ActiveSecureElementChangeCallback_onchanged">
+ <testcase purpose="Check if NFCAdapter::getAIDsForCategory() method exists" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P0" id="NFCAdapter_getAIDsForCategory_exist">
<description>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/ActiveSecureElementChangeCallback_onchanged.html</test_script_entry>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_getAIDsForCategory_exist.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check if interface CardEmulationModeChangeCallback exists, it should not exists" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P3" id="CardEmulationModeChangeCallback_notexist">
+ <testcase purpose="Check adapter.getAIDsForCategory() with missing argument" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P2" id="NFCAdapter_getAIDsForCategory_misarg">
<description>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/CardEmulationModeChangeCallback_notexist.html</test_script_entry>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_getAIDsForCategory_misarg.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Test whether CardEmulationModeChangeCallback::onchanged is called with argument of proper type" onload_delay="30" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P1" id="CardEmulationModeChangeCallback_onchanged">
+ <testcase purpose="Check adapter.getAIDsForCategory() without any argument" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P2" id="NFCAdapter_getAIDsForCategory_noarg">
<description>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/CardEmulationModeChangeCallback_onchanged.html</test_script_entry>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_getAIDsForCategory_noarg.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check NFCAdapter::addActiveSecureElementChangeListener returns a value expected" onload_delay="30" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P1" id="NFCAdapter_addActiveSecureElementChangeListener">
+ <testcase purpose="Check if NFCAdapter::getAIDsForCategory throws exception when given wrong type of Secure" onload_delay="90" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P2" id="NFCAdapter_getAIDsForCategory_sectype_TypeMismatch">
<description>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_addActiveSecureElementChangeListener.html</test_script_entry>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_getAIDsForCategory_sectype_TypeMismatch.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check if NFCAdapter::addActiveSecureElementChangeListener() with incorrect changeCallback argument throws an exception" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P2" id="NFCAdapter_addActiveSecureElementChangeListener_TypeMismatch">
+ <testcase purpose="Check if NFCAdapter::getAIDsForCategory throws exception when given wrong type of successCallback" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P2" id="NFCAdapter_getAIDsForCategory_successCallback_TypeMismatch">
<description>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_addActiveSecureElementChangeListener_TypeMismatch.html</test_script_entry>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_getAIDsForCategory_successCallback_TypeMismatch.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check if method NFCAdapter::addActiveSecureElementChangeListener exists" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P0" id="NFCAdapter_addActiveSecureElementChangeListener_exist">
+ <testcase purpose="Check if NFCAdapter::getAIDsForCategory() method works with invalid success callback" onload_delay="90" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P2" id="NFCAdapter_getAIDsForCategory_successCallback_invalid_cb">
<description>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_addActiveSecureElementChangeListener_exist.html</test_script_entry>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_getAIDsForCategory_successCallback_invalid_cb.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check NFCAdapter::addActiveSecureElementChangeListener throws exception with invalid callback" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P2" id="NFCAdapter_addActiveSecureElementChangeListener_invalid_cb">
+ <testcase purpose="Check if method NFCAdapter::getAIDsForCategory() successfully without errorCallback" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P1" id="NFCAdapter_getAIDsForCategory_without_errorCallback">
<description>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_addActiveSecureElementChangeListener_invalid_cb.html</test_script_entry>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_getAIDsForCategory_without_errorCallback.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check if NFCAdapter::addActiveSecureElementChangeListener throws exception with no param" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P2" id="NFCAdapter_addActiveSecureElementChangeListener_misarg">
+ <testcase purpose="Check method NFCAdapter::isActivatedHandlerForAID() if current application is activated hander for AID" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P1" id="NFCAdapter_isActivatedHandlerForAID">
<description>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_addActiveSecureElementChangeListener_misarg.html</test_script_entry>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_isActivatedHandlerForAID.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check if method NFCAdapter::addCardEmulationModeChangeListener works properly" onload_delay="30" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P1" id="NFCAdapter_addCardEmulationModeChangeListener">
+ <testcase purpose="Check method NFCAdapter::isActivatedHandlerForAID() with ESE param if current application is activated hander for AID" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P1" id="NFCAdapter_isActivatedHandlerForAID_ESE">
<description>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_addCardEmulationModeChangeListener.html</test_script_entry>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_isActivatedHandlerForAID_ESE.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check if method NFCAdapter::addCardEmulationModeChangeListener throws TypeMismatch exception whith invalidate params" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P2" id="NFCAdapter_addCardEmulationModeChangeListener_TypeMismatch">
+ <testcase purpose="Check method NFCAdapter::isActivatedHandlerForAID() if current application is activated hander for the AID type of OTHER" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P1" id="NFCAdapter_isActivatedHandlerForAID_OTHER">
<description>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_addCardEmulationModeChangeListener_TypeMismatch.html</test_script_entry>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_isActivatedHandlerForAID_OTHER.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check if method NFCAdapter::addCardEmulationModeChangeListener exists" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P0" id="NFCAdapter_addCardEmulationModeChangeListener_exist">
+ <testcase purpose="Check method NFCAdapter::isActivatedHandlerForAID() with UICC param if current application is activated hander for AID" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P1" id="NFCAdapter_isActivatedHandlerForAID_UICC">
<description>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_addCardEmulationModeChangeListener_exist.html</test_script_entry>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_isActivatedHandlerForAID_UICC.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check if NFCAdapter::addCardEmulationModeChangeListener throws exception with invalid callback" onload_delay="30" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P2" id="NFCAdapter_addCardEmulationModeChangeListener_invalid_cb">
+ <testcase purpose="Check if NFCAdapter::isActivatedHandlerForAID() method exists" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P0" id="NFCAdapter_isActivatedHandlerForAID_exist">
<description>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_addCardEmulationModeChangeListener_invalid_cb.html</test_script_entry>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_isActivatedHandlerForAID_exist.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check if method NFCAdapter::addCardEmulationModeChangeListener throws excepton when argument is missing" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P2" id="NFCAdapter_addCardEmulationModeChangeListener_misarg">
+ <testcase purpose="Check isActivatedHandlerForAID() without any argument" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P2" id="NFCAdapter_isActivatedHandlerForAID_noarg">
<description>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_addCardEmulationModeChangeListener_misarg.html</test_script_entry>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_isActivatedHandlerForAID_noarg.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check NFCAdapter::addTransactionEventListener() method returns a value expected." component="TizenAPI/Communication/NFC" execution_type="auto" priority="P1" id="NFCAdapter_addTransactionEventListener">
+ <testcase purpose="Check if method NFCAdapter::isActivatedHandlerForCategory() successfully for detecting AID category" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P1" id="NFCAdapter_isActivatedHandlerForCategory">
<description>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_addTransactionEventListener.html</test_script_entry>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_isActivatedHandlerForCategory.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check if NFCAdapter::addTransactionEventListener throws TypeMismatch exception with incorrect eventCallback argument" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P2" id="NFCAdapter_addTransactionEventListener_eventCallback_TypeMismatch">
+ <testcase purpose="Check if method NFCAdapter::isActivatedHandlerForCategory() with ESE param successfully for detecting AID category" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P1" id="NFCAdapter_isActivatedHandlerForCategory_ESE">
<description>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_addTransactionEventListener_eventCallback_TypeMismatch.html</test_script_entry>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_isActivatedHandlerForCategory_ESE.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check if NFCAdapter::addTransactionEventListener throws exception with invalid callback" onload_delay="30" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P2" id="NFCAdapter_addTransactionEventListener_eventCallback_invalid_cb">
+ <testcase purpose="Check if method NFCAdapter::isActivatedHandlerForCategory() successfully the type of OTHER for detecting AID category" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P1" id="NFCAdapter_isActivatedHandlerForCategory_OTHER">
<description>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_addTransactionEventListener_eventCallback_invalid_cb.html</test_script_entry>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_isActivatedHandlerForCategory_OTHER.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check if method NFCAdapter::addTransactionEventListener exists" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P0" id="NFCAdapter_addTransactionEventListener_exist">
+ <testcase purpose="Check if method NFCAdapter::isActivatedHandlerForCategory() with UICC param successfully for detecting AID category" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P1" id="NFCAdapter_isActivatedHandlerForCategory_UICC">
<description>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_addTransactionEventListener_exist.html</test_script_entry>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_isActivatedHandlerForCategory_UICC.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check if NFCAdapter::addTransactionEventListener throws exception when mandatory argument is missing" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P2" id="NFCAdapter_addTransactionEventListener_misarg">
+ <testcase purpose="Check if NFCAdapter::isActivatedHandlerForCategory throws exception when given wrong category type" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P2" id="NFCAdapter_isActivatedHandlerForCategory_category_TypeMismatch">
<description>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_addTransactionEventListener_misarg.html</test_script_entry>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_isActivatedHandlerForCategory_category_TypeMismatch.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check if NFCAdapter::addTransactionEventListener throws TypeMismatch exception with incorrect type argument" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P2" id="NFCAdapter_addTransactionEventListener_type_TypeMismatch">
+ <testcase purpose="Check if NFCAdapter::isActivatedHandlerForCategory() method exists" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P0" id="NFCAdapter_isActivatedHandlerForCategory_exist">
<description>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_addTransactionEventListener_type_TypeMismatch.html</test_script_entry>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_isActivatedHandlerForCategory_exist.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check if method NFCAdapter::removeActiveSecureElementChangeListener works properly Check if method NFCAdapter::removeActiveSecureElementChangeListener() works properly." onload_delay="30" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P1" id="NFCAdapter_removeActiveSecureElementChangeListener">
+ <testcase purpose="Check isActivatedHandlerForCategory() with missing argument" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P2" id="NFCAdapter_isActivatedHandlerForCategory_misarg">
<description>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_removeActiveSecureElementChangeListener.html</test_script_entry>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_isActivatedHandlerForCategory_misarg.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check if method NFCAdapter::removeActiveSecureElementChangeListener() method does not exist" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P0" id="NFCAdapter_removeActiveSecureElementChangeListener_exist">
+ <testcase purpose="Check isActivatedHandlerForCategory() without any argument" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P2" id="NFCAdapter_isActivatedHandlerForCategory_noarg">
<description>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_removeActiveSecureElementChangeListener_exist.html</test_script_entry>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_isActivatedHandlerForCategory_noarg.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check if method NFCAdapter::removeCardEmulationModeChangeListener works properly" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P1" id="NFCAdapter_removeCardEmulationModeChangeListener">
+ <testcase purpose="Check if NFCAdapter::isActivatedHandlerForCategory throws exception when given wrong secure type" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P2" id="NFCAdapter_isActivatedHandlerForCategory_sectype_TypeMismatch">
<description>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_removeCardEmulationModeChangeListener.html</test_script_entry>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_isActivatedHandlerForCategory_sectype_TypeMismatch.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check if method NFCAdapter::removeCardEmulationModeChangeListener() exists" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P0" id="NFCAdapter_removeCardEmulationModeChangeListener_exist">
+ <testcase purpose="Check if method NFCAdapter::registerAID() works" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P1" id="NFCAdapter_registerAID">
<description>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_removeCardEmulationModeChangeListener_exist.html</test_script_entry>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_registerAID.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check if method NFCAdapter::removeTransactionEventListener works properly" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P1" id="NFCAdapter_removeTransactionEventListener">
+ <testcase purpose="Check if method NFCAdapter::registerAID() works with ESE param" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P1" id="NFCAdapter_registerAID_ESE">
<description>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_removeTransactionEventListener.html</test_script_entry>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_registerAID_ESE.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check if method NFCAdapter::removeTransactionEventListener exists" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P0" id="NFCAdapter_removeTransactionEventListener_exist">
+ <testcase purpose="Check if method NFCAdapter::registerAID() with the type of OTHER" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P1" id="NFCAdapter_registerAID_OTHER">
<description>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_removeTransactionEventListener_exist.html</test_script_entry>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_registerAID_OTHER.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check NFCAdapter::setExclusiveModeForTransaction() method works properly" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P1" id="NFCAdapter_setExclusiveModeForTransaction">
+ <testcase purpose="Check if method NFCAdapter::registerAID() works with UICC param" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P1" id="NFCAdapter_registerAID_UICC">
<description>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_setExclusiveModeForTransaction.html</test_script_entry>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_registerAID_UICC.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check if method NFCAdapter::setExclusiveModeForTransaction() exists" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P0" id="NFCAdapter_setExclusiveModeForTransaction_exist">
+ <testcase purpose="Check if NFCAdapter::registerAID throws exception when given wrong category type" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P2" id="NFCAdapter_registerAID_category_TypeMismatch">
<description>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_setExclusiveModeForTransaction_exist.html</test_script_entry>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_registerAID_category_TypeMismatch.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check if interface TransactionEventCallback exists, it should not" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P3" id="TransactionEventCallback_notexist">
- <description>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/TransactionEventCallback_notexist.html</test_script_entry>
- </description>
- </testcase>
- <!--<testcase purpose="Check TransactionEventCallback::ondetected() is called with argument of proper type" onload_delay="90" component="TizenAPI/Communication/NFC" execution_type="manual" priority="P1" id="TransactionEventCallback_ondetected">
+ <testcase purpose="Check if NFCAdapter::registerAID() method exists" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P0" id="NFCAdapter_registerAID_exist">
<description>
- <pre_condition>Turn on NFC adapter. Prepare an external reader to initiate transaction.</pre_condition>
- <steps>
- <step order="1">
- <step_desc>Click "Run". Use an external reader to access "ESE" type secure element.</step_desc>
- <expected>Pass</expected>
- </step>
- </steps>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/TransactionEventCallback_ondetected.html</test_script_entry>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_registerAID_exist.html</test_script_entry>
</description>
- </testcase>-->
- </set>
- <set name="P2P">
- <capabilities>
- <capability name="http://tizen.org/feature/network.nfc.p2p"/>
- </capabilities>
- <testcase purpose="Check if method NFCAdapter::setPeerListener() successfully registers listener for detecting NFC peer" component="TizenAPI/Communication/NFC" execution_type="manual" priority="P1" id="NFCAdapter_setPeerListener">
+ </testcase>
+ <testcase purpose="Check adapter.registerAID() with missing argument" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P2" id="NFCAdapter_registerAID_misarg">
<description>
- <pre_condition>Turn on NFC adapter. Prepare the other device with NFC turned on.</pre_condition>
- <steps>
- <step order="1">
- <step_desc>Click "Run". Move other NFC device close so it will be detected.</step_desc>
- <expected>pass - peer detected</expected>
- </step>
- </steps>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_setPeerListener.html</test_script_entry>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_registerAID_misarg.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check if NFCAdapter::setPeerListener throws exception when given wrong detectCallback" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P2" id="NFCAdapter_setPeerListener_detectCallback_TypeMismatch">
+ <testcase purpose="Check adapter.registerAID() without any argument" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P2" id="NFCAdapter_registerAID_noarg">
<description>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_setPeerListener_detectCallback_TypeMismatch.html</test_script_entry>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_registerAID_noarg.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check verification of detectCallback by NFCAdapter::setPeerListener()" onload_delay="90" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P2" id="NFCAdapter_setPeerListener_detectCallback_invalid_cb">
+ <testcase purpose="Check if NFCAdapter::registerAID throws exception when given wrong secure type" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P2" id="NFCAdapter_registerAID_sectype_TypeMismatch">
<description>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_setPeerListener_detectCallback_invalid_cb.html</test_script_entry>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_registerAID_sectype_TypeMismatch.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check if method NFCAdapter::setPeerListener() exists" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P1" id="NFCAdapter_setPeerListener_exist">
+ <testcase purpose="Check if method NFCAdapter::removeHCEEventListener() successfully" onload_delay="90" component="TizenAPI/Communication/NFC" execution_type="manual" priority="P1" id="NFCAdapter_removeHCEEventListener">
<description>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_setPeerListener_exist.html</test_script_entry>
+ <pre_condition>Turn on NFC adapter. Prepare the other device with HCE turned on.</pre_condition>
+ <steps>
+ <step order="1">
+ <step_desc>Click "Run". Move other device with HCE close so it will be detected.</step_desc>
+ <expected>pass - HCE event detected</expected>
+ </step>
+ </steps>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_removeHCEEventListener.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check if adapter.setPeerListener() throws an exception when called without argument" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P1" id="NFCAdapter_setPeerListener_missarg">
+ <testcase purpose="Check if NFCAdapter::removeHCEEventListener() method exists" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P0" id="NFCAdapter_removeHCEEventListener_exist">
<description>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_setPeerListener_missarg.html</test_script_entry>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_removeHCEEventListener_exist.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check if method NFCAdapter::unsetPeerListener() disables listener for detecting an NFC peer-to-peer target" component="TizenAPI/Communication/NFC" execution_type="manual" priority="P1" id="NFCAdapter_unsetPeerListener">
+ <testcase purpose="Check if method NFCAdapter::sendHostAPDUResponse() successfully" onload_delay="90" component="TizenAPI/Communication/NFC" execution_type="manual" priority="P1" id="NFCAdapter_sendHostAPDUResponse_mobile">
<description>
- <pre_condition>Turn on NFC adapter. Prepare the other device with NFC turned on.</pre_condition>
+ <pre_condition>Turn on NFC adapter. Prepare the other device with HCE turned on.</pre_condition>
<steps>
<step order="1">
- <step_desc>Click "Run". Move other NFC device close so it will be detected and then click "Peer was attached" button.</step_desc>
- <expected>Pass</expected>
+ <step_desc>Click "Run". Move other device with HCE close so it will be detected.</step_desc>
+ <expected>pass - HCE detected</expected>
</step>
</steps>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_unsetPeerListener.html</test_script_entry>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_sendHostAPDUResponse_mobile.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check if method NFCAdapter::unsetPeerListener() exists" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P1" id="NFCAdapter_unsetPeerListener_exist">
+ <testcase purpose="Check if NFCAdapter::sendHostAPDUResponse throws exception when given wrong apdu type" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P2" id="NFCAdapter_sendHostAPDUResponse_apdu_TypeMismatch">
<description>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_unsetPeerListener_exist.html</test_script_entry>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_sendHostAPDUResponse_apdu_TypeMismatch.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check if method unsetPeerListener of NFCAdapter accepts extra argument" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P1" id="NFCAdapter_unsetPeerListener_extra_argument">
+ <testcase purpose="Check if NFCAdapter::sendHostAPDUResponse throws exception when given wrong type of errorCallback" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P2" id="NFCAdapter_sendHostAPDUResponse_errorCallback_TypeMismatch">
<description>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_unsetPeerListener_extra_argument.html</test_script_entry>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_sendHostAPDUResponse_errorCallback_TypeMismatch.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check NFCPeer attributes, method existence and TypeMismatchError throwing" component="TizenAPI/Communication/NFC" execution_type="manual" priority="P3" id="NFCPeer">
+ <testcase purpose="Check if NFCAdapter::sendHostAPDUResponse() method works with invalid errorcallback" onload_delay="90" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P2" id="NFCAdapter_sendHostAPDUResponse_errorCallback_invalid_cb">
<description>
- <pre_condition>Turn on NFC adapter. Prepare the other device with NFC turned on.</pre_condition>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_sendHostAPDUResponse_errorCallback_invalid_cb.html</test_script_entry>
+ </description>
+ </testcase>
+ <testcase purpose="Check if error callback of NFCAdapter::sendHostAPDUResponse() method invoked " onload_delay="90" component="TizenAPI/Communication/NFC" execution_type="manual" priority="P2" id="NFCAdapter_sendHostAPDUResponse_errorCallback_invoked">
+ <description>
+ <pre_condition>Turn off NFC adapter in setting</pre_condition>
<steps>
<step order="1">
- <step_desc>Click "Run". Move other NFC device close so it will be detected.</step_desc>
- <expected>Pass</expected>
+ <step_desc>Click "Run" after the NFC has been turn off in setting</step_desc>
+ <expected>pass - ServiceNotAvailable exception throw</expected>
</step>
</steps>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCPeer.html</test_script_entry>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_sendHostAPDUResponse_errorCallback_invoked.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check if interface NFCPeerDetectCallback exists, it should not." component="TizenAPI/Communication/NFC" execution_type="auto" priority="P3" id="NFCPeerDetectCallback_notexist">
+ <testcase purpose="Check if NFCAdapter::sendHostAPDUResponse() method exists" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P0" id="NFCAdapter_sendHostAPDUResponse_exist">
<description>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCPeerDetectCallback_notexist.html</test_script_entry>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_sendHostAPDUResponse_exist.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check if NFCPeerDetectCallback::onattach() callback is called with proper argument when NFC peer is detected" component="TizenAPI/Communication/NFC" execution_type="manual" priority="P1" id="NFCPeerDetectCallback_onattach">
+ <testcase purpose="Check adapter.sendHostAPDUResponse() without any argument" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P2" id="NFCAdapter_sendHostAPDUResponse_noarg">
<description>
- <pre_condition>Turn on NFC adapter. Prepare the other device with NFC turned on.</pre_condition>
- <steps>
- <step order="1">
- <step_desc>Click "Run". Move other NFC device close so it will be detected.</step_desc>
- <expected>pass - setPeerListener onSuccess called</expected>
- </step>
- </steps>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCPeerDetectCallback_onattach.html</test_script_entry>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_sendHostAPDUResponse_noarg.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check if NFCPeerDetectCallback::ondetach() is called when NFC peer is taken away" component="TizenAPI/Communication/NFC" execution_type="manual" priority="P1" id="NFCPeerDetectCallback_ondetach">
+ <testcase purpose="Check if NFCAdapter::sendHostAPDUResponse throws exception when given wrong type of successCallback" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P2" id="NFCAdapter_sendHostAPDUResponse_successCallback_TypeMismatch">
<description>
- <pre_condition>Turn on NFC adapter. Prepare the other device with NFC turned on.</pre_condition>
- <steps>
- <step order="1">
- <step_desc>Click "Run". Put the other NFC device close to your device until it will be detected and then take it away.</step_desc>
- <expected>pass - peerListener ondetach callback should be invoked</expected>
- </step>
- </steps>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCPeerDetectCallback_ondetach.html</test_script_entry>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_sendHostAPDUResponse_successCallback_TypeMismatch.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check if interface NFCPeer exists, it should not." component="TizenAPI/Communication/NFC" execution_type="auto" priority="P3" id="NFCPeer_notexist">
+ <testcase purpose="Check if NFCAdapter::sendHostAPDUResponse() method works with invalid successCallback" onload_delay="90" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P2" id="NFCAdapter_sendHostAPDUResponse_successCallback_invalid_cb">
<description>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCPeer_notexist.html</test_script_entry>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_sendHostAPDUResponse_successCallback_invalid_cb.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check if method NFCPeer::sendNDEF() reports error by calling errorCallback when peer is disconnected" component="TizenAPI/Communication/NFC" execution_type="manual" priority="P2" id="NFCPeer_sendNDEF_errorCallback">
+ <testcase purpose="Check if method NFCAdapter::sendHostAPDUResponse() successfully without successCallback" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P1" id="NFCAdapter_sendHostAPDUResponse_without_successCallback">
<description>
- <pre_condition>Turn on NFC adapter. Prepare the other device with NFC turned on. Other device should be able to take NDEF message from NFC.</pre_condition>
- <steps>
- <step order="1">
- <step_desc>Click "Run". Put the other NFC device close to your device until it will be detected and then take it away before the expiration of 3 seconds.</step_desc>
- <expected>pass</expected>
- </step>
- </steps>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCPeer_sendNDEF_errorCallback.html</test_script_entry>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_sendHostAPDUResponse_without_successCallback.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check if method NFCPeer::sendNDEF() sends data to other NFC device" component="TizenAPI/Communication/NFC" execution_type="manual" priority="P1" id="NFCPeer_sendNDEF_sendData">
+ <testcase purpose="Check if method NFCAdapter::unregisterAID()" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P1" id="NFCAdapter_unregisterAID">
<description>
- <pre_condition>Turn off the NFC adapter. Prepare the other device with NFC turned on. Other device should be able to take NDEF message from NFC.</pre_condition>
- <steps>
- <step order="1">
- <step_desc>Click "Run". Move other NFC device close so it will be detected.</step_desc>
- <expected>pass - data sent successfully</expected>
- </step>
- </steps>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCPeer_sendNDEF_sendData.html</test_script_entry>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_unregisterAID.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check if method NFCPeer::sendNDEF(ndefMessage, onSuccess, onError) can be called successfully" component="TizenAPI/Communication/NFC" execution_type="manual" priority="P1" id="NFCPeer_sendNDEF_with_errorCallback">
+ <testcase purpose="Check if method NFCAdapter::unregisterAID() with ESE param" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P1" id="NFCAdapter_unregisterAID_ESE">
<description>
- <pre_condition>Turn on NFC adapter. Prepare the other device with NFC turned on. Other device should be able to take NDEF message from NFC.</pre_condition>
- <steps>
- <step order="1">
- <step_desc>Click "Run". Move other NFC device close so it will be detected. If other device receives message then PASS.</step_desc>
- <expected>pass</expected>
- </step>
- </steps>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCPeer_sendNDEF_with_errorCallback.html</test_script_entry>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_unregisterAID_ESE.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check if NFCPeer::sendNDEF(ndefMessage, onSuccess) can be called successfully" component="TizenAPI/Communication/NFC" execution_type="manual" priority="P1" id="NFCPeer_sendNDEF_with_successCallback">
+ <testcase purpose="Check if method NFCAdapter::unregisterAID() with the type of OTHER" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P1" id="NFCAdapter_unregisterAID_OTHER">
<description>
- <pre_condition>Turn on NFC adapter. Prepare the other device with NFC turned on. Other device should be able to take NDEF message from NFC.</pre_condition>
- <steps>
- <step order="1">
- <step_desc>Click "Run". Move other NFC device close so it will be detected. If other device receives message then PASS.</step_desc>
- <expected>pass</expected>
- </step>
- </steps>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCPeer_sendNDEF_with_successCallback.html</test_script_entry>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_unregisterAID_OTHER.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check if NFCPeer::setReceiveNDEFListener() method works properly" component="TizenAPI/Communication/NFC" execution_type="manual" priority="P1" id="NFCPeer_setReceiveNDEFListener">
+ <testcase purpose="Check if method NFCAdapter::unregisterAID() with UICC param" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P1" id="NFCAdapter_unregisterAID_UICC">
<description>
- <pre_condition>Turn on NFC adapter. Prepare the other device with NFC turned on. Other device should be able to send NDEF message by NFC.</pre_condition>
- <steps>
- <step order="1">
- <step_desc>Click "Run". Move other NFC device close so it will be detected, then send a NFC message from it. Then click the "Message was sent" button below.</step_desc>
- <expected>pass</expected>
- </step>
- </steps>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCPeer_setReceiveNDEFListener.html</test_script_entry>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_unregisterAID_UICC.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check if NFCPeer::unsetReceiveNDEFListener() method works properly" component="TizenAPI/Communication/NFC" execution_type="manual" priority="P1" id="NFCPeer_unsetReceiveNDEFListener">
+ <testcase purpose="Check if NFCAdapter::unregisterAID throws exception when given wrong category type" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P2" id="NFCAdapter_unregisterAID_category_TypeMismatch">
<description>
- <pre_condition>Turn on NFC adapter. Prepare the other device with NFC turned on. Other device should be able to send NDEF message by NFC.</pre_condition>
- <steps>
- <step order="1">
- <step_desc>Click "Run". Move other NFC device close so it will be detected, then send a NFC message from it. Then click the "Message was sent" button below.</step_desc>
- <expected>pass</expected>
- </step>
- </steps>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCPeer_unsetReceiveNDEFListener.html</test_script_entry>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_unregisterAID_category_TypeMismatch.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check if method unsetReceiveNDEFListener of NFCPeer accepts extra argument" component="TizenAPI/Communication/NFC" execution_type="manual" priority="P2" id="NFCPeer_unsetReceiveNDEFListener_extra_argument">
+ <testcase purpose="Check if NFCAdapter::unregisterAID() method exists" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P0" id="NFCAdapter_unregisterAID_exist">
<description>
- <pre_condition>Turn on NFC adapter. Prepare the other device with NFC turned on.</pre_condition>
- <steps>
- <step order="1">
- <step_desc>Click "Run". Move other NFC device close so it will be detected.</step_desc>
- <expected>Pass</expected>
- </step>
- </steps>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCPeer_unsetReceiveNDEFListener_extra_argument.html</test_script_entry>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_unregisterAID_exist.html</test_script_entry>
</description>
</testcase>
- </set>
- <set name="TAG">
- <capabilities>
- <capability name="http://tizen.org/feature/network.nfc.tag"/>
- </capabilities>
- <testcase purpose="Check if interface ByteArraySuccessCallback exists, it should not." component="TizenAPI/Communication/NFC" execution_type="auto" priority="P3" id="ByteArraySuccessCallback_notexist">
+ <testcase purpose="Check adapter.unregisterAID() with missing argument" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P2" id="NFCAdapter_unregisterAID_misarg">
<description>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/ByteArraySuccessCallback_notexist.html</test_script_entry>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_unregisterAID_misarg.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check if interface NDEFMessageReadCallback exists, it should not." component="TizenAPI/Communication/NFC" execution_type="auto" priority="P3" id="NDEFMessageReadCallback_notexist">
+ <testcase purpose="Check adapter.unregisterAID() without any argument" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P2" id="NFCAdapter_unregisterAID_noarg">
<description>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NDEFMessageReadCallback_notexist.html</test_script_entry>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_unregisterAID_noarg.html</test_script_entry>
</description>
</testcase>
-<!--
- <testcase purpose="Check if NDEFMessageReadCallback::onsuccess() callback is called successfully." component="TizenAPI/Communication/NFC" execution_type="auto" priority="P1" id="NDEFMessageReadCallback_onsuccess">
+ <testcase purpose="Check if NFCAdapter::unregisterAID throws exception when given wrong secure type" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P2" id="NFCAdapter_unregisterAID_sectype_TypeMismatch">
<description>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NDEFMessageReadCallback_onsuccess.html</test_script_entry>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_unregisterAID_sectype_TypeMismatch.html</test_script_entry>
</description>
</testcase>
--->
- <testcase purpose="Check if method NFCAdapter::setTagListener() successfully registers listener for detecting NFC tag" component="TizenAPI/Communication/NFC" execution_type="manual" priority="P1" id="NFCAdapter_setTagListener">
+ <testcase purpose="Check NFCAdapter.setPowered() argument errorCallback conversions exception" component="TizenAPI/Communication/NFC" execution_type="auto" id="NFCAdapter_setPowered_errorCallback_TypeMismatch">
<description>
- <pre_condition>Turn on NFC adapter. Prepare NFC tag.</pre_condition>
- <steps>
- <step order="1">
- <step_desc>Click "Run". Move NFC tag close so it will be detected.</step_desc>
- <expected>pass - tag detected</expected>
- </step>
- </steps>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_setTagListener.html</test_script_entry>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_setPowered_errorCallback_TypeMismatch.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check if NFCAdapter::setTagListener throws exception when given wrong detectCallback" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P2" id="NFCAdapter_setTagListener_detectCallback_TypeMismatch">
+ <testcase purpose="Check NFCAdapter::setPowered() argument errorCallback validation - object with onerror property" onload_delay="90" component="TizenAPI/Communication/NFC" execution_type="auto" id="NFCAdapter_setPowered_errorCallback_invalid_cb">
<description>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_setTagListener_detectCallback_TypeMismatch.html</test_script_entry>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_setPowered_errorCallback_invalid_cb.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check verification of detectCallback by NFCAdapter::setTagListener()" onload_delay="90" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P2" id="NFCAdapter_setTagListener_detectCallback_invalid_cb">
+ <testcase purpose="Check NFCAdapter.setPowered() argument successCallback conversions exception" component="TizenAPI/Communication/NFC" execution_type="auto" id="NFCAdapter_setPowered_successCallback_TypeMismatch">
<description>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_setTagListener_detectCallback_invalid_cb.html</test_script_entry>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_setPowered_successCallback_TypeMismatch.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check if NFCAdapter::setTagListener() method exists" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P1" id="NFCAdapter_setTagListener_exist">
+ <testcase purpose="Check NFCAdapter::setPowered() argument successCallback validation - object with onerror property" onload_delay="90" component="TizenAPI/Communication/NFC" execution_type="auto" id="NFCAdapter_setPowered_successCallback_invalid_cb">
<description>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_setTagListener_exist.html</test_script_entry>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_setPowered_successCallback_invalid_cb.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check if adapter.setTagListener() throws an exception" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P1" id="NFCAdapter_setTagListener_missarg">
+ <testcase purpose="Check NFCAdapter::setPowered() optional argument errorCallback - call without it" onload_delay="90" component="TizenAPI/Communication/NFC" execution_type="auto" id="NFCAdapter_setPowered_without_errorCallback">
<description>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_setTagListener_missarg.html</test_script_entry>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_setPowered_without_errorCallback.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check if TypeMismatchError is thrown when NFCAdapter::setTagListener() is given wrong tagFilter" onload_delay="90" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P2" id="NFCAdapter_setTagListener_tagFilter_TypeMismatch">
+ <testcase purpose="Check NFCAdapter::setPowered() optional argument without successCallback - call without it" onload_delay="90" component="TizenAPI/Communication/NFC" execution_type="auto" id="NFCAdapter_setPowered_without_successCallback">
<description>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_setTagListener_tagFilter_TypeMismatch.html</test_script_entry>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_setPowered_without_successCallback.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check if onattach() callback is called successfully when NFC tag is detected after NFCAdapter::setTagListener() with null tagFilter" component="TizenAPI/Communication/NFC" execution_type="manual" priority="P2" id="NFCAdapter_setTagListener_tagFilter_is_null">
+ <testcase purpose="Check if method NFCAdapter::setPowered() exists" component="TizenAPI/Communication/NFC" execution_type="auto" id="NFCAdapter_setPowered_exist">
<description>
- <pre_condition>Turn on NFC adapter. Prepare NFC tag</pre_condition>
- <steps>
- <step order="1">
- <step_desc>Click "Run". Move NFC tag close to the device so it will be detected.</step_desc>
- <expected>should be passed</expected>
- </step>
- </steps>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_setTagListener_tagFilter_is_null.html</test_script_entry>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_setPowered_exist.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check if onattach() callback is called successfully when NFC tag is detected after NFCAdapter::setTagListener() with valid tagFilter" component="TizenAPI/Communication/NFC" execution_type="manual" priority="P2" id="NFCAdapter_setTagListener_with_tagFilter">
+ <testcase purpose="Check if method NFCAdapter::setPowered(false) sets a value of attribute NFCAdapter::powered to false" component="TizenAPI/Communication/NFC" execution_type="manual" id="NFCAdapter_setPowered_off">
<description>
- <pre_condition>Turn on NFC adapter. Prepare NFC tag.</pre_condition>
+ <pre_condition>Turn ON NFC adapter.</pre_condition>
<steps>
<step order="1">
- <step_desc>Click "Run". Move NFC tag close to the device so it will be detected.</step_desc>
- <expected>should be passed</expected>
+ <step_desc>Click "Run"</step_desc>
+ <expected>NFC adapter should be disabled (OFF) - pass</expected>
</step>
</steps>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_setTagListener_with_tagFilter.html</test_script_entry>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_setPowered_off.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check if method NFCAdapter::unsetTagListener() disables listener for detecting an NFC tag" component="TizenAPI/Communication/NFC" execution_type="manual" priority="P1" id="NFCAdapter_unsetTagListener">
+ <testcase purpose="Check if method NFCAdapter::setPowered(false) sets a value of attribute NFCAdapter::powered to false" component="TizenAPI/Communication/NFC" execution_type="manual" id="NFCAdapter_setPowered_on">
<description>
- <pre_condition>Turn on NFC adapter. Prepare NFC tag.</pre_condition>
+ <pre_condition>Turn ON NFC adapter.</pre_condition>
<steps>
<step order="1">
- <step_desc>Click "Run". Move NFC tag close so it will be detected and then click "Tag was attached" button.</step_desc>
- <expected>pass</expected>
+ <step_desc>Click "Run"</step_desc>
+ <expected>NFC adapter should be enabled (ON) - pass</expected>
</step>
</steps>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_unsetTagListener.html</test_script_entry>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_setPowered_on.html</test_script_entry>
+ </description>
+ </testcase>
+ <testcase purpose="Check NFCAdapter::setPowered() argument successCallback validation - object with onerror property" onload_delay="90" component="TizenAPI/Communication/NFC" execution_type="auto" id="NFCAdapter_setPowered_misarg">
+ <description>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_setPowered_misarg.html</test_script_entry>
+ </description>
+ </testcase>
+ <testcase purpose="Check if ByteArraySuccessCallback::onsuccess() callback is called successfully" onload_delay="90" component="TizenAPI/Communication/NFC" execution_type="auto" id="ByteArraySuccessCallback_onsuccess">
+ <description>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/ByteArraySuccessCallback_onsuccess.html</test_script_entry>
+ </description>
+ </testcase>
+ <testcase purpose="Check if NFCAdapter::removeCardEmulationModeChangeListener() throws exception when listenerId is missing" onload_delay="90" component="TizenAPI/Communication/NFC" execution_type="auto" id="NFCAdapter_removeCardEmulationModeChangeListener_misarg">
+ <description>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_removeCardEmulationModeChangeListener_misarg.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check if method NFCAdapter::unsetTagListener() method exists" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P1" id="NFCAdapter_unsetTagListener_exist">
+ <testcase purpose="Check if NFCAdapter::removeTransactionEventListener() throws exception when listenerId is missing" onload_delay="90" component="TizenAPI/Communication/NFC" execution_type="auto" id="NFCAdapter_removeTransactionEventListener_misarg">
<description>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_unsetTagListener_exist.html</test_script_entry>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_removeTransactionEventListener_misarg.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check if method unsetTagListener of NFCAdapter accepts extra argument" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P1" id="NFCAdapter_unsetTagListener_extra_argument">
+ <testcase purpose="This NFCManagerObject exists in tizen" onload_delay="90" component="TizenAPI/Communication/NFC" execution_type="auto" id="NFCManagerObject_nfc_attribute">
<description>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_unsetTagListener_extra_argument.html</test_script_entry>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCManagerObject_nfc_attribute.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check NFCTag attributes, method existence and TypeMismatchError throwing" component="TizenAPI/Communication/NFC" execution_type="manual" priority="P3" id="NFCTag">
+ <testcase purpose="Check if method NFCPeer:sendNDEF() exists" onload_delay="90" component="TizenAPI/Communication/NFC" execution_type="auto" id="NFCPeer_sendNDEF_exist">
<description>
- <pre_condition>Turn on NFC adapter. Prepare NFC tag.</pre_condition>
- <steps>
- <step order="1">
- <step_desc>Click "Run". Move NFC tag close so it will be detected.</step_desc>
- <expected>Pass</expected>
- </step>
- </steps>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCTag.html</test_script_entry>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCPeer_sendNDEF_exist.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check if interface NFCTagDetectCallback exists, it should not." component="TizenAPI/Communication/NFC" execution_type="auto" priority="P3" id="NFCTagDetectCallback_notexist">
+ <testcase purpose="Check if NFCPeer::sendNDEF() throws exception when ndefMessage is missing" onload_delay="90" component="TizenAPI/Communication/NFC" execution_type="auto" id="NFCPeer_sendNDEF_misarg">
<description>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCTagDetectCallback_notexist.html</test_script_entry>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCPeer_sendNDEF_misarg.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check if NFCTagDetectCallback::onattach() callback is called with proper argument when NFC tag is detected" component="TizenAPI/Communication/NFC" execution_type="manual" priority="P1" id="NFCTagDetectCallback_onattach">
+ <testcase purpose="Check if method NFCPeer:setReceiveNDEFListener() exists" onload_delay="90" component="TizenAPI/Communication/NFC" execution_type="auto" id="NFCPeer_setReceiveNDEFListener_exist">
<description>
- <pre_condition>Turn on NFC adapter. Prepare NFC tag</pre_condition>
- <steps>
- <step order="1">
- <step_desc>Click "Run". Move NFC tag close so it will be detected.</step_desc>
- <expected>pass - after setTagListener onattach callback was called</expected>
- </step>
- </steps>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCTagDetectCallback_onattach.html</test_script_entry>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCPeer_setReceiveNDEFListener_exist.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check if NFCTagDetectCallback::ondetach() callback is called when NFC tag is disconnected" component="TizenAPI/Communication/NFC" execution_type="manual" priority="P1" id="NFCTagDetectCallback_ondetach">
+ <testcase purpose="Check if NFCPeer::setReceiveNDEFListener() throws exception when setReceiveNDEFListenersCB is missing" onload_delay="90" component="TizenAPI/Communication/NFC" execution_type="auto" id="NFCPeer_setReceiveNDEFListener_misarg">
<description>
- <pre_condition>Turn on NFC adapter. Prepare NFC tag.</pre_condition>
- <steps>
- <step order="1">
- <step_desc>Click "Run". Move NFC tag close until it will be detected and then take it away.</step_desc>
- <expected>pass - after setTagListener ondetach callback is called</expected>
- </step>
- </steps>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCTagDetectCallback_ondetach.html</test_script_entry>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCPeer_setReceiveNDEFListener_misarg.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check if interface NFCTag exists, it should not." component="TizenAPI/Communication/NFC" execution_type="auto" priority="P3" id="NFCTag_notexist">
+ <testcase purpose="Check if method NFCPeer:unsetReceiveNDEFListener() exists" onload_delay="90" component="TizenAPI/Communication/NFC" execution_type="auto" id="NFCPeer_unsetReceiveNDEFListener_exist">
<description>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCTag_notexist.html</test_script_entry>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCPeer_unsetReceiveNDEFListener_exist.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check if method NFCTag::readNDEF() reports error by calling errorCallback when NFC tag was disconnected" component="TizenAPI/Communication/NFC" execution_type="manual" priority="P2" id="NFCTag_readNDEF_errorCallback">
+ <testcase purpose="Check if method NFCTag:readNDEF() exists" onload_delay="90" component="TizenAPI/Communication/NFC" execution_type="auto" id="NFCTag_readNDEF_exist">
<description>
- <pre_condition>Turn on NFC adapter. Prepare NFC tag.</pre_condition>
- <steps>
- <step order="1">
- <step_desc>Click "Run". Move NFC tag close until it will be detected and then take it away before the expiration of 3 seconds.</step_desc>
- <expected>pass - readNDEF reported failure by error callback</expected>
- </step>
- </steps>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCTag_readNDEF_errorCallback.html</test_script_entry>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCTag_readNDEF_exist.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check if method NFCTag::readNDEF() successfully reads data from NFC tag" onload_delay="90" component="TizenAPI/Communication/NFC" execution_type="manual" priority="P1" id="NFCTag_readNDEF_without_errorCallback">
+ <testcase purpose="Check if NFCTag::readNDEF() throws exception when readCallback is missing" onload_delay="90" component="TizenAPI/Communication/NFC" execution_type="auto" id="NFCTag_readNDEF_misarg">
<description>
- <pre_condition>Turn on NFC adapter. Prepare NFC tag.</pre_condition>
- <steps>
- <step order="1">
- <step_desc>Click "Run". Move NFC tag close so it will be detected.</step_desc>
- <expected>pass - read the NDEF data successfully</expected>
- </step>
- </steps>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCTag_readNDEF_without_errorCallback.html</test_script_entry>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCTag_readNDEF_misarg.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check if method NFCTag::transceive() reports error by calling errorCallback when NFC tag is disconnected" component="TizenAPI/Communication/NFC" execution_type="manual" priority="P2" id="NFCTag_transceive_with_errorCallback">
+ <testcase purpose="Check if method NFCTag:transceive() exists" onload_delay="90" component="TizenAPI/Communication/NFC" execution_type="auto" id="NFCTag_transceive_exist">
<description>
- <pre_condition>Turn on NFC adapter. Prepare NFC tag.</pre_condition>
- <steps>
- <step order="1">
- <step_desc>Click "Run". Move NFC tag close until it will be detected and then take it away before the expiration of 3 seconds.</step_desc>
- <expected>pass - transceive reported failure by error callback</expected>
- </step>
- </steps>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCTag_transceive_with_errorCallback.html</test_script_entry>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCTag_transceive_exist.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check if method NFCTag::writeNDEF() can be called with only mandatory argument" component="TizenAPI/Communication/NFC" execution_type="manual" priority="P2" id="NFCTag_writeNDEF">
+ <testcase purpose="Check if NFCTag::transceive() throws exception when ndefMessage is missing" onload_delay="90" component="TizenAPI/Communication/NFC" execution_type="auto" id="NFCTag_transceive_misarg">
<description>
- <pre_condition>Turn on NFC adapter. Prepare NFC tag.</pre_condition>
- <steps>
- <step order="1">
- <step_desc>Click "Run". Move NFC tag close so it will be detected.</step_desc>
- <expected>pass - writeNDEF successfully without callback</expected>
- </step>
- </steps>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCTag_writeNDEF.html</test_script_entry>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCTag_transceive_misarg.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check if method NFCTag::writeNDEF() reports error by calling errorCallback when NFC tag is disconnected" component="TizenAPI/Communication/NFC" execution_type="manual" priority="P2" id="NFCTag_writeNDEF_with_errorCallback">
+ <testcase purpose="Check if method NFCTag:writeNDEF() exists" onload_delay="90" component="TizenAPI/Communication/NFC" execution_type="auto" id="NFCTag_writeNDEF_exist">
<description>
- <pre_condition>Turn on NFC adapter. Prepare NFC tag.</pre_condition>
- <steps>
- <step order="1">
- <step_desc>Click "Run". Move NFC tag close until it will be detected and then take it away before the expiration of 3 seconds.</step_desc>
- <expected>pass - writeNDEF reported failure by error callback</expected>
- </step>
- </steps>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCTag_writeNDEF_with_errorCallback.html</test_script_entry>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCTag_writeNDEF_exist.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check if method NFCTag::writeNDEF() calls successCallback" component="TizenAPI/Communication/NFC" execution_type="manual" priority="P1" id="NFCTag_writeNDEF_with_successCallback">
+ <testcase purpose="Check if NFCTag::writeNDEF() throws exception when ndefMessage is missing" onload_delay="90" component="TizenAPI/Communication/NFC" execution_type="auto" id="NFCTag_writeNDEF_misarg">
<description>
- <pre_condition>Turn on NFC adapter. Prepare NFC tag.</pre_condition>
- <steps>
- <step order="1">
- <step_desc>Click "Run". Move NFC tag close so it will be detected.</step_desc>
- <expected>pass - writing the NDEF Data successfully</expected>
- </step>
- </steps>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCTag_writeNDEF_with_successCallback.html</test_script_entry>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCTag_writeNDEF_misarg.html</test_script_entry>
</description>
</testcase>
</set>
- <set name="HCE">
+ <set name="HCE_wearable">
<capabilities>
+ <capability name="http://tizen.org/feature/profile"><value>WEARABLE</value></capability>
<capability name="http://tizen.org/feature/network.nfc.card_emulation.hce"/>
</capabilities>
<testcase purpose="Check if interface AIDArraySuccessCallback exists, it should not." component="TizenAPI/Communication/NFC" execution_type="auto" priority="P3" id="AIDArraySuccessCallback_notexist">
<test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_removeHCEEventListener_exist.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check if method NFCAdapter::sendHostAPDUResponse() successfully" onload_delay="90" component="TizenAPI/Communication/NFC" execution_type="manual" priority="P1" id="NFCAdapter_sendHostAPDUResponse">
+ <testcase purpose="Check if method NFCAdapter::sendHostAPDUResponse() successfully" onload_delay="90" component="TizenAPI/Communication/NFC" execution_type="manual" priority="P1" id="NFCAdapter_sendHostAPDUResponse_wearable">
<description>
<pre_condition>Turn on NFC adapter. Prepare the other device with HCE turned on.</pre_condition>
<steps>
<expected>pass - HCE detected</expected>
</step>
</steps>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_sendHostAPDUResponse.html</test_script_entry>
+ <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_sendHostAPDUResponse_wearable.html</test_script_entry>
</description>
</testcase>
<testcase purpose="Check if NFCAdapter::sendHostAPDUResponse throws exception when given wrong apdu type" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P2" id="NFCAdapter_sendHostAPDUResponse_apdu_TypeMismatch">
<test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_unregisterAID_sectype_TypeMismatch.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check NFCAdapter.setPowered() argument errorCallback conversions exception" component="TizenAPI/Communication/NFC" execution_type="auto" id="NFCAdapter_setPowered_errorCallback_TypeMismatch">
- <description>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_setPowered_errorCallback_TypeMismatch.html</test_script_entry>
- </description>
- </testcase>
- <testcase purpose="Check NFCAdapter::setPowered() argument errorCallback validation - object with onerror property" onload_delay="90" component="TizenAPI/Communication/NFC" execution_type="auto" id="NFCAdapter_setPowered_errorCallback_invalid_cb">
- <description>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_setPowered_errorCallback_invalid_cb.html</test_script_entry>
- </description>
- </testcase>
- <testcase purpose="Check NFCAdapter.setPowered() argument successCallback conversions exception" component="TizenAPI/Communication/NFC" execution_type="auto" id="NFCAdapter_setPowered_successCallback_TypeMismatch">
- <description>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_setPowered_successCallback_TypeMismatch.html</test_script_entry>
- </description>
- </testcase>
- <testcase purpose="Check NFCAdapter::setPowered() argument successCallback validation - object with onerror property" onload_delay="90" component="TizenAPI/Communication/NFC" execution_type="auto" id="NFCAdapter_setPowered_successCallback_invalid_cb">
- <description>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_setPowered_successCallback_invalid_cb.html</test_script_entry>
- </description>
- </testcase>
- <testcase purpose="Check NFCAdapter::setPowered() optional argument errorCallback - call without it" onload_delay="90" component="TizenAPI/Communication/NFC" execution_type="auto" id="NFCAdapter_setPowered_without_errorCallback">
- <description>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_setPowered_without_errorCallback.html</test_script_entry>
- </description>
- </testcase>
- <testcase purpose="Check NFCAdapter::setPowered() optional argument without successCallback - call without it" onload_delay="90" component="TizenAPI/Communication/NFC" execution_type="auto" id="NFCAdapter_setPowered_without_successCallback">
- <description>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_setPowered_without_successCallback.html</test_script_entry>
- </description>
- </testcase>
- <testcase purpose="Check if method NFCAdapter::setPowered() exists" component="TizenAPI/Communication/NFC" execution_type="auto" id="NFCAdapter_setPowered_exist">
- <description>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_setPowered_exist.html</test_script_entry>
- </description>
- </testcase>
- <testcase purpose="Check if method NFCAdapter::setPowered(false) sets a value of attribute NFCAdapter::powered to false" component="TizenAPI/Communication/NFC" execution_type="manual" id="NFCAdapter_setPowered_off">
- <description>
- <pre_condition>Turn ON NFC adapter.</pre_condition>
- <steps>
- <step order="1">
- <step_desc>Click "Run"</step_desc>
- <expected>NFC adapter should be disabled (OFF) - pass</expected>
- </step>
- </steps>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_setPowered_off.html</test_script_entry>
- </description>
- </testcase>
- <testcase purpose="Check if method NFCAdapter::setPowered(false) sets a value of attribute NFCAdapter::powered to false" component="TizenAPI/Communication/NFC" execution_type="manual" id="NFCAdapter_setPowered_on">
- <description>
- <pre_condition>Turn ON NFC adapter.</pre_condition>
- <steps>
- <step order="1">
- <step_desc>Click "Run"</step_desc>
- <expected>NFC adapter should be enabled (ON) - pass</expected>
- </step>
- </steps>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_setPowered_on.html</test_script_entry>
- </description>
- </testcase>
- <testcase purpose="Check NFCAdapter::setPowered() argument successCallback validation - object with onerror property" onload_delay="90" component="TizenAPI/Communication/NFC" execution_type="auto" id="NFCAdapter_setPowered_misarg">
- <description>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_setPowered_misarg.html</test_script_entry>
- </description>
- </testcase>
- <testcase purpose="Check if ByteArraySuccessCallback::onsuccess() callback is called successfully" onload_delay="90" component="TizenAPI/Communication/NFC" execution_type="auto" id="ByteArraySuccessCallback_onsuccess">
- <description>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/ByteArraySuccessCallback_onsuccess.html</test_script_entry>
- </description>
- </testcase>
- <testcase purpose="Check if NFCAdapter::removeCardEmulationModeChangeListener() throws exception when listenerId is missing" onload_delay="90" component="TizenAPI/Communication/NFC" execution_type="auto" id="NFCAdapter_removeCardEmulationModeChangeListener_misarg">
- <description>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_removeCardEmulationModeChangeListener_misarg.html</test_script_entry>
- </description>
- </testcase>
- <testcase purpose="Check if NFCAdapter::removeTransactionEventListener() throws exception when listenerId is missing" onload_delay="90" component="TizenAPI/Communication/NFC" execution_type="auto" id="NFCAdapter_removeTransactionEventListener_misarg">
- <description>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_removeTransactionEventListener_misarg.html</test_script_entry>
- </description>
- </testcase>
- <testcase purpose="This NFCManagerObject exists in tizen" onload_delay="90" component="TizenAPI/Communication/NFC" execution_type="auto" id="NFCManagerObject_nfc_attribute">
- <description>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCManagerObject_nfc_attribute.html</test_script_entry>
- </description>
- </testcase>
- <testcase purpose="Check if method NFCPeer:sendNDEF() exists" onload_delay="90" component="TizenAPI/Communication/NFC" execution_type="auto" id="NFCPeer_sendNDEF_exist">
- <description>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCPeer_sendNDEF_exist.html</test_script_entry>
- </description>
- </testcase>
- <testcase purpose="Check if NFCPeer::sendNDEF() throws exception when ndefMessage is missing" onload_delay="90" component="TizenAPI/Communication/NFC" execution_type="auto" id="NFCPeer_sendNDEF_misarg">
- <description>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCPeer_sendNDEF_misarg.html</test_script_entry>
- </description>
- </testcase>
- <testcase purpose="Check if method NFCPeer:setReceiveNDEFListener() exists" onload_delay="90" component="TizenAPI/Communication/NFC" execution_type="auto" id="NFCPeer_setReceiveNDEFListener_exist">
- <description>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCPeer_setReceiveNDEFListener_exist.html</test_script_entry>
- </description>
- </testcase>
- <testcase purpose="Check if NFCPeer::setReceiveNDEFListener() throws exception when setReceiveNDEFListenersCB is missing" onload_delay="90" component="TizenAPI/Communication/NFC" execution_type="auto" id="NFCPeer_setReceiveNDEFListener_misarg">
- <description>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCPeer_setReceiveNDEFListener_misarg.html</test_script_entry>
- </description>
- </testcase>
- <testcase purpose="Check if method NFCPeer:unsetReceiveNDEFListener() exists" onload_delay="90" component="TizenAPI/Communication/NFC" execution_type="auto" id="NFCPeer_unsetReceiveNDEFListener_exist">
- <description>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCPeer_unsetReceiveNDEFListener_exist.html</test_script_entry>
- </description>
- </testcase>
- <testcase purpose="Check if method NFCTag:readNDEF() exists" onload_delay="90" component="TizenAPI/Communication/NFC" execution_type="auto" id="NFCTag_readNDEF_exist">
- <description>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCTag_readNDEF_exist.html</test_script_entry>
- </description>
- </testcase>
- <testcase purpose="Check if NFCTag::readNDEF() throws exception when readCallback is missing" onload_delay="90" component="TizenAPI/Communication/NFC" execution_type="auto" id="NFCTag_readNDEF_misarg">
- <description>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCTag_readNDEF_misarg.html</test_script_entry>
- </description>
- </testcase>
- <testcase purpose="Check if method NFCTag:transceive() exists" onload_delay="90" component="TizenAPI/Communication/NFC" execution_type="auto" id="NFCTag_transceive_exist">
- <description>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCTag_transceive_exist.html</test_script_entry>
- </description>
- </testcase>
- <testcase purpose="Check if NFCTag::transceive() throws exception when ndefMessage is missing" onload_delay="90" component="TizenAPI/Communication/NFC" execution_type="auto" id="NFCTag_transceive_misarg">
- <description>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCTag_transceive_misarg.html</test_script_entry>
- </description>
- </testcase>
- <testcase purpose="Check if method NFCTag:writeNDEF() exists" onload_delay="90" component="TizenAPI/Communication/NFC" execution_type="auto" id="NFCTag_writeNDEF_exist">
- <description>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCTag_writeNDEF_exist.html</test_script_entry>
- </description>
- </testcase>
- <testcase purpose="Check if NFCTag::writeNDEF() throws exception when ndefMessage is missing" onload_delay="90" component="TizenAPI/Communication/NFC" execution_type="auto" id="NFCTag_writeNDEF_misarg">
- <description>
- <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCTag_writeNDEF_misarg.html</test_script_entry>
- </description>
- </testcase>
</set>
</suite>
</test_definition>