[common][NFC][DPTTIZEN-2893 support NFC Preferred API] 55/143155/2
authormengli.zhang <mengli.zhang@samsung.com>
Wed, 9 Aug 2017 13:48:35 +0000 (09:48 -0400)
committerzhang mengli <mengli.zhang@samsung.com>
Wed, 9 Aug 2017 01:58:20 +0000 (01:58 +0000)
Change-Id: I03b18fadb62ec49fdbf36861c72e1e124cf88c75
Signed-off-by: mengli.zhang <mengli.zhang@samsung.com>
common/tct-nfc-tizen-tests/nfc/NFCAdapter_setPreferredApp.html [new file with mode: 0755]
common/tct-nfc-tizen-tests/nfc/NFCAdapter_setPreferredApp_exist.html [new file with mode: 0755]
common/tct-nfc-tizen-tests/nfc/NFCAdapter_setPreferredApp_extra_argument.html [new file with mode: 0755]
common/tct-nfc-tizen-tests/nfc/NFCAdapter_unsetPreferredApp.html [new file with mode: 0755]
common/tct-nfc-tizen-tests/nfc/NFCAdapter_unsetPreferredApp_exist.html [new file with mode: 0755]
common/tct-nfc-tizen-tests/nfc/NFCAdapter_unsetPreferredApp_extra_argument.html [new file with mode: 0755]
common/tct-nfc-tizen-tests/tests.full.xml
common/tct-nfc-tizen-tests/tests.xml

