[common][tizen][TWDAPI-225, add 22 tcs for new api] 97/210497/3
authorzhongyuan <zy123.yuan@samsung.com>
Sat, 20 Jul 2019 09:12:37 +0000 (17:12 +0800)
committerzhongyuan <zy123.yuan@samsung.com>
Wed, 31 Jul 2019 08:50:49 +0000 (16:50 +0800)
--all tc pass on tizen-unified_20190715.1.20190715.124605/

Change-Id: I7ac301641a40e38ec02db22c45fbf4d9b0080f33

24 files changed:
common/tct-tizen-tizen-tests/tests.full.xml
common/tct-tizen-tizen-tests/tests.xml
common/tct-tizen-tizen-tests/tizen/BundleItemCallback_notexist.html [new file with mode: 0755]
common/tct-tizen-tizen-tests/tizen/BundleItemCallback_onitem.html [new file with mode: 0755]
common/tct-tizen-tizen-tests/tizen/Bundle_constructor.html [new file with mode: 0755]
common/tct-tizen-tizen-tests/tizen/Bundle_constructor_json.html [new file with mode: 0755]
common/tct-tizen-tizen-tests/tizen/Bundle_exist.html [new file with mode: 0755]
common/tct-tizen-tizen-tests/tizen/Bundle_extend.html [new file with mode: 0755]
common/tct-tizen-tizen-tests/tizen/Bundle_forEach.html [new file with mode: 0755]
common/tct-tizen-tizen-tests/tizen/Bundle_forEach_exist.html [new file with mode: 0755]
common/tct-tizen-tizen-tests/tizen/Bundle_get.html [new file with mode: 0755]
common/tct-tizen-tizen-tests/tizen/Bundle_get_NotFoundError.html [new file with mode: 0755]
common/tct-tizen-tizen-tests/tizen/Bundle_get_exist.html [new file with mode: 0755]
common/tct-tizen-tizen-tests/tizen/Bundle_set.html [new file with mode: 0755]
common/tct-tizen-tizen-tests/tizen/Bundle_set_exist.html [new file with mode: 0755]
common/tct-tizen-tizen-tests/tizen/Bundle_toJSON.html [new file with mode: 0755]
common/tct-tizen-tizen-tests/tizen/Bundle_toJSON_exist.html [new file with mode: 0755]
common/tct-tizen-tizen-tests/tizen/Bundle_toJSON_extra_argument.html [new file with mode: 0755]
common/tct-tizen-tizen-tests/tizen/Bundle_toString.html [new file with mode: 0755]
common/tct-tizen-tizen-tests/tizen/Bundle_toString_exist.html [new file with mode: 0755]
common/tct-tizen-tizen-tests/tizen/Bundle_toString_extra_argument.html [new file with mode: 0755]
common/tct-tizen-tizen-tests/tizen/Bundle_typeOf.html [new file with mode: 0755]
common/tct-tizen-tizen-tests/tizen/Bundle_typeOf_NotFoundError.html [new file with mode: 0755]
common/tct-tizen-tizen-tests/tizen/Bundle_typeOf_exist.html [new file with mode: 0755]

index a8049f879cf07eb69aa2e2f12aa181018b57b5e2..52489241c9e2965ec35c4e2080306becdb2dc81e 100755 (executable)
           </spec>
         </specs>
       </testcase>
