--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2012 Intel Corporation. All rights reserved.
+
+Redistribution and use in source and binary forms, with or without modification,
+are permitted provided that the following conditions are met:
+
+*Redistributions of works must retain the original copyright notice, this list
+of conditions and the following disclaimer.
+*Redistributions in binary form must reproduce the original copyright notice,
+this list of conditions and the following disclaimer in the documentation
+and/or other materials provided with the distribution
+*Neither the name of Intel Corporation nor the names of its contributors
+may be used to endorse or promote products derived from this work without
+specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY INTEL CORPORATION "AS IS"
+AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ARE DISCLAIMED. IN NO EVENT SHALL INTEL CORPORATION BE LIABLE FOR ANY DIRECT,
+INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
+BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
+DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
+OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+Authors:
+ Kaiyu <kaiyux.li@intel.com>
+
+-->
+
+
+<html>
+<head>
+<title>FileSystemManager_removeStorageStateChangeListener_with_para_invalid</title>
+<script type="text/javascript" src="support/unitcommon.js"></script>
+<script src="support/filesystem_common.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: FileSystemManager_removeStorageStateChangeListener_with_para_invalid
+//==== LABEL Check if FileSystemManager::removeStorageStateChangeListener() method throws NotFoundError when given invalid watchId
+//==== PRIORITY P2
+//==== SPEC Tizen Web API:IO:Filesystem:FileSystemManager:removeStorageStateChangeListener M
+//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html
+//==== TEST_CRITERIA
+
+test(function () {
+ var watchID;
+ assert_throws(NOT_FOUND_EXCEPTION, function () {
+ tizen.filesystem.removeStorageStateChangeListener(watchID);
+ });
+}, document.title);
+
+</script>
+</body>
+</html>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/FileSystemManager_resolve_onsuccess_invalid_cb.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check if FileSystemManager::resolve() method works for Ringtones virtual root" component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileSystemManager_resolve_ringtones" priority="P1">
- <description>
- <test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/FileSystemManager_resolve_ringtones.html</test_script_entry>
- </description>
- </testcase>
- <testcase purpose="Check if FileSystemManager::resolve() method reports InvalidValuesError when resolving Ringtones directory with mode 'a'" component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileSystemManager_resolve_ringtones_invalid_mode_a" priority="P2">
- <description>
- <test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/FileSystemManager_resolve_ringtones_invalid_mode_a.html</test_script_entry>
- </description>
- </testcase>
- <testcase purpose="Check if FileSystemManager::resolve() method reports InvalidValuesError when resolving Ringtones directory with mode 'rw'" component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileSystemManager_resolve_ringtones_invalid_mode_rw" priority="P2">
- <description>
- <test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/FileSystemManager_resolve_ringtones_invalid_mode_rw.html</test_script_entry>
- </description>
- </testcase>
- <testcase purpose="Check if FileSystemManager::resolve() method reports InvalidValuesError when resolving Ringtones directory with mode 'w'" component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileSystemManager_resolve_ringtones_invalid_mode_w" priority="P2">
- <description>
- <test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/FileSystemManager_resolve_ringtones_invalid_mode_w.html</test_script_entry>
- </description>
- </testcase>
<testcase purpose="Check if FileSystemManager::resolve() method works for Videos virtual root" component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileSystemManager_resolve_videos" priority="P2">
<description>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/FileSystemManager_resolve_videos.html</test_script_entry>
<test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/FileSystemManager_removeStorageStateChangeListener.html</test_script_entry>
</description>
</testcase>
+ <testcase purpose="Check if FileSystemManager::resolve() method works for Ringtones virtual root" component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileSystemManager_resolve_ringtones" priority="P1">
+ <description>
+ <test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/FileSystemManager_resolve_ringtones.html</test_script_entry>
+ </description>
+ </testcase>
+ <testcase purpose="Check if FileSystemManager::resolve() method reports InvalidValuesError when resolving Ringtones directory with mode 'a'" component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileSystemManager_resolve_ringtones_invalid_mode_a" priority="P2">
+ <description>
+ <test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/FileSystemManager_resolve_ringtones_invalid_mode_a.html</test_script_entry>
+ </description>
+ </testcase>
+ <testcase purpose="Check if FileSystemManager::resolve() method reports InvalidValuesError when resolving Ringtones directory with mode 'rw'" component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileSystemManager_resolve_ringtones_invalid_mode_rw" priority="P2">
+ <description>
+ <test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/FileSystemManager_resolve_ringtones_invalid_mode_rw.html</test_script_entry>
+ </description>
+ </testcase>
+ <testcase purpose="Check if FileSystemManager::resolve() method reports InvalidValuesError when resolving Ringtones directory with mode 'w'" component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileSystemManager_resolve_ringtones_invalid_mode_w" priority="P2">
+ <description>
+ <test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/FileSystemManager_resolve_ringtones_invalid_mode_w.html</test_script_entry>
+ </description>
+ </testcase>
+ </set>
+ <set name="Filesystem_wearable" type="js">
+ <capabilities>
+ <capability name="http://tizen.org/feature/profile"><value>WEARABLE</value></capability>
+ </capabilities>
+ <testcase purpose="Check if FileSystemManager::resolve() method works for Ringtones virtual root" component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileSystemManager_resolve_ringtones" priority="P1">
+ <description>
+ <test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/FileSystemManager_resolve_ringtones.html</test_script_entry>
+ </description>
+ </testcase>
+ <testcase purpose="Check if FileSystemManager::resolve() method reports InvalidValuesError when resolving Ringtones directory with mode 'a'" component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileSystemManager_resolve_ringtones_invalid_mode_a" priority="P2">
+ <description>
+ <test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/FileSystemManager_resolve_ringtones_invalid_mode_a.html</test_script_entry>
+ </description>
+ </testcase>
+ <testcase purpose="Check if FileSystemManager::resolve() method reports InvalidValuesError when resolving Ringtones directory with mode 'rw'" component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileSystemManager_resolve_ringtones_invalid_mode_rw" priority="P2">
+ <description>
+ <test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/FileSystemManager_resolve_ringtones_invalid_mode_rw.html</test_script_entry>
+ </description>
+ </testcase>
+ <testcase purpose="Check if FileSystemManager::resolve() method reports InvalidValuesError when resolving Ringtones directory with mode 'w'" component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileSystemManager_resolve_ringtones_invalid_mode_w" priority="P2">
+ <description>
+ <test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/FileSystemManager_resolve_ringtones_invalid_mode_w.html</test_script_entry>
+ </description>
+ </testcase>
</set>
<set name="Filesystem_tv" type="js">
<capabilities>