diff --git a/common/tct-nfc-tizen-tests/nfc/NFCAdapter_setPreferredApp.html b/common/tct-nfc-tizen-tests/nfc/NFCAdapter_setPreferredApp.html
new file mode 100755 (executable)
index 0000000..d5e2fa7
--- /dev/null
@@ -0,0 +1,47 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2017 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+        Mengli Zhang <mengli.zhang@samsung.com>
+
+-->
+<html>
+<head>
+<title>NFCAdapter_setPreferredApp</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: NFCAdapter_setPreferredApp
+//==== LABEL Check if NFCAdapter::setPreferredApp() method works properly
+//==== PRIORITY P1
+//==== SPEC Tizen Web API:Communication:NFC:NFCAdapter:setPreferredApp M
+//==== SPEC_URL TBD
+//==== TEST_CRITERIA MR
+
+test(function () {
+    var adapter, retVal;
+    retVal = null;
+    adapter = tizen.nfc.getDefaultAdapter();
+    retVal =  adapter.setPreferredApp(true);
+    assert_equals(retVal, undefined, "Incorrect return value.");
+}, document.title);
+
+</script>
+</body>
+</html>
\ No newline at end of file
diff --git a/common/tct-nfc-tizen-tests/nfc/NFCAdapter_setPreferredApp_exist.html b/common/tct-nfc-tizen-tests/nfc/NFCAdapter_setPreferredApp_exist.html
new file mode 100755 (executable)
index 0000000..a06556b
--- /dev/null
@@ -0,0 +1,45 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2017 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+        Mengli Zhang <mengli.zhang@samsung.com>
+
+-->
+<html>
+<head>
+<title>NFCAdapter_setPreferredApp_exist</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: NFCAdapter_setPreferredApp_exist
+//==== LABEL Check if method NFCAdapter::setPreferredApp() method exists
+//==== SPEC Tizen Web API:Communication:NFC:NFCAdapter:setPreferredApp M
+//==== SPEC_URL TBD
+//==== TEST_CRITERIA ME
+
+test(function () {
+    var adapter;
+    adapter = tizen.nfc.getDefaultAdapter();
+    assert_true("setPreferredApp" in adapter, "setPreferredApp does not exist.");
+    check_method_exists(adapter, "setPreferredApp");
+}, document.title);
+
+</script>
+</body>
+</html>
\ No newline at end of file
diff --git a/common/tct-nfc-tizen-tests/nfc/NFCAdapter_setPreferredApp_extra_argument.html b/common/tct-nfc-tizen-tests/nfc/NFCAdapter_setPreferredApp_extra_argument.html
new file mode 100755 (executable)
index 0000000..28036dc
--- /dev/null
@@ -0,0 +1,45 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2017 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+
+Authors:
+        Mengli Zhang <mengli.zhang@samsung.com>
+
+-->
+<html>
+<head>
+<title>NFCAdapter_setPreferredApp_extra_argument</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: NFCAdapter_setPreferredApp_extra_argument
+//==== LABEL Check if method setPreferredApp of NFCAdapter accepts extra argument
+//==== SPEC Tizen Web API:Communication:NFC:NFCAdapter:setPreferredApp M
+//==== SPEC_URL TBD
+//==== TEST_CRITERIA MNAEX
+
+test(function () {
+    var adapter;
+    adapter = tizen.nfc.getDefaultAdapter();
+    checkExtraArgument(adapter, "setPreferredApp");
+}, document.title);
+
+</script>
+</body>
+</html>
\ No newline at end of file
diff --git a/common/tct-nfc-tizen-tests/nfc/NFCAdapter_unsetPreferredApp.html b/common/tct-nfc-tizen-tests/nfc/NFCAdapter_unsetPreferredApp.html
new file mode 100755 (executable)
index 0000000..72dac2c
--- /dev/null
@@ -0,0 +1,48 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2017 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+        Mengli Zhang <mengli.zhang@samsung.com>
+
+-->
+<html>
+<head>
+<title>NFCAdapter_unsetPreferredApp</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: NFCAdapter_unsetPreferredApp
+//==== LABEL Check if NFCAdapter::unsetPreferredApp() method works properly
+//==== PRIORITY P1
+//==== SPEC Tizen Web API:Communication:NFC:NFCAdapter:unsetPreferredApp M
+//==== SPEC_URL TBD
+//==== TEST_CRITERIA MR
+
+test(function () {
+    var adapter, retVal;
+    retVal = null;
+    adapter = tizen.nfc.getDefaultAdapter();
+    adapter.setPreferredApp();
+    retVal =  adapter.unsetPreferredApp(true);
+    assert_equals(retVal, undefined, "Incorrect return value.");
+}, document.title);
+
+</script>
+</body>
+</html>
\ No newline at end of file
diff --git a/common/tct-nfc-tizen-tests/nfc/NFCAdapter_unsetPreferredApp_exist.html b/common/tct-nfc-tizen-tests/nfc/NFCAdapter_unsetPreferredApp_exist.html
new file mode 100755 (executable)
index 0000000..eab518e
--- /dev/null
@@ -0,0 +1,45 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2017 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+        Mengli Zhang <mengli.zhang@samsung.com>
+
+-->
+<html>
+<head>
+<title>NFCAdapter_unsetPreferredApp_exist</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: NFCAdapter_unsetPreferredApp_exist
+//==== LABEL Check if method NFCAdapter::unsetPreferredApp() method exists
+//==== SPEC Tizen Web API:Communication:NFC:NFCAdapter:unsetPreferredApp M
+//==== SPEC_URL TBD
+//==== TEST_CRITERIA ME
+
+test(function () {
+    var adapter;
+    adapter = tizen.nfc.getDefaultAdapter();
+    assert_true("unsetPreferredApp" in adapter, "unsetPreferredApp does not exist.");
+    check_method_exists(adapter, "unsetPreferredApp");
+}, document.title);
+
+</script>
+</body>
+</html>
\ No newline at end of file
diff --git a/common/tct-nfc-tizen-tests/nfc/NFCAdapter_unsetPreferredApp_extra_argument.html b/common/tct-nfc-tizen-tests/nfc/NFCAdapter_unsetPreferredApp_extra_argument.html
new file mode 100755 (executable)
index 0000000..a5eefbf
--- /dev/null
@@ -0,0 +1,45 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2017 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+
+Authors:
+        Mengli Zhang <mengli.zhang@samsung.com>
+
+-->
+<html>
+<head>
+<title>NFCAdapter_unsetPreferredApp_extra_argument</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: NFCAdapter_unsetPreferredApp_extra_argument
+//==== LABEL Check if method unsetPreferredApp of NFCAdapter accepts extra argument
+//==== SPEC Tizen Web API:Communication:NFC:NFCAdapter:unsetPreferredApp M
+//==== SPEC_URL TBD
+//==== TEST_CRITERIA MNAEX
+
+test(function () {
+    var adapter;
+    adapter = tizen.nfc.getDefaultAdapter();
+    checkExtraArgument(adapter, "unsetPreferredApp");
+}, document.title);
+
+</script>
+</body>
+</html>
\ No newline at end of file
index a9e2deef797c4ed7e9e897bb19fe8c0bf8ee0bcb..68be71a3cc346854a7dd472228102bef356518f8 100755 (executable)
           </spec>
         </specs>
       </testcase>-->