+      <testcase purpose="Check if Bundle constructor is correct" type="compliance" status="approved" component="Tizen Device APIs/Tizen/Tizen" execution_type="auto" priority="P1" id="Bundle_constructor">
+        <description>
+          <test_script_entry>/opt/tct-tizen-tizen-tests/tizen/Bundle_constructor.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="Bundle" element_type="constructor" element_name="constructor" specification="Tizen" section="Tizen" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/tizen.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if Bundle constructor is correct with json" type="compliance" status="approved" component="Tizen Device APIs/Tizen/Tizen" execution_type="auto" priority="P1" id="Bundle_constructor_json">
+        <description>
+          <test_script_entry>/opt/tct-tizen-tizen-tests/tizen/Bundle_constructor_json.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="Bundle" element_type="constructor" element_name="constructor" specification="Tizen" section="Tizen" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/tizen.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if Bundle constructor exists" type="compliance" status="approved" component="Tizen Device APIs/Tizen/Tizen" execution_type="auto" priority="P1" id="Bundle_exist">
+        <description>
+          <test_script_entry>/opt/tct-tizen-tizen-tests/tizen/Bundle_exist.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="Bundle" element_type="constructor" element_name="constructor" specification="Tizen" section="Tizen" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/tizen.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if Bundle can be extended" type="compliance" status="approved" component="Tizen Device APIs/Tizen/Tizen" execution_type="auto" priority="P3" id="Bundle_extend">
+        <description>
+          <test_script_entry>/opt/tct-tizen-tizen-tests/tizen/Bundle_extend.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="Bundle" usage="true" specification="Tizen" section="Tizen" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/tizen.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if Bundle get method works properly" type="compliance" status="approved" component="Tizen Device APIs/Tizen/Tizen" execution_type="auto" priority="P1" id="Bundle_get">
+        <description>
+          <test_script_entry>/opt/tct-tizen-tizen-tests/tizen/Bundle_get.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="Bundle" element_type="method" element_name="get" specification="Tizen" section="Tizen" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/tizen.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if Bundle get method exists" type="compliance" status="approved" component="Tizen Device APIs/Tizen/Tizen" execution_type="auto" priority="P0" id="Bundle_get_exist">
+        <description>
+          <test_script_entry>/opt/tct-tizen-tizen-tests/tizen/Bundle_get_exist.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="Bundle" element_type="method" element_name="get" specification="Tizen" section="Tizen" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/tizen.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if Bundle::get() throws WebAPIException with error type NotFoundError, if the key could not be found" type="compliance" status="approved" component="Tizen Device APIs/Tizen/Tizen" execution_type="auto" priority="P2" id="Bundle_get_NotFoundError">
+        <description>
+          <test_script_entry>/opt/tct-tizen-tizen-tests/tizen/Bundle_get_NotFoundError.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="Bundle" element_type="method" element_name="get" specification="Tizen" section="Tizen" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/tizen.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if Bundle set method works properly" type="compliance" status="approved" component="Tizen Device APIs/Tizen/Tizen" execution_type="auto" priority="P1" id="Bundle_set">
+        <description>
+          <test_script_entry>/opt/tct-tizen-tizen-tests/tizen/Bundle_set.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="Bundle" element_type="method" element_name="set" specification="Tizen" section="Tizen" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/tizen.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if Bundle set method exists" type="compliance" status="approved" component="Tizen Device APIs/Tizen/Tizen" execution_type="auto" priority="P0" id="Bundle_set_exist">
+        <description>
+          <test_script_entry>/opt/tct-tizen-tizen-tests/tizen/Bundle_set_exist.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="Bundle" element_type="method" element_name="set" specification="Tizen" section="Tizen" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/tizen.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if Bundle typeOf method works properly" type="compliance" status="approved" component="Tizen Device APIs/Tizen/Tizen" execution_type="auto" priority="P1" id="Bundle_typeOf">
+        <description>
+          <test_script_entry>/opt/tct-tizen-tizen-tests/tizen/Bundle_typeOf.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="Bundle" element_type="method" element_name="typeOf" specification="Tizen" section="Tizen" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/tizen.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if Bundle typeOf method exists" type="compliance" status="approved" component="Tizen Device APIs/Tizen/Tizen" execution_type="auto" priority="P0" id="Bundle_typeOf_exist">
+        <description>
+          <test_script_entry>/opt/tct-tizen-tizen-tests/tizen/Bundle_typeOf_exist.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="Bundle" element_type="method" element_name="typeOf" specification="Tizen" section="Tizen" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/tizen.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if Bundle::typeOf() throws WebAPIException with error type NotFoundError, if the key could not be found" type="compliance" status="approved" component="Tizen Device APIs/Tizen/Tizen" execution_type="auto" priority="P2" id="Bundle_typeOf_NotFoundError">
+        <description>
+          <test_script_entry>/opt/tct-tizen-tizen-tests/tizen/Bundle_typeOf_NotFoundError.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="Bundle" element_type="method" element_name="typeOf" specification="Tizen" section="Tizen" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/tizen.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if Bundle forEach method works properly" type="compliance" status="approved" component="Tizen Device APIs/Tizen/Tizen" execution_type="auto" priority="P1" id="Bundle_forEach">
+        <description>
+          <test_script_entry>/opt/tct-tizen-tizen-tests/tizen/Bundle_forEach.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="Bundle" element_type="method" element_name="forEach" specification="Tizen" section="Tizen" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/tizen.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if Bundle forEach method exists" type="compliance" status="approved" component="Tizen Device APIs/Tizen/Tizen" execution_type="auto" priority="P0" id="Bundle_forEach_exist">
+        <description>
+          <test_script_entry>/opt/tct-tizen-tizen-tests/tizen/Bundle_forEach_exist.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="Bundle" element_type="method" element_name="forEach" specification="Tizen" section="Tizen" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/tizen.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if Bundle toJSON method works properly" type="compliance" status="approved" component="Tizen Device APIs/Tizen/Tizen" execution_type="auto" priority="P1" id="Bundle_toJSON">
+        <description>
+          <test_script_entry>/opt/tct-tizen-tizen-tests/tizen/Bundle_toJSON.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="Bundle" element_type="method" element_name="toJSON" specification="Tizen" section="Tizen" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/tizen.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if Bundle toJSON method exists" type="compliance" status="approved" component="Tizen Device APIs/Tizen/Tizen" execution_type="auto" priority="P0" id="Bundle_toJSON_exist">
+        <description>
+          <test_script_entry>/opt/tct-tizen-tizen-tests/tizen/Bundle_toJSON_exist.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="Bundle" element_type="method" element_name="toJSON" specification="Tizen" section="Tizen" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/tizen.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check Bundle::toJSON() method with extra argument" type="compliance" status="approved" component="Tizen Device APIs/Tizen/Tizen" execution_type="auto" priority="P1" id="Bundle_toJSON_extra_argument">
+        <description>
+          <test_script_entry>/opt/tct-tizen-tizen-tests/tizen/Bundle_toJSON_extra_argument.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="Bundle" element_type="method" element_name="toJSON" specification="Tizen" section="Tizen" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/tizen.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if Bundle toString method works properly" type="compliance" status="approved" component="Tizen Device APIs/Tizen/Tizen" execution_type="auto" priority="P1" id="Bundle_toString">
+        <description>
+          <test_script_entry>/opt/tct-tizen-tizen-tests/tizen/Bundle_toString.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="Bundle" element_type="method" element_name="toString" specification="Tizen" section="Tizen" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/tizen.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if Bundle toString method exists" type="compliance" status="approved" component="Tizen Device APIs/Tizen/Tizen" execution_type="auto" priority="P0" id="Bundle_toString_exist">
+        <description>
+          <test_script_entry>/opt/tct-tizen-tizen-tests/tizen/Bundle_toString_exist.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="Bundle" element_type="method" element_name="toString" specification="Tizen" section="Tizen" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/tizen.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check Bundle::toString() method with extra argument" type="compliance" status="approved" component="Tizen Device APIs/Tizen/Tizen" execution_type="auto" priority="P1" id="Bundle_toString_extra_argument">
+        <description>
+          <test_script_entry>/opt/tct-tizen-tizen-tests/tizen/Bundle_toString_extra_argument.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="Bundle" element_type="method" element_name="toString" specification="Tizen" section="Tizen" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/tizen.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if interface BundleItemCallback exists, it should not" type="compliance" status="approved" component="Tizen Device APIs/Tizen/Tizen" execution_type="auto" priority="P3" id="BundleItemCallback_notexist">
+        <description>
+          <test_script_entry>/opt/tct-tizen-tizen-tests/tizen/BundleItemCallback_notexist.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="Bundle" element_type="callback" element_name="BundleItemCallback" specification="Tizen" section="Tizen" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/tizen.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if BundleItemCallback:onitem() works properly" type="compliance" status="approved" component="Tizen Device APIs/Tizen/Tizen" execution_type="auto" priority="P1" id="BundleItemCallback_onitem">
+        <description>
+          <test_script_entry>/opt/tct-tizen-tizen-tests/tizen/BundleItemCallback_onitem.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="Bundle" element_type="callback" element_name="BundleItemCallback" specification="Tizen" section="Tizen" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/tizen.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
     </set>
   </suite>
 </test_definition>
index 072562ad7019136a84de85cc44b2c580ceb5a6a1..1b9582ffeebc523c1a88f5ef4401a60b1b6e4eec 100755 (executable)
           <test_script_entry>/opt/tct-tizen-tizen-tests/tizen/WebAPIException_notexist.html</test_script_entry>
         </description>
       </testcase>
