[common][filesystem][add profile in tests.full.xml] 10/251710/1
authortangkaiyuan <kaiyuan.tang@samsung.com>
Mon, 18 Jan 2021 04:17:14 +0000 (12:17 +0800)
committertangkaiyuan <kaiyuan.tang@samsung.com>
Mon, 18 Jan 2021 17:01:09 +0000 (01:01 +0800)
Change-Id: I9e78be5c75fd93b8e390d7403e7f60f04bfe2809
Signed-off-by: tangkaiyuan <kaiyuan.tang@samsung.com>
common/tct-filesystem-tizen-tests/tests.full.xml

index e1fecedae1ada5925d1df3e8de8bc8782e842c30..44b278fd3dad2bf226de508f58f9fef1289db420 100755 (executable)
           </spec>
         </specs>
       </testcase>
-      <testcase purpose="Check if FileSystemManager::addStorageStateChangeListener() method can be called" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="manual" priority="P1" id="FileSystemManager_addStorageStateChangeListener">
-        <description>
-          <test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/FileSystemManager_addStorageStateChangeListener.html</test_script_entry>
-        </description>
-        <specs>
-          <spec>
-            <spec_assertion interface="FileSystemManager" element_type="method" element_name="addStorageStateChangeListener" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
-            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
-            <spec_statement>TBD</spec_statement>
-          </spec>
-        </specs>
-      </testcase>
       <testcase purpose="Check if FileSystemManager::addStorageStateChangeListener() method exists" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P0" id="FileSystemManager_addStorageStateChangeListener_exist">
         <description>
           <test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/FileSystemManager_addStorageStateChangeListener_exist.html</test_script_entry>
           </spec>
         </specs>
       </testcase>
-      <testcase purpose="Check if FileSystemManager::addStorageStateChangeListener() can be called with onerror" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="manual" priority="P1" id="FileSystemManager_addStorageStateChangeListener_with_onerror">
-        <description>
-          <test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/FileSystemManager_addStorageStateChangeListener_with_onerror.html</test_script_entry>
-        </description>
-        <specs>
-          <spec>
-            <spec_assertion interface="FileSystemManager" element_type="method" element_name="addStorageStateChangeListener" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
-            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
-            <spec_statement>TBD</spec_statement>
-          </spec>
-        </specs>
-      </testcase>
       <testcase purpose="Check if FileSystemManager::addStorageStateChangeListener() throws exception for missing mandatory argument" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" id="FileSystemManager_addStorageStateChangeListener_without_arguments">
         <description>
           <test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/FileSystemManager_addStorageStateChangeListener_without_arguments.html</test_script_entry>
           </spec>
         </specs>
       </testcase>
-      <testcase purpose="Check if FileSystemManager::removeStorageStateChangeListener() method works with only mandatory arguments" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="manual" priority="P1" id="FileSystemManager_removeStorageStateChangeListener">
-        <description>
-          <test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/FileSystemManager_removeStorageStateChangeListener.html</test_script_entry>
-        </description>
-        <specs>
-          <spec>
-            <spec_assertion interface="FileSystemManager" element_type="method" element_name="removeStorageStateChangeListener" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
-            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
-            <spec_statement>TBD</spec_statement>
-          </spec>
-        </specs>
-      </testcase>
       <testcase purpose="Check if FileSystemManager::removeStorageStateChangeListener() method exists" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P1" id="FileSystemManager_removeStorageStateChangeListener_exist">
         <description>
           <test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/FileSystemManager_removeStorageStateChangeListener_exist.html</test_script_entry>
         </specs>
       </testcase>
     </set>