+      <testcase purpose="Check if NFCAdapter::setPreferredApp() method works properly" type="compliance" status="approved" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P1" id="NFCAdapter_setPreferredApp">
+        <description>
+          <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_setPreferredApp.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <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::setPreferredApp() method exists" type="compliance" status="approved" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P0" id="NFCAdapter_setPreferredApp_exist">
+        <description>
+          <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_setPreferredApp_exist.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <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 setPreferredApp of NFCAdapter accepts extra argument" type="compliance" status="approved" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P0" id="NFCAdapter_setPreferredApp_extra_argument">
+        <description>
+          <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_setPreferredApp_extra_argument.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <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 NFCAdapter::unsetPreferredApp() method works properly" type="compliance" status="approved" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P1" id="NFCAdapter_unsetPreferredApp">
+        <description>
+          <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_unsetPreferredApp.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <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::unsetPreferredApp() method exists" type="compliance" status="approved" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P0" id="NFCAdapter_unsetPreferredApp_exist">
+        <description>
+          <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_unsetPreferredApp_exist.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <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 unsetPreferredApp of NFCAdapter accepts extra argument" type="compliance" status="approved" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P0" id="NFCAdapter_unsetPreferredApp_extra_argument">
+        <description>
+          <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_unsetPreferredApp_extra_argument.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <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_wearable">
       <capabilities>
           </spec>
         </specs>
       </testcase>-->
+      <testcase purpose="Check if NFCAdapter::setPreferredApp() method works properly" type="compliance" status="approved" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P1" id="NFCAdapter_setPreferredApp">
+        <description>
+          <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_setPreferredApp.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <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::setPreferredApp() method exists" type="compliance" status="approved" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P0" id="NFCAdapter_setPreferredApp_exist">
+        <description>
+          <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_setPreferredApp_exist.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <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 setPreferredApp of NFCAdapter accepts extra argument" type="compliance" status="approved" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P0" id="NFCAdapter_setPreferredApp_extra_argument">
+        <description>
+          <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_setPreferredApp_extra_argument.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <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 NFCAdapter::unsetPreferredApp() method works properly" type="compliance" status="approved" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P1" id="NFCAdapter_unsetPreferredApp">
+        <description>
+          <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_unsetPreferredApp.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <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::unsetPreferredApp() method exists" type="compliance" status="approved" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P0" id="NFCAdapter_unsetPreferredApp_exist">
+        <description>
+          <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_unsetPreferredApp_exist.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <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 unsetPreferredApp of NFCAdapter accepts extra argument" type="compliance" status="approved" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P0" id="NFCAdapter_unsetPreferredApp_extra_argument">
+        <description>
+          <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_unsetPreferredApp_extra_argument.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <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="P2P_mobile">
       <capabilities>