+      <testcase component="Tizen Device APIs/Tizen/Tizen" execution_type="auto" id="Bundle_constructor" priority="P1" purpose="Check if Bundle constructor is correct">
+        <description>
+          <test_script_entry>/opt/tct-tizen-tizen-tests/tizen/Bundle_constructor.html</test_script_entry>
+        </description>
+      </testcase>
+      <testcase component="Tizen Device APIs/Tizen/Tizen" execution_type="auto" id="Bundle_constructor_json" priority="P1" purpose="Check if Bundle constructor is correct with json">
+        <description>
+          <test_script_entry>/opt/tct-tizen-tizen-tests/tizen/Bundle_constructor_json.html</test_script_entry>
+        </description>
+      </testcase>
+      <testcase component="Tizen Device APIs/Tizen/Tizen" execution_type="auto" id="Bundle_exist" priority="P1" purpose="Check if Bundle constructor exists">
+        <description>
+          <test_script_entry>/opt/tct-tizen-tizen-tests/tizen/Bundle_exist.html</test_script_entry>
+        </description>
+      </testcase>
+      <testcase component="Tizen Device APIs/Tizen/Tizen" execution_type="auto" id="Bundle_extend" priority="P3" purpose="Check if Bundle can be extended">
+        <description>
+          <test_script_entry>/opt/tct-tizen-tizen-tests/tizen/Bundle_extend.html</test_script_entry>
+        </description>
+      </testcase>
+      <testcase component="Tizen Device APIs/Tizen/Tizen" execution_type="auto" id="Bundle_get" priority="P1" purpose="Check if Bundle get method works properly">
+        <description>
+          <test_script_entry>/opt/tct-tizen-tizen-tests/tizen/Bundle_get.html</test_script_entry>
+        </description>
+      </testcase>
+      <testcase component="Tizen Device APIs/Tizen/Tizen" execution_type="auto" id="Bundle_get_exist" priority="P0" purpose="Check if Bundle get method exists">
+        <description>
+          <test_script_entry>/opt/tct-tizen-tizen-tests/tizen/Bundle_get_exist.html</test_script_entry>
+        </description>
+      </testcase>
+      <testcase component="Tizen Device APIs/Tizen/Tizen" execution_type="auto" id="Bundle_get_NotFoundError" priority="P2" purpose="Check if Bundle::get() throws WebAPIException with error type NotFoundError, if the key could not be found">
+        <description>
+          <test_script_entry>/opt/tct-tizen-tizen-tests/tizen/Bundle_get_NotFoundError.html</test_script_entry>
+        </description>
+      </testcase>
+      <testcase component="Tizen Device APIs/Tizen/Tizen" execution_type="auto" id="Bundle_set" priority="P1" purpose="Check if Bundle set method works properly">
+        <description>
+          <test_script_entry>/opt/tct-tizen-tizen-tests/tizen/Bundle_set.html</test_script_entry>
+        </description>
+      </testcase>
+      <testcase component="Tizen Device APIs/Tizen/Tizen" execution_type="auto" id="Bundle_set_exist" priority="P0" purpose="Check if Bundle set method exists">
+        <description>
+          <test_script_entry>/opt/tct-tizen-tizen-tests/tizen/Bundle_set_exist.html</test_script_entry>
+        </description>
+      </testcase>
+      <testcase component="Tizen Device APIs/Tizen/Tizen" execution_type="auto" id="Bundle_typeOf" priority="P1" purpose="Check if Bundle typeOf method works properly">
+        <description>
+          <test_script_entry>/opt/tct-tizen-tizen-tests/tizen/Bundle_typeOf.html</test_script_entry>
+        </description>
+      </testcase>
+      <testcase component="Tizen Device APIs/Tizen/Tizen" execution_type="auto" id="Bundle_typeOf_exist" priority="P0" purpose="Check if Bundle typeOf method exists">
+        <description>
+          <test_script_entry>/opt/tct-tizen-tizen-tests/tizen/Bundle_typeOf_exist.html</test_script_entry>
+        </description>
+      </testcase>
+      <testcase component="Tizen Device APIs/Tizen/Tizen" execution_type="auto" id="Bundle_typeOf_NotFoundError" priority="P2" purpose="Check if Bundle::typeOf() throws WebAPIException with error type NotFoundError, if the key could not be found">
+        <description>
+          <test_script_entry>/opt/tct-tizen-tizen-tests/tizen/Bundle_typeOf_NotFoundError.html</test_script_entry>
+        </description>
+      </testcase>
+      <testcase component="Tizen Device APIs/Tizen/Tizen" execution_type="auto" id="Bundle_forEach" priority="P1" purpose="Check if Bundle forEach method works properly">
+        <description>
+          <test_script_entry>/opt/tct-tizen-tizen-tests/tizen/Bundle_forEach.html</test_script_entry>
+        </description>
+      </testcase>
+      <testcase component="Tizen Device APIs/Tizen/Tizen" execution_type="auto" id="Bundle_forEach_exist" priority="P0" purpose="Check if Bundle forEach method exists">
+        <description>
+          <test_script_entry>/opt/tct-tizen-tizen-tests/tizen/Bundle_forEach_exist.html</test_script_entry>
+        </description>
+      </testcase>
+      <testcase component="Tizen Device APIs/Tizen/Tizen" execution_type="auto" id="Bundle_toJSON" priority="P1" purpose="Check if Bundle toJSON method works properly">
+        <description>
+          <test_script_entry>/opt/tct-tizen-tizen-tests/tizen/Bundle_toJSON.html</test_script_entry>
+        </description>
+      </testcase>
+      <testcase component="Tizen Device APIs/Tizen/Tizen" execution_type="auto" id="Bundle_toJSON_exist" priority="P0" purpose="Check if Bundle toJSON method exists">
+        <description>
+          <test_script_entry>/opt/tct-tizen-tizen-tests/tizen/Bundle_toJSON_exist.html</test_script_entry>
+        </description>
+      </testcase>
+      <testcase component="Tizen Device APIs/Tizen/Tizen" execution_type="auto" id="Bundle_toJSON_extra_argument" priority="P1" purpose="Check Bundle::toJSON() method with extra argument">
+        <description>
+          <test_script_entry>/opt/tct-tizen-tizen-tests/tizen/Bundle_toJSON_extra_argument.html</test_script_entry>
+        </description>
+      </testcase>
+      <testcase component="Tizen Device APIs/Tizen/Tizen" execution_type="auto" id="Bundle_toString" priority="P1" purpose="Check if Bundle toString method works properly">
+        <description>
+          <test_script_entry>/opt/tct-tizen-tizen-tests/tizen/Bundle_toString.html</test_script_entry>
+        </description>
+      </testcase>
+      <testcase component="Tizen Device APIs/Tizen/Tizen" execution_type="auto" id="Bundle_toString_exist" priority="P0" purpose="Check if Bundle toString method exists">
+        <description>
+          <test_script_entry>/opt/tct-tizen-tizen-tests/tizen/Bundle_toString_exist.html</test_script_entry>
+        </description>
+      </testcase>
+      <testcase component="Tizen Device APIs/Tizen/Tizen" execution_type="auto" id="Bundle_toString_extra_argument" priority="P1" purpose="Check Bundle::toString() method with extra argument">
+        <description>
+          <test_script_entry>/opt/tct-tizen-tizen-tests/tizen/Bundle_toString_extra_argument.html</test_script_entry>
+        </description>
+      </testcase>
+      <testcase component="Tizen Device APIs/Tizen/Tizen" execution_type="auto" id="BundleItemCallback_notexist" priority="P3" purpose="Check if interface BundleItemCallback exists, it should not">
+        <description>
+          <test_script_entry>/opt/tct-tizen-tizen-tests/tizen/BundleItemCallback_notexist.html</test_script_entry>
+        </description>
+      </testcase>
+      <testcase component="Tizen Device APIs/Tizen/Tizen" execution_type="auto" id="BundleItemCallback_onitem" priority="P1" purpose="Check if BundleItemCallback:onitem() works properly">
+        <description>
+          <test_script_entry>/opt/tct-tizen-tizen-tests/tizen/BundleItemCallback_onitem.html</test_script_entry>
+        </description>
+      </testcase>
     </set>
   </suite>
 </test_definition>