+    <set name="Filesystem_mobile" type="js">
+      <capabilities>
+        <capability name="http://tizen.org/feature/profile">
+          <value>MOBILE</value>
+        </capability>
+      </capabilities>
+      <testcase purpose="Check if FileSystemManager::addStorageStateChangeListener() method can be called" type="compliance" component="TizenAPI/IO/Filesystem" execution_type="manual" id="FileSystemManager_addStorageStateChangeListener" priority="P1">
+        <description>
+          <pre_condition>Make sure that SDCard is not attached(without storage changes,the change callback won't be invoked)</pre_condition>
+          <steps>
+            <step order="1">
+              <step_desc>Click run and attach SDCard (without storage changes,the change callback won't be invoked)</step_desc>
+              <expected>Pass</expected>
+            </step>
+          </steps>
+          <test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/FileSystemManager_addStorageStateChangeListener.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="FileSystemManager" element_type="method" element_name="addStorageStateChangeListener" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if FileSystemManager::addStorageStateChangeListener() can be called with onerror" type="compliance" component="TizenAPI/IO/Filesystem" execution_type="manual" id="FileSystemManager_addStorageStateChangeListener_with_onerror" priority="P1">
+        <description>
+          <pre_condition>Make sure that SDCard is not attached(without storage changes,the change callback won't be invoked)</pre_condition>
+          <steps>
+            <step order="1">
+              <step_desc>Click run and attach SDCard</step_desc>
+              <expected>Pass</expected>
+            </step>
+          </steps>
+          <test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/FileSystemManager_addStorageStateChangeListener_with_onerror.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="FileSystemManager" element_type="method" element_name="addStorageStateChangeListener" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if FileSystemManager::removeStorageStateChangeListener() method works with only mandatory arguments" type="compliance" component="TizenAPI/IO/Filesystem" execution_type="manual" id="FileSystemManager_removeStorageStateChangeListener" priority="P1">
+        <description>
+          <pre_condition>Make sure that SDCard is not attached(without storage changes,the change callback won't be invoked)</pre_condition>
+          <steps>
+            <step order="1">
+              <step_desc>Click run and attach SDCard</step_desc>
+              <expected>Pass</expected>
+            </step>
+          </steps>
+          <test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/FileSystemManager_removeStorageStateChangeListener.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="FileSystemManager" element_type="method" element_name="removeStorageStateChangeListener" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+    </set>
+    <set name="Filesystem_iot" type="js">
+      <capabilities>
+        <capability name="http://tizen.org/feature/profile">
+          <value>COMMON</value>
+        </capability>
+      </capabilities>
+      <testcase purpose="Check if FileSystemManager::addStorageStateChangeListener() method can be called" type="compliance" component="TizenAPI/IO/Filesystem" execution_type="manual" id="FileSystemManager_addStorageStateChangeListener" priority="P1">
+        <description>
+          <pre_condition>Make sure that SDCard is not attached(without storage changes,the change callback won't be invoked)</pre_condition>
+          <steps>
+            <step order="1">
+              <step_desc>Click run and attach SDCard (without storage changes,the change callback won't be invoked)</step_desc>
+              <expected>Pass</expected>
+            </step>
+          </steps>
+          <test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/FileSystemManager_addStorageStateChangeListener.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="FileSystemManager" element_type="method" element_name="addStorageStateChangeListener" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if FileSystemManager::addStorageStateChangeListener() can be called with onerror" type="compliance" component="TizenAPI/IO/Filesystem" execution_type="manual" id="FileSystemManager_addStorageStateChangeListener_with_onerror" priority="P1">
+        <description>
+          <pre_condition>Make sure that SDCard is not attached(without storage changes,the change callback won't be invoked)</pre_condition>
+          <steps>
+            <step order="1">
+              <step_desc>Click run and attach SDCard</step_desc>
+              <expected>Pass</expected>
+            </step>
+          </steps>
+          <test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/FileSystemManager_addStorageStateChangeListener_with_onerror.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="FileSystemManager" element_type="method" element_name="addStorageStateChangeListener" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if FileSystemManager::removeStorageStateChangeListener() method works with only mandatory arguments" type="compliance" component="TizenAPI/IO/Filesystem" execution_type="manual" id="FileSystemManager_removeStorageStateChangeListener" priority="P1">
+        <description>
+          <pre_condition>Make sure that SDCard is not attached(without storage changes,the change callback won't be invoked)</pre_condition>
+          <steps>
+            <step order="1">
+              <step_desc>Click run and attach SDCard</step_desc>
+              <expected>Pass</expected>
+            </step>
+          </steps>
+          <test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/FileSystemManager_removeStorageStateChangeListener.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="FileSystemManager" element_type="method" element_name="removeStorageStateChangeListener" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+    </set>
   </suite>
 </test_definition>