index 7ea97ab4a54da9135a2c42e2577d30e00650f843..d79aae3031a3f6de3cc3ee0aba5ebf3eade0fddc 100755 (executable)
           <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/TransactionEventCallback_ondetected.html</test_script_entry>
         </description>
       </testcase>-->
+      <testcase purpose="Check if NFCAdapter::setPreferredApp() method works properly" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P1" id="NFCAdapter_setPreferredApp">
+        <description>
+          <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_setPreferredApp.html</test_script_entry>
+        </description>
+      </testcase>
+      <testcase purpose="Check if method NFCAdapter::setPreferredApp() method exists" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P1" id="NFCAdapter_setPreferredApp_exist">
+        <description>
+          <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_setPreferredApp_exist.html</test_script_entry>
+        </description>
+      </testcase>
+      <testcase purpose="Check if method setPreferredApp of NFCAdapter accepts extra argument" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P1" id="NFCAdapter_setPreferredApp_extra_argument">
+        <description>
+          <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_setPreferredApp_extra_argument.html</test_script_entry>
+        </description>
+      </testcase>
+      <testcase purpose="Check if NFCAdapter::setPreferredApp() method works properly" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P1" id="NFCAdapter_unsetPreferredApp">
+        <description>
+          <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_unsetPreferredApp.html</test_script_entry>
+        </description>
+      </testcase>
+      <testcase purpose="Check if method NFCAdapter::setPreferredApp() method exists" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P1" id="NFCAdapter_unsetPreferredApp_exist">
+        <description>
+          <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_unsetPreferredApp_exist.html</test_script_entry>
+        </description>
+      </testcase>
+      <testcase purpose="Check if method setPreferredApp of NFCAdapter accepts extra argument" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P1" id="NFCAdapter_unsetPreferredApp_extra_argument">
+        <description>
+          <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_unsetPreferredApp_extra_argument.html</test_script_entry>
+        </description>
+      </testcase>
     </set>
     <set name="EMU_wearable">
       <capabilities>
           <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/TransactionEventCallback_ondetected.html</test_script_entry>
         </description>
       </testcase>-->
+      <testcase purpose="Check if NFCAdapter::setPreferredApp() method works properly" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P1" id="NFCAdapter_setPreferredApp">
+        <description>
+          <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_setPreferredApp.html</test_script_entry>
+        </description>
+      </testcase>
+      <testcase purpose="Check if method NFCAdapter::setPreferredApp() method exists" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P1" id="NFCAdapter_setPreferredApp_exist">
+        <description>
+          <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_setPreferredApp_exist.html</test_script_entry>
+        </description>
+      </testcase>
+      <testcase purpose="Check if method setPreferredApp of NFCAdapter accepts extra argument" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P1" id="NFCAdapter_setPreferredApp_extra_argument">
+        <description>
+          <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_setPreferredApp_extra_argument.html</test_script_entry>
+        </description>
+      </testcase>
+      <testcase purpose="Check if NFCAdapter::setPreferredApp() method works properly" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P1" id="NFCAdapter_unsetPreferredApp">
+        <description>
+          <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_unsetPreferredApp.html</test_script_entry>
+        </description>
+      </testcase>
+      <testcase purpose="Check if method NFCAdapter::setPreferredApp() method exists" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P1" id="NFCAdapter_unsetPreferredApp_exist">
+        <description>
+          <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_unsetPreferredApp_exist.html</test_script_entry>
+        </description>
+      </testcase>
+      <testcase purpose="Check if method setPreferredApp of NFCAdapter accepts extra argument" component="TizenAPI/Communication/NFC" execution_type="auto" priority="P1" id="NFCAdapter_unsetPreferredApp_extra_argument">
+        <description>
+          <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_unsetPreferredApp_extra_argument.html</test_script_entry>
+        </description>
+      </testcase>
     </set>
     <set name="P2P_mobile">
       <capabilities>