diff --git a/common/tct-tizen-tizen-tests/tizen/BundleItemCallback_notexist.html b/common/tct-tizen-tizen-tests/tizen/BundleItemCallback_notexist.html
new file mode 100755 (executable)
index 0000000..feb1321
--- /dev/null
@@ -0,0 +1,43 @@
+<!DOCTYPE html>
+<!--
+
+Copyright (c) 2019 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:
+        Zhongyuan Yuan <zy123.yuan@samsung.com>
+-->
+<html>
+<head>
+<title>BundleItemCallback_notexist</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: BundleItemCallback_notexist
+//==== LABEL Check if interface BundleItemCallback exists, it should not
+//==== SPEC Tizen Web API:Tizen:Tizen:Bundle:BundleItemCallback U
+//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/tizen.html
+//==== PRIORITY P3
+//==== TEST_CRITERIA CBNIO
+
+test(function () {
+    check_no_interface_object("BundleItemCallback");
+}, document.title);
+
+</script>
+</body>
+</html>
diff --git a/common/tct-tizen-tizen-tests/tizen/BundleItemCallback_onitem.html b/common/tct-tizen-tizen-tests/tizen/BundleItemCallback_onitem.html
new file mode 100755 (executable)
index 0000000..a0e738c
--- /dev/null
@@ -0,0 +1,56 @@
+<!DOCTYPE html>
+<!--
+
+Copyright (c) 2019 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:
+        Zhongyuan Yuan <zy123.yuan@samsung.com>
+-->
+<html>
+<head>
+<title>BundleItemCallback_onitem</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+<script src="support/account_common.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: BundleItemCallback_onitem
+//==== LABEL Check if BundleItemCallback:onitem() works properly
+//==== SPEC Tizen Web API:Tizen:Tizen:Bundle:BundleItemCallback:onitem M
+//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/tizen.html
+//==== PRIORITY P1
+//==== TEST_CRITERIA CBT CBOA
+
+setup({timeout: 90000});
+
+var t = async_test(document.title, {timeout: 90000}), bundle, bundleCallback;
+
+t.step(function () {
+    bundleCallback = t.step_func(function (key, value, type) {
+        assert_equals(key, "string", "invalid value of Key");
+        assert_equals(value, "hello, world", "invalid value of Value");
+        assert_equals(type, "STRING", "invalid value of Type");
+        t.done();
+    });
+
+    bundle = new tizen.Bundle();
+    bundle.set("string", "hello, world");
+    bundle.forEach(bundleCallback);
+});
+</script>
+</body>
+</html>
diff --git a/common/tct-tizen-tizen-tests/tizen/Bundle_constructor.html b/common/tct-tizen-tizen-tests/tizen/Bundle_constructor.html
new file mode 100755 (executable)
index 0000000..bdc0278
--- /dev/null
@@ -0,0 +1,46 @@
+<!DOCTYPE html>
+<!--
+
+Copyright (c) 2019 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:
+        Zhongyuan Yuan <zy123.yuan@samsung.com>
+-->
+
+<html>
+<head>
+<title>Bundle_constructor</title>
+<meta charset="utf-8">
+<script type="text/javascript" src="support/unitcommon.js"></script>
+</head>
+
+<body>
+<div id="log"></div>
+<script type="text/javascript">
+//==== TEST: Bundle_constructor
+//==== LABEL Check if Bundle constructor is correct
+//==== PRIORITY P1
+//==== SPEC Tizen Web API:Tizen:Tizen:Bundle:constructor C
+//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/tizen.html
+//==== TEST_CRITERIA CONSTRM
+test(function () {
+    var bundle;
+    bundle = new tizen.Bundle();
+    assert_type(bundle, "object", "Constructor did not create bundle object.");
+}, document.title);
+
+</script>
+</body>
+</html>
diff --git a/common/tct-tizen-tizen-tests/tizen/Bundle_constructor_json.html b/common/tct-tizen-tizen-tests/tizen/Bundle_constructor_json.html
new file mode 100755 (executable)
index 0000000..786f23c
--- /dev/null
@@ -0,0 +1,48 @@
+<!DOCTYPE html>
+<!--
+
+Copyright (c) 2019 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:
+        Zhongyuan Yuan <zy123.yuan@samsung.com>
+-->
+
+<html>
+<head>
+<title>Bundle_constructor_json</title>
+<meta charset="utf-8">
+<script type="text/javascript" src="support/unitcommon.js"></script>
+</head>
+
+<body>
+<div id="log"></div>
+<script type="text/javascript">
+//==== TEST: Bundle_constructor_json
+//==== LABEL Check if Bundle constructor is correct with json
+//==== PRIORITY P1
+//==== SPEC Tizen Web API:Tizen:Tizen:Bundle:constructor C
+//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/tizen.html
+//==== TEST_CRITERIA CONSTRM CONSTRA
+test(function () {
+    var bundle, json;
+    json = { key1: 'value' };
+    bundle = new tizen.Bundle(json);
+    assert_type(bundle, "object", "Constructor did not create bundle object.");
+    assert_equals(bundle.get("key1"), "value", "bundle data should be set");
+}, document.title);
+
+</script>
+</body>
+</html>
diff --git a/common/tct-tizen-tizen-tests/tizen/Bundle_exist.html b/common/tct-tizen-tizen-tests/tizen/Bundle_exist.html
new file mode 100755 (executable)
index 0000000..cc5e965
--- /dev/null
@@ -0,0 +1,44 @@
+<!DOCTYPE html>
+<!--
+
+Copyright (c) 2019 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:
+        Zhongyuan Yuan <zy123.yuan@samsung.com>
+-->
+
+<html>
+<head>
+<title>Bundle_exist</title>
+<meta charset="utf-8">
+<script type="text/javascript" src="support/unitcommon.js"></script>
+</head>
+
+<body>
+<div id="log"></div>
+<script type="text/javascript">
+//==== TEST: Bundle_exist
+//==== LABEL Check if Bundle constructor exists
+//==== PRIORITY P0
+//==== SPEC Tizen Web API:Tizen:Tizen:Bundle:constructor C
+//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/tizen.html
+//==== TEST_CRITERIA CONSTRF
+test(function () {
+    check_constructor("Bundle");
+}, document.title);
+
+</script>
+</body>
+</html>
diff --git a/common/tct-tizen-tizen-tests/tizen/Bundle_extend.html b/common/tct-tizen-tizen-tests/tizen/Bundle_extend.html
new file mode 100755 (executable)
index 0000000..ddc41f4
--- /dev/null
@@ -0,0 +1,46 @@
+<!DOCTYPE html>
+<!--
+
+Copyright (c) 2019 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:
+        Zhongyuan Yuan <zy123.yuan@samsung.com>
+-->
+
+<html>
+<head>
+<title>Bundle_extend</title>
+<meta charset="utf-8">
+<script type="text/javascript" src="support/unitcommon.js"></script>
+</head>
+
+<body>
+<div id="log"></div>
+<script type="text/javascript">
+//==== TEST: Bundle_extend
+//==== LABEL Check if Bundle can be extend
+//==== PRIORITY P3
+//==== SPEC Tizen Web API:Tizen:Tizen:Bundle:Bundle U
+//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/tizen.html
+//==== TEST_CRITERIA OBX
+test(function () {
+    var bundle;
+    bundle = new tizen.Bundle();
+    check_extensibility(bundle);
+}, document.title);
+
+</script>
+</body>
+</html>
diff --git a/common/tct-tizen-tizen-tests/tizen/Bundle_forEach.html b/common/tct-tizen-tizen-tests/tizen/Bundle_forEach.html
new file mode 100755 (executable)
index 0000000..1e73b46
--- /dev/null
@@ -0,0 +1,56 @@
+<!DOCTYPE html>
+<!--
+
+Copyright (c) 2019 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:
+        Zhongyuan Yuan <zy123.yuan@samsung.com>
+-->
+
+<html>
+<head>
+<title>Bundle_forEach</title>
+<meta charset="utf-8">
+<script type="text/javascript" src="support/unitcommon.js"></script>
+</head>
+
+<body>
+<div id="log"></div>
+<script type="text/javascript">
+//==== TEST: Bundle_forEach
+//==== LABEL Check if Bundle forEach method works properly
+//==== PRIORITY P1
+//==== SPEC Tizen Web API:Tizen:Tizen:Bundle:forEach M
+//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/tizen.html
+//==== TEST_CRITERIA MR
+
+setup({timeout: 90000});
+
+var t = async_test(document.title, {timeout: 90000}), bundle, bundleCallback, retVal;
+
+t.step(function () {
+    bundleCallback = t.step_func(function (key, value, type) {
+        assert_equals(retVal, undefined, "invalid return value of forEach");
+        t.done();
+    });
+
+    bundle = new tizen.Bundle();
+    bundle.set("string", "hello, world");
+    retVal = bundle.forEach(bundleCallback);
+});
+
+</script>
+</body>
+</html>
diff --git a/common/tct-tizen-tizen-tests/tizen/Bundle_forEach_exist.html b/common/tct-tizen-tizen-tests/tizen/Bundle_forEach_exist.html
new file mode 100755 (executable)
index 0000000..750b4c2
--- /dev/null
@@ -0,0 +1,46 @@
+<!DOCTYPE html>
+<!--
+
+Copyright (c) 2019 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:
+        Zhongyuan Yuan <zy123.yuan@samsung.com>
+-->
+
+<html>
+<head>
+<title>Bundle_forEach_exist</title>
+<meta charset="utf-8">
+<script type="text/javascript" src="support/unitcommon.js"></script>
+</head>
+
+<body>
+<div id="log"></div>
+<script type="text/javascript">
+//==== TEST: Bundle_forEachf_exist
+//==== LABEL Check if Bundle forEach method exists
+//==== PRIORITY P0
+//==== SPEC Tizen Web API:Tizen:Tizen:Bundle:forEach M
+//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/tizen.html
+//==== TEST_CRITERIA ME
+test(function () {
+    var bundle;
+    bundle = new tizen.Bundle();
+    check_method_exists(bundle, "forEach");
+}, document.title);
+
+</script>
+</body>
+</html>
diff --git a/common/tct-tizen-tizen-tests/tizen/Bundle_get.html b/common/tct-tizen-tizen-tests/tizen/Bundle_get.html
new file mode 100755 (executable)
index 0000000..a9b80ae
--- /dev/null
@@ -0,0 +1,49 @@
+<!DOCTYPE html>
+<!--
+
+Copyright (c) 2019 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:
+        Zhongyuan Yuan <zy123.yuan@samsung.com>
+-->
+
+<html>
+<head>
+<title>Bundle_get</title>
+<meta charset="utf-8">
+<script type="text/javascript" src="support/unitcommon.js"></script>
+</head>
+
+<body>
+<div id="log"></div>
+<script type="text/javascript">
+//==== TEST: Bundle_get
+//==== LABEL Check if Bundle get method works properly
+//==== PRIORITY P1
+//==== SPEC Tizen Web API:Tizen:Tizen:Bundle:get M
+//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/tizen.html
+//==== TEST_CRITERIA MR MAST
+test(function () {
+    var bundle, json, retVal;
+    json = { key1: 'value' };
+    bundle = new tizen.Bundle(json);
+    retVal = bundle.get("key1");
+    assert_type(retVal, "string", "invalid type of return value");
+    assert_equals(retVal, "value", "invalid return value");
+}, document.title);
+
+</script>
+</body>
+</html>
diff --git a/common/tct-tizen-tizen-tests/tizen/Bundle_get_NotFoundError.html b/common/tct-tizen-tizen-tests/tizen/Bundle_get_NotFoundError.html
new file mode 100755 (executable)
index 0000000..75482e8
--- /dev/null
@@ -0,0 +1,48 @@
+<!DOCTYPE html>
+<!--
+
+Copyright (c) 2019 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:
+        Zhongyuan Yuan <zy123.yuan@samsung.com>
+-->
+
+<html>
+<head>
+<title>Bundle_get_NotFoundError</title>
+<meta charset="utf-8">
+<script type="text/javascript" src="support/unitcommon.js"></script>
+</head>
+
+<body>
+<div id="log"></div>
+<script type="text/javascript">
+//==== TEST: Bundle_get_NotFoundError
+//==== LABEL Check if Bundle::get() throws WebAPIException with error type NotFoundError, if the key could not be found
+//==== PRIORITY P2
+//==== SPEC Tizen Web API:Tizen:Tizen:Bundle:get M
+//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/tizen.html
+//==== TEST_CRITERIA MC
+test(function () {
+    var bundle;
+    bundle = new tizen.Bundle();
+    assert_throws(NOT_FOUND_EXCEPTION, function () {
+        bundle.get("unknown");
+    }, "NotFoundError should be thrown if the key could not be found");
+}, document.title);
+
+</script>
+</body>
+</html>
diff --git a/common/tct-tizen-tizen-tests/tizen/Bundle_get_exist.html b/common/tct-tizen-tizen-tests/tizen/Bundle_get_exist.html
new file mode 100755 (executable)
index 0000000..12f34a7
--- /dev/null
@@ -0,0 +1,46 @@
+<!DOCTYPE html>
+<!--
+
+Copyright (c) 2019 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:
+        Zhongyuan Yuan <zy123.yuan@samsung.com>
+-->
+
+<html>
+<head>
+<title>Bundle_get_exist</title>
+<meta charset="utf-8">
+<script type="text/javascript" src="support/unitcommon.js"></script>
+</head>
+
+<body>
+<div id="log"></div>
+<script type="text/javascript">
+//==== TEST: Bundle_get_exist
+//==== LABEL Check if Bundle get method exists
+//==== PRIORITY P0
+//==== SPEC Tizen Web API:Tizen:Tizen:Bundle:get M
+//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/tizen.html
+//==== TEST_CRITERIA ME
+test(function () {
+    var bundle;
+    bundle = new tizen.Bundle();
+    check_method_exists(bundle, "get");
+}, document.title);
+
+</script>
+</body>
+</html>
diff --git a/common/tct-tizen-tizen-tests/tizen/Bundle_set.html b/common/tct-tizen-tizen-tests/tizen/Bundle_set.html
new file mode 100755 (executable)
index 0000000..4642450
--- /dev/null
@@ -0,0 +1,48 @@
+<!DOCTYPE html>
+<!--
+
+Copyright (c) 2019 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:
+        Zhongyuan Yuan <zy123.yuan@samsung.com>
+-->
+
+<html>
+<head>
+<title>Bundle_set</title>
+<meta charset="utf-8">
+<script type="text/javascript" src="support/unitcommon.js"></script>
+</head>
+
+<body>
+<div id="log"></div>
+<script type="text/javascript">
+//==== TEST: Bundle_set
+//==== LABEL Check if Bundle set method works properly
+//==== PRIORITY P1
+//==== SPEC Tizen Web API:Tizen:Tizen:Bundle:set M
+//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/tizen.html
+//==== TEST_CRITERIA MR MAST
+test(function () {
+    var bundle, retVal;
+    bundle = new tizen.Bundle();
+    retVal = bundle.set("key1", "value");
+    assert_equals(retVal, undefined, "invalid type of return value");
+    assert_equals(bundle.get("key1"), "value", "invalid set value");
+}, document.title);
+
+</script>
+</body>
+</html>
diff --git a/common/tct-tizen-tizen-tests/tizen/Bundle_set_exist.html b/common/tct-tizen-tizen-tests/tizen/Bundle_set_exist.html
new file mode 100755 (executable)
index 0000000..cafc607
--- /dev/null
@@ -0,0 +1,46 @@
+<!DOCTYPE html>
+<!--
+
+Copyright (c) 2019 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:
+        Zhongyuan Yuan <zy123.yuan@samsung.com>
+-->
+
+<html>
+<head>
+<title>Bundle_set_exist</title>
+<meta charset="utf-8">
+<script type="text/javascript" src="support/unitcommon.js"></script>
+</head>
+
+<body>
+<div id="log"></div>
+<script type="text/javascript">
+//==== TEST: Bundle_set_exist
+//==== LABEL Check if Bundle set method exists
+//==== PRIORITY P0
+//==== SPEC Tizen Web API:Tizen:Tizen:Bundle:set M
+//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/tizen.html
+//==== TEST_CRITERIA ME
+test(function () {
+    var bundle;
+    bundle = new tizen.Bundle();
+    check_method_exists(bundle, "set");
+}, document.title);
+
+</script>
+</body>
+</html>
diff --git a/common/tct-tizen-tizen-tests/tizen/Bundle_toJSON.html b/common/tct-tizen-tizen-tests/tizen/Bundle_toJSON.html
new file mode 100755 (executable)
index 0000000..1eb0a29
--- /dev/null
@@ -0,0 +1,62 @@
+<!DOCTYPE html>
+<!--
+
+Copyright (c) 2019 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:
+        Zhongyuan Yuan <zy123.yuan@samsung.com>
+-->
+
+<html>
+<head>
+<title>Bundle_toJSON</title>
+<meta charset="utf-8">
+<script type="text/javascript" src="support/unitcommon.js"></script>
+</head>
+
+<body>
+<div id="log"></div>
+<script type="text/javascript">
+//==== TEST: Bundle_toJSON
+//==== LABEL Check if Bundle toJSON method works properly
+//==== PRIORITY P1
+//==== SPEC Tizen Web API:Tizen:Tizen:Bundle:toJSON M
+//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/tizen.html
+//==== TEST_CRITERIA MR MAST
+test(function () {
+    var json, bundle, result;
+    json = {
+        key1: 'value',
+        key2: ['value1', 'value2'],
+        key3: new Uint8Array([1, 2, 3]),
+        key4: [new Uint8Array([1, 2, 3]), new Uint8Array([4, 5, 6])]
+    };
+
+    bundle = new tizen.Bundle(json);
+    result = bundle.toJSON();
+    assert_type(result, "object", "invalid return type");
+    assert_equals(json.key1, result.key1, 'key1 differs');
+    assert_array_equals(json.key2, result.key2,  'key2 differs');
+    assert_equals(true, Array.isArray(result.key3), 'key3 not an array');
+    assert_equals(result.key4.length, json.key4.length, 'key4 length differs');
+    assert_equals(true, Array.isArray(result.key4[0]), 'key4[0] element not an array');
+    assert_equals(true, Array.isArray(result.key4[1]), 'key4[1] element not an array');
+    assert_array_equals(json.key4[0], result.key4[0], 'key4[0] differs');
+    assert_array_equals(json.key4[1], result.key4[1], 'key4[1] differs');
+}, document.title);
+
+</script>
+</body>
+</html>
diff --git a/common/tct-tizen-tizen-tests/tizen/Bundle_toJSON_exist.html b/common/tct-tizen-tizen-tests/tizen/Bundle_toJSON_exist.html
new file mode 100755 (executable)
index 0000000..18e06e1
--- /dev/null
@@ -0,0 +1,46 @@
+<!DOCTYPE html>
+<!--
+
+Copyright (c) 2019 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:
+        Zhongyuan Yuan <zy123.yuan@samsung.com>
+-->
+
+<html>
+<head>
+<title>Bundle_toJSON_exist</title>
+<meta charset="utf-8">
+<script type="text/javascript" src="support/unitcommon.js"></script>
+</head>
+
+<body>
+<div id="log"></div>
+<script type="text/javascript">
+//==== TEST: Bundle_toJSON_exist
+//==== LABEL Check if Bundle toJSON method exists
+//==== PRIORITY P1
+//==== SPEC Tizen Web API:Tizen:Tizen:Bundle:toJSON M
+//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/tizen.html
+//==== TEST_CRITERIA ME
+test(function () {
+    var bundle;
+    bundle = new tizen.Bundle();
+    check_method_exists(bundle, "toJSON");
+}, document.title);
+
+</script>
+</body>
+</html>
diff --git a/common/tct-tizen-tizen-tests/tizen/Bundle_toJSON_extra_argument.html b/common/tct-tizen-tizen-tests/tizen/Bundle_toJSON_extra_argument.html
new file mode 100755 (executable)
index 0000000..fe8a0ec
--- /dev/null
@@ -0,0 +1,46 @@
+<!DOCTYPE html>
+<!--
+
+Copyright (c) 2019 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:
+        Zhongyuan Yuan <zy123.yuan@samsung.com>
+-->
+
+<html>
+<head>
+<title>Bundle_toJSON_extra_argument</title>
+<meta charset="utf-8">
+<script type="text/javascript" src="support/unitcommon.js"></script>
+</head>
+
+<body>
+<div id="log"></div>
+<script type="text/javascript">
+//==== TEST: Bundle_toJSON_extra_argument
+//==== LABEL Check Bundle::toJSON() method with extra argument
+//==== PRIORITY P1
+//==== SPEC Tizen Web API:Tizen:Tizen:Bundle:toJSON M
+//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/tizen.html
+//==== TEST_CRITERIA MNAEX
+test(function () {
+    var bundle;
+    bundle = new tizen.Bundle();
+    checkExtraArgument(bundle, "toJSON");
+}, document.title);
+
+</script>
+</body>
+</html>
diff --git a/common/tct-tizen-tizen-tests/tizen/Bundle_toString.html b/common/tct-tizen-tizen-tests/tizen/Bundle_toString.html
new file mode 100755 (executable)
index 0000000..eef0078
--- /dev/null
@@ -0,0 +1,49 @@
+<!DOCTYPE html>
+<!--
+
+Copyright (c) 2019 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:
+        Zhongyuan Yuan <zy123.yuan@samsung.com>
+-->
+
+<html>
+<head>
+<title>Bundle_toString</title>
+<meta charset="utf-8">
+<script type="text/javascript" src="support/unitcommon.js"></script>
+</head>
+
+<body>
+<div id="log"></div>
+<script type="text/javascript">
+//==== TEST: Bundle_toString
+//==== LABEL Check if Bundle toString method works properly
+//==== PRIORITY P1
+//==== SPEC Tizen Web API:Tizen:Tizen:Bundle:toString M
+//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/tizen.html
+//==== TEST_CRITERIA MR MAST
+test(function () {
+    var bundle, retVal;
+
+    bundle = new tizen.Bundle();
+    retVal = bundle.toString();
+    assert_type(retVal, "string", "invalid return type");
+    assert_equals(retVal, "{}", "invalid return value");
+}, document.title);
+
+</script>
+</body>
+</html>
diff --git a/common/tct-tizen-tizen-tests/tizen/Bundle_toString_exist.html b/common/tct-tizen-tizen-tests/tizen/Bundle_toString_exist.html
new file mode 100755 (executable)
index 0000000..32b6212
--- /dev/null
@@ -0,0 +1,46 @@
+<!DOCTYPE html>
+<!--
+
+Copyright (c) 2019 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:
+        Zhongyuan Yuan <zy123.yuan@samsung.com>
+-->
+
+<html>
+<head>
+<title>Bundle_toString_exist</title>
+<meta charset="utf-8">
+<script type="text/javascript" src="support/unitcommon.js"></script>
+</head>
+
+<body>
+<div id="log"></div>
+<script type="text/javascript">
+//==== TEST: Bundle_toString_exist
+//==== LABEL Check if Bundle toString method exists
+//==== PRIORITY P0
+//==== SPEC Tizen Web API:Tizen:Tizen:Bundle:toString M
+//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/tizen.html
+//==== TEST_CRITERIA ME
+test(function () {
+    var bundle;
+    bundle = new tizen.Bundle();
+    check_method_exists(bundle, "toString");
+}, document.title);
+
+</script>
+</body>
+</html>
diff --git a/common/tct-tizen-tizen-tests/tizen/Bundle_toString_extra_argument.html b/common/tct-tizen-tizen-tests/tizen/Bundle_toString_extra_argument.html
new file mode 100755 (executable)
index 0000000..ccf21b3
--- /dev/null
@@ -0,0 +1,46 @@
+<!DOCTYPE html>
+<!--
+
+Copyright (c) 2019 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:
+        Zhongyuan Yuan <zy123.yuan@samsung.com>
+-->
+
+<html>
+<head>
+<title>Bundle_toString_extra_argument</title>
+<meta charset="utf-8">
+<script type="text/javascript" src="support/unitcommon.js"></script>
+</head>
+
+<body>
+<div id="log"></div>
+<script type="text/javascript">
+//==== TEST: Bundle_toString_extra_argument
+//==== LABEL Check Bundle::toString() method with extra argument
+//==== PRIORITY P1
+//==== SPEC Tizen Web API:Tizen:Tizen:Bundle:toString M
+//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/tizen.html
+//==== TEST_CRITERIA MNAEX
+test(function () {
+    var bundle;
+    bundle = new tizen.Bundle();
+    checkExtraArgument(bundle, "toString");
+}, document.title);
+
+</script>
+</body>
+</html>
diff --git a/common/tct-tizen-tizen-tests/tizen/Bundle_typeOf.html b/common/tct-tizen-tizen-tests/tizen/Bundle_typeOf.html
new file mode 100755 (executable)
index 0000000..40b7ca8
--- /dev/null
@@ -0,0 +1,61 @@
+<!DOCTYPE html>
+<!--
+
+Copyright (c) 2019 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:
+        Zhongyuan Yuan <zy123.yuan@samsung.com>
+-->
+
+<html>
+<head>
+<title>Bundle_typeOf</title>
+<meta charset="utf-8">
+<script type="text/javascript" src="support/unitcommon.js"></script>
+</head>
+
+<body>
+<div id="log"></div>
+<script type="text/javascript">
+//==== TEST: Bundle_typeOf
+//==== LABEL Check if Bundle typeOf method works properly
+//==== PRIORITY P1
+//==== SPEC Tizen Web API:Tizen:Tizen:Bundle:typeOf M
+//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/tizen.html
+//==== TEST_CRITERIA MR MAST
+test(function () {
+    var bundle;
+    bundle = new tizen.Bundle();
+    bundle.set("string", "hello, world");
+    bundle.set("string-array", ["hello", "world"]);
+    bundle.set("bytes", new Uint8Array([1, 2, 3]));
+    bundle.set("bytes-array", [new Uint8Array([1, 2, 3]), new Uint8Array([4, 5, 6])]);
+    bundle.set("empty-array", []);
+
+    assert_type(bundle.typeOf("string"), "string", "invalid type of return value");
+    assert_equals(bundle.typeOf("string"), "STRING", "invalid return value");
+    assert_type(bundle.typeOf("string-array"), "string", "invalid type of return value");
+    assert_equals(bundle.typeOf("string-array"), "STRING_ARRAY", "invalid return value");
+    assert_type(bundle.typeOf("bytes"), "string", "invalid type of return value");
+    assert_equals(bundle.typeOf("bytes"), "BYTES", "invalid return value");
+    assert_type(bundle.typeOf("bytes-array"), "string", "invalid type of return value");
+    assert_equals(bundle.typeOf("bytes-array"), "BYTES_ARRAY", "invalid return value");
+    assert_type(bundle.typeOf("empty-array"), "string", "invalid type of return value");
+    assert_equals(bundle.typeOf("empty-array"), "STRING_ARRAY", "invalid return value");
+}, document.title);
+
+</script>
+</body>
+</html>
diff --git a/common/tct-tizen-tizen-tests/tizen/Bundle_typeOf_NotFoundError.html b/common/tct-tizen-tizen-tests/tizen/Bundle_typeOf_NotFoundError.html
new file mode 100755 (executable)
index 0000000..89fe88c
--- /dev/null
@@ -0,0 +1,48 @@
+<!DOCTYPE html>
+<!--
+
+Copyright (c) 2019 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:
+        Zhongyuan Yuan <zy123.yuan@samsung.com>
+-->
+
+<html>
+<head>
+<title>Bundle_typeOf_NotFoundError</title>
+<meta charset="utf-8">
+<script type="text/javascript" src="support/unitcommon.js"></script>
+</head>
+
+<body>
+<div id="log"></div>
+<script type="text/javascript">
+//==== TEST: Bundle_typeOf_NotFoundError
+//==== LABEL Check if Bundle::typeOf() throws WebAPIException with error type NotFoundError, if the key could not be found
+//==== PRIORITY P2
+//==== SPEC Tizen Web API:Tizen:Tizen:Bundle:typeOf M
+//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/tizen.html
+//==== TEST_CRITERIA MC
+test(function () {
+    var bundle;
+    bundle = new tizen.Bundle();
+    assert_throws(NOT_FOUND_EXCEPTION, function () {
+        bundle.typeOf("unknown");
+    }, "NotFoundError should be thrown if the key could not be found");
+}, document.title);
+
+</script>
+</body>
+</html>
diff --git a/common/tct-tizen-tizen-tests/tizen/Bundle_typeOf_exist.html b/common/tct-tizen-tizen-tests/tizen/Bundle_typeOf_exist.html
new file mode 100755 (executable)
index 0000000..5d43b28
--- /dev/null
@@ -0,0 +1,46 @@
+<!DOCTYPE html>
+<!--
+
+Copyright (c) 2019 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:
+        Zhongyuan Yuan <zy123.yuan@samsung.com>
+-->
+
+<html>
+<head>
+<title>Bundle_typeOf_exist</title>
+<meta charset="utf-8">
+<script type="text/javascript" src="support/unitcommon.js"></script>
+</head>
+
+<body>
+<div id="log"></div>
+<script type="text/javascript">
+//==== TEST: Bundle_typeOf_exist
+//==== LABEL Check if Bundle typeOf method exists
+//==== PRIORITY P0
+//==== SPEC Tizen Web API:Tizen:Tizen:Bundle:typeOf M
+//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/tizen.html
+//==== TEST_CRITERIA ME
+test(function () {
+    var bundle;
+    bundle = new tizen.Bundle();
+    check_method_exists(bundle, "typeOf");
+}, document.title);
+
+</script>
+</body>
+</html>