[Filesystem] Fixed tests according to maintainer's remarks + other amendments
authorMariusz Polasinski <m.polasinski@samsung.com>
Wed, 28 Aug 2013 16:25:17 +0000 (18:25 +0200)
committerMariusz Polasinski <m.polasinski@samsung.com>
Wed, 28 Aug 2013 16:25:17 +0000 (18:25 +0200)
Change-Id: Ia376049658b6f48f5ba60f37d7e9e6b27afbb9ba

30 files changed:
tct-filesystem-tizen-tests/filesystem/File_copyTo_dir_overwrite_false.html [new file with mode: 0644]
tct-filesystem-tizen-tests/filesystem/File_copyTo_dir_overwrite_true.html [new file with mode: 0644]
tct-filesystem-tizen-tests/filesystem/File_copyTo_dir_samedir_samename_overwrite_false.html
tct-filesystem-tizen-tests/filesystem/File_copyTo_dir_samedir_samename_overwrite_true.html
tct-filesystem-tizen-tests/filesystem/File_copyTo_file_overwrite_false.html [new file with mode: 0644]
tct-filesystem-tizen-tests/filesystem/File_copyTo_file_overwrite_true.html [new file with mode: 0644]
tct-filesystem-tizen-tests/filesystem/File_copyTo_file_samedir_samename_overwrite_false.html
tct-filesystem-tizen-tests/filesystem/File_copyTo_file_samedir_samename_overwrite_true.html [deleted file]
tct-filesystem-tizen-tests/filesystem/File_copyTo_with_destination_invalid.html [new file with mode: 0644]
tct-filesystem-tizen-tests/filesystem/File_copyTo_with_file_handle.html
tct-filesystem-tizen-tests/filesystem/File_copyTo_with_para_invalid.html
tct-filesystem-tizen-tests/filesystem/File_copyTo_with_path_invalid.html [deleted file]
tct-filesystem-tizen-tests/filesystem/File_copyTo_writeFile_differentName.html [deleted file]
tct-filesystem-tizen-tests/filesystem/File_copyTo_writeFile_newDir.html [new file with mode: 0644]
tct-filesystem-tizen-tests/filesystem/File_copyTo_writeFile_overwrite_false.html [new file with mode: 0644]
tct-filesystem-tizen-tests/filesystem/File_copyTo_writeFile_sameName.html [deleted file]
tct-filesystem-tizen-tests/filesystem/File_copyTo_writeFile_subdir.html
tct-filesystem-tizen-tests/filesystem/File_moveTo.html
tct-filesystem-tizen-tests/filesystem/File_moveTo_file_samedir_samename_overwrite_false.html
tct-filesystem-tizen-tests/filesystem/File_moveTo_file_samedir_samename_overwrite_true.html
tct-filesystem-tizen-tests/filesystem/File_moveTo_onsuccess_invalid_cb.html
tct-filesystem-tizen-tests/filesystem/File_moveTo_with_file_handle.html
tct-filesystem-tizen-tests/filesystem/File_moveTo_writeFile_differentName.html [deleted file]
tct-filesystem-tizen-tests/filesystem/File_moveTo_writeFile_false.html [deleted file]
tct-filesystem-tizen-tests/filesystem/File_moveTo_writeFile_newDir.html [new file with mode: 0644]
tct-filesystem-tizen-tests/filesystem/File_moveTo_writeFile_overwrite_false.html [new file with mode: 0644]
tct-filesystem-tizen-tests/filesystem/File_moveTo_writeFile_subdir.html
tct-filesystem-tizen-tests/filesystem/File_moveTo_writeFile_true.html [deleted file]
tct-filesystem-tizen-tests/tests.full.xml
tct-filesystem-tizen-tests/tests.xml

diff --git a/tct-filesystem-tizen-tests/filesystem/File_copyTo_dir_overwrite_false.html b/tct-filesystem-tizen-tests/filesystem/File_copyTo_dir_overwrite_false.html
new file mode 100644 (file)
index 0000000..d1d0a34
--- /dev/null
@@ -0,0 +1,82 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2013 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:
+    Mariusz Polasinski <m.polasinski@samsung.com>
+
+-->
+
+<html lang="en">
+
+<head>
+<title>File_copyTo_dir_overwrite_false</title>
+<script type="text/javascript" src="../resources/testharness.js"></script>
+<script type="text/javascript" src="../resources/testharnessreport.js"></script>
+<script type="text/javascript" src="support/filesystem_common.js"></script>
+</head>
+
+<body>
+<div id="log"></div>
+<script type="text/javascript">
+//==== TEST: File_copyTo_dir_overwrite_false
+//==== LABEL check if error callback was invoked when copy a directory to another location of the directory with the same name (overwrite is false).
+//==== PRIORITY P2
+//==== STEP check if error callback was invoked when copy a directory to another location of the directory with the same name (overwrite is false)
+//==== EXPECT exception should be thrown.
+//==== SPEC Tizen Web API:IO:Filesystem:File:copyTo M
+//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.help.web.api.device/tizen/filesystem.html
+//==== TEST_CRITERIA MERRCB
+
+
+var resolveSuccess, resolveError, copySuccess, copyError, fsTestDir1, fsTestDirName1, fsTestSubDir1, fsTestSubDirName1,
+    fsTestDir2, fsTestDirName2, fsTestSubDir2, expected = "IOError",
+    t = async_test("File_copyTo_dir_overwrite_false");
+
+t.step(function () {
+    fsTestDirName1 = getDirName("filesystem1");
+    fsTestSubDirName1 = getDirName("filesystem1sub");
+    fsTestDirName2 = getDirName("filesystem2");
+
+    copySuccess = t.step_func(function () {
+        assert_unreached("copySuccess callback shouldn't be invoked");
+    });
+
+    copyError = t.step_func(function (error) {
+        assert_equals(error.name, expected, "wrong error type");
+        t.done();
+    });
+
+    resolveSuccess = t.step_func(function (dir) {
+        fsTestDir1 = dir.createDirectory(fsTestDirName1);
+        fsTestSubDir1 = fsTestDir1.createDirectory(fsTestSubDirName1);
+        fsTestDir2 = dir.createDirectory(fsTestDirName2);
+        fsTestSubDir2 = fsTestDir2.createDirectory(fsTestSubDirName1);
+        fsTestDir1.copyTo(fsTestSubDir1.fullPath, fsTestSubDir2.path, false, copySuccess, copyError);
+    });
+
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name:" + error.name + "msg:" + error.message);
+    });
+
+    prepareForTesting(t, function () {
+        tizen.filesystem.resolve("documents", resolveSuccess, resolveError, "rw");
+    });
+});
+
+</script>
+</body>
+</html>
diff --git a/tct-filesystem-tizen-tests/filesystem/File_copyTo_dir_overwrite_true.html b/tct-filesystem-tizen-tests/filesystem/File_copyTo_dir_overwrite_true.html
new file mode 100644 (file)
index 0000000..eda5667
--- /dev/null
@@ -0,0 +1,81 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2013 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:
+    Mariusz Polasinski <m.polasinski@samsung.com>
+
+-->
+
+<html lang="en">
+
+<head>
+<title>File_copyTo_dir_overwrite_true</title>
+<script type="text/javascript" src="../resources/testharness.js"></script>
+<script type="text/javascript" src="../resources/testharnessreport.js"></script>
+<script type="text/javascript" src="support/filesystem_common.js"></script>
+</head>
+
+<body>
+<div id="log"></div>
+<script type="text/javascript">
+//==== TEST: File_copyTo_dir_overwrite_true
+//==== LABEL check if copy a directory to another location of the directory with the same name (overwrite is true) was successfull.
+//==== PRIORITY P2
+//==== STEP check if copy a directory to another location of the directory with the same name (overwrite is true) was successfull.
+//==== EXPECT directory should be copied to another location with same name in overwrite is true.
+//==== SPEC Tizen Web API:IO:Filesystem:File:copyTo M
+//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.help.web.api.device/tizen/filesystem.html
+//==== TEST_CRITERIA MOA
+
+
+var resolveSuccess, resolveError, copySuccess, fsTestDir1, fsTestDirName1, fsTestSubDir1, fsTestSubDirName1,
+    fsTestDir2, fsTestDirName2, fsTestSubDir2, copyError,
+    t = async_test("File_copyTo_dir_overwrite_true");
+
+t.step(function () {
+    fsTestDirName1 = getDirName("filesystem1");
+    fsTestSubDirName1 = getDirName("filesystem1sub");
+    fsTestDirName2 = getDirName("filesystem2");
+
+    copySuccess = t.step_func(function () {
+        t.done();
+    });
+
+    copyError = t.step_func(function (error) {
+        assert_unreached("copyTo() error callback invoked: name:" + error.name + "msg:" + error.message);
+    });
+
+    resolveSuccess = t.step_func(function (dir) {
+        fsTestDir1 = dir.createDirectory(fsTestDirName1);
+        fsTestSubDir1 = fsTestDir1.createDirectory(fsTestSubDirName1);
+        fsTestDir2 = dir.createDirectory(fsTestDirName2);
+        fsTestSubDir2 = fsTestDir2.createDirectory(fsTestSubDirName1);
+        fsTestDir1.copyTo(fsTestSubDir1.fullPath, fsTestSubDir2.path, true, copySuccess, copyError);
+    });
+
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name:" + error.name + "msg:" + error.message);
+    });
+
+    prepareForTesting(t, function () {
+        tizen.filesystem.resolve("documents", resolveSuccess, resolveError, "rw");
+    });
+});
+
+</script>
+</body>
+</html>
index 9354f817a40f4247b5bcd4bccc7dd38628d5a8a1..d180d1fdc347454d82b8ff2aa60c078938e1e19d 100644 (file)
@@ -45,40 +45,36 @@ Authors:
 <div id="log"></div>
 <script type="text/javascript">
 //==== TEST: File_copyTo_dir_samedir_samename_overwrite_false
-//==== LABEL check if throw an exception when copy a directory to same location with same name and overwrite is false.
+//==== LABEL check if error callback invoked when copy a directory to the same location with the same name (overwrite is false).
 //==== PRIORITY P2
-//==== STEP check if throw an exception when copy a directory to same location with same name and overwrite is false.
+//==== STEP check if error callback invoked when copy a directory to the same location with the same name (overwrite is false)
 //==== EXPECT exception should be thrown.
 //==== SPEC Tizen Web API:IO:Filesystem:File:copyTo M
 //==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.help.web.api.device/tizen/filesystem.html
 //==== TEST_CRITERIA MERRCB
 
 
-var resolveSuccess, resolveError, copySuccess, copyError, fsTestDir1, fsTestDirName1, fsTestSubDir1, fsTestSubDirName1,
-    fsTestDir2, fsTestDirName2, fsTestSubDir2, fsTestSubDirName2, expected = "IOError",
+var resolveSuccess, resolveError, copySuccess, copyError, fsTestDir1, fsTestDirName1, fsTestSubDir1,
+    fsTestSubDirName1, expected = "IOError",
     t = async_test("File_copyTo_dir_samedir_samename_overwrite_false");
 
 t.step(function () {
     fsTestDirName1 = getDirName("filesystem1");
     fsTestSubDirName1 = getDirName("filesystem1sub");
-    fsTestDirName2 = getDirName("filesystem2");
-    fsTestSubDirName2 = getDirName("filesystem1sub");
 
     copySuccess = t.step_func(function () {
-        assert_unreached("There is no exception thrown when overwrite is false");
+        assert_unreached("copySuccess callback shouldn't be invoked");
     });
 
     copyError = t.step_func(function (error) {
-        assert_equals(error.name, expected, "copy a directory to same location with same name and overwrite is false");
+        assert_equals(error.name, expected, "wrong error type");
         t.done();
     });
 
     resolveSuccess = t.step_func(function (dir) {
         fsTestDir1 = dir.createDirectory(fsTestDirName1);
         fsTestSubDir1 = fsTestDir1.createDirectory(fsTestSubDirName1);
-        fsTestDir2 = dir.createDirectory(fsTestDirName2);
-        fsTestSubDir2 = fsTestDir2.createDirectory(fsTestSubDirName2);
-        dir.copyTo(fsTestSubDir1.fullPath, fsTestSubDir2.path, false, copySuccess, copyError);
+        fsTestDir1.copyTo(fsTestSubDir1.fullPath, fsTestSubDir1.path, false, copySuccess, copyError);
     });
 
     resolveError = t.step_func(function (error) {
index 73b54182a4e2968dc3292f18d19c68abccd52634..0cfb4744232fa2946a073eda5b5d64e0a2ed986c 100644 (file)
@@ -45,9 +45,9 @@ Authors:
 <div id="log"></div>
 <script type="text/javascript">
 //==== TEST: File_copyTo_dir_samedir_samename_overwrite_true
-//==== LABEL check if copy a directory to another location with same name and overwrite is true successfully.
+//==== LABEL check if copy a directory to the same location with the same name (overwrite is true) was successyful.
 //==== PRIORITY P2
-//==== STEP check if copy a directory to another location with same name and overwrite is true successfully.
+//==== STEP check if copy a directory to the same location with the same name (overwrite is true) was successyful.
 //==== EXPECT directory should be copied to another location with same name in overwrite is true.
 //==== SPEC Tizen Web API:IO:Filesystem:File:copyTo M
 //==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.help.web.api.device/tizen/filesystem.html
@@ -55,24 +55,24 @@ Authors:
 
 
 var resolveSuccess, resolveError, copySuccess, fsTestDir1, fsTestDirName1, fsTestSubDir1, fsTestSubDirName1,
-    fsTestDir2, fsTestDirName2, fsTestSubDir2, fsTestSubDirName2, t = async_test("File_copyTo_dir_samedir_samename_overwrite_true");
+    t = async_test("File_copyTo_dir_samedir_samename_overwrite_true"), copyError;
 
 t.step(function () {
     fsTestDirName1 = getDirName("filesystem1");
     fsTestSubDirName1 = getDirName("filesystem1sub");
-    fsTestDirName2 = getDirName("filesystem2");
-    fsTestSubDirName2 = getDirName("filesystem1sub");
 
     copySuccess = t.step_func(function () {
         t.done();
     });
 
+    copyError = t.step_func(function (error) {
+        assert_unreached("copyTo() error callback invoked: name:" + error.name + "msg:" + error.message);
+    });
+
     resolveSuccess = t.step_func(function (dir) {
         fsTestDir1 = dir.createDirectory(fsTestDirName1);
         fsTestSubDir1 = fsTestDir1.createDirectory(fsTestSubDirName1);
-        fsTestDir2 = dir.createDirectory(fsTestDirName2);
-        fsTestSubDir2 = fsTestDir2.createDirectory(fsTestSubDirName2);
-        dir.copyTo(fsTestSubDir1.fullPath, fsTestSubDir2.path, true, copySuccess);
+        fsTestDir1.copyTo(fsTestSubDir1.fullPath, fsTestSubDir1.path, true, copySuccess, copyError);
     });
 
     resolveError = t.step_func(function (error) {
diff --git a/tct-filesystem-tizen-tests/filesystem/File_copyTo_file_overwrite_false.html b/tct-filesystem-tizen-tests/filesystem/File_copyTo_file_overwrite_false.html
new file mode 100644 (file)
index 0000000..fb38338
--- /dev/null
@@ -0,0 +1,83 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2013 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:
+    Mariusz Polasinski <m.polasinski@samsung.com>
+
+-->
+
+<html lang="en">
+
+<head>
+<title>File_copyTo_file_overwrite_false</title>
+<script type="text/javascript" src="../resources/testharness.js"></script>
+<script type="text/javascript" src="../resources/testharnessreport.js"></script>
+<script type="text/javascript" src="support/filesystem_common.js"></script>
+</head>
+
+<body>
+<div id="log"></div>
+<script type="text/javascript">
+//==== TEST: File_copyTo_file_overwrite_false
+//==== LABEL check if error callback was invoked when copy a file to another location of the file with the same name (overwrite is false).
+//==== PRIORITY P2
+//==== STEP check if error callback was invoked when copy a file to another location of the file with the same name (overwrite is false)
+//==== EXPECT exception should be thrown.
+//==== SPEC Tizen Web API:IO:Filesystem:File:copyTo M
+//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.help.web.api.device/tizen/filesystem.html
+//==== TEST_CRITERIA MERRCB
+
+var t = async_test("File_copyTo_file_overwrite_false"), expected = "IOError",
+    resolveSuccess, resolveError, copySuccess, copyError, fsTestFile, fsTestFileName, fsTestDir,
+    fsTestDirName, fsTestSubDir1, fsTestSubDirName1, fsTestSubDir2, fsTestSubDirName2;
+
+t.step(function () {
+    fsTestDirName = getFileName("filesystem");
+    fsTestSubDirName1 = getFileName("filesystem1sub");
+    fsTestSubDirName2 = getFileName("filesystem2sub");
+    fsTestFileName =  getFileName("filesystem.txt");
+
+    copySuccess = t.step_func(function () {
+        assert_unreached("copySuccess callback shouldn't be invoked");
+    });
+
+    copyError = t.step_func(function (error) {
+        assert_equals(error.name, expected, "wrong error type");
+        t.done();
+    });
+
+    resolveSuccess = t.step_func(function (dir) {
+        fsTestDir = dir.createDirectory(fsTestDirName);
+        fsTestSubDir1 = fsTestDir.createDirectory(fsTestSubDirName1);
+        fsTestSubDir2 = fsTestDir.createDirectory(fsTestSubDirName2);
+        fsTestFile = fsTestSubDir1.createFile(fsTestFileName);
+        fsTestSubDir2.createFile(fsTestFileName);
+        fsTestSubDir1.copyTo(fsTestFile.fullPath, fsTestSubDir2.fullPath, false, copySuccess, copyError);
+    });
+
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name:" + error.name + "msg:" + error.message);
+    });
+
+    prepareForTesting(t, function () {
+        tizen.filesystem.resolve("documents", resolveSuccess, resolveError, "rw");
+    });
+});
+
+</script>
+</body>
+</html>
diff --git a/tct-filesystem-tizen-tests/filesystem/File_copyTo_file_overwrite_true.html b/tct-filesystem-tizen-tests/filesystem/File_copyTo_file_overwrite_true.html
new file mode 100644 (file)
index 0000000..cfd0cfc
--- /dev/null
@@ -0,0 +1,81 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2013 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:
+    Mariusz Polasinski <m.polasinski@samsung.com>
+
+-->
+
+<html lang="en">
+
+<head>
+<title>File_copyTo_file_overwrite_true</title>
+<script type="text/javascript" src="../resources/testharness.js"></script>
+<script type="text/javascript" src="../resources/testharnessreport.js"></script>
+<script type="text/javascript" src="support/filesystem_common.js"></script>
+</head>
+
+<body>
+<div id="log"></div>
+<script type="text/javascript">
+//==== TEST: File_copyTo_file_overwrite_true
+//==== LABEL check if copy a file to another location of the file with the same name (overwrite is true) was successfull.
+//==== PRIORITY P2
+//==== STEP check if copy a file to another location of the file with the same name (overwrite is true) was successfull.
+//==== EXPECT file should be copied to another location with same name.
+//==== SPEC Tizen Web API:IO:Filesystem:File:copyTo M
+//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.help.web.api.device/tizen/filesystem.html
+//==== TEST_CRITERIA MOA
+
+var t = async_test("File_copyTo_file_overwrite_true"),
+        resolveSuccess, resolveError, copySuccess, fsTestFile, fsTestFileName, fsTestDir, copyError,
+        fsTestDirName, fsTestSubDir1, fsTestSubDirName1, fsTestSubDir2, fsTestSubDirName2;
+
+t.step(function () {
+    fsTestDirName = getFileName("filesystem");
+    fsTestSubDirName1 = getFileName("filesystem1sub");
+    fsTestSubDirName2 = getFileName("filesystem2sub");
+    fsTestFileName =  getFileName("filesystem.txt");
+
+    copySuccess = t.step_func(function () {
+        t.done();
+    });
+
+    copyError = t.step_func(function (error) {
+        assert_unreached("copyTo() error callback invoked: name:" + error.name + "msg:" + error.message);
+    });
+
+    resolveSuccess = t.step_func(function (dir) {
+        fsTestDir = dir.createDirectory(fsTestDirName);
+        fsTestSubDir1 = fsTestDir.createDirectory(fsTestSubDirName1);
+        fsTestSubDir2 = fsTestDir.createDirectory(fsTestSubDirName2);
+        fsTestFile = fsTestSubDir1.createFile(fsTestFileName);
+        fsTestSubDir2.createFile(fsTestFileName);
+        fsTestSubDir1.copyTo(fsTestFile.fullPath, fsTestSubDir2.fullPath, true, copySuccess, copyError);
+    });
+
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name:" + error.name + "msg:" + error.message);
+    });
+
+    prepareForTesting(t, function () {
+        tizen.filesystem.resolve("documents", resolveSuccess, resolveError, "rw");
+    });
+});
+</script>
+</body>
+</html>
index 3cdb55bd1bc4312ba9fe46652b7d4be58110e885..e6865356bbb1689d94d2be72036af9e13e6d3286 100644 (file)
@@ -45,41 +45,35 @@ Authors:
 <div id="log"></div>
 <script type="text/javascript">
 //==== TEST: File_copyTo_file_samedir_samename_overwrite_false
-//==== LABEL check if throw an exception when copy a file to same location with same name in overwrite is false.
+//==== LABEL check if error callback invoked when copy a file to the same location with the same name (overwrite is false).
 //==== PRIORITY P2
-//==== STEP check if throw an exception when copy a file to same location with same name in overwrite is false.
+//==== STEP check if error callback invoked when copy a file to the same location with the same name (overwrite is false).
 //==== EXPECT exception should be thrown.
 //==== SPEC Tizen Web API:IO:Filesystem:File:copyTo M
 //==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.help.web.api.device/tizen/filesystem.html
 //==== TEST_CRITERIA MERRCB
 
 
-var t = async_test("File_copyTo_file_samedir_samename_overwrite_false"), expected = "IOError",
-    resolveSuccess, resolveError, copySuccess, copyError, fsTestFile, fsTestFileName, fsTestDir,
-    fsTestDirName, fsTestSubDir1, fsTestSubDirName1, fsTestSubDir2, fsTestSubDirName2;
+var t = async_test("File_copyTo_file_samedir_samename_overwrite_false"), expectedError = "IOError",
+    resolveSuccess, resolveError, copySuccess, copyError, fsTestFile, fsTestFileName, fsTestDir, fsTestDirName;
 
 t.step(function () {
     fsTestDirName = getFileName("filesystem");
-    fsTestSubDirName1 = getFileName("filesystem1sub");
-    fsTestSubDirName2 = getFileName("filesystem2sub");
     fsTestFileName =  getFileName("filesystem.txt");
 
     copySuccess = t.step_func(function () {
-        assert_unreached("There is no exception thrown when overwrite is false");
+        assert_unreached("copySuccess callback shouldn't be invoked");
     });
 
     copyError = t.step_func(function (error) {
-        assert_equals(error.name, expected, "copy a file to same location with same name in overwrite is false");
+        assert_equals(error.name, expectedError, "wrong error type");
         t.done();
     });
 
     resolveSuccess = t.step_func(function (dir) {
         fsTestDir = dir.createDirectory(fsTestDirName);
-        fsTestSubDir1 = fsTestDir.createDirectory(fsTestSubDirName1);
-        fsTestSubDir2 = fsTestDir.createDirectory(fsTestSubDirName2);
-        fsTestFile = fsTestSubDir1.createFile(fsTestFileName);
-        fsTestSubDir2.createFile(fsTestFileName);
-        dir.copyTo(fsTestFile.fullPath, fsTestSubDir2.fullPath, false, copySuccess, copyError);
+        fsTestFile = fsTestDir.createFile(fsTestFileName);
+        fsTestDir.copyTo(fsTestFile.fullPath, fsTestFile.fullPath, false, copySuccess, copyError);
     });
 
     resolveError = t.step_func(function (error) {
diff --git a/tct-filesystem-tizen-tests/filesystem/File_copyTo_file_samedir_samename_overwrite_true.html b/tct-filesystem-tizen-tests/filesystem/File_copyTo_file_samedir_samename_overwrite_true.html
deleted file mode 100644 (file)
index 5608e39..0000000
+++ /dev/null
@@ -1,92 +0,0 @@
-<!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> 
-
-Revision history:
-Date                        Author                                  Description
-08-05-2012         Kaiyu <kaiyux.li@intel.com>                      create
-08-05-2013         Mariusz Polasinski <m.polasinski@samsung.com>    update
-
--->
-
-<html lang="en">
-
-<head>
-<title>File_copyTo_file_samedir_samename_overwrite_true</title>
-<script type="text/javascript" src="../resources/testharness.js"></script>
-<script type="text/javascript" src="../resources/testharnessreport.js"></script>
-<script type="text/javascript" src="support/filesystem_common.js"></script>
-</head>
-
-<body>
-<div id="log"></div>
-<script type="text/javascript">
-//==== TEST: File_copyTo_file_samedir_samename_overwrite_true
-//==== LABEL check if copy a file to another location with same name in overwrite is true successfully.
-//==== PRIORITY P2
-//==== STEP check if copy a file to another location with same name in overwrite is true successfully.
-//==== EXPECT file should be copied to another location with same name.
-//==== SPEC Tizen Web API:IO:Filesystem:File:copyTo M
-//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.help.web.api.device/tizen/filesystem.html
-//==== TEST_CRITERIA MOA
-
-var t = async_test("File_copyTo_file_samedir_samename_overwrite_true"),
-        resolveSuccess, resolveError, copySuccess, fsTestFile, fsTestFileName, fsTestDir,
-        fsTestDirName, fsTestSubDir1, fsTestSubDirName1, fsTestSubDir2, fsTestSubDirName2;
-
-t.step(function(){
-    fsTestDirName = getFileName("filesystem");
-    fsTestSubDirName1 = getFileName("filesystem1sub");
-    fsTestSubDirName2 = getFileName("filesystem2sub");
-    fsTestFileName =  getFileName("filesystem.txt");
-
-    copySuccess = t.step_func(function () {
-        t.done();
-    });
-
-    resolveSuccess = t.step_func(function (dir) {
-        fsTestDir = dir.createDirectory(fsTestDirName);
-        fsTestSubDir1 = fsTestDir.createDirectory(fsTestSubDirName1);
-        fsTestSubDir2 = fsTestDir.createDirectory(fsTestSubDirName2);
-        fsTestFile = fsTestSubDir1.createFile(fsTestFileName);
-        fsTestSubDir2.createFile(fsTestFileName);
-        dir.copyTo(fsTestFile.fullPath, fsTestSubDir2.fullPath, true, copySuccess);
-    });
-
-    resolveError = t.step_func(function (error) {
-        assert_unreached("resolve() error callback invoked: name:" + error.name + "msg:" + error.message);
-    });
-
-    prepareForTesting(t, function () {
-        tizen.filesystem.resolve("documents", resolveSuccess, resolveError, "rw");
-    });
-});
-</script>
-</body>
-</html>
diff --git a/tct-filesystem-tizen-tests/filesystem/File_copyTo_with_destination_invalid.html b/tct-filesystem-tizen-tests/filesystem/File_copyTo_with_destination_invalid.html
new file mode 100644 (file)
index 0000000..4c8cc6a
--- /dev/null
@@ -0,0 +1,91 @@
+<!DOCTYPE html>
+
+<!--
+Copyright (c) 2012 Intel Corporation.
+
+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>
+        Guan,JingX <jingx.guan@intel.com>
+        Beata Koziarek <b.koziarek@samsung.com>
+        Mariusz Polasinski <m.polasinski@samsung.com>
+
+-->
+
+<html lang="en">
+
+<head>
+<title>File_copyTo_with_destination_invalid</title>
+<script src="../resources/testharness.js"></script>
+<script src="../resources/testharnessreport.js"></script>
+<script type="text/javascript" src="support/filesystem_common.js"></script>
+</head>
+
+<body>
+<div id="log"></div>
+<script type="text/javascript">
+//==== TEST: File_copyTo_with_destination_invalid
+//==== LABEL check if throw an exception when copy a file to an invalid destination.
+//==== PRIORITY P2
+//==== STEP check if throw an exception when copy a file to an invalid destination.
+//==== EXPECT exception should be thrown.
+//==== SPEC Tizen Web API:IO:Filesystem:File:copyTo M
+//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.help.web.api.device/tizen/filesystem.html
+//==== TEST_CRITERIA MERRCB
+
+
+var t = async_test("File_copyTo_with_destination_invalid"), expectedError = "NotFoundError",
+    resolveSuccess, resolveError, copySuccess, copyError, fsTestFileName, fsTestFile;
+
+t.step(function () {
+    fsTestFileName =  getFileName("notexistfile.txt");
+
+    copySuccess = t.step_func(function () {
+        assert_unreached("copySuccess callback shouldn't be invoked");
+    });
+
+    copyError = t.step_func(function (error) {
+        assert_equals(error.name, expectedError, "wrong error type");
+        t.done();
+    });
+
+    resolveSuccess = t.step_func(function (dir) {
+        fsTestFile = dir.createFile(fsTestFileName);
+        dir.copyTo(fsTestFile.fullPath, "dummyValue.//", true, copySuccess, copyError);
+    });
+
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name: " + error.name + ", msg: " + error.message);
+    });
+
+    prepareForTesting(t, function () {
+        tizen.filesystem.resolve("documents", resolveSuccess, resolveError, "rw");
+    });
+
+});
+
+</script>
+</body>
+</html>
index b9ac93a4d734849ec5d3d043bcb44c2bebc08a43..4e73324cbd876620abef8eecc894a4610b6197ee 100644 (file)
@@ -54,27 +54,25 @@ Authors:
 //==== TEST_CRITERIA MERRCB
 
 var resolveSuccess, resolveError, copySuccess, copyError, fsTestFile, fsTestFileName, fsTestDir, fsTestDirName,
-    fsTestSubDir, fsTestSubDirName, expected ="IOError", t = async_test("File_copyTo_with_file_handle");
+    expectedError ="IOError", t = async_test("File_copyTo_with_file_handle");
 
 t.step(function () {
     fsTestDirName = getFileName("filesystem");
-    fsTestSubDirName = getFileName("filesystemSub");
     fsTestFileName = getFileName("filesystem.txt");
 
     copySuccess = t.step_func(function () {
-        assert_unreached("There is no exception thrown when when copyTo with file handle");
+        assert_unreached("copySuccess callback shouldn't be invoked");
     });
 
     copyError = t.step_func(function (error) {
-        assert_equals(error.name, expected, "copyTo with file handle should thrown an exception");
+        assert_equals(error.name, expectedError, "wrong error type");
         t.done();
     });
 
     resolveSuccess = t.step_func(function (dir) {
         fsTestDir = dir.createDirectory(fsTestDirName);
-        fsTestSubDir = fsTestDir.createDirectory(fsTestSubDirName);
-        fsTestFile = fsTestSubDir.createFile(fsTestFileName);
-        dir.copyTo(fsTestFile.fullPath, fsTestSubDir.fullPath, true, copySuccess, copyError);
+        fsTestFile = dir.createFile(fsTestFileName);
+        fsTestFile.copyTo(fsTestFile.fullPath, fsTestDir.fullPath, true, copySuccess, copyError);
     });
 
     resolveError = t.step_func(function (error) {
index 45d72b88b2ac738397cdaf521af1975811e02980..796026ada667e34126e36763cd2c6d88206ec7e7 100644 (file)
@@ -46,9 +46,9 @@ Authors:
 <div id="log"></div>
 <script type="text/javascript">
 //==== TEST: File_copyTo_with_para_invalid
-//==== LABEL check if throw an exception when copyTo with invalid parameter.
+//==== LABEL check if throw an exception when copyTo with invalid parameters.
 //==== PRIORITY P2
-//==== STEP check if throw an exception when copyTo with invalid parameter.
+//==== STEP check if throw an exception when copyTo with invalid parameters.
 //==== EXPECT exception should be thrown.
 //==== SPEC Tizen Web API:IO:Filesystem:File:copyTo M
 //==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.help.web.api.device/tizen/filesystem.html
@@ -58,7 +58,7 @@ Authors:
 var t = async_test("File_copyTo_with_para_invalid"), expected = "NotFoundError",
     resolveSuccess, resolveError, copySuccess, copyError, fsTestFileName;
 
-t.step(function(){
+t.step(function () {
     fsTestFileName =  getFileName("notexistfile.txt");
 
     copySuccess = t.step_func(function () {
@@ -66,7 +66,7 @@ t.step(function(){
     });
 
     copyError = t.step_func(function (error) {
-        assert_equals(error.name, expected, "copyTo with invalid parameter should thrown an exception");
+        assert_equals(error.name, expected, "copyTo with invalid parameters should thrown an exception");
         t.done();
     });
 
diff --git a/tct-filesystem-tizen-tests/filesystem/File_copyTo_with_path_invalid.html b/tct-filesystem-tizen-tests/filesystem/File_copyTo_with_path_invalid.html
deleted file mode 100644 (file)
index 18a0f70..0000000
+++ /dev/null
@@ -1,91 +0,0 @@
-<!DOCTYPE html>
-
-<!--
-Copyright (c) 2012 Intel Corporation.
-
-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>
-        Guan,JingX <jingx.guan@intel.com>
-        Beata Koziarek <b.koziarek@samsung.com>
-        Mariusz Polasinski <m.polasinski@samsung.com>
-
--->
-
-<html lang="en">
-
-<head>
-<title>File_copyTo_with_path_invalid</title>
-<script src="../resources/testharness.js"></script>
-<script src="../resources/testharnessreport.js"></script>
-<script type="text/javascript" src="support/filesystem_common.js"></script>
-</head>
-
-<body>
-<div id="log"></div>
-<script type="text/javascript">
-//==== TEST: File_copyTo_with_path_invalid
-//==== LABEL check if throw an exception when copy a file to an invalid path.
-//==== PRIORITY P2
-//==== STEP check if throw an exception when copy a file to an invalid path.
-//==== EXPECT exception should be thrown.
-//==== SPEC Tizen Web API:IO:Filesystem:File:copyTo M
-//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.help.web.api.device/tizen/filesystem.html
-//==== TEST_CRITERIA MERRCB
-
-
-var t = async_test("File_copyTo_with_path_invalid"), expected = "NotFoundError",
-    resolveSuccess, resolveError, copySuccess, copyError, fsTestFileName, fsTestFile;
-
-t.step(function(){
-    fsTestFileName =  getFileName("notexistfile.txt");
-
-    copySuccess = t.step_func(function () {
-        assert_unreached("There is no exception when copyTo with invalid parameters");
-    });
-
-    copyError = t.step_func(function (error) {
-        assert_equals(error.name, expected, "copyTo with invalid parameter should thrown an exception");
-        t.done();
-    });
-
-    resolveSuccess = t.step_func(function (dir) {
-        fsTestFile = dir.createFile(fsTestFileName);
-        dir.copyTo(fsTestFile.fullPath, "dummyValue.//", true, copySuccess, copyError);
-    });
-
-    resolveError = t.step_func(function (error) {
-        assert_unreached("resolve() error callback invoked: name: " + error.name + ", msg: " + error.message);
-    });
-
-    prepareForTesting(t, function () {
-        tizen.filesystem.resolve("documents", resolveSuccess, resolveError, "rw");
-    });
-
-});
-
-</script>
-</body>
-</html>
diff --git a/tct-filesystem-tizen-tests/filesystem/File_copyTo_writeFile_differentName.html b/tct-filesystem-tizen-tests/filesystem/File_copyTo_writeFile_differentName.html
deleted file mode 100644 (file)
index c2cd43f..0000000
+++ /dev/null
@@ -1,101 +0,0 @@
-<!DOCTYPE html>
-<!--
-Copyright (c) 2012 Intel Corporation.
-
-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>
-        Guan,JingX <jingx.guan@intel.com>
-        Mariusz Polasinski <m.polasinski@samsung.com>
-
--->
-
-<html lang="en">
-
-</head>
-<title>File_copyTo_writeFile_differentName</title>
-<script type="text/javascript" src="../resources/testharness.js"></script>
-<script type="text/javascript" src="../resources/testharnessreport.js"></script>
-<script type="text/javascript" src="support/filesystem_common.js"></script>
-</head>
-
-<body>
-<div id="log"></div>
-<script type="text/javascript">
-//==== TEST: File_copyTo_writeFile_differentName
-//==== LABEL check if create a new empty file and write content of the file and then copy the file to the same location with different file name
-//==== STEP check if create a new empty file and write content of the file and then copy the file to the same location with different file name
-//==== EXPECT PASS
-//==== SPEC Tizen Web API:IO:Filesystem:File:copyTo M
-//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.help.web.api.device/tizen/filesystem.html
-//==== TEST_CRITERIA MOA
-
-
-var resolveSuccess, resolveError, copySuccess, copyError, documentsDir, openStreamSuccess, openStreamError,
-    fsTestFileName, fsTestFile, fsTestDirName, fsTestDir,
-    t = async_test("File_copyTo_writeFile_differentName");
-
-t.step(function(){
-    fsTestFileName = getFileName("filesystem.txt");
-    fsTestDirName = getDirName("filesystem");
-
-    copyError = t.step_func(function (error) {
-        assert_unreached("copyTo() error callback invoked: name:" + error.name + "msg:" + error.message);
-    });
-
-    copySuccess = t.step_func(function () {
-        t.done();
-    });
-
-    openStreamError = t.step_func(function (error) {
-        assert_unreached("openStream() error callback invoked: name:" + error.name + "msg:" + error.message);
-    });
-
-    openStreamSuccess = t.step_func(function (fs) {
-        fs.write("test");
-        fs.close();
-        documentsDir.copyTo(fsTestFile.fullPath, fsTestDir.fullPath + "/new" + fsTestFile.name, true, copySuccess, copyError);
-    });
-
-    resolveSuccess = t.step_func(function (dir) {
-        documentsDir = dir;
-        fsTestDir = dir.createDirectory(fsTestDirName);
-        fsTestFile = fsTestDir.createFile(fsTestFileName);
-        fsTestFile.openStream("rw", openStreamSuccess, openStreamError, "UTF-8");
-    });
-
-    resolveError = t.step_func(function (error) {
-        assert_unreached("resolve() error callback invoked: name:" + error.name + "msg:" + error.message);
-    });
-
-    prepareForTesting(t, function () {
-        tizen.filesystem.resolve("documents", resolveSuccess, resolveError, "rw");
-    });
-
-});
-
-</script>
-</body>
-</html>
diff --git a/tct-filesystem-tizen-tests/filesystem/File_copyTo_writeFile_newDir.html b/tct-filesystem-tizen-tests/filesystem/File_copyTo_writeFile_newDir.html
new file mode 100644 (file)
index 0000000..ff6c726
--- /dev/null
@@ -0,0 +1,100 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2012 Intel Corporation.
+
+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>
+        Guan,JingX <jingx.guan@intel.com>
+        Mariusz Polasinski <m.polasinski@samsung.com>
+
+-->
+
+<html lang="en">
+
+</head>
+<title>File_copyTo_writeFile_newDir</title>
+<script type="text/javascript" src="../resources/testharness.js"></script>
+<script type="text/javascript" src="../resources/testharnessreport.js"></script>
+<script type="text/javascript" src="support/filesystem_common.js"></script>
+</head>
+
+<body>
+<div id="log"></div>
+<script type="text/javascript">
+//==== TEST: File_copyTo_writeFile_newDir
+//==== LABEL check if create a new empty file and write content of the file and then copy the file to the same location with different file name
+//==== STEP check if create a new empty file and write content of the file and then copy the file to the same location with different file name
+//==== EXPECT PASS
+//==== SPEC Tizen Web API:IO:Filesystem:File:copyTo M
+//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.help.web.api.device/tizen/filesystem.html
+//==== TEST_CRITERIA MOA
+
+
+var resolveSuccess, resolveError, copySuccess, copyError, openStreamSuccess, openStreamError,
+    fsTestFileName, fsTestFile, fsTestDirName, fsTestDir,
+    t = async_test("File_copyTo_writeFile_newDir");
+
+t.step(function () {
+    fsTestFileName = getFileName("filesystem.txt");
+    fsTestDirName = getDirName("filesystem");
+
+    copyError = t.step_func(function (error) {
+        assert_unreached("copyTo() error callback invoked: name:" + error.name + "msg:" + error.message);
+    });
+
+    copySuccess = t.step_func(function () {
+        t.done();
+    });
+
+    openStreamError = t.step_func(function (error) {
+        assert_unreached("openStream() error callback invoked: name:" + error.name + "msg:" + error.message);
+    });
+
+    openStreamSuccess = t.step_func(function (fs) {
+        fs.write("test");
+        fs.close();
+        fsTestDir.copyTo(fsTestFile.fullPath, fsTestDir.fullPath + "/new" + fsTestFile.name, true, copySuccess, copyError);
+    });
+
+    resolveSuccess = t.step_func(function (dir) {
+        fsTestDir = dir.createDirectory(fsTestDirName);
+        fsTestFile = fsTestDir.createFile(fsTestFileName);
+        fsTestFile.openStream("rw", openStreamSuccess, openStreamError, "UTF-8");
+    });
+
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name:" + error.name + "msg:" + error.message);
+    });
+
+    prepareForTesting(t, function () {
+        tizen.filesystem.resolve("documents", resolveSuccess, resolveError, "rw");
+    });
+
+});
+
+</script>
+</body>
+</html>
diff --git a/tct-filesystem-tizen-tests/filesystem/File_copyTo_writeFile_overwrite_false.html b/tct-filesystem-tizen-tests/filesystem/File_copyTo_writeFile_overwrite_false.html
new file mode 100644 (file)
index 0000000..f99b8dc
--- /dev/null
@@ -0,0 +1,101 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2012 Intel Corporation.
+
+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>
+        Guan,JingX <jingx.guan@intel.com>
+        Mariusz Polasinski <m.polasinski@samsung.com>
+
+-->
+
+<html lang="en">
+
+<head>
+<title>File_copyTo_writeFile_overwirte_false</title>
+<script type="text/javascript" src="../resources/testharness.js"></script>
+<script type="text/javascript" src="../resources/testharnessreport.js"></script>
+<script type="text/javascript" src="support/filesystem_common.js"></script>
+</head>
+
+<body>
+<div id="log"></div>
+<script type="text/javascript">
+//==== TEST: File_copyTo_writeFile_overwrite_false
+//==== LABEL check if create a new empty file and write content of the file and then copy the file to the same location with same file name (overwrite false)
+//==== STEP check if create a new empty file and write content of the file and then copy the file to the same location with same file name (overwrite false)
+//==== EXPECT PASS
+//==== SPEC Tizen Web API:IO:Filesystem:File:copyTo M
+//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.help.web.api.device/tizen/filesystem.html
+//==== TEST_CRITERIA MERRCB
+
+
+var t = async_test("File_copyTo_writeFile_overwirte_false"), resolveSuccess, resolveError,
+    openStreamSuccess, openStreamError, copyToSuccess, copyToError, fsTestFileName,
+    fsTestFile, fsTestDirName, fsTestDir, expectedError = "IOError";
+
+t.step(function () {
+    fsTestFileName = getFileName("filesystem.txt");
+    fsTestDirName = getDirName("filesystem");
+
+    copyToSuccess = t.step_func(function () {
+        assert_unreached("copyToSuccess callback shouldn't be invoked");
+    });
+
+    copyToError = t.step_func(function (error) {
+        assert_equals(error.name, expectedError, "wrong error type");
+        t.done();
+    });
+
+    openStreamSuccess = t.step_func(function (fs) {
+        fs.write("test");
+        fs.close();
+        fsTestDir.copyTo(fsTestFile.fullPath, fsTestDir.fullPath + "/" + fsTestFile.name, false, copyToSuccess, copyToError);
+    });
+
+    openStreamError = t.step_func(function (error) {
+        assert_unreached("openStream() error callback invoked: name: " + error.name + ", msg: " + error.message);
+    });
+
+    resolveSuccess = t.step_func(function (dir) {
+        fsTestDir = dir.createDirectory(fsTestDirName);
+        fsTestFile = fsTestDir.createFile(fsTestFileName);
+        fsTestFile.openStream("rw", openStreamSuccess, openStreamError, "UTF-8");
+    });
+
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name: " + error.name + ", msg: " + error.message);
+    });
+
+    prepareForTesting(t, function () {
+        tizen.filesystem.resolve("documents", resolveSuccess, resolveError, "rw");
+    });
+
+});
+
+</script>
+</body>
+</html>
diff --git a/tct-filesystem-tizen-tests/filesystem/File_copyTo_writeFile_sameName.html b/tct-filesystem-tizen-tests/filesystem/File_copyTo_writeFile_sameName.html
deleted file mode 100644 (file)
index dc07679..0000000
+++ /dev/null
@@ -1,101 +0,0 @@
-<!DOCTYPE html>
-<!--
-Copyright (c) 2012 Intel Corporation.
-
-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>
-        Guan,JingX <jingx.guan@intel.com>
-        Mariusz Polasinski <m.polasinski@samsung.com>
-
--->
-
-<html lang="en">
-
-<head>
-<title>File_copyTo_writeFile_sameName</title>
-<script type="text/javascript" src="../resources/testharness.js"></script>
-<script type="text/javascript" src="../resources/testharnessreport.js"></script>
-<script type="text/javascript" src="support/filesystem_common.js"></script>
-</head>
-
-<body>
-<div id="log"></div>
-<script type="text/javascript">
-//==== TEST: File_copyTo_writeFile_sameName
-//==== LABEL check if create a new empty file and write content of the file and then copy the file to the same location with same file name
-//==== STEP check if create a new empty file and write content of the file and then copy the file to the same location with same file name
-//==== EXPECT PASS
-//==== SPEC Tizen Web API:IO:Filesystem:File:copyTo M
-//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.help.web.api.device/tizen/filesystem.html
-//==== TEST_CRITERIA MERRCB
-
-
-var t = async_test("File_copyTo_writeFile_sameName"), resolveSuccess, resolveError, openStreamSuccess, openStreamError,
-    copyToSuccess, copyToError, documentsDir, fsTestFileName, fsTestFile, fsTestDirName, fsTestDir, expected = "IOError";
-
-t.step(function(){
-    fsTestFileName = getFileName("filesystem.txt");
-    fsTestDirName = getDirName("filesystem");
-
-    copyToSuccess = t.step_func(function () {
-        assert_unreached("copyTo() should throw an exception");
-    });
-
-    copyToError = t.step_func(function (error) {
-        assert_equals(error.name, expected, "it shouldn't overwrite the same file");
-        t.done();
-    });
-
-    openStreamSuccess = t.step_func(function (fs) {
-        fs.write("test");
-        fs.close();
-        documentsDir.copyTo(fsTestFile.fullPath, fsTestDir.fullPath + "/" + fsTestFile.name, true, copyToSuccess, copyToError);
-    });
-
-    openStreamError = t.step_func(function (error) {
-        assert_unreached("openStream() error callback invoked: name: " + error.name + ", msg: " + error.message);
-    });
-
-    resolveSuccess = t.step_func(function (dir) {
-        documentsDir = dir;
-        fsTestDir = dir.createDirectory(fsTestDirName);
-        fsTestFile = fsTestDir.createFile(fsTestFileName);
-        fsTestFile.openStream("rw", openStreamSuccess, openStreamError, "UTF-8");
-    });
-
-    resolveError = t.step_func(function (error) {
-        assert_unreached("resolve() error callback invoked: name: " + error.name + ", msg: " + error.message);
-    });
-
-    prepareForTesting(t, function () {
-        tizen.filesystem.resolve("documents", resolveSuccess, resolveError, "rw");
-    });
-
-});
-
-</script>
-</body>
-</html>
index 509630580d529ae7a9b740a1511eb402355ef292..2d9717767111b4e6c65cce1621c65c50775dbde7 100644 (file)
@@ -53,10 +53,10 @@ Authors:
 //==== TEST_CRITERIA MOA
 
 
-var resolveSuccess, resolveError, openStreamSuccess, openStreamError, copySuccess, copyError, documentsDir, fsTestFileName, fsTestFile,
+var resolveSuccess, resolveError, openStreamSuccess, openStreamError, copySuccess, copyError, fsTestFileName, fsTestFile,
     fsTestDir, fsTestDirName, fsTestSubDir, fsTestSubDirName, t = async_test("File_copyTo_writeFile_subdir");
 
-t.step(function(){
+t.step(function () {
     fsTestFileName = getFileName("filesystem.txt");
     fsTestDirName = getDirName("filesystem");
     fsTestSubDirName = getDirName("filesystemSub");
@@ -72,7 +72,7 @@ t.step(function(){
     openStreamSuccess = t.step_func(function (fs) {
         fs.write("test");
         fs.close();
-        documentsDir.copyTo(fsTestFile.fullPath, fsTestSubDir.fullPath + "/" + fsTestFile.name, true, copySuccess, copyError);
+        fsTestDir.copyTo(fsTestFile.fullPath, fsTestSubDir.fullPath + "/" + fsTestFile.name, true, copySuccess, copyError);
     });
 
     openStreamError = t.step_func(function (error) {
@@ -80,7 +80,6 @@ t.step(function(){
     });
 
     resolveSuccess = t.step_func(function (dir) {
-        documentsDir = dir;
         fsTestDir = dir.createDirectory(fsTestDirName);
         fsTestSubDir = fsTestDir.createDirectory(fsTestSubDirName);
         fsTestFile = fsTestDir.createFile(fsTestFileName);
index 92c02f837d86595b01c9ae305474d3bf76f630b2..f521c2f1ac97bc0a51ed78b44e143cb6556a1904 100644 (file)
@@ -17,6 +17,7 @@ limitations under the License.
 
 Authors:
     Beata Koziarek <b.koziarek@samsung.com>
+    Mariusz Polasinski <m.polasinski@samsung.com>
 
 -->
 <html>
@@ -37,15 +38,14 @@ Authors:
 //==== TEST_CRITERIA MMINA MR
 
 var t = async_test("File_moveTo"), fsTestFileName, fsTestFile,
-    resolveSuccess, resolveError, documentsDir, retVal;
+    resolveSuccess, resolveError, retVal;
 
 t.step(function () {
     fsTestFileName = getFileName("filesystem.txt");
 
     resolveSuccess = t.step_func(function (dir) {
-        documentsDir = dir;
-        fsTestFile = dir.createDirectory(fsTestFileName);
-        retVal = documentsDir.moveTo(fsTestFile.fullPath,
+        fsTestFile = dir.createFile(fsTestFileName);
+        retVal = dir.moveTo(fsTestFile.fullPath,
             "images/"+fsTestFile.name, true);
         assert_equals(retVal, undefined, "incorrect returned value");
         t.done();
index 4e7781b41978adc51a091e87f1bdd8b46d4c894a..8c675308185118c091e110cc504d5a50847357a1 100644 (file)
@@ -27,6 +27,7 @@ EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 
 Authors:
     Guan,JingX <jingx.guan@intel.com>
+    Mariusz Polasinski <m.polasinski@samsung.com>
 
 -->
 
@@ -40,9 +41,9 @@ Authors:
 <div id="log"></div>
 <script type="text/javascript">
 //==== TEST: File_moveTo_file_samedir_samename_overwrite_false
-//==== LABEL check if throw an exception when move a file to same location with same name in overwrite is false.
+//==== LABEL check if error callback invoked when move a file to the same location with the same name (overwrite is false).
 //==== PRIORITY P2
-//==== STEP check if throw an exception when move a file to same location with same name in overwrite is false.
+//==== STEP check if error callback invoked when move a file to the same location with the same name (overwrite is false).
 //==== EXPECT exception should be thrown.
 //==== SPEC Tizen Web API:IO:Filesystem:File:moveTo M
 //==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.help.web.api.device/tizen/filesystem.html
@@ -50,31 +51,28 @@ Authors:
 
 
 var t = async_test("File_moveTo_file_samedir_samename_overwrite_false"), resolveSuccess,
-    resolveError, moveToSuccess, moveToError,
+    resolveError, moveToSuccess, moveToError, expectedError = "IOError",
     fsTestDirName1, fsTestDirName2, fsTestFileName, fsTestDir1, fsTestDir2, fsTestFile;
 
-t.step(function(){
+t.step(function () {
     fsTestDirName1 = getDirName("filesystem");
     fsTestDirName2 = getDirName("destination");
     fsTestFileName = getFileName("filesystem.txt");
 
     moveToSuccess = t.step_func(function () {
-        assert_unreached("this function should not be invoked");
+        assert_unreached("moveToSuccess callback should not be invoked");
     });
 
     moveToError = t.step_func(function (error) {
-        if (error.name !== "IOError") {
-            assert_unreached("moveTo() wrong error callback invoked: name:" + error.name + "msg:" + error.message);
-        } else {
-            t.done();
-        }
+        assert_equals(error.name, expectedError, "wrong error type");
+        t.done();
     });
 
     resolveSuccess = t.step_func(function (dir) {
         fsTestDir1 = dir.createDirectory(fsTestDirName1);
         fsTestDir2 = fsTestDir1.createDirectory(fsTestDirName2);
         fsTestFile = fsTestDir2.createFile(fsTestFileName);
-        dir.moveTo(fsTestFile.fullPath, "documents/"+fsTestDir1.name+"/"+fsTestDir2.name+"/",
+        fsTestDir2.moveTo(fsTestFile.fullPath, "documents/"+fsTestDir1.name+"/"+fsTestDir2.name+"/",
             false, moveToSuccess, moveToError);
     });
 
index 7300a8536f927c5ca62bd4ed5b89d31cf4f80688..ea9d8838865b9763cb898e66f2467164759a16f3 100644 (file)
@@ -40,9 +40,9 @@ Authors:
 <div id="log"></div>
 <script type="text/javascript">
 //==== TEST: File_moveTo_file_samedir_samename_overwrite_true
-//==== LABEL check if move a file to same location with same name in overwrite is true successfully.
+//==== LABEL check if move a file to same location with the same name (overwrite is true) was successyful.
 //==== PRIORITY P2
-//==== STEP check if move a file to same location with same name in overwrite is true successfully.
+//==== STEP check if move a file to same location with the same name (overwrite is true) was successyful.
 //==== EXPECT file should be moved to same location with same name.
 //==== SPEC Tizen Web API:IO:Filesystem:File:moveTo M
 //==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.help.web.api.device/tizen/filesystem.html
@@ -50,11 +50,11 @@ Authors:
 
 
 var t = async_test("File_moveTo_file_samedir_samename_overwrite_true"), resolveSuccess,
-    resolveError, moveToSuccess, moveToError, documentsDir,
+    resolveError, moveToSuccess, moveToError,
     fsTestDirName1, fsTestDirName2, fsTestFileName, fsTestDir1,
     fsTestDir2, fsTestFile;
 
-t.step(function(){
+t.step(function () {
     fsTestDirName1 = getDirName("filesystem");
     fsTestDirName2 = getDirName("destination");
     fsTestFileName = getFileName("filesystem.txt");
@@ -67,11 +67,10 @@ t.step(function(){
     });
 
     resolveSuccess = t.step_func(function (dir) {
-        documentsDir = dir;
         fsTestDir1 = dir.createDirectory(fsTestDirName1);
         fsTestDir2 = fsTestDir1.createDirectory(fsTestDirName2);
         fsTestFile = fsTestDir2.createFile(fsTestFileName);
-        dir.moveTo(fsTestFile.fullPath, "documents/" + fsTestDir1.name + "/" + fsTestDir2.name + "/",
+        fsTestDir2.moveTo(fsTestFile.fullPath, "documents/" + fsTestDir1.name + "/" + fsTestDir2.name + "/",
             true, moveToSuccess, moveToError);
     });
 
index 80184d60730c4fae7218d7fac9b93c140671bba3..4b4a414aa0bdfe4e7c3f4ef2b596c6d824996ac5 100644 (file)
@@ -17,6 +17,7 @@ limitations under the License.
 
 Authors:
     Beata Koziarek <b.koziarek@samsung.com>
+    Mariusz Polasinski <m.polasinski@samsung.com>
 
 -->
 <html lang="en">
@@ -30,7 +31,7 @@ Authors:
 <script type="text/javascript">
 
 //==== TEST: File_moveTo_onsuccess_invalid_cb
-//==== LABEL: Test whether the constructor of the interface is defined or not in moveTo method onSuccess callback.
+//==== LABEL: check if an exception was thrown when a fake callback (onsuccess) was passed into moveTo method.
 //==== PRIORITY: P2
 //==== EXPECT: An exception must be thrown.
 //==== SPEC: Tizen Web API:IO:Filesystem:File:moveTo M
@@ -53,7 +54,7 @@ t.step(function () {
         fsTestFile = dir.createFile(fsTestFileName);
         assert_throws({name : exceptionName},
             function () {
-                fsTestFile.moveTo(fsTestFile.fullPath, "images", true, moveToSuccess);
+                dir.moveTo(fsTestFile.fullPath, "images", true, moveToSuccess);
             }, exceptionName + " should be thrown - given incorrect successCallback.");
         t.done();
     });
index 090d2c23b5b477f491e8b1e1a777422c89113f7f..7e5eda54f61c2985607518d5b7c574783b29b48c 100644 (file)
@@ -28,6 +28,7 @@ EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 Authors:
     Kaiyu <kaiyux.li@intel.com>
     Guan,JingX <jingx.guan@intel.com>
+    Mariusz Polasinski <m.polasinski@samsung.com>
 
 -->
 
@@ -53,7 +54,7 @@ Authors:
 
 var resolveSuccess, resolveError, moveToSuccess, moveToError, documentsDir, fsTestDirName1,
     fsTestDirName2, fsTestDir1, fsTestDir2, fsTestFileName, fsTestFile,
-    expected = "NotFoundError", t = async_test("File_moveTo_with_file_handle");
+    expectedError = "IOError", t = async_test("File_moveTo_with_file_handle");
 
 t.step(function () {
     fsTestDirName1 = getFileName("filesystem");
@@ -65,7 +66,7 @@ t.step(function () {
     });
 
     moveToError = t.step_func(function (error) {
-        assert_equals(error.name, expected, "moveTo with file handle should thrown an exception");
+        assert_equals(error.name, expectedError, expectedError + " should be thrown");
         t.done();
     });
 
@@ -74,7 +75,7 @@ t.step(function () {
         fsTestDir1 = dir.createDirectory(fsTestDirName1);
         fsTestDir2 = fsTestDir1.createDirectory(fsTestDirName2);
         fsTestFile = fsTestDir2.createFile(fsTestFileName);
-        dir.moveTo(fsTestFile.name, "documents/filesystem02/filesystem01/", true, moveToSuccess, moveToError);
+        fsTestFile.moveTo(fsTestFile.name, "documents/filesystem02/filesystem01/", true, moveToSuccess, moveToError);
     });
 
     resolveError = t.step_func(function (error) {
diff --git a/tct-filesystem-tizen-tests/filesystem/File_moveTo_writeFile_differentName.html b/tct-filesystem-tizen-tests/filesystem/File_moveTo_writeFile_differentName.html
deleted file mode 100644 (file)
index 77e9305..0000000
+++ /dev/null
@@ -1,98 +0,0 @@
-<!DOCTYPE html>
-<!--
-Copyright (c) 2012 Intel Corporation.
-
-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>
-    Guan,JingX <jingx.guan@intel.com>
-
--->
-
-<html lang="en">
-<head>
-<title> File_moveTo_writeFile_differentName </title>
-<meta charset="utf-8" />
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
-<script type="text/javascript" src="support/filesystem_common.js"></script>
-</head>
-<body>
-<div id="log"></div>
-<script type="text/javascript">
-
-//==== TEST: File_moveTo_writeFile_differentName
-//==== LABEL check if create a new empty file and write content of the file and then move the file to the same location with different file name
-//==== STEP check if create a new empty file and write content of the file and then move the file to the same location with different file name
-//==== EXPECT PASS
-//==== SPEC Tizen Web API:IO:Filesystem:File:moveTo M
-//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.help.web.api.device/tizen/filesystem.html
-//==== TEST_CRITERIA MOA
-
-
-var resolveSuccess, resolveError, documentsDir, fsTestDirName, fsTestFileName, fsTestDir,
-    fsTestFile, moveToSuccess, moveToError, t = async_test("File_moveTo_writeFile_differentName"),
-    openStreamSuccess, openStreamError;
-
-t.step(function () {
-    fsTestDirName = getFileName("filesystem");
-    fsTestFileName = getFileName("filesystem.txt");
-
-    moveToSuccess = t.step_func(function () {
-        t.done();
-    });
-
-    moveToError = t.step_func(function (error) {
-        assert_unreached("moveTo() error callback invoked: name:" + error.name + "msg:" + error.message);
-    });
-
-    openStreamSuccess = t.step_func(function (fs) {
-        fs.write("test");
-        fs.close();
-        documentsDir.moveTo(fsTestFile.fullPath, fsTestDir.fullPath + "/new" + fsTestFile.name,
-            true, moveToSuccess, moveToError);
-    });
-
-    openStreamError = t.step_func(function (error) {
-        assert_unreached("openStream() error callback invoked: name:" + error.name + "msg:" + error.message);
-    });
-
-    resolveSuccess = t.step_func(function (dir) {
-        documentsDir = dir;
-        fsTestDir = dir.createDirectory(fsTestDirName);
-        fsTestFile = fsTestDir.createFile(fsTestFileName);
-        fsTestFile.openStream("rw", openStreamSuccess, openStreamError, "UTF-8");
-    });
-
-    resolveError = t.step_func(function (error) {
-        assert_unreached("resolve() error callback invoked: name:" + error.name + "msg:" + error.message);
-    });
-
-    prepareForTesting(t, function () {
-        tizen.filesystem.resolve("documents", resolveSuccess, resolveError, "rw");
-    });
-});
-</script>
-</body>
-</html>
diff --git a/tct-filesystem-tizen-tests/filesystem/File_moveTo_writeFile_false.html b/tct-filesystem-tizen-tests/filesystem/File_moveTo_writeFile_false.html
deleted file mode 100644 (file)
index 464523a..0000000
+++ /dev/null
@@ -1,97 +0,0 @@
-<!DOCTYPE html>
-<!--
-Copyright (c) 2012 Intel Corporation.
-
-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>
-    Guan,JingX <jingx.guan@intel.com>
-
--->
-
-<html lang="en">
-<head>
-<title> File_moveTo_writeFile_false </title>
-<meta charset="utf-8" />
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
-<script type="text/javascript" src="support/filesystem_common.js"></script>
-</head>
-<body>
-<div id="log"></div>
-<script type="text/javascript">
-
-//==== TEST: File_moveTo_writeFile_false
-//==== LABEL check if create a new empty file and write content of the file and then move the file to the same location with same file name
-//==== STEP check if create a new empty file and write content of the file and then move the file to the same location with same file name
-//==== EXPECT PASS
-//==== SPEC Tizen Web API:IO:Filesystem:File:moveTo M
-//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.help.web.api.device/tizen/filesystem.html
-//==== TEST_CRITERIA MERRCB
-
-
-var t = async_test("File_moveTo_writeFile_false"),
-    resolveSuccess, resolveError, openStreamSuccess, openStreamError, moveToSuccess,
-    moveToError, documentsDir, fsTestFileName, fsTestFile, fsTestDirName, fsTestDir;
-
-t.step(function () {
-    fsTestDirName = getFileName("filesystem");
-    fsTestFileName = getFileName("filesystem.txt");
-
-    moveToSuccess = t.step_func(function () {
-        assert_unreached("moveTo() error callback should be called");
-    });
-
-    moveToError = t.step_func(function (error) {
-        t.done();
-    });
-
-    openStreamSuccess = t.step_func(function (fs) {
-        fs.write("test");
-        fs.close();
-        documentsDir.moveTo(fsTestFile.fullPath, fsTestDir.fullPath + "/" + fsTestFile.name,
-            false, moveToSuccess, moveToError);
-    });
-    openStreamError = t.step_func(function (error) {
-        assert_unreached("openStream() error callback invoked: name: " + error.name + ", msg: " + error.message);
-    });
-
-    resolveSuccess = t.step_func(function (dir) {
-        documentsDir = dir;
-        fsTestDir = dir.createDirectory(fsTestDirName);
-        fsTestFile = fsTestDir.createFile(fsTestFileName);
-        fsTestFile.openStream("rw", openStreamSuccess, openStreamError, "UTF-8");
-    });
-
-    resolveError = t.step_func(function (error) {
-        assert_unreached("resolve() error callback invoked: name: " + error.name + ", msg: " + error.message);
-    });
-
-    prepareForTesting(t, function () {
-        tizen.filesystem.resolve("documents", resolveSuccess, resolveError, "rw");
-    });
-});
-</script>
-</body>
-</html>
diff --git a/tct-filesystem-tizen-tests/filesystem/File_moveTo_writeFile_newDir.html b/tct-filesystem-tizen-tests/filesystem/File_moveTo_writeFile_newDir.html
new file mode 100644 (file)
index 0000000..c55d930
--- /dev/null
@@ -0,0 +1,97 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2012 Intel Corporation.
+
+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>
+    Guan,JingX <jingx.guan@intel.com>
+
+-->
+
+<html lang="en">
+<head>
+<title> File_moveTo_writeFile_newDir </title>
+<meta charset="utf-8" />
+<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/filesystem_common.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script type="text/javascript">
+
+//==== TEST: File_moveTo_writeFile_newDir
+//==== LABEL check if create a new empty file and write content of the file and then move the file to the same location with different file name
+//==== STEP check if create a new empty file and write content of the file and then move the file to the same location with different file name
+//==== EXPECT PASS
+//==== SPEC Tizen Web API:IO:Filesystem:File:moveTo M
+//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.help.web.api.device/tizen/filesystem.html
+//==== TEST_CRITERIA MOA
+
+
+var resolveSuccess, resolveError, fsTestDirName, fsTestFileName, fsTestDir,
+    fsTestFile, moveToSuccess, moveToError, t = async_test("File_moveTo_writeFile_newDir"),
+    openStreamSuccess, openStreamError;
+
+t.step(function () {
+    fsTestDirName = getFileName("filesystem");
+    fsTestFileName = getFileName("filesystem.txt");
+
+    moveToSuccess = t.step_func(function () {
+        t.done();
+    });
+
+    moveToError = t.step_func(function (error) {
+        assert_unreached("moveTo() error callback invoked: name:" + error.name + "msg:" + error.message);
+    });
+
+    openStreamSuccess = t.step_func(function (fs) {
+        fs.write("test");
+        fs.close();
+        fsTestDir.moveTo(fsTestFile.fullPath, fsTestDir.fullPath + "/new" + fsTestFile.name,
+            true, moveToSuccess, moveToError);
+    });
+
+    openStreamError = t.step_func(function (error) {
+        assert_unreached("openStream() error callback invoked: name:" + error.name + "msg:" + error.message);
+    });
+
+    resolveSuccess = t.step_func(function (dir) {
+        fsTestDir = dir.createDirectory(fsTestDirName);
+        fsTestFile = fsTestDir.createFile(fsTestFileName);
+        fsTestFile.openStream("rw", openStreamSuccess, openStreamError, "UTF-8");
+    });
+
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name:" + error.name + "msg:" + error.message);
+    });
+
+    prepareForTesting(t, function () {
+        tizen.filesystem.resolve("documents", resolveSuccess, resolveError, "rw");
+    });
+});
+</script>
+</body>
+</html>
diff --git a/tct-filesystem-tizen-tests/filesystem/File_moveTo_writeFile_overwrite_false.html b/tct-filesystem-tizen-tests/filesystem/File_moveTo_writeFile_overwrite_false.html
new file mode 100644 (file)
index 0000000..0afc8a1
--- /dev/null
@@ -0,0 +1,98 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2012 Intel Corporation.
+
+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>
+    Guan,JingX <jingx.guan@intel.com>
+    Mariusz Polasinski <m.polasinski@samsung.com>
+
+-->
+
+<html lang="en">
+<head>
+<title> File_moveTo_writeFile_overwrite_false </title>
+<meta charset="utf-8" />
+<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/filesystem_common.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script type="text/javascript">
+
+//==== TEST: File_moveTo_writeFile_overwrite_false
+//==== LABEL check if create a new empty file and write content of the file and then move the file to the same location with same file name (overwrite false)
+//==== STEP check if create a new empty file and write content of the file and then move the file to the same location with same file name (overwrite false)
+//==== EXPECT PASS
+//==== SPEC Tizen Web API:IO:Filesystem:File:moveTo M
+//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.help.web.api.device/tizen/filesystem.html
+//==== TEST_CRITERIA MERRCB
+
+
+var t = async_test("File_moveTo_writeFile_overwrite_false"),
+    resolveSuccess, resolveError, openStreamSuccess, openStreamError, moveToSuccess,
+    moveToError, fsTestFileName, fsTestFile, fsTestDirName, fsTestDir, expectedError = "IOError";
+
+t.step(function () {
+    fsTestDirName = getFileName("filesystem");
+    fsTestFileName = getFileName("filesystem.txt");
+
+    moveToSuccess = t.step_func(function () {
+        assert_unreached("moveToSuccess callback shouldn't be invoked");
+    });
+
+    moveToError = t.step_func(function (error) {
+        assert_equals(error.name, expectedError, "wrong error type");
+        t.done();
+    });
+
+    openStreamSuccess = t.step_func(function (fs) {
+        fs.write("test");
+        fs.close();
+        fsTestDir.moveTo(fsTestFile.fullPath, fsTestDir.fullPath + "/" + fsTestFile.name,
+            false, moveToSuccess, moveToError);
+    });
+    openStreamError = t.step_func(function (error) {
+        assert_unreached("openStream() error callback invoked: name: " + error.name + ", msg: " + error.message);
+    });
+
+    resolveSuccess = t.step_func(function (dir) {
+        fsTestDir = dir.createDirectory(fsTestDirName);
+        fsTestFile = fsTestDir.createFile(fsTestFileName);
+        fsTestFile.openStream("rw", openStreamSuccess, openStreamError, "UTF-8");
+    });
+
+    resolveError = t.step_func(function (error) {
+        assert_unreached("resolve() error callback invoked: name: " + error.name + ", msg: " + error.message);
+    });
+
+    prepareForTesting(t, function () {
+        tizen.filesystem.resolve("documents", resolveSuccess, resolveError, "rw");
+    });
+});
+</script>
+</body>
+</html>
index a2821170c2dfd1a83103c1e0de0005e347e4a585..248b6c750991300e8dcaf0f9983bdfd0b61bd854 100644 (file)
@@ -52,7 +52,7 @@ Authors:
 
 
 var resolveSuccess, resolveError, openStreamSuccess, openStreamError, moveToSuccess,
-    moveToError, documentsDir, fsTestDirName1, fsTestDirName2, fsTestFileName,
+    moveToError, fsTestDirName1, fsTestDirName2, fsTestFileName,
     fsTestFile, fsTestDir1, fsTestDir2, t = async_test("File_moveTo_writeFile_subdir");
 
 t.step(function () {
@@ -71,7 +71,7 @@ t.step(function () {
     openStreamSuccess = t.step_func(function (fs) {
         fs.write("test");
         fs.close();
-        documentsDir.moveTo(fsTestFile.fullPath, fsTestDir2.fullPath + "/" + fsTestFile.name, true, moveToSuccess, moveToError);
+        fsTestDir1.moveTo(fsTestFile.fullPath, fsTestDir2.fullPath + "/" + fsTestFile.name, true, moveToSuccess, moveToError);
     });
 
     openStreamError = t.step_func(function (error) {
@@ -79,7 +79,6 @@ t.step(function () {
     });
 
     resolveSuccess = t.step_func(function (dir) {
-        documentsDir = dir;
         fsTestDir1 = dir.createDirectory(fsTestDirName1);
         fsTestDir2 = fsTestDir1.createDirectory(fsTestDirName2);
         fsTestFile = fsTestDir1.createFile(fsTestFileName);
diff --git a/tct-filesystem-tizen-tests/filesystem/File_moveTo_writeFile_true.html b/tct-filesystem-tizen-tests/filesystem/File_moveTo_writeFile_true.html
deleted file mode 100644 (file)
index 35774ed..0000000
+++ /dev/null
@@ -1,99 +0,0 @@
-<!DOCTYPE html>
-<!--
-Copyright (c) 2012 Intel Corporation.
-
-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>
-    Guan,JingX <jingx.guan@intel.com>
-
--->
-
-<html lang="en">
-<head>
-<meta charset="utf-8" />
-<title> File_moveTo_writeFile_true </title>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
-<script type="text/javascript" src="support/filesystem_common.js"></script>
-</head>
-<body>
-<div id="log"></div>
-<script type="text/javascript">
-
-//==== TEST: File_moveTo_writeFile_true
-//==== LABEL check if create a new file and write content and then move to the same location with same file name by overwrite true
-//==== STEP check if create a new file and write content and then move to the same location with same file name by overwrite true
-//==== EXPECT PASS
-//==== SPEC Tizen Web API:IO:Filesystem:File:moveTo M
-//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.help.web.api.device/tizen/filesystem.html
-//==== TEST_CRITERIA MOA
-
-
-var t = async_test("File_moveTo_writeFile_true"),
-    resolveSuccess, resolveError, openStreamSuccess, openStreamError,
-    moveToSuccess, moveToError, documentsDir, fsTestDirName1, fsTestDirName2, fsTestFileName,
-    fsTestFile, fsTestDir1, fsTestDir2;
-
-t.step(function () {
-    fsTestDirName1 = getFileName("filesystem");
-    fsTestDirName2 = getFileName("destination");
-    fsTestFileName = getFileName("filesystem.txt");
-
-    moveToSuccess = t.step_func(function () {
-        t.done();
-    });
-    moveToError = t.step_func(function (error) {
-        assert_unreached("moveTo() error callback invoked: name: " + error.name + ", msg: " + error.message);
-    });
-
-    openStreamSuccess = t.step_func(function (fs) {
-        fs.write("test");
-        fs.close();
-        documentsDir.moveTo(fsTestFile.fullPath, fsTestDir2.fullPath + "/" + fsTestFile.name,
-            true, moveToSuccess, moveToError);
-    });
-    openStreamError = t.step_func(function (error) {
-        assert_unreached("openStream() error callback invoked: name: " + error.name + ", msg: " + error.message);
-    });
-
-    resolveSuccess = t.step_func(function (dir) {
-        documentsDir = dir;
-        fsTestDir1 = dir.createDirectory(fsTestDirName1);
-        fsTestDir2 = fsTestDir1.createDirectory(fsTestDirName2);
-        fsTestFile = fsTestDir1.createFile(fsTestFileName);
-        fsTestFile.openStream("rw", openStreamSuccess, openStreamError, "UTF-8");
-    });
-
-    resolveError = t.step_func(function (error) {
-        assert_unreached("resolve() error callback invoked: name: " + error.name + ", msg: " + error.message);
-    });
-
-    prepareForTesting(t, function () {
-        tizen.filesystem.resolve("documents", resolveSuccess, resolveError, "rw");
-    });
-});
-</script>
-</body>
-</html>
index e479598bde87d6ffcc4eb6ca63303e610a967059..d80fc123d330d39e7cffe564b6ac165c65272ae4 100644 (file)
           </spec>
         </specs>
       </testcase>
-      <testcase purpose="check if throw an exception when copy a directory to same location with same name and overwrite is false." type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" id="File_copyTo_dir_samedir_samename_overwrite_false">
+      <testcase purpose="check if error callback invoked when copy a directory to the same location with the same name (overwrite is false)." type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" id="File_copyTo_dir_samedir_samename_overwrite_false">
         <description>
           <steps>
             <step order="1">
-              <step_desc>check if throw an exception when copy a directory to same location with same name and overwrite is false.</step_desc>
+              <step_desc>check if error callback invoked when copy a directory to the same location with the same name (overwrite is false)</step_desc>
               <expected>exception should be thrown.</expected>
             </step>
           </steps>
           </spec>
         </specs>
       </testcase>
-      <testcase purpose="check if copy a directory to another location with same name and overwrite is true successfully." type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" id="File_copyTo_dir_samedir_samename_overwrite_true">
-        <description>
-          <steps>
-            <step order="1">
-              <step_desc>check if copy a directory to another location with same name and overwrite is true successfully.</step_desc>
-              <expected>directory should be copied to another location with same name in overwrite is true.</expected>
-            </step>
-          </steps>
-          <test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/File_copyTo_dir_samedir_samename_overwrite_true.html</test_script_entry>
-        </description>
-        <specs>
-          <spec>
-            <spec_assertion interface="File" element_type="method" element_name="copyTo" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
-            <spec_url>https://developer.tizen.org/help/topic/org.tizen.help.web.api.device/tizen/filesystem.html</spec_url>
-            <spec_statement>TBD</spec_statement>
-          </spec>
-        </specs>
-      </testcase>
       <testcase purpose="Check if method copyTo exists in File" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P0" id="File_copyTo_exist">
         <description>
           <test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/File_copyTo_exist.html</test_script_entry>
           </spec>
         </specs>
       </testcase>
-      <testcase purpose="check if throw an exception when copy a file to same location with same name in overwrite is false." type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" id="File_copyTo_file_samedir_samename_overwrite_false">
+      <testcase purpose="check if error callback invoked when copy a file to the same location with the same name (overwrite is false)." type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" id="File_copyTo_file_samedir_samename_overwrite_false">
         <description>
           <steps>
             <step order="1">
-              <step_desc>check if throw an exception when copy a file to same location with same name in overwrite is false.</step_desc>
+              <step_desc>check if error callback invoked when copy a file to the same location with the same name (overwrite is false).</step_desc>
               <expected>exception should be thrown.</expected>
             </step>
           </steps>
           </spec>
         </specs>
       </testcase>
-      <testcase purpose="check if copy a file to another location with same name in overwrite is true successfully." type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" id="File_copyTo_file_samedir_samename_overwrite_true">
-        <description>
-          <steps>
-            <step order="1">
-              <step_desc>check if copy a file to another location with same name in overwrite is true successfully.</step_desc>
-              <expected>file should be copied to another location with same name.</expected>
-            </step>
-          </steps>
-          <test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/File_copyTo_file_samedir_samename_overwrite_true.html</test_script_entry>
-        </description>
-        <specs>
-          <spec>
-            <spec_assertion interface="File" element_type="method" element_name="copyTo" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
-            <spec_url>https://developer.tizen.org/help/topic/org.tizen.help.web.api.device/tizen/filesystem.html</spec_url>
-            <spec_statement>TBD</spec_statement>
-          </spec>
-        </specs>
-      </testcase>
       <testcase purpose="Check argument onError conversions exception in copyTo method." type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" id="File_copyTo_onerror_TypeMismatch">
         <description>
           <test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/File_copyTo_onerror_TypeMismatch.html</test_script_entry>
           </spec>
         </specs>
       </testcase>
-      <testcase purpose="check if throw an exception when copyTo with invalid parameter." type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" id="File_copyTo_with_para_invalid">
+      <testcase purpose="check if throw an exception when copyTo with invalid parameters." type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" id="File_copyTo_with_para_invalid">
         <description>
           <steps>
             <step order="1">
-              <step_desc>check if throw an exception when copyTo with invalid parameter.</step_desc>
+              <step_desc>check if throw an exception when copyTo with invalid parameters.</step_desc>
               <expected>exception should be thrown.</expected>
             </step>
           </steps>
           </spec>
         </specs>
       </testcase>
-      <testcase purpose="check if throw an exception when copy a file to an invalid path." type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" id="File_copyTo_with_path_invalid">
-        <description>
-          <steps>
-            <step order="1">
-              <step_desc>check if throw an exception when copy a file to an invalid path.</step_desc>
-              <expected>exception should be thrown.</expected>
-            </step>
-          </steps>
-          <test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/File_copyTo_with_path_invalid.html</test_script_entry>
-        </description>
-        <specs>
-          <spec>
-            <spec_assertion interface="File" element_type="method" element_name="copyTo" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
-            <spec_url>https://developer.tizen.org/help/topic/org.tizen.help.web.api.device/tizen/filesystem.html</spec_url>
-            <spec_statement>TBD</spec_statement>
-          </spec>
-        </specs>
-      </testcase>
-      <testcase purpose="check if create a new empty file and write content of the file and then copy the file to the same location with different file name" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P1" id="File_copyTo_writeFile_differentName">
-        <description>
-          <steps>
-            <step order="1">
-              <step_desc>check if create a new empty file and write content of the file and then copy the file to the same location with different file name</step_desc>
-              <expected>PASS</expected>
-            </step>
-          </steps>
-          <test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/File_copyTo_writeFile_differentName.html</test_script_entry>
-        </description>
-        <specs>
-          <spec>
-            <spec_assertion interface="File" element_type="method" element_name="copyTo" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
-            <spec_url>https://developer.tizen.org/help/topic/org.tizen.help.web.api.device/tizen/filesystem.html</spec_url>
-            <spec_statement>TBD</spec_statement>
-          </spec>
-        </specs>
-      </testcase>
-      <testcase purpose="check if create a new empty file and write content of the file and then copy the file to the same location with same file name" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P1" id="File_copyTo_writeFile_sameName">
-        <description>
-          <steps>
-            <step order="1">
-              <step_desc>check if create a new empty file and write content of the file and then copy the file to the same location with same file name</step_desc>
-              <expected>PASS</expected>
-            </step>
-          </steps>
-          <test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/File_copyTo_writeFile_sameName.html</test_script_entry>
-        </description>
-        <specs>
-          <spec>
-            <spec_assertion interface="File" element_type="method" element_name="copyTo" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
-            <spec_url>https://developer.tizen.org/help/topic/org.tizen.help.web.api.device/tizen/filesystem.html</spec_url>
-            <spec_statement>TBD</spec_statement>
-          </spec>
-        </specs>
-      </testcase>
       <testcase purpose="check if create a new empty file and write content of the file and then copy the file to subdirectory with same file name" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P1" id="File_copyTo_writeFile_subdir">
         <description>
           <steps>
           </spec>
         </specs>
       </testcase>
-      <testcase purpose="check if throw an exception when move a file to same location with same name in overwrite is false." type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" id="File_moveTo_file_samedir_samename_overwrite_false">
+      <testcase purpose="check if error callback invoked when move a file to the same location with the same name (overwrite is false)." type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" id="File_moveTo_file_samedir_samename_overwrite_false">
         <description>
           <steps>
             <step order="1">
-              <step_desc>check if throw an exception when move a file to same location with same name in overwrite is false.</step_desc>
+              <step_desc>check if error callback invoked when move a file to the same location with the same name (overwrite is false).</step_desc>
               <expected>exception should be thrown.</expected>
             </step>
           </steps>
           </spec>
         </specs>
       </testcase>
-      <testcase purpose="check if move a file to same location with same name in overwrite is true successfully." type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" id="File_moveTo_file_samedir_samename_overwrite_true">
+      <testcase purpose="check if move a file to same location with the same name (overwrite is true) was successyful." type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" id="File_moveTo_file_samedir_samename_overwrite_true">
         <description>
           <steps>
             <step order="1">
-              <step_desc>check if move a file to same location with same name in overwrite is true successfully.</step_desc>
+              <step_desc>check if move a file to same location with the same name (overwrite is true) was successyful.</step_desc>
               <expected>file should be moved to same location with same name.</expected>
             </step>
           </steps>
           </spec>
         </specs>
       </testcase>
-      <testcase purpose="Test whether the constructor of the interface is defined or not in moveTo method onSuccess callback." type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" id="File_moveTo_onsuccess_invalid_cb">
+      <testcase purpose="check if an exception was thrown when a fake callback (onsucces) was passed into moveTo method." type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" id="File_moveTo_onsuccess_invalid_cb">
         <description>
           <test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/File_moveTo_onsuccess_invalid_cb.html</test_script_entry>
         </description>
           </spec>
         </specs>
       </testcase>
-      <testcase purpose="check if create a new empty file and write content of the file and then move the file to the same location with different file name" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P1" id="File_moveTo_writeFile_differentName">
-        <description>
-          <steps>
-            <step order="1">
-              <step_desc>check if create a new empty file and write content of the file and then move the file to the same location with different file name</step_desc>
-              <expected>PASS</expected>
-            </step>
-          </steps>
-          <test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/File_moveTo_writeFile_differentName.html</test_script_entry>
-        </description>
-        <specs>
-          <spec>
-            <spec_assertion interface="File" element_type="method" element_name="moveTo" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
-            <spec_url>https://developer.tizen.org/help/topic/org.tizen.help.web.api.device/tizen/filesystem.html</spec_url>
-            <spec_statement>TBD</spec_statement>
-          </spec>
-        </specs>
-      </testcase>
-      <testcase purpose="check if create a new empty file and write content of the file and then move the file to the same location with same file name" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P1" id="File_moveTo_writeFile_false">
-        <description>
-          <steps>
-            <step order="1">
-              <step_desc>check if create a new empty file and write content of the file and then move the file to the same location with same file name</step_desc>
-              <expected>PASS</expected>
-            </step>
-          </steps>
-          <test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/File_moveTo_writeFile_false.html</test_script_entry>
-        </description>
-        <specs>
-          <spec>
-            <spec_assertion interface="File" element_type="method" element_name="moveTo" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
-            <spec_url>https://developer.tizen.org/help/topic/org.tizen.help.web.api.device/tizen/filesystem.html</spec_url>
-            <spec_statement>TBD</spec_statement>
-          </spec>
-        </specs>
-      </testcase>
       <testcase purpose="check if create a new empty file and write content of the file and then move the file to subdirectory with same file name" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P1" id="File_moveTo_writeFile_subdir">
         <description>
           <steps>
           </spec>
         </specs>
       </testcase>
-      <testcase purpose="check if create a new file and write content and then move to the same location with same file name by overwrite true" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P1" id="File_moveTo_writeFile_true">
-        <description>
-          <steps>
-            <step order="1">
-              <step_desc>check if create a new file and write content and then move to the same location with same file name by overwrite true</step_desc>
-              <expected>PASS</expected>
-            </step>
-          </steps>
-          <test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/File_moveTo_writeFile_true.html</test_script_entry>
-        </description>
-        <specs>
-          <spec>
-            <spec_assertion interface="File" element_type="method" element_name="moveTo" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
-            <spec_url>https://developer.tizen.org/help/topic/org.tizen.help.web.api.device/tizen/filesystem.html</spec_url>
-            <spec_statement>TBD</spec_statement>
-          </spec>
-        </specs>
-      </testcase>
       <testcase purpose="Check if attribute name of File exists, has type DOMString and is readonly" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P1" id="File_name_attribute">
         <description>
           <test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/File_name_attribute.html</test_script_entry>
           </spec>
         </specs>
       </testcase>
+      <testcase purpose="check if error callback was invoked when copy a directory to another location of the directory with the same name (overwrite is false)." type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" id="File_copyTo_dir_overwrite_false">
+        <description>
+          <steps>
+            <step order="1">
+              <step_desc>check if error callback was invoked when copy a directory to another location of the directory with the same name (overwrite is false)</step_desc>
+              <expected>exception should be thrown.</expected>
+            </step>
+          </steps>
+          <test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/File_copyTo_dir_overwrite_false.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="File" element_type="method" element_name="copyTo" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.help.web.api.device/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="check if copy a directory to another location of the directory with the same name (overwrite is true) was successfull." type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" id="File_copyTo_dir_overwrite_true">
+        <description>
+          <steps>
+            <step order="1">
+              <step_desc>check if copy a directory to another location of the directory with the same name (overwrite is true) was successfull.</step_desc>
+              <expected>directory should be copied to another location with same name in overwrite is true.</expected>
+            </step>
+          </steps>
+          <test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/File_copyTo_dir_overwrite_true.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="File" element_type="method" element_name="copyTo" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.help.web.api.device/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="check if error callback was invoked when copy a file to another location of the file with the same name (overwrite is false)." type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" id="File_copyTo_file_overwrite_false">
+        <description>
+          <steps>
+            <step order="1">
+              <step_desc>check if error callback was invoked when copy a file to another location of the file with the same name (overwrite is false)</step_desc>
+              <expected>exception should be thrown.</expected>
+            </step>
+          </steps>
+          <test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/File_copyTo_file_overwrite_false.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="File" element_type="method" element_name="copyTo" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.help.web.api.device/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="check if copy a file to another location of the file with the same name (overwrite is true) was successfull." type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" id="File_copyTo_file_overwrite_true">
+        <description>
+          <steps>
+            <step order="1">
+              <step_desc>check if copy a file to another location of the file with the same name (overwrite is true) was successfull.</step_desc>
+              <expected>file should be copied to another location with same name.</expected>
+            </step>
+          </steps>
+          <test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/File_copyTo_file_overwrite_true.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="File" element_type="method" element_name="copyTo" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.help.web.api.device/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="check if throw an exception when copy a file to an invalid destination." type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" id="File_copyTo_with_destination_invalid">
+        <description>
+          <steps>
+            <step order="1">
+              <step_desc>check if throw an exception when copy a file to an invalid destination.</step_desc>
+              <expected>exception should be thrown.</expected>
+            </step>
+          </steps>
+          <test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/File_copyTo_with_destination_invalid.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="File" element_type="method" element_name="copyTo" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.help.web.api.device/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="check if create a new empty file and write content of the file and then copy the file to the same location with different file name" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P1" id="File_copyTo_writeFile_newDir">
+        <description>
+          <steps>
+            <step order="1">
+              <step_desc>check if create a new empty file and write content of the file and then copy the file to the same location with different file name</step_desc>
+              <expected>PASS</expected>
+            </step>
+          </steps>
+          <test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/File_copyTo_writeFile_newDir.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="File" element_type="method" element_name="copyTo" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.help.web.api.device/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="check if create a new empty file and write content of the file and then move the file to the same location with different file name" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P1" id="File_moveTo_writeFile_newDir">
+        <description>
+          <steps>
+            <step order="1">
+              <step_desc>check if create a new empty file and write content of the file and then move the file to the same location with different file name</step_desc>
+              <expected>PASS</expected>
+            </step>
+          </steps>
+          <test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/File_moveTo_writeFile_newDir.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="File" element_type="method" element_name="moveTo" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.help.web.api.device/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="check if create a new empty file and write content of the file and then move the file to the same location with same file name (overwrite false)" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P1" id="File_moveTo_writeFile_overwrite_false">
+        <description>
+          <steps>
+            <step order="1">
+              <step_desc>check if create a new empty file and write content of the file and then move the file to the same location with same file name (overwrite false)</step_desc>
+              <expected>PASS</expected>
+            </step>
+          </steps>
+          <test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/File_moveTo_writeFile_overwrite_false.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="File" element_type="method" element_name="moveTo" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.help.web.api.device/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="check if create a new empty file and write content of the file and then copy the file to the same location with same file name (overwrite false)" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P1" id="File_copyTo_writeFile_overwrite_false">
+        <description>
+          <steps>
+            <step order="1">
+              <step_desc>check if create a new empty file and write content of the file and then copy the file to the same location with same file name (overwrite false)</step_desc>
+              <expected>PASS</expected>
+            </step>
+          </steps>
+          <test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/File_copyTo_writeFile_overwrite_false.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="File" element_type="method" element_name="copyTo" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.help.web.api.device/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="check if copy a directory to the same location with the same name (overwrite is true) was successyful." type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" id="File_copyTo_dir_samedir_samename_overwrite_true">
+        <description>
+          <steps>
+            <step order="1">
+              <step_desc>check if copy a directory to the same location with the same name (overwrite is true) was successyful.</step_desc>
+              <expected>directory should be copied to another location with same name in overwrite is true.</expected>
+            </step>
+          </steps>
+          <test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/File_copyTo_dir_samedir_samename_overwrite_true.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="File" element_type="method" element_name="copyTo" specification="Filesystem" section="IO" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.help.web.api.device/tizen/filesystem.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
     </set>
   </suite>
 </test_definition>
index 3fe9d085ed17304e630a6fd411069fb2ba46f36b..f5ab833ee51f9a77f63333c3c2708c5e8ee509bd 100644 (file)
 <?xml version="1.0" encoding="UTF-8"?>
-    <?xml-stylesheet type="text/xsl" href="./testcase.xsl"?>
+<?xml-stylesheet type="text/xsl"  href="./testcase.xsl"?>
 <test_definition>
-  <suite launcher="WRTLauncher" name="tct-filesystem-tizen-tests">
+  <suite name="tct-filesystem-tizen-tests" launcher="WRTLauncher">
     <set name="Filesystem">
-      <testcase component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileArraySuccessCallback_notexist" purpose="check if is possible to call FileArraySuccessCallback in new expresion">
+      <testcase purpose="check if is possible to call FileArraySuccessCallback in new expresion" component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileArraySuccessCallback_notexist">
         <description>
           <test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/FileArraySuccessCallback_notexist.html</test_script_entry>
         </description>
-        </testcase>
-      <testcase component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileArraySuccessCallback_onsuccess" purpose="Test whether the type of each argument is equal to the specified in FileArraySuccessCallback.">
+      </testcase>
+      <testcase purpose="Test whether the type of each argument is equal to the specified in FileArraySuccessCallback." component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileArraySuccessCallback_onsuccess">
         <description>
           <test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/FileArraySuccessCallback_onsuccess.html</test_script_entry>
         </description>
-        </testcase>
-      <testcase component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileStreamSuccessCallback_notexist" purpose="check if is possible to call FileStreamSuccessCallback in new expresion">
+      </testcase>
+      <testcase purpose="check if is possible to call FileStreamSuccessCallback in new expresion" component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileStreamSuccessCallback_notexist">
         <description>
           <test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/FileStreamSuccessCallback_notexist.html</test_script_entry>
         </description>
-        </testcase>
-      <testcase component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileStreamSuccessCallback_onsuccess" purpose="Test whether the type of each argument is equal to the specified in FileStreamSuccessCallback.">
+      </testcase>
+      <testcase purpose="Test whether the type of each argument is equal to the specified in FileStreamSuccessCallback." component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileStreamSuccessCallback_onsuccess">
         <description>
           <test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/FileStreamSuccessCallback_onsuccess.html</test_script_entry>
         </description>
-        </testcase>
-      <testcase component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileStream_bytesAvailable_attribute" purpose="Check attribute bytesAvailable in FileStream">
+      </testcase>
+      <testcase purpose="Check attribute bytesAvailable in FileStream" component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileStream_bytesAvailable_attribute">
         <description>
           <test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/FileStream_bytesAvailable_attribute.html</test_script_entry>
         </description>
-        </testcase>
-      <testcase component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileStream_close" purpose="Check proper invocation close()">
+      </testcase>
+      <testcase purpose="Check proper invocation close()" component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileStream_close">
         <description>
           <test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/FileStream_close.html</test_script_entry>
         </description>
-        </testcase>
-      <testcase component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileStream_close_exist" purpose="Check if method close exists in FileStream">
+      </testcase>
+      <testcase purpose="Check if method close exists in FileStream" component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileStream_close_exist">
         <description>
           <test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/FileStream_close_exist.html</test_script_entry>
         </description>
-        </testcase>
-      <testcase component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileStream_close_extra_argument" purpose="Check if method close of FileStream accepts extra argument">
+      </testcase>
+      <testcase purpose="Check if method close of FileStream accepts extra argument" component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileStream_close_extra_argument">
         <description>
           <test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/FileStream_close_extra_argument.html</test_script_entry>
         </description>
-        </testcase>
-      <testcase component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileStream_eof_attribute" purpose="Check attribute eof in FileStream">
+      </testcase>
+      <testcase purpose="Check attribute eof in FileStream" component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileStream_eof_attribute">
         <description>
           <test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/FileStream_eof_attribute.html</test_script_entry>
         </description>
-        </testcase>
-      <testcase component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileStream_extend" purpose="test whether the FileStream object can have new attribute added">
+      </testcase>
+      <testcase purpose="test whether the FileStream object can have new attribute added" component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileStream_extend">
         <description>
           <test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/FileStream_extend.html</test_script_entry>
         </description>
-        </testcase>
-      <testcase component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileStream_notexist" purpose="check if is possible to call FileStream in new expresion">
+      </testcase>
+      <testcase purpose="check if is possible to call FileStream in new expresion" component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileStream_notexist">
         <description>
           <test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/FileStream_notexist.html</test_script_entry>
         </description>
-        </testcase>
-      <testcase component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileStream_position_attribute" purpose="Check attribute position in FileStream">
+      </testcase>
+      <testcase purpose="Check attribute position in FileStream" component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileStream_position_attribute">
         <description>
           <test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/FileStream_position_attribute.html</test_script_entry>
         </description>
-        </testcase>
-      <testcase component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileStream_read" purpose="Check if method read of FileStream works properly.">
+      </testcase>
+      <testcase purpose="Check if method read of FileStream works properly." component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileStream_read">
         <description>
           <test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/FileStream_read.html</test_script_entry>
         </description>
-        </testcase>
-      <testcase component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileStream_readBase64" purpose="Check if method readBase64 of FileStream works properly.">
+      </testcase>
+      <testcase purpose="Check if method readBase64 of FileStream works properly." component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileStream_readBase64">
         <description>
           <test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/FileStream_readBase64.html</test_script_entry>
         </description>
-        </testcase>
-      <testcase component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileStream_readBase64_exist" purpose="Check if method readBase64 exists in FileStream">
+      </testcase>
+      <testcase purpose="Check if method readBase64 exists in FileStream" component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileStream_readBase64_exist">
         <description>
           <test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/FileStream_readBase64_exist.html</test_script_entry>
         </description>
-        </testcase>
-      <testcase component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileStream_readBase64_with_invalid_value" purpose="check if throw an exception when readBase64 from a file with invalid value.">
+      </testcase>
+      <testcase purpose="check if throw an exception when readBase64 from a file with invalid value." component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileStream_readBase64_with_invalid_value">
         <description>
           <test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/FileStream_readBase64_with_invalid_value.html</test_script_entry>
         </description>
-        </testcase>
-      <testcase component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileStream_readBase64_without_r_permission" purpose="check if throw an exception when read the specified number of bytes from a file without r permission and encoding the result in base64.">
+      </testcase>
+      <testcase purpose="check if throw an exception when read the specified number of bytes from a file without r permission and encoding the result in base64." component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileStream_readBase64_without_r_permission">
         <description>
           <test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/FileStream_readBase64_without_r_permission.html</test_script_entry>
         </description>
-        </testcase>
-      <testcase component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileStream_readBase64_writeFile" purpose="check if create a new empty file and write content of the file and then read the content of the file as base64">
+      </testcase>
+      <testcase purpose="check if create a new empty file and write content of the file and then read the content of the file as base64" component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileStream_readBase64_writeFile">
         <description>
           <test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/FileStream_readBase64_writeFile.html</test_script_entry>
         </description>
-        </testcase>
-      <testcase component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileStream_readBytes" purpose="Check if method readBytes of FileStream works properly.">
+      </testcase>
+      <testcase purpose="Check if method readBytes of FileStream works properly." component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileStream_readBytes">
         <description>
           <test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/FileStream_readBytes.html</test_script_entry>
         </description>
-        </testcase>
-      <testcase component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileStream_readBytes_exist" purpose="Check if method readBytes exists in FileStream">
+      </testcase>
+      <testcase purpose="Check if method readBytes exists in FileStream" component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileStream_readBytes_exist">
         <description>
           <test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/FileStream_readBytes_exist.html</test_script_entry>
         </description>
-        </testcase>
-      <testcase component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileStream_readBytes_with_invalid_value" purpose="check if throw an exception when readBytes from a file with invalid value.">
+      </testcase>
+      <testcase purpose="check if throw an exception when readBytes from a file with invalid value." component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileStream_readBytes_with_invalid_value">
         <description>
           <test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/FileStream_readBytes_with_invalid_value.html</test_script_entry>
         </description>
-        </testcase>
-      <testcase component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileStream_readBytes_without_r_permission" purpose="check if throw an exception when read the specified number of bytes from a file without r permission.">
+      </testcase>
+      <testcase purpose="check if throw an exception when read the specified number of bytes from a file without r permission." component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileStream_readBytes_without_r_permission">
         <description>
           <test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/FileStream_readBytes_without_r_permission.html</test_script_entry>
         </description>
-        </testcase>
-      <testcase component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileStream_readBytes_writeFile" purpose="check if create a new empty file and write content of the file and then read the content of the file as a byte array">
+      </testcase>
+      <testcase purpose="check if create a new empty file and write content of the file and then read the content of the file as a byte array" component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileStream_readBytes_writeFile">
         <description>
           <test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/FileStream_readBytes_writeFile.html</test_script_entry>
         </description>
-        </testcase>
-      <testcase component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileStream_read_exist" purpose="Check if method read exists in FileStream">
+      </testcase>
+      <testcase purpose="Check if method read exists in FileStream" component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileStream_read_exist">
         <description>
           <test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/FileStream_read_exist.html</test_script_entry>
         </description>
-        </testcase>
-      <testcase component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileStream_read_with_invalid_value" purpose="check if throw an exception when read a file with invalid value.">
+      </testcase>
+      <testcase purpose="check if throw an exception when read a file with invalid value." component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileStream_read_with_invalid_value">
         <description>
           <test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/FileStream_read_with_invalid_value.html</test_script_entry>
         </description>
-        </testcase>
-      <testcase component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileStream_read_without_r_permission" purpose="check if throw an exception when read a file without r permission.">
+      </testcase>
+      <testcase purpose="check if throw an exception when read a file without r permission." component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileStream_read_without_r_permission">
         <description>
           <test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/FileStream_read_without_r_permission.html</test_script_entry>
         </description>
-        </testcase>
-      <testcase component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileStream_read_writeFile" purpose="check if create a new empty file and write content of the file and then read the content of the file">
+      </testcase>
+      <testcase purpose="check if create a new empty file and write content of the file and then read the content of the file" component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileStream_read_writeFile">
         <description>
           <test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/FileStream_read_writeFile.html</test_script_entry>
         </description>
-        </testcase>
-      <testcase component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileStream_write" purpose="Check if method write of FileStream works properly.">
+      </testcase>
+      <testcase purpose="Check if method write of FileStream works properly." component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileStream_write">
         <description>
           <test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/FileStream_write.html</test_script_entry>
         </description>
-        </testcase>
-      <testcase component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileStream_writeBase64" purpose="Check if method writeBase64 of FileStream works properly.">
+      </testcase>
+      <testcase purpose="Check if method writeBase64 of FileStream works properly." component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileStream_writeBase64">
         <description>
           <test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/FileStream_writeBase64.html</test_script_entry>
         </description>
-        </testcase>
-      <testcase component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileStream_writeBase64_exist" purpose="Check if method writeBase64 exists in FileStream">
+      </testcase>
+      <testcase purpose="Check if method writeBase64 exists in FileStream" component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileStream_writeBase64_exist">
         <description>
           <test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/FileStream_writeBase64_exist.html</test_script_entry>
         </description>
-        </testcase>
-      <testcase component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileStream_writeBase64_without_w_permission" purpose="check if throw an exception when write the specified bytes to a file without w permission and encoding the result in base64.">
+      </testcase>
+      <testcase purpose="check if throw an exception when write the specified bytes to a file without w permission and encoding the result in base64." component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileStream_writeBase64_without_w_permission">
         <description>
           <test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/FileStream_writeBase64_without_w_permission.html</test_script_entry>
         </description>
-        </testcase>
-      <testcase component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileStream_writeBytes" purpose="Check if method writeBytes of FileStream works properly.">
+      </testcase>
+      <testcase purpose="Check if method writeBytes of FileStream works properly." component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileStream_writeBytes">
         <description>
           <test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/FileStream_writeBytes.html</test_script_entry>
         </description>
-        </testcase>
-      <testcase component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileStream_writeBytes_byteData_TypeMismatch" purpose="Check argument onError conversions exception in writeBytes method.">
+      </testcase>
+      <testcase purpose="Check argument onError conversions exception in writeBytes method." component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileStream_writeBytes_byteData_TypeMismatch">
         <description>
           <test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/FileStream_writeBytes_byteData_TypeMismatch.html</test_script_entry>
         </description>
-        </testcase>
-      <testcase component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileStream_writeBytes_exist" purpose="Check if method writeBytes exists in FileStream">
+      </testcase>
+      <testcase purpose="Check if method writeBytes exists in FileStream" component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileStream_writeBytes_exist">
         <description>
           <test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/FileStream_writeBytes_exist.html</test_script_entry>
         </description>
-        </testcase>
-      <testcase component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileStream_writeBytes_missarg" purpose="Check if writeBytes of FileStream with missing non-optional argument works">
+      </testcase>
+      <testcase purpose="Check if writeBytes of FileStream with missing non-optional argument works" component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileStream_writeBytes_missarg">
         <description>
           <test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/FileStream_writeBytes_missarg.html</test_script_entry>
         </description>
-        </testcase>
-      <testcase component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileStream_writeBytes_with_additional_null_parameter" purpose="check whether 'writeBytes' method properly writes the specified bytes to FileStream">
+      </testcase>
+      <testcase purpose="check whether 'writeBytes' method properly writes the specified bytes to FileStream" component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileStream_writeBytes_with_additional_null_parameter">
         <description>
           <test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/FileStream_writeBytes_with_additional_null_parameter.html</test_script_entry>
         </description>
-        </testcase>
-      <testcase component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileStream_writeBytes_without_w_permission" purpose="check if throw an exception when write the specified bytes to a file without w permission.">
+      </testcase>
+      <testcase purpose="check if throw an exception when write the specified bytes to a file without w permission." component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileStream_writeBytes_without_w_permission">
         <description>
           <test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/FileStream_writeBytes_without_w_permission.html</test_script_entry>
         </description>
-        </testcase>
-      <testcase component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileStream_write_exist" purpose="Check if method write exists in FileStream">
+      </testcase>
+      <testcase purpose="Check if method write exists in FileStream" component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileStream_write_exist">
         <description>
           <test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/FileStream_write_exist.html</test_script_entry>
         </description>
-        </testcase>
-      <testcase component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileStream_write_without_w_permission" purpose="check if throw an exception when write a file without w permission.">
+      </testcase>
+      <testcase purpose="check if throw an exception when write a file without w permission." component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileStream_write_without_w_permission">
         <description>
           <test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/FileStream_write_without_w_permission.html</test_script_entry>
         </description>
-        </testcase>
-      <testcase component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileStringSuccessCallback_notexist" purpose="check if is possible to call FileStringSuccessCallback in new expresion">
+      </testcase>
+      <testcase purpose="check if is possible to call FileStringSuccessCallback in new expresion" component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileStringSuccessCallback_notexist">
         <description>
           <test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/FileStringSuccessCallback_notexist.html</test_script_entry>
         </description>
-        </testcase>
-      <testcase component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileStringSuccessCallback_onsuccess" purpose="Test whether the type of each argument is equal to the specified in FileStringSuccessCallback.">
+      </testcase>
+      <testcase purpose="Test whether the type of each argument is equal to the specified in FileStringSuccessCallback." component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileStringSuccessCallback_onsuccess">
         <description>
           <test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/FileStringSuccessCallback_onsuccess.html</test_script_entry>
         </description>
-        </testcase>
-      <testcase component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileSuccessCallback_notexist" purpose="check if is possible to call FileSuccessCallback in new expresion">
+      </testcase>
+      <testcase purpose="check if is possible to call FileSuccessCallback in new expresion" component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileSuccessCallback_notexist">
         <description>
           <test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/FileSuccessCallback_notexist.html</test_script_entry>
         </description>
-        </testcase>
-      <testcase component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileSuccessCallback_onsuccess" purpose="Test whether the type of each argument is equal to the specified.">
+      </testcase>
+      <testcase purpose="Test whether the type of each argument is equal to the specified." component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileSuccessCallback_onsuccess">
         <description>
           <test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/FileSuccessCallback_onsuccess.html</test_script_entry>
         </description>
-        </testcase>
-      <testcase component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileSystemManagerObject_notexist" purpose="check if FileSystemManagerObject not exist">
+      </testcase>
+      <testcase purpose="check if FileSystemManagerObject not exist" component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileSystemManagerObject_notexist">
         <description>
           <test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/FileSystemManagerObject_notexist.html</test_script_entry>
         </description>
-        </testcase>
-      <testcase component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileSystemManager_addStorageStateChangeListener" purpose="Check addStorageStateChangeListener with non-optional arguments">
+      </testcase>
+      <testcase purpose="Check addStorageStateChangeListener with non-optional arguments" component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileSystemManager_addStorageStateChangeListener">
         <description>
           <test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/FileSystemManager_addStorageStateChangeListener.html</test_script_entry>
         </description>
-        </testcase>
-      <testcase component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileSystemManager_addStorageStateChangeListener_exist" purpose="Check if method addStorageStateChangeListener of FileSystemManager exists">
+      </testcase>
+      <testcase purpose="Check if method addStorageStateChangeListener of FileSystemManager exists" component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileSystemManager_addStorageStateChangeListener_exist">
         <description>
           <test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/FileSystemManager_addStorageStateChangeListener_exist.html</test_script_entry>
         </description>
-        </testcase>
-      <testcase component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileSystemManager_addStorageStateChangeListener_missarg" purpose="Check with missing non-optional argument in addStorageStateChangeListener method">
+      </testcase>
+      <testcase purpose="Check with missing non-optional argument in addStorageStateChangeListener method" component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileSystemManager_addStorageStateChangeListener_missarg">
         <description>
           <test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/FileSystemManager_addStorageStateChangeListener_missarg.html</test_script_entry>
         </description>
-        </testcase>
-      <testcase component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileSystemManager_addStorageStateChangeListener_onerror_TypeMismatch" purpose="Check argument onerror conversions exception in addStorageStateChangeListener method.">
+      </testcase>
+      <testcase purpose="Check argument onerror conversions exception in addStorageStateChangeListener method." component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileSystemManager_addStorageStateChangeListener_onerror_TypeMismatch">
         <description>
           <test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/FileSystemManager_addStorageStateChangeListener_onerror_TypeMismatch.html</test_script_entry>
         </description>
-        </testcase>
-      <testcase component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileSystemManager_addStorageStateChangeListener_onerror_invalid_cb" purpose="Check argument onError validation in addStorageStateChangeListener method onerror callback">
+      </testcase>
+      <testcase purpose="Check argument onError validation in addStorageStateChangeListener method onerror callback" component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileSystemManager_addStorageStateChangeListener_onerror_invalid_cb">
         <description>
           <test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/FileSystemManager_addStorageStateChangeListener_onerror_invalid_cb.html</test_script_entry>
         </description>
-        </testcase>
-      <testcase component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileSystemManager_addStorageStateChangeListener_onsuccess_TypeMismatch" purpose="Check argument onSuccess conversions exception in addStorageStateChangeListener method">
+      </testcase>
+      <testcase purpose="Check argument onSuccess conversions exception in addStorageStateChangeListener method" component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileSystemManager_addStorageStateChangeListener_onsuccess_TypeMismatch">
         <description>
           <test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/FileSystemManager_addStorageStateChangeListener_onsuccess_TypeMismatch.html</test_script_entry>
         </description>
-        </testcase>
-      <testcase component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileSystemManager_addStorageStateChangeListener_onsuccess_invalid_cb" purpose="Check argument onSuccess validation in addStorageStateChangeListener method onsuccess callback">
+      </testcase>
+      <testcase purpose="Check argument onSuccess validation in addStorageStateChangeListener method onsuccess callback" component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileSystemManager_addStorageStateChangeListener_onsuccess_invalid_cb">
         <description>
           <test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/FileSystemManager_addStorageStateChangeListener_onsuccess_invalid_cb.html</test_script_entry>
         </description>
-        </testcase>
-      <testcase component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileSystemManager_addStorageStateChangeListener_with_onerror" purpose="Check with optional arguments addStorageStateChangeListener">
+      </testcase>
+      <testcase purpose="Check with optional arguments addStorageStateChangeListener" component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileSystemManager_addStorageStateChangeListener_with_onerror">
         <description>
           <test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/FileSystemManager_addStorageStateChangeListener_with_onerror.html</test_script_entry>
         </description>
-        </testcase>
-      <testcase component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileSystemManager_addStorageStateChangeListener_without_arguments" purpose="check whether invoking 'addStorageStateChangeListener' method without any argument throws exception properly">
+      </testcase>
+      <testcase purpose="check whether invoking 'addStorageStateChangeListener' method without any argument throws exception properly" component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileSystemManager_addStorageStateChangeListener_without_arguments">
         <description>
           <test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/FileSystemManager_addStorageStateChangeListener_without_arguments.html</test_script_entry>
         </description>
-        </testcase>
-      <testcase component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileSystemManager_extend" purpose="Check if instance of interface FileSystemManager can be extended with new property">
+      </testcase>
+      <testcase purpose="Check if instance of interface FileSystemManager can be extended with new property" component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileSystemManager_extend">
         <description>
           <test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/FileSystemManager_extend.html</test_script_entry>
         </description>
-        </testcase>
-      <testcase component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileSystemManager_getStorage" purpose="Check with non-optional arguments getStorage">
+      </testcase>
+      <testcase purpose="Check with non-optional arguments getStorage" component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileSystemManager_getStorage">
         <description>
           <test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/FileSystemManager_getStorage.html</test_script_entry>
         </description>
-        </testcase>
-      <testcase component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileSystemManager_getStorage_exist" purpose="Check if method getStorage of FileSystemManager exists">
+      </testcase>
+      <testcase purpose="Check if method getStorage of FileSystemManager exists" component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileSystemManager_getStorage_exist">
         <description>
           <test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/FileSystemManager_getStorage_exist.html</test_script_entry>
         </description>
-        </testcase>
-      <testcase component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileSystemManager_getStorage_missarg" purpose="Check with missing non-optional argument in getStorage method">
+      </testcase>
+      <testcase purpose="Check with missing non-optional argument in getStorage method" component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileSystemManager_getStorage_missarg">
         <description>
           <test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/FileSystemManager_getStorage_missarg.html</test_script_entry>
         </description>
-        </testcase>
-      <testcase component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileSystemManager_getStorage_onerror_TypeMismatch" purpose="Check argument onerror conversions exception in getStorage method.">
+      </testcase>
+      <testcase purpose="Check argument onerror conversions exception in getStorage method." component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileSystemManager_getStorage_onerror_TypeMismatch">
         <description>
           <test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/FileSystemManager_getStorage_onerror_TypeMismatch.html</test_script_entry>
         </description>
-        </testcase>
-      <testcase component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileSystemManager_getStorage_onerror_invalid_cb" purpose="Check argument onError validation in getStorage method onerror callback">
+      </testcase>
+      <testcase purpose="Check argument onError validation in getStorage method onerror callback" component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileSystemManager_getStorage_onerror_invalid_cb">
         <description>
           <test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/FileSystemManager_getStorage_onerror_invalid_cb.html</test_script_entry>
         </description>
-        </testcase>
-      <testcase component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileSystemManager_getStorage_onsuccess_TypeMismatch" purpose="Check argument onSuccess conversions exception in getStorage method">
+      </testcase>
+      <testcase purpose="Check argument onSuccess conversions exception in getStorage method" component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileSystemManager_getStorage_onsuccess_TypeMismatch">
         <description>
           <test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/FileSystemManager_getStorage_onsuccess_TypeMismatch.html</test_script_entry>
         </description>
-        </testcase>
-      <testcase component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileSystemManager_getStorage_onsuccess_invalid_cb" purpose="Check argument onSuccess validation in getStorage method onsuccess callback">
+      </testcase>
+      <testcase purpose="Check argument onSuccess validation in getStorage method onsuccess callback" component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileSystemManager_getStorage_onsuccess_invalid_cb">
         <description>
           <test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/FileSystemManager_getStorage_onsuccess_invalid_cb.html</test_script_entry>
         </description>
-        </testcase>
-      <testcase component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileSystemManager_getStorage_with_nonexist_label" purpose="check if throw an exception when get information about a storage based on nonexist label.">
+      </testcase>
+      <testcase purpose="check if throw an exception when get information about a storage based on nonexist label." component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileSystemManager_getStorage_with_nonexist_label">
         <description>
           <test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/FileSystemManager_getStorage_with_nonexist_label.html</test_script_entry>
         </description>
-        </testcase>
-      <testcase component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileSystemManager_getStorage_with_onerror" purpose="Check with optional arguments getStorage">
+      </testcase>
+      <testcase purpose="Check with optional arguments getStorage" component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileSystemManager_getStorage_with_onerror">
         <description>
           <test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/FileSystemManager_getStorage_with_onerror.html</test_script_entry>
         </description>
-        </testcase>
-      <testcase component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileSystemManager_in_tizen" purpose="Check if FileSystemManager exists in tizen.">
+      </testcase>
+      <testcase purpose="Check if FileSystemManager exists in tizen." component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileSystemManager_in_tizen">
         <description>
           <test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/FileSystemManager_in_tizen.html</test_script_entry>
         </description>
-        </testcase>
-      <testcase component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileSystemManager_listStorages" purpose="Check with non-optional argument">
+      </testcase>
+      <testcase purpose="Check with non-optional argument" component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileSystemManager_listStorages">
         <description>
           <test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/FileSystemManager_listStorages.html</test_script_entry>
         </description>
-        </testcase>
-      <testcase component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileSystemManager_listStorages_exist" purpose="Check if method listStorages of FileSystemManager exists">
+      </testcase>
+      <testcase purpose="Check if method listStorages of FileSystemManager exists" component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileSystemManager_listStorages_exist">
         <description>
           <test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/FileSystemManager_listStorages_exist.html</test_script_entry>
         </description>
-        </testcase>
-      <testcase component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileSystemManager_listStorages_missarg" purpose="Check with missing non-optional argument in listStorages method">
+      </testcase>
+      <testcase purpose="Check with missing non-optional argument in listStorages method" component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileSystemManager_listStorages_missarg">
         <description>
           <test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/FileSystemManager_listStorages_missarg.html</test_script_entry>
         </description>
-        </testcase>
-      <testcase component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileSystemManager_listStorages_onerror_TypeMismatch" purpose="Check argument onerror conversions exception in listStorages method.">
+      </testcase>
+      <testcase purpose="Check argument onerror conversions exception in listStorages method." component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileSystemManager_listStorages_onerror_TypeMismatch">
         <description>
           <test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/FileSystemManager_listStorages_onerror_TypeMismatch.html</test_script_entry>
         </description>
-        </testcase>
-      <testcase component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileSystemManager_listStorages_onerror_invalid_cb" purpose="Check argument onError validation in listStorages method onerror callback">
+      </testcase>
+      <testcase purpose="Check argument onError validation in listStorages method onerror callback" component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileSystemManager_listStorages_onerror_invalid_cb">
         <description>
           <test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/FileSystemManager_listStorages_onerror_invalid_cb.html</test_script_entry>
         </description>
-        </testcase>
-      <testcase component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileSystemManager_listStorages_onsuccess_TypeMismatch" purpose="Check argument onSuccess conversions exception in listStorages method">
+      </testcase>
+      <testcase purpose="Check argument onSuccess conversions exception in listStorages method" component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileSystemManager_listStorages_onsuccess_TypeMismatch">
         <description>
           <test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/FileSystemManager_listStorages_onsuccess_TypeMismatch.html</test_script_entry>
         </description>
-        </testcase>
-      <testcase component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileSystemManager_listStorages_onsuccess_invalid_cb" purpose="Check argument onSuccess validation in listStorages method onsuccess callback">
+      </testcase>
+      <testcase purpose="Check argument onSuccess validation in listStorages method onsuccess callback" component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileSystemManager_listStorages_onsuccess_invalid_cb">
         <description>
           <test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/FileSystemManager_listStorages_onsuccess_invalid_cb.html</test_script_entry>
         </description>
-        </testcase>
-      <testcase component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileSystemManager_listStorages_storages_retrieve" purpose="check whether 'listStorages' method properly retrieves the available storages on the device">
+      </testcase>
+      <testcase purpose="check whether 'listStorages' method properly retrieves the available storages on the device" component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileSystemManager_listStorages_storages_retrieve">
         <description>
           <test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/FileSystemManager_listStorages_storages_retrieve.html</test_script_entry>
         </description>
-        </testcase>
-      <testcase component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileSystemManager_listStorages_with_invalid_error_callbacks" purpose="check whether invoking 'listStorages' method with improper argument throws exception properly">
+      </testcase>
+      <testcase purpose="check whether invoking 'listStorages' method with improper argument throws exception properly" component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileSystemManager_listStorages_with_invalid_error_callbacks">
         <description>
           <test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/FileSystemManager_listStorages_with_invalid_error_callbacks.html</test_script_entry>
         </description>
-        </testcase>
-      <testcase component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileSystemManager_listStorages_with_onerror" purpose="Check with optional arguments listStorages">
+      </testcase>
+      <testcase purpose="Check with optional arguments listStorages" component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileSystemManager_listStorages_with_onerror">
         <description>
           <test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/FileSystemManager_listStorages_with_onerror.html</test_script_entry>
         </description>
-        </testcase>
-      <testcase component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileSystemManager_listStorages_without_arguments" purpose="check whether invoking 'listStorages' method without any argument throws exception properly">
+      </testcase>
+      <testcase purpose="check whether invoking 'listStorages' method without any argument throws exception properly" component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileSystemManager_listStorages_without_arguments">
         <description>
           <test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/FileSystemManager_listStorages_without_arguments.html</test_script_entry>
         </description>
-        </testcase>
-      <testcase component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileSystemManager_listStorages_works_correctly" purpose="check whether 'listStorages' method returns the available storages on the device">
+      </testcase>
+      <testcase purpose="check whether 'listStorages' method returns the available storages on the device" component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileSystemManager_listStorages_works_correctly">
         <description>
           <test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/FileSystemManager_listStorages_works_correctly.html</test_script_entry>
         </description>
-        </testcase>
-      <testcase component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileSystemManager_maxPathLength_attribute" purpose="Check if maxPathLength attribute exists">
+      </testcase>
+      <testcase purpose="Check if maxPathLength attribute exists" component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileSystemManager_maxPathLength_attribute">
         <description>
           <test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/FileSystemManager_maxPathLength_attribute.html</test_script_entry>
         </description>
-        </testcase>
-      <testcase component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileSystemManager_notexist" purpose="Check if interface FileSystemManager exists, it should not.">
+      </testcase>
+      <testcase purpose="Check if interface FileSystemManager exists, it should not." component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileSystemManager_notexist">
         <description>
           <test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/FileSystemManager_notexist.html</test_script_entry>
         </description>
-        </testcase>
-      <testcase component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileSystemManager_removeStorageStateChangeListener" purpose="Check removeStorageStateChangeListener with non-optional arguments">
+      </testcase>
+      <testcase purpose="Check removeStorageStateChangeListener with non-optional arguments" component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileSystemManager_removeStorageStateChangeListener">
         <description>
           <test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/FileSystemManager_removeStorageStateChangeListener.html</test_script_entry>
         </description>
-        </testcase>
-      <testcase component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileSystemManager_removeStorageStateChangeListener_exist" purpose="Check if method removeStorageStateChangeListener of FileSystemManager exists">
+      </testcase>
+      <testcase purpose="Check if method removeStorageStateChangeListener of FileSystemManager exists" component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileSystemManager_removeStorageStateChangeListener_exist">
         <description>
           <test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/FileSystemManager_removeStorageStateChangeListener_exist.html</test_script_entry>
         </description>
-        </testcase>
-      <testcase component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileSystemManager_removeStorageStateChangeListener_with_para_invalid" purpose="check if throw an exception when removeStorageStateChangeListener with an invalid input parameter.">
+      </testcase>
+      <testcase purpose="check if throw an exception when removeStorageStateChangeListener with an invalid input parameter." component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileSystemManager_removeStorageStateChangeListener_with_para_invalid">
         <description>
           <test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/FileSystemManager_removeStorageStateChangeListener_with_para_invalid.html</test_script_entry>
         </description>
-        </testcase>
-      <testcase component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileSystemManager_removeStorageStateChangeListener_works_correctly" purpose="check whether 'removeStorageStateChangeListener' method properly deregisters subscription to receive notifications about a storage state changes">
+      </testcase>
+      <testcase purpose="check whether 'removeStorageStateChangeListener' method properly deregisters subscription to receive notifications about a storage state changes" component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileSystemManager_removeStorageStateChangeListener_works_correctly">
         <description>
           <test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/FileSystemManager_removeStorageStateChangeListener_works_correctly.html</test_script_entry>
         </description>
-        </testcase>
-      <testcase component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileSystemManager_resolve" purpose="Check with non-optional arguments resolve">
+      </testcase>
+      <testcase purpose="Check with non-optional arguments resolve" component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileSystemManager_resolve">
         <description>
           <test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/FileSystemManager_resolve.html</test_script_entry>
         </description>
-        </testcase>
-      <testcase component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileSystemManager_resolve_documents" purpose="check if resolve documents to a file handle.">
+      </testcase>
+      <testcase purpose="check if resolve documents to a file handle." component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileSystemManager_resolve_documents">
         <description>
           <test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/FileSystemManager_resolve_documents.html</test_script_entry>
         </description>
-        </testcase>
-      <testcase component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileSystemManager_resolve_downloads" purpose="check if resolve downloads to a file handle.">
+      </testcase>
+      <testcase purpose="check if resolve downloads to a file handle." component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileSystemManager_resolve_downloads">
         <description>
           <test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/FileSystemManager_resolve_downloads.html</test_script_entry>
         </description>
-        </testcase>
-      <testcase component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileSystemManager_resolve_exist" purpose="Check if method can be overriden">
+      </testcase>
+      <testcase purpose="Check if method can be overriden" component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileSystemManager_resolve_exist">
         <description>
           <test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/FileSystemManager_resolve_exist.html</test_script_entry>
         </description>
-        </testcase>
-      <testcase component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileSystemManager_resolve_images" purpose="Check if resolve images to a file handle.">
+      </testcase>
+      <testcase purpose="Check if resolve images to a file handle." component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileSystemManager_resolve_images">
         <description>
           <test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/FileSystemManager_resolve_images.html</test_script_entry>
         </description>
-        </testcase>
-      <testcase component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileSystemManager_resolve_invalid_location" purpose="check if throw an exception when resolve an invalid location.">
+      </testcase>
+      <testcase purpose="check if throw an exception when resolve an invalid location." component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileSystemManager_resolve_invalid_location">
         <description>
           <test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/FileSystemManager_resolve_invalid_location.html</test_script_entry>
         </description>
-        </testcase>
-      <testcase component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileSystemManager_resolve_missarg" purpose="Check with missing non-optional argument in resolve method">
+      </testcase>
+      <testcase purpose="Check with missing non-optional argument in resolve method" component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileSystemManager_resolve_missarg">
         <description>
           <test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/FileSystemManager_resolve_missarg.html</test_script_entry>
         </description>
-        </testcase>
-      <testcase component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileSystemManager_resolve_mode_TypeMismatch" purpose="Check argument mode conversions exception">
+      </testcase>
+      <testcase purpose="Check argument mode conversions exception" component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileSystemManager_resolve_mode_TypeMismatch">
         <description>
           <test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/FileSystemManager_resolve_mode_TypeMismatch.html</test_script_entry>
         </description>
-        </testcase>
-      <testcase component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileSystemManager_resolve_mode_a" purpose="check if resolve a location with mode a.">
+      </testcase>
+      <testcase purpose="check if resolve a location with mode a." component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileSystemManager_resolve_mode_a">
         <description>
           <test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/FileSystemManager_resolve_mode_a.html</test_script_entry>
         </description>
-        </testcase>
-      <testcase component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileSystemManager_resolve_mode_r" purpose="check if resolve a location with mode r.">
+      </testcase>
+      <testcase purpose="check if resolve a location with mode r." component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileSystemManager_resolve_mode_r">
         <description>
           <test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/FileSystemManager_resolve_mode_r.html</test_script_entry>
         </description>
-        </testcase>
-      <testcase component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileSystemManager_resolve_mode_w" purpose="check if resolve a location with mode w.">
+      </testcase>
+      <testcase purpose="check if resolve a location with mode w." component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileSystemManager_resolve_mode_w">
         <description>
           <test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/FileSystemManager_resolve_mode_w.html</test_script_entry>
         </description>
-        </testcase>
-      <testcase component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileSystemManager_resolve_music" purpose="check if resolve music to a file handle.">
+      </testcase>
+      <testcase purpose="check if resolve music to a file handle." component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileSystemManager_resolve_music">
         <description>
           <test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/FileSystemManager_resolve_music.html</test_script_entry>
         </description>
-        </testcase>
-      <testcase component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileSystemManager_resolve_onerror_TypeMismatch" purpose="Check argument onerror conversions exception in resolve method.">
+      </testcase>
+      <testcase purpose="Check argument onerror conversions exception in resolve method." component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileSystemManager_resolve_onerror_TypeMismatch">
         <description>
           <test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/FileSystemManager_resolve_onerror_TypeMismatch.html</test_script_entry>
         </description>
-        </testcase>
-      <testcase component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileSystemManager_resolve_onerror_invalid_cb" purpose="Check argument onError validation in resolve method onerror callback">
+      </testcase>
+      <testcase purpose="Check argument onError validation in resolve method onerror callback" component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileSystemManager_resolve_onerror_invalid_cb">
         <description>
           <test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/FileSystemManager_resolve_onerror_invalid_cb.html</test_script_entry>
         </description>
-        </testcase>
-      <testcase component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileSystemManager_resolve_onsuccess_TypeMismatch" purpose="Check argument onSuccess conversions exception in resolve method">
+      </testcase>
+      <testcase purpose="Check argument onSuccess conversions exception in resolve method" component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileSystemManager_resolve_onsuccess_TypeMismatch">
         <description>
           <test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/FileSystemManager_resolve_onsuccess_TypeMismatch.html</test_script_entry>
         </description>
-        </testcase>
-      <testcase component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileSystemManager_resolve_onsuccess_invalid_cb" purpose="Check argument onSuccess validation in resolve method onsuccess callback">
+      </testcase>
+      <testcase purpose="Check argument onSuccess validation in resolve method onsuccess callback" component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileSystemManager_resolve_onsuccess_invalid_cb">
         <description>
           <test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/FileSystemManager_resolve_onsuccess_invalid_cb.html</test_script_entry>
         </description>
-        </testcase>
-      <testcase component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileSystemManager_resolve_ringtones" purpose="Check if resolve ringtones to a file handle.">
+      </testcase>
+      <testcase purpose="Check if resolve ringtones to a file handle." component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileSystemManager_resolve_ringtones">
         <description>
           <test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/FileSystemManager_resolve_ringtones.html</test_script_entry>
         </description>
-        </testcase>
-      <testcase component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileSystemManager_resolve_videos" purpose="check if resolve videos to a file handle.">
+      </testcase>
+      <testcase purpose="check if resolve videos to a file handle." component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileSystemManager_resolve_videos">
         <description>
           <test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/FileSystemManager_resolve_videos.html</test_script_entry>
         </description>
-        </testcase>
-      <testcase component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileSystemManager_resolve_wgt_package" purpose="Check if resolve wgt-package to a file handle.">
+      </testcase>
+      <testcase purpose="Check if resolve wgt-package to a file handle." component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileSystemManager_resolve_wgt_package">
         <description>
           <test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/FileSystemManager_resolve_wgt_package.html</test_script_entry>
         </description>
-        </testcase>
-      <testcase component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileSystemManager_resolve_wgt_private" purpose="Check if resolve wgt-private to a file handle.">
+      </testcase>
+      <testcase purpose="Check if resolve wgt-private to a file handle." component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileSystemManager_resolve_wgt_private">
         <description>
           <test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/FileSystemManager_resolve_wgt_private.html</test_script_entry>
         </description>
-        </testcase>
-      <testcase component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileSystemManager_resolve_wgt_private_tmp" purpose="Check if resolve wgt-private-tmp to a file handle.">
+      </testcase>
+      <testcase purpose="Check if resolve wgt-private-tmp to a file handle." component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileSystemManager_resolve_wgt_private_tmp">
         <description>
           <test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/FileSystemManager_resolve_wgt_private_tmp.html</test_script_entry>
         </description>
-        </testcase>
-      <testcase component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileSystemManager_resolve_with_mode" purpose="Check with optional arguments resolve(valid_location, valid_onsuccess, valid_onerror, valid_mode) [METH7]">
+      </testcase>
+      <testcase purpose="Check with optional arguments resolve(valid_location, valid_onsuccess, valid_onerror, valid_mode) [METH7]" component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileSystemManager_resolve_with_mode">
         <description>
           <test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/FileSystemManager_resolve_with_mode.html</test_script_entry>
         </description>
-        </testcase>
-      <testcase component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileSystemManager_resolve_with_onerror" purpose="Check with optional arguments resolve">
+      </testcase>
+      <testcase purpose="Check with optional arguments resolve" component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileSystemManager_resolve_with_onerror">
         <description>
           <test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/FileSystemManager_resolve_with_onerror.html</test_script_entry>
         </description>
-        </testcase>
-      <testcase component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileSystemManager_resolve_works_correctly" purpose="check whether invoking tizen.filesystem.resolve() method the given location is successfully resolved">
+      </testcase>
+      <testcase purpose="check whether invoking tizen.filesystem.resolve() method the given location is successfully resolved" component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileSystemManager_resolve_works_correctly">
         <description>
           <test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/FileSystemManager_resolve_works_correctly.html</test_script_entry>
         </description>
-        </testcase>
-      <testcase component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileSystemStorageArraySuccessCallback_notexist" purpose="check if is possible to call FileSystemStorageArraySuccessCallback in new expresion">
+      </testcase>
+      <testcase purpose="check if is possible to call FileSystemStorageArraySuccessCallback in new expresion" component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileSystemStorageArraySuccessCallback_notexist">
         <description>
           <test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/FileSystemStorageArraySuccessCallback_notexist.html</test_script_entry>
         </description>
-        </testcase>
-      <testcase component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileSystemStorageArraySuccessCallback_onsuccess" purpose="Test whether the type of each argument is equal to the specified in FileSystemStorageArraySuccessCallback.">
+      </testcase>
+      <testcase purpose="Test whether the type of each argument is equal to the specified in FileSystemStorageArraySuccessCallback." component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileSystemStorageArraySuccessCallback_onsuccess">
         <description>
           <test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/FileSystemStorageArraySuccessCallback_onsuccess.html</test_script_entry>
         </description>
-        </testcase>
-      <testcase component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileSystemStorageSuccessCallback_notexist" purpose="check if is possible to call FileSystemStorageSuccessCallback in new expresion">
+      </testcase>
+      <testcase purpose="check if is possible to call FileSystemStorageSuccessCallback in new expresion" component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileSystemStorageSuccessCallback_notexist">
         <description>
           <test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/FileSystemStorageSuccessCallback_notexist.html</test_script_entry>
         </description>
-        </testcase>
-      <testcase component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileSystemStorageSuccessCallback_onsuccess" purpose="Test whether the type of each argument is equal to the specified in FileSystemStorageSuccessCallback.">
+      </testcase>
+      <testcase purpose="Test whether the type of each argument is equal to the specified in FileSystemStorageSuccessCallback." component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileSystemStorageSuccessCallback_onsuccess">
         <description>
           <test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/FileSystemStorageSuccessCallback_onsuccess.html</test_script_entry>
         </description>
-        </testcase>
-      <testcase component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileSystemStorage_extend" purpose="test whether the FileSystemStorage object can have new attribute added">
+      </testcase>
+      <testcase purpose="test whether the FileSystemStorage object can have new attribute added" component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileSystemStorage_extend">
         <description>
           <test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/FileSystemStorage_extend.html</test_script_entry>
         </description>
-        </testcase>
-      <testcase component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileSystemStorage_label_attribute" purpose="Check if attribute label of FileSystemStorage exists, has type DOMString and is readonly">
+      </testcase>
+      <testcase purpose="Check if attribute label of FileSystemStorage exists, has type DOMString and is readonly" component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileSystemStorage_label_attribute">
         <description>
           <test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/FileSystemStorage_label_attribute.html</test_script_entry>
         </description>
-        </testcase>
-      <testcase component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileSystemStorage_notexist" purpose="check if is possible to call FileSystemStorage in new expresion">
+      </testcase>
+      <testcase purpose="check if is possible to call FileSystemStorage in new expresion" component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileSystemStorage_notexist">
         <description>
           <test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/FileSystemStorage_notexist.html</test_script_entry>
         </description>
-        </testcase>
-      <testcase component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileSystemStorage_state_attribute" purpose="Check if attribute state of FileSystemStorage exists, has type FileSystemStorageState and is readonly">
+      </testcase>
+      <testcase purpose="Check if attribute state of FileSystemStorage exists, has type FileSystemStorageState and is readonly" component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileSystemStorage_state_attribute">
         <description>
           <test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/FileSystemStorage_state_attribute.html</test_script_entry>
         </description>
-        </testcase>
-      <testcase component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileSystemStorage_type_attribute" purpose="Check if attribute type of FileSystemStorage exists, has type FileSystemStorageType and is readonly">
+      </testcase>
+      <testcase purpose="Check if attribute type of FileSystemStorage exists, has type FileSystemStorageType and is readonly" component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileSystemStorage_type_attribute">
         <description>
           <test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/FileSystemStorage_type_attribute.html</test_script_entry>
         </description>
-        </testcase>
-      <testcase component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_copyTo" purpose="Check if method copyTo of File works properly.">
+      </testcase>
+      <testcase purpose="Check if method copyTo of File works properly." component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_copyTo">
         <description>
           <test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/File_copyTo.html</test_script_entry>
         </description>
-        </testcase>
-      <testcase component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_copyTo_dir_samedir_samename_overwrite_false" purpose="check if throw an exception when copy a directory to same location with same name and overwrite is false.">
+      </testcase>
+      <testcase purpose="check if error callback invoked when copy a directory to the same location with the same name (overwrite is false)." component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_copyTo_dir_samedir_samename_overwrite_false">
         <description>
           <test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/File_copyTo_dir_samedir_samename_overwrite_false.html</test_script_entry>
         </description>
-        </testcase>
-      <testcase component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_copyTo_dir_samedir_samename_overwrite_true" purpose="check if copy a directory to another location with same name and overwrite is true successfully.">
-        <description>
-          <test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/File_copyTo_dir_samedir_samename_overwrite_true.html</test_script_entry>
-        </description>
-        </testcase>
-      <testcase component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_copyTo_exist" purpose="Check if method copyTo exists in File">
+      </testcase>
+      <testcase purpose="Check if method copyTo exists in File" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_copyTo_exist">
         <description>
           <test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/File_copyTo_exist.html</test_script_entry>
         </description>
-        </testcase>
-      <testcase component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_copyTo_file_samedir_samename_overwrite_false" purpose="check if throw an exception when copy a file to same location with same name in overwrite is false.">
+      </testcase>
+      <testcase purpose="check if error callback invoked when copy a file to the same location with the same name (overwrite is false)." component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_copyTo_file_samedir_samename_overwrite_false">
         <description>
           <test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/File_copyTo_file_samedir_samename_overwrite_false.html</test_script_entry>
         </description>
-        </testcase>
-      <testcase component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_copyTo_file_samedir_samename_overwrite_true" purpose="check if copy a file to another location with same name in overwrite is true successfully.">
-        <description>
-          <test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/File_copyTo_file_samedir_samename_overwrite_true.html</test_script_entry>
-        </description>
-        </testcase>
-      <testcase component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_copyTo_onerror_TypeMismatch" purpose="Check argument onError conversions exception in copyTo method.">
+      </testcase>
+      <testcase purpose="Check argument onError conversions exception in copyTo method." component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_copyTo_onerror_TypeMismatch">
         <description>
           <test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/File_copyTo_onerror_TypeMismatch.html</test_script_entry>
         </description>
-        </testcase>
-      <testcase component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_copyTo_onerror_invalid_cb" purpose="Test whether the constructor of the interface is defined or not in copyTo method onError callback.">
+      </testcase>
+      <testcase purpose="Test whether the constructor of the interface is defined or not in copyTo method onError callback." component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_copyTo_onerror_invalid_cb">
         <description>
           <test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/File_copyTo_onerror_invalid_cb.html</test_script_entry>
         </description>
-        </testcase>
-      <testcase component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_copyTo_onsuccess_TypeMismatch" purpose="Check argument onSuccess conversions exception in copyTo method.">
+      </testcase>
+      <testcase purpose="Check argument onSuccess conversions exception in copyTo method." component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_copyTo_onsuccess_TypeMismatch">
         <description>
           <test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/File_copyTo_onsuccess_TypeMismatch.html</test_script_entry>
         </description>
-        </testcase>
-      <testcase component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_copyTo_onsuccess_invalid_cb" purpose="Test whether the constructor of the interface is defined or not in copyTo method onSuccess callback.">
+      </testcase>
+      <testcase purpose="Test whether the constructor of the interface is defined or not in copyTo method onSuccess callback." component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_copyTo_onsuccess_invalid_cb">
         <description>
           <test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/File_copyTo_onsuccess_invalid_cb.html</test_script_entry>
         </description>
-        </testcase>
-      <testcase component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_copyTo_with_file_handle" purpose="check if throw an exception when copyTo with file handle.">
+      </testcase>
+      <testcase purpose="check if throw an exception when copyTo with file handle." component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_copyTo_with_file_handle">
         <description>
           <test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/File_copyTo_with_file_handle.html</test_script_entry>
         </description>
-        </testcase>
-      <testcase component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_copyTo_with_invalid_filepath" purpose="check whether invoking 'copyTo' method with invalid filepath param calls error callback function properly">
+      </testcase>
+      <testcase purpose="check whether invoking 'copyTo' method with invalid filepath param calls error callback function properly" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_copyTo_with_invalid_filepath">
         <description>
           <test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/File_copyTo_with_invalid_filepath.html</test_script_entry>
         </description>
-        </testcase>
-      <testcase component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_copyTo_with_invalid_virtual_file" purpose="check whether invoking 'copyTo' method with invalid virtual file path params calls error callback function properly">
+      </testcase>
+      <testcase purpose="check whether invoking 'copyTo' method with invalid virtual file path params calls error callback function properly" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_copyTo_with_invalid_virtual_file">
         <description>
           <test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/File_copyTo_with_invalid_virtual_file.html</test_script_entry>
         </description>
-        </testcase>
-      <testcase component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_copyTo_with_null_success_and_error_callbacks" purpose="check whether 'copyTo' method properly copies file in case success and error callbacks are undefined">
+      </testcase>
+      <testcase purpose="check whether 'copyTo' method properly copies file in case success and error callbacks are undefined" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_copyTo_with_null_success_and_error_callbacks">
         <description>
           <test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/File_copyTo_with_null_success_and_error_callbacks.html</test_script_entry>
         </description>
-        </testcase>
-      <testcase component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_copyTo_with_onerror" purpose="Check if method copyTo wit onError optional argument works properly.">
+      </testcase>
+      <testcase purpose="Check if method copyTo wit onError optional argument works properly." component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_copyTo_with_onerror">
         <description>
           <test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/File_copyTo_with_onerror.html</test_script_entry>
         </description>
-        </testcase>
-      <testcase component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_copyTo_with_onsuccess" purpose="Check if method copyTo with onSuccess optional argument works properly.">
+      </testcase>
+      <testcase purpose="Check if method copyTo with onSuccess optional argument works properly." component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_copyTo_with_onsuccess">
         <description>
           <test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/File_copyTo_with_onsuccess.html</test_script_entry>
         </description>
-        </testcase>
-      <testcase component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_copyTo_with_para_invalid" purpose="check if throw an exception when copyTo with invalid parameter.">
+      </testcase>
+      <testcase purpose="check if throw an exception when copyTo with invalid parameters." component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_copyTo_with_para_invalid">
         <description>
           <test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/File_copyTo_with_para_invalid.html</test_script_entry>
         </description>
-        </testcase>
-      <testcase component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_copyTo_with_path_invalid" purpose="check if throw an exception when copy a file to an invalid path.">
-        <description>
-          <test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/File_copyTo_with_path_invalid.html</test_script_entry>
-        </description>
-        </testcase>
-      <testcase component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_copyTo_writeFile_differentName" purpose="check if create a new empty file and write content of the file and then copy the file to the same location with different file name">
-        <description>
-          <test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/File_copyTo_writeFile_differentName.html</test_script_entry>
-        </description>
-        </testcase>
-      <testcase component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_copyTo_writeFile_sameName" purpose="check if create a new empty file and write content of the file and then copy the file to the same location with same file name">
-        <description>
-          <test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/File_copyTo_writeFile_sameName.html</test_script_entry>
-        </description>
-        </testcase>
-      <testcase component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_copyTo_writeFile_subdir" purpose="check if create a new empty file and write content of the file and then copy the file to subdirectory with same file name">
+      </testcase>
+      <testcase purpose="check if create a new empty file and write content of the file and then copy the file to subdirectory with same file name" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_copyTo_writeFile_subdir">
         <description>
           <test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/File_copyTo_writeFile_subdir.html</test_script_entry>
         </description>
-        </testcase>
-      <testcase component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_createDirectory" purpose="Check if method createDirectory of File works properly.">
+      </testcase>
+      <testcase purpose="Check if method createDirectory of File works properly." component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_createDirectory">
         <description>
           <test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/File_createDirectory.html</test_script_entry>
         </description>
-        </testcase>
-      <testcase component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_createDirectory_exist" purpose="Check if method createDirectory exists in File">
+      </testcase>
+      <testcase purpose="Check if method createDirectory exists in File" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_createDirectory_exist">
         <description>
           <test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/File_createDirectory_exist.html</test_script_entry>
         </description>
-        </testcase>
-      <testcase component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_createDirectory_level2" purpose="check if create directory of two levels.">
+      </testcase>
+      <testcase purpose="check if create directory of two levels." component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_createDirectory_level2">
         <description>
           <test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/File_createDirectory_level2.html</test_script_entry>
         </description>
-        </testcase>
-      <testcase component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_createFile" purpose="Check if method createFile of File works properly.">
+      </testcase>
+      <testcase purpose="Check if method createFile of File works properly." component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_createFile">
         <description>
           <test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/File_createFile.html</test_script_entry>
         </description>
-        </testcase>
-      <testcase component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_createFile_exist" purpose="Check if method createFile exists in File">
+      </testcase>
+      <testcase purpose="Check if method createFile exists in File" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_createFile_exist">
         <description>
           <test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/File_createFile_exist.html</test_script_entry>
         </description>
-        </testcase>
-      <testcase component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_createFile_existing_file" purpose="create existing file">
+      </testcase>
+      <testcase purpose="create existing file" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_createFile_existing_file">
         <description>
           <test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/File_createFile_existing_file.html</test_script_entry>
         </description>
-        </testcase>
-      <testcase component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_createFile_with_invalid_name" purpose="check if throw an exception when create file with invalid file name.">
+      </testcase>
+      <testcase purpose="check if throw an exception when create file with invalid file name." component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_createFile_with_invalid_name">
         <description>
           <test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/File_createFile_with_invalid_name.html</test_script_entry>
         </description>
-        </testcase>
-      <testcase component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_created_attribute" purpose="Check if attribute created of File exists, has type Date and is readonly">
+      </testcase>
+      <testcase purpose="Check if attribute created of File exists, has type Date and is readonly" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_created_attribute">
         <description>
           <test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/File_created_attribute.html</test_script_entry>
         </description>
-        </testcase>
-      <testcase component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_deleteDirectory" purpose="Check if method deleteDirectory of File works properly.">
+      </testcase>
+      <testcase purpose="Check if method deleteDirectory of File works properly." component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_deleteDirectory">
         <description>
           <test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/File_deleteDirectory.html</test_script_entry>
         </description>
-        </testcase>
-      <testcase component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_deleteDirectory_createDir_documents" purpose="check if create a new directory in documents and then delete the directory">
+      </testcase>
+      <testcase purpose="check if create a new directory in documents and then delete the directory" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_deleteDirectory_createDir_documents">
         <description>
           <test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/File_deleteDirectory_createDir_documents.html</test_script_entry>
         </description>
-        </testcase>
-      <testcase component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_deleteDirectory_createDir_downloads" purpose="check if create a new directory in downloads and then delete the directory">
+      </testcase>
+      <testcase purpose="check if create a new directory in downloads and then delete the directory" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_deleteDirectory_createDir_downloads">
         <description>
           <test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/File_deleteDirectory_createDir_downloads.html</test_script_entry>
         </description>
-        </testcase>
-      <testcase component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_deleteDirectory_createDir_images" purpose="check if create a new directory in images and then delete the directory">
+      </testcase>
+      <testcase purpose="check if create a new directory in images and then delete the directory" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_deleteDirectory_createDir_images">
         <description>
           <test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/File_deleteDirectory_createDir_images.html</test_script_entry>
         </description>
-        </testcase>
-      <testcase component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_deleteDirectory_createDir_music" purpose="check if create a new directory in music and then delete the directory">
+      </testcase>
+      <testcase purpose="check if create a new directory in music and then delete the directory" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_deleteDirectory_createDir_music">
         <description>
           <test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/File_deleteDirectory_createDir_music.html</test_script_entry>
         </description>
-        </testcase>
-      <testcase component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_deleteDirectory_createDir_videos" purpose="check if create a new directory in videos and then delete the directory">
+      </testcase>
+      <testcase purpose="check if create a new directory in videos and then delete the directory" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_deleteDirectory_createDir_videos">
         <description>
           <test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/File_deleteDirectory_createDir_videos.html</test_script_entry>
         </description>
-        </testcase>
-      <testcase component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_deleteDirectory_exist" purpose="Check if method deleteDirectory exists in File">
+      </testcase>
+      <testcase purpose="Check if method deleteDirectory exists in File" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_deleteDirectory_exist">
         <description>
           <test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/File_deleteDirectory_exist.html</test_script_entry>
         </description>
-        </testcase>
-      <testcase component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_deleteDirectory_onerror_TypeMismatch" purpose="Check argument onError conversions exception in deleteDirectory method.">
+      </testcase>
+      <testcase purpose="Check argument onError conversions exception in deleteDirectory method." component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_deleteDirectory_onerror_TypeMismatch">
         <description>
           <test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/File_deleteDirectory_onerror_TypeMismatch.html</test_script_entry>
         </description>
-        </testcase>
-      <testcase component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_deleteDirectory_onerror_invalid_cb" purpose="Test whether the constructor of the interface is defined or not in deleteDirectory method onError callback.">
+      </testcase>
+      <testcase purpose="Test whether the constructor of the interface is defined or not in deleteDirectory method onError callback." component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_deleteDirectory_onerror_invalid_cb">
         <description>
           <test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/File_deleteDirectory_onerror_invalid_cb.html</test_script_entry>
         </description>
-        </testcase>
-      <testcase component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_deleteDirectory_onsuccess_TypeMismatch" purpose="Check argument onSuccess conversions exception in deleteDirectory method.">
+      </testcase>
+      <testcase purpose="Check argument onSuccess conversions exception in deleteDirectory method." component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_deleteDirectory_onsuccess_TypeMismatch">
         <description>
           <test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/File_deleteDirectory_onsuccess_TypeMismatch.html</test_script_entry>
         </description>
-        </testcase>
-      <testcase component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_deleteDirectory_onsuccess_invalid_cb" purpose="Test whether the constructor of the interface is defined or not in deleteDirectory method onSuccess callback.">
+      </testcase>
+      <testcase purpose="Test whether the constructor of the interface is defined or not in deleteDirectory method onSuccess callback." component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_deleteDirectory_onsuccess_invalid_cb">
         <description>
           <test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/File_deleteDirectory_onsuccess_invalid_cb.html</test_script_entry>
         </description>
-        </testcase>
-      <testcase component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_deleteDirectory_with_empty_path" purpose="check whether invoking 'deleteDirectory' method with improper virtual path to the directory argument throws exception properly">
+      </testcase>
+      <testcase purpose="check whether invoking 'deleteDirectory' method with improper virtual path to the directory argument throws exception properly" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_deleteDirectory_with_empty_path">
         <description>
           <test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/File_deleteDirectory_with_empty_path.html</test_script_entry>
         </description>
-        </testcase>
-      <testcase component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_deleteDirectory_with_file_handle" purpose="check if throw an exception when delete a dir with file handle.">
+      </testcase>
+      <testcase purpose="check if throw an exception when delete a dir with file handle." component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_deleteDirectory_with_file_handle">
         <description>
           <test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/File_deleteDirectory_with_file_handle.html</test_script_entry>
         </description>
-        </testcase>
-      <testcase component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_deleteDirectory_with_null_callbacks" purpose="check whether 'deleteDirectory' method properly removes a specified directory">
+      </testcase>
+      <testcase purpose="check whether 'deleteDirectory' method properly removes a specified directory" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_deleteDirectory_with_null_callbacks">
         <description>
           <test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/File_deleteDirectory_with_null_callbacks.html</test_script_entry>
         </description>
-        </testcase>
-      <testcase component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_deleteDirectory_with_onerror" purpose="Check if method deleteDirectory wit onError optional argument works properly.">
+      </testcase>
+      <testcase purpose="Check if method deleteDirectory wit onError optional argument works properly." component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_deleteDirectory_with_onerror">
         <description>
           <test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/File_deleteDirectory_with_onerror.html</test_script_entry>
         </description>
-        </testcase>
-      <testcase component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_deleteDirectory_with_onsuccess" purpose="Check if method deleteDirectory wit onSuccess optional argument works properly.">
+      </testcase>
+      <testcase purpose="Check if method deleteDirectory wit onSuccess optional argument works properly." component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_deleteDirectory_with_onsuccess">
         <description>
           <test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/File_deleteDirectory_with_onsuccess.html</test_script_entry>
         </description>
-        </testcase>
-      <testcase component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_deleteFile" purpose="Check if method deleteFile of File works properly.">
+      </testcase>
+      <testcase purpose="Check if method deleteFile of File works properly." component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_deleteFile">
         <description>
           <test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/File_deleteFile.html</test_script_entry>
         </description>
-        </testcase>
-      <testcase component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_deleteFile_copyFile_downloads" purpose="check if create a new file in downloads and copy the file to another location and then delete the file">
+      </testcase>
+      <testcase purpose="check if create a new file in downloads and copy the file to another location and then delete the file" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_deleteFile_copyFile_downloads">
         <description>
           <test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/File_deleteFile_copyFile_downloads.html</test_script_entry>
         </description>
-        </testcase>
-      <testcase component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_deleteFile_copyFile_images" purpose="check if create a new file in images and copy the file to another location and then delete the file">
+      </testcase>
+      <testcase purpose="check if create a new file in images and copy the file to another location and then delete the file" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_deleteFile_copyFile_images">
         <description>
           <test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/File_deleteFile_copyFile_images.html</test_script_entry>
         </description>
-        </testcase>
-      <testcase component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_deleteFile_copyFile_music" purpose="check if create a new file in music and copy the file to another location and then delete the file">
+      </testcase>
+      <testcase purpose="check if create a new file in music and copy the file to another location and then delete the file" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_deleteFile_copyFile_music">
         <description>
           <test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/File_deleteFile_copyFile_music.html</test_script_entry>
         </description>
-        </testcase>
-      <testcase component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_deleteFile_copyFile_videos" purpose="check if create a new file in videos and copy the file to another location and then delete the file">
+      </testcase>
+      <testcase purpose="check if create a new file in videos and copy the file to another location and then delete the file" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_deleteFile_copyFile_videos">
         <description>
           <test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/File_deleteFile_copyFile_videos.html</test_script_entry>
         </description>
-        </testcase>
-      <testcase component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_deleteFile_createFile" purpose="check if create a new file and then delete the file">
+      </testcase>
+      <testcase purpose="check if create a new file and then delete the file" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_deleteFile_createFile">
         <description>
           <test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/File_deleteFile_createFile.html</test_script_entry>
         </description>
-        </testcase>
-      <testcase component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_deleteFile_exist" purpose="Check if method deleteFile exists in File">
+      </testcase>
+      <testcase purpose="Check if method deleteFile exists in File" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_deleteFile_exist">
         <description>
           <test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/File_deleteFile_exist.html</test_script_entry>
         </description>
-        </testcase>
-      <testcase component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_deleteFile_listDocumentsFiles" purpose="check if delete the list of all files in documents">
+      </testcase>
+      <testcase purpose="check if delete the list of all files in documents" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_deleteFile_listDocumentsFiles">
         <description>
           <test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/File_deleteFile_listDocumentsFiles.html</test_script_entry>
         </description>
-        </testcase>
-      <testcase component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_deleteFile_listDownloadsFiles" purpose="check if delete the list of all files in downloads">
+      </testcase>
+      <testcase purpose="check if delete the list of all files in downloads" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_deleteFile_listDownloadsFiles">
         <description>
           <test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/File_deleteFile_listDownloadsFiles.html</test_script_entry>
         </description>
-        </testcase>
-      <testcase component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_deleteFile_listImagsFiles" purpose="check if delete the list of all files in images">
+      </testcase>
+      <testcase purpose="check if delete the list of all files in images" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_deleteFile_listImagsFiles">
         <description>
           <test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/File_deleteFile_listImagsFiles.html</test_script_entry>
         </description>
-        </testcase>
-      <testcase component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_deleteFile_listMusicFiles" purpose="check if delete the list of all files in music">
+      </testcase>
+      <testcase purpose="check if delete the list of all files in music" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_deleteFile_listMusicFiles">
         <description>
           <test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/File_deleteFile_listMusicFiles.html</test_script_entry>
         </description>
-        </testcase>
-      <testcase component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_deleteFile_listVideosfiles" purpose="check if delete the list of all files in videos">
+      </testcase>
+      <testcase purpose="check if delete the list of all files in videos" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_deleteFile_listVideosfiles">
         <description>
           <test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/File_deleteFile_listVideosfiles.html</test_script_entry>
         </description>
-        </testcase>
-      <testcase component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_deleteFile_onerror_TypeMismatch" purpose="Check argument onError conversions exception in deleteFile method.">
+      </testcase>
+      <testcase purpose="Check argument onError conversions exception in deleteFile method." component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_deleteFile_onerror_TypeMismatch">
         <description>
           <test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/File_deleteFile_onerror_TypeMismatch.html</test_script_entry>
         </description>
-        </testcase>
-      <testcase component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_deleteFile_onerror_invalid_cb" purpose="Test whether the constructor of the interface is defined or not in deleteFile method onError callback.">
+      </testcase>
+      <testcase purpose="Test whether the constructor of the interface is defined or not in deleteFile method onError callback." component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_deleteFile_onerror_invalid_cb">
         <description>
           <test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/File_deleteFile_onerror_invalid_cb.html</test_script_entry>
         </description>
-        </testcase>
-      <testcase component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_deleteFile_onsuccess_TypeMismatch" purpose="Check argument onsuccess conversions exception in deleteFile method.">
+      </testcase>
+      <testcase purpose="Check argument onsuccess conversions exception in deleteFile method." component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_deleteFile_onsuccess_TypeMismatch">
         <description>
           <test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/File_deleteFile_onsuccess_TypeMismatch.html</test_script_entry>
         </description>
-        </testcase>
-      <testcase component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_deleteFile_onsuccess_invalid_cb" purpose="Test whether the constructor of the interface is defined or not in deleteFile method onSuccess callback.">
+      </testcase>
+      <testcase purpose="Test whether the constructor of the interface is defined or not in deleteFile method onSuccess callback." component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_deleteFile_onsuccess_invalid_cb">
         <description>
           <test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/File_deleteFile_onsuccess_invalid_cb.html</test_script_entry>
         </description>
-        </testcase>
-      <testcase component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_deleteFile_with_dir_handle" purpose="check if throw an exception when delete a file with dir handle.">
+      </testcase>
+      <testcase purpose="check if throw an exception when delete a file with dir handle." component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_deleteFile_with_dir_handle">
         <description>
           <test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/File_deleteFile_with_dir_handle.html</test_script_entry>
         </description>
-        </testcase>
-      <testcase component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_deleteFile_with_nonexist" purpose="check if throw an exception when delete a file which not exist.">
+      </testcase>
+      <testcase purpose="check if throw an exception when delete a file which not exist." component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_deleteFile_with_nonexist">
         <description>
           <test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/File_deleteFile_with_nonexist.html</test_script_entry>
         </description>
-        </testcase>
-      <testcase component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_deleteFile_with_onerror" purpose="Check if method deleteFile wit onError optional argument works properly.">
+      </testcase>
+      <testcase purpose="Check if method deleteFile wit onError optional argument works properly." component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_deleteFile_with_onerror">
         <description>
           <test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/File_deleteFile_with_onerror.html</test_script_entry>
         </description>
-        </testcase>
-      <testcase component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_deleteFile_with_onsuccess" purpose="Check if method deleteFile with onSuccess optional argument works properly.">
+      </testcase>
+      <testcase purpose="Check if method deleteFile with onSuccess optional argument works properly." component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_deleteFile_with_onsuccess">
         <description>
           <test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/File_deleteFile_with_onsuccess.html</test_script_entry>
         </description>
-        </testcase>
-      <testcase component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_deleteFile_with_vaild_callbacks" purpose="check whether 'deleteFile' method properly removes a specified file">
+      </testcase>
+      <testcase purpose="check whether 'deleteFile' method properly removes a specified file" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_deleteFile_with_vaild_callbacks">
         <description>
           <test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/File_deleteFile_with_vaild_callbacks.html</test_script_entry>
         </description>
-        </testcase>
-      <testcase component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_deleteFile_with_valid_filePath" purpose="check whether 'deleteFile' method works properly removing a specified file">
+      </testcase>
+      <testcase purpose="check whether 'deleteFile' method works properly removing a specified file" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_deleteFile_with_valid_filePath">
         <description>
           <test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/File_deleteFile_with_valid_filePath.html</test_script_entry>
         </description>
-        </testcase>
-      <testcase component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_extend" purpose="test whether the File object can have new attribute added">
+      </testcase>
+      <testcase purpose="test whether the File object can have new attribute added" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_extend">
         <description>
           <test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/File_extend.html</test_script_entry>
         </description>
-        </testcase>
-      <testcase component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_fileSize_attribute" purpose="Check if attribute fileSize of File exists, has type Number and is readonly">
+      </testcase>
+      <testcase purpose="Check if attribute fileSize of File exists, has type Number and is readonly" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_fileSize_attribute">
         <description>
           <test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/File_fileSize_attribute.html</test_script_entry>
         </description>
-        </testcase>
-      <testcase component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_fullPath_attribute" purpose="Check if attribute fullPath of File exists, has type DOMString and is readonly">
+      </testcase>
+      <testcase purpose="Check if attribute fullPath of File exists, has type DOMString and is readonly" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_fullPath_attribute">
         <description>
           <test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/File_fullPath_attribute.html</test_script_entry>
         </description>
-        </testcase>
-      <testcase component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_isDirectory_attribute" purpose="Check if attribute isDirectory of File exists, has type Boolean and is readonly">
+      </testcase>
+      <testcase purpose="Check if attribute isDirectory of File exists, has type Boolean and is readonly" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_isDirectory_attribute">
         <description>
           <test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/File_isDirectory_attribute.html</test_script_entry>
         </description>
-        </testcase>
-      <testcase component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_isFile_attribute" purpose="Check if attribute isFile of File exists, has type Boolean and is readonly">
+      </testcase>
+      <testcase purpose="Check if attribute isFile of File exists, has type Boolean and is readonly" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_isFile_attribute">
         <description>
           <test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/File_isFile_attribute.html</test_script_entry>
         </description>
-        </testcase>
-      <testcase component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_length_attribute" purpose="Check if attribute length of File exists, has type Number and is readonly">
+      </testcase>
+      <testcase purpose="Check if attribute length of File exists, has type Number and is readonly" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_length_attribute">
         <description>
           <test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/File_length_attribute.html</test_script_entry>
         </description>
-        </testcase>
-      <testcase component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_listFiles" purpose="Check if method listFiles of File works properly.">
+      </testcase>
+      <testcase purpose="Check if method listFiles of File works properly." component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_listFiles">
         <description>
           <test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/File_listFiles.html</test_script_entry>
         </description>
-        </testcase>
-      <testcase component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_listFiles_createFiles" purpose="check if create a new directory and then list all files in this directory">
+      </testcase>
+      <testcase purpose="check if create a new directory and then list all files in this directory" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_listFiles_createFiles">
         <description>
           <test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/File_listFiles_createFiles.html</test_script_entry>
         </description>
-        </testcase>
-      <testcase component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_listFiles_exist" purpose="Check if method listFiles exists in File">
+      </testcase>
+      <testcase purpose="Check if method listFiles exists in File" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_listFiles_exist">
         <description>
           <test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/File_listFiles_exist.html</test_script_entry>
         </description>
-        </testcase>
-      <testcase component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_listFiles_filter_TypeMismatch" purpose="Check argument filter conversions exception.">
+      </testcase>
+      <testcase purpose="Check argument filter conversions exception." component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_listFiles_filter_TypeMismatch">
         <description>
           <test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/File_listFiles_filter_TypeMismatch.html</test_script_entry>
         </description>
-        </testcase>
-      <testcase component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_listFiles_filter_empty" purpose="check with empty FileFilter argument of listFiles">
+      </testcase>
+      <testcase purpose="check with empty FileFilter argument of listFiles" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_listFiles_filter_empty">
         <description>
           <test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/File_listFiles_filter_empty.html</test_script_entry>
         </description>
-        </testcase>
-      <testcase component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_listFiles_missarg" purpose="Check if listFiles of File with missing non-optional argument works">
+      </testcase>
+      <testcase purpose="Check if listFiles of File with missing non-optional argument works" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_listFiles_missarg">
         <description>
           <test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/File_listFiles_missarg.html</test_script_entry>
         </description>
-        </testcase>
-      <testcase component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_listFiles_onerror_TypeMismatch" purpose="Check argument onError conversions exception in listFiles method.">
+      </testcase>
+      <testcase purpose="Check argument onError conversions exception in listFiles method." component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_listFiles_onerror_TypeMismatch">
         <description>
           <test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/File_listFiles_onerror_TypeMismatch.html</test_script_entry>
         </description>
-        </testcase>
-      <testcase component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_listFiles_onerror_invalid_cb" purpose="Test whether the constructor of the interface is defined or not in listFiles method onError callback.">
+      </testcase>
+      <testcase purpose="Test whether the constructor of the interface is defined or not in listFiles method onError callback." component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_listFiles_onerror_invalid_cb">
         <description>
           <test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/File_listFiles_onerror_invalid_cb.html</test_script_entry>
         </description>
-        </testcase>
-      <testcase component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_listFiles_onsuccess_TypeMismatch" purpose="Check argument onSuccess conversions exception in listFiles method.">
+      </testcase>
+      <testcase purpose="Check argument onSuccess conversions exception in listFiles method." component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_listFiles_onsuccess_TypeMismatch">
         <description>
           <test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/File_listFiles_onsuccess_TypeMismatch.html</test_script_entry>
         </description>
-        </testcase>
-      <testcase component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_listFiles_onsuccess_invalid_cb" purpose="Test whether the constructor of the interface is defined or not in listFiles method onSuccess callback.">
+      </testcase>
+      <testcase purpose="Test whether the constructor of the interface is defined or not in listFiles method onSuccess callback." component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_listFiles_onsuccess_invalid_cb">
         <description>
           <test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/File_listFiles_onsuccess_invalid_cb.html</test_script_entry>
         </description>
-        </testcase>
-      <testcase component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_listFiles_with_file_handle" purpose="check if throw an exception when listFiles with a file handle.">
+      </testcase>
+      <testcase purpose="check if throw an exception when listFiles with a file handle." component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_listFiles_with_file_handle">
         <description>
           <test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/File_listFiles_with_file_handle.html</test_script_entry>
         </description>
-        </testcase>
-      <testcase component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_listFiles_with_filter" purpose="check if list files in documents directory with filter.">
+      </testcase>
+      <testcase purpose="check if list files in documents directory with filter." component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_listFiles_with_filter">
         <description>
           <test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/File_listFiles_with_filter.html</test_script_entry>
         </description>
-        </testcase>
-      <testcase component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_listFiles_with_onerror" purpose="Check if method listFiles wit onError optional argument works properly.">
+      </testcase>
+      <testcase purpose="Check if method listFiles wit onError optional argument works properly." component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_listFiles_with_onerror">
         <description>
           <test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/File_listFiles_with_onerror.html</test_script_entry>
         </description>
-        </testcase>
-      <testcase component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_listFiles_with_valid_successCallback" purpose="check whether 'listFiles' method properly retrieves the list of files in directory">
+      </testcase>
+      <testcase purpose="check whether 'listFiles' method properly retrieves the list of files in directory" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_listFiles_with_valid_successCallback">
         <description>
           <test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/File_listFiles_with_valid_successCallback.html</test_script_entry>
         </description>
-        </testcase>
-      <testcase component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_modified_attribute" purpose="Check if attribute modified of File exists, has type Date and is readonly">
+      </testcase>
+      <testcase purpose="Check if attribute modified of File exists, has type Date and is readonly" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_modified_attribute">
         <description>
           <test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/File_modified_attribute.html</test_script_entry>
         </description>
-        </testcase>
-      <testcase component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_moveTo" purpose="Check if method moveTo of File works properly.">
+      </testcase>
+      <testcase purpose="Check if method moveTo of File works properly." component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_moveTo">
         <description>
           <test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/File_moveTo.html</test_script_entry>
         </description>
-        </testcase>
-      <testcase component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_moveTo_empty_destination_source_and_destination_paths" purpose="check whether invoking 'moveTo' method with improper arguments calls error callback function properly">
+      </testcase>
+      <testcase purpose="check whether invoking 'moveTo' method with improper arguments calls error callback function properly" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_moveTo_empty_destination_source_and_destination_paths">
         <description>
           <test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/File_moveTo_empty_destination_source_and_destination_paths.html</test_script_entry>
         </description>
-        </testcase>
-      <testcase component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_moveTo_exist" purpose="Check if method moveTo exists in File">
+      </testcase>
+      <testcase purpose="Check if method moveTo exists in File" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_moveTo_exist">
         <description>
           <test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/File_moveTo_exist.html</test_script_entry>
         </description>
-        </testcase>
-      <testcase component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_moveTo_file_samedir_samename_overwrite_false" purpose="check if throw an exception when move a file to same location with same name in overwrite is false.">
+      </testcase>
+      <testcase purpose="check if error callback invoked when move a file to the same location with the same name (overwrite is false)." component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_moveTo_file_samedir_samename_overwrite_false">
         <description>
           <test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/File_moveTo_file_samedir_samename_overwrite_false.html</test_script_entry>
         </description>
-        </testcase>
-      <testcase component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_moveTo_file_samedir_samename_overwrite_true" purpose="check if move a file to same location with same name in overwrite is true successfully.">
+      </testcase>
+      <testcase purpose="check if move a file to same location with the same name (overwrite is true) was successyful." component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_moveTo_file_samedir_samename_overwrite_true">
         <description>
           <test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/File_moveTo_file_samedir_samename_overwrite_true.html</test_script_entry>
         </description>
-        </testcase>
-      <testcase component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_moveTo_onerror_TypeMismatch" purpose="Check argument onError conversions exception in moveTo method.">
+      </testcase>
+      <testcase purpose="Check argument onError conversions exception in moveTo method." component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_moveTo_onerror_TypeMismatch">
         <description>
           <test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/File_moveTo_onerror_TypeMismatch.html</test_script_entry>
         </description>
-        </testcase>
-      <testcase component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_moveTo_onerror_invalid_cb" purpose="Test whether the constructor of the interface is defined or not in moveTo method onError callback.">
+      </testcase>
+      <testcase purpose="Test whether the constructor of the interface is defined or not in moveTo method onError callback." component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_moveTo_onerror_invalid_cb">
         <description>
           <test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/File_moveTo_onerror_invalid_cb.html</test_script_entry>
         </description>
-        </testcase>
-      <testcase component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_moveTo_onsuccess_TypeMismatch" purpose="Check argument onSuccess conversions exception in moveTo method.">
+      </testcase>
+      <testcase purpose="Check argument onSuccess conversions exception in moveTo method." component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_moveTo_onsuccess_TypeMismatch">
         <description>
           <test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/File_moveTo_onsuccess_TypeMismatch.html</test_script_entry>
         </description>
-        </testcase>
-      <testcase component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_moveTo_onsuccess_invalid_cb" purpose="Test whether the constructor of the interface is defined or not in moveTo method onSuccess callback.">
+      </testcase>
+      <testcase purpose="check if an exception was thrown when a fake callback (onsucces) was passed into moveTo method." component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_moveTo_onsuccess_invalid_cb">
         <description>
           <test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/File_moveTo_onsuccess_invalid_cb.html</test_script_entry>
         </description>
-        </testcase>
-      <testcase component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_moveTo_with_additional_null_parameter" purpose="check whether 'moveTo' method invoked with overwrite param set to true properly transfers a file">
+      </testcase>
+      <testcase purpose="check whether 'moveTo' method invoked with overwrite param set to true properly transfers a file" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_moveTo_with_additional_null_parameter">
         <description>
           <test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/File_moveTo_with_additional_null_parameter.html</test_script_entry>
         </description>
-        </testcase>
-      <testcase component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_moveTo_with_file_handle" purpose="check if throw an exception when moveTo with file handle.">
+      </testcase>
+      <testcase purpose="check if throw an exception when moveTo with file handle." component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_moveTo_with_file_handle">
         <description>
           <test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/File_moveTo_with_file_handle.html</test_script_entry>
         </description>
-        </testcase>
-      <testcase component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_moveTo_with_invalid_filePath" purpose="check whether invoking 'moveTo' method with improper argument calls error callback function properly">
+      </testcase>
+      <testcase purpose="check whether invoking 'moveTo' method with improper argument calls error callback function properly" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_moveTo_with_invalid_filePath">
         <description>
           <test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/File_moveTo_with_invalid_filePath.html</test_script_entry>
         </description>
-        </testcase>
-      <testcase component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_moveTo_with_onerror" purpose="Check if method moveTo wit onError optional argument works properly.">
+      </testcase>
+      <testcase purpose="Check if method moveTo wit onError optional argument works properly." component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_moveTo_with_onerror">
         <description>
           <test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/File_moveTo_with_onerror.html</test_script_entry>
         </description>
-        </testcase>
-      <testcase component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_moveTo_with_onsuccess" purpose="Check if method moveTo wit onSuccess optional argument works properly.">
+      </testcase>
+      <testcase purpose="Check if method moveTo wit onSuccess optional argument works properly." component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_moveTo_with_onsuccess">
         <description>
           <test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/File_moveTo_with_onsuccess.html</test_script_entry>
         </description>
-        </testcase>
-      <testcase component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_moveTo_with_path_invalid" purpose="check if throw an exception when move a file to an invalid path.">
+      </testcase>
+      <testcase purpose="check if throw an exception when move a file to an invalid path." component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_moveTo_with_path_invalid">
         <description>
           <test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/File_moveTo_with_path_invalid.html</test_script_entry>
         </description>
-        </testcase>
-      <testcase component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_moveTo_writeFile_differentName" purpose="check if create a new empty file and write content of the file and then move the file to the same location with different file name">
-        <description>
-          <test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/File_moveTo_writeFile_differentName.html</test_script_entry>
-        </description>
-        </testcase>
-      <testcase component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_moveTo_writeFile_false" purpose="check if create a new empty file and write content of the file and then move the file to the same location with same file name">
-        <description>
-          <test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/File_moveTo_writeFile_false.html</test_script_entry>
-        </description>
-        </testcase>
-      <testcase component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_moveTo_writeFile_subdir" purpose="check if create a new empty file and write content of the file and then move the file to subdirectory with same file name">
+      </testcase>
+      <testcase purpose="check if create a new empty file and write content of the file and then move the file to subdirectory with same file name" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_moveTo_writeFile_subdir">
         <description>
           <test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/File_moveTo_writeFile_subdir.html</test_script_entry>
         </description>
-        </testcase>
-      <testcase component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_moveTo_writeFile_true" purpose="check if create a new file and write content and then move to the same location with same file name by overwrite true">
-        <description>
-          <test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/File_moveTo_writeFile_true.html</test_script_entry>
-        </description>
-        </testcase>
-      <testcase component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_name_attribute" purpose="Check if attribute name of File exists, has type DOMString and is readonly">
+      </testcase>
+      <testcase purpose="Check if attribute name of File exists, has type DOMString and is readonly" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_name_attribute">
         <description>
           <test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/File_name_attribute.html</test_script_entry>
         </description>
-        </testcase>
-      <testcase component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_notexist" purpose="check if is possible to call File in new expresion">
+      </testcase>
+      <testcase purpose="check if is possible to call File in new expresion" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_notexist">
         <description>
           <test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/File_notexist.html</test_script_entry>
         </description>
-        </testcase>
-      <testcase component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_openStream" purpose="Check if method openStream of File works properly.">
+      </testcase>
+      <testcase purpose="Check if method openStream of File works properly." component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_openStream">
         <description>
           <test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/File_openStream.html</test_script_entry>
         </description>
-        </testcase>
-      <testcase component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_openStream_encoding_invalid" purpose="check if throw an exception when open the file in invalid encoding.">
+      </testcase>
+      <testcase purpose="check if throw an exception when open the file in invalid encoding." component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_openStream_encoding_invalid">
         <description>
           <test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/File_openStream_encoding_invalid.html</test_script_entry>
         </description>
-        </testcase>
-      <testcase component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_openStream_exist" purpose="Check if method openStream exists in File">
+      </testcase>
+      <testcase purpose="Check if method openStream exists in File" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_openStream_exist">
         <description>
           <test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/File_openStream_exist.html</test_script_entry>
         </description>
-        </testcase>
-      <testcase component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_openStream_missarg" purpose="Check if openStream of File with missing non-optional argument works">
+      </testcase>
+      <testcase purpose="Check if openStream of File with missing non-optional argument works" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_openStream_missarg">
         <description>
           <test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/File_openStream_missarg.html</test_script_entry>
         </description>
-        </testcase>
-      <testcase component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_openStream_mode_TypeMismatch" purpose="Check argument mode conversions exception.">
+      </testcase>
+      <testcase purpose="Check argument mode conversions exception." component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_openStream_mode_TypeMismatch">
         <description>
           <test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/File_openStream_mode_TypeMismatch.html</test_script_entry>
         </description>
-        </testcase>
-      <testcase component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_openStream_mode_a" purpose="check if open the file with mode a.">
+      </testcase>
+      <testcase purpose="check if open the file with mode a." component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_openStream_mode_a">
         <description>
           <test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/File_openStream_mode_a.html</test_script_entry>
         </description>
-        </testcase>
-      <testcase component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_openStream_mode_r" purpose="check if open the file with mode r.">
+      </testcase>
+      <testcase purpose="check if open the file with mode r." component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_openStream_mode_r">
         <description>
           <test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/File_openStream_mode_r.html</test_script_entry>
         </description>
-        </testcase>
-      <testcase component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_openStream_mode_rw" purpose="check if open the file with mode rw.">
+      </testcase>
+      <testcase purpose="check if open the file with mode rw." component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_openStream_mode_rw">
         <description>
           <test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/File_openStream_mode_rw.html</test_script_entry>
         </description>
-        </testcase>
-      <testcase component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_openStream_mode_w" purpose="check if open the file with mode w.">
+      </testcase>
+      <testcase purpose="check if open the file with mode w." component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_openStream_mode_w">
         <description>
           <test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/File_openStream_mode_w.html</test_script_entry>
         </description>
-        </testcase>
-      <testcase component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_openStream_onerror_TypeMismatch" purpose="Check argument onError conversions exception in openStream method.">
+      </testcase>
+      <testcase purpose="Check argument onError conversions exception in openStream method." component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_openStream_onerror_TypeMismatch">
         <description>
           <test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/File_openStream_onerror_TypeMismatch.html</test_script_entry>
         </description>
-        </testcase>
-      <testcase component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_openStream_onerror_invalid_cb" purpose="Test whether the constructor of the interface is defined or not in openStream method onError callback.">
+      </testcase>
+      <testcase purpose="Test whether the constructor of the interface is defined or not in openStream method onError callback." component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_openStream_onerror_invalid_cb">
         <description>
           <test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/File_openStream_onerror_invalid_cb.html</test_script_entry>
         </description>
-        </testcase>
-      <testcase component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_openStream_onsuccess_TypeMismatch" purpose="Check argument onSuccess conversions exception in openStream method.">
+      </testcase>
+      <testcase purpose="Check argument onSuccess conversions exception in openStream method." component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_openStream_onsuccess_TypeMismatch">
         <description>
           <test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/File_openStream_onsuccess_TypeMismatch.html</test_script_entry>
         </description>
-        </testcase>
-      <testcase component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_openStream_onsuccess_invalid_cb" purpose="Test whether the constructor of the interface is defined or not in openStream method onSuccess callback.">
+      </testcase>
+      <testcase purpose="Test whether the constructor of the interface is defined or not in openStream method onSuccess callback." component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_openStream_onsuccess_invalid_cb">
         <description>
           <test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/File_openStream_onsuccess_invalid_cb.html</test_script_entry>
         </description>
-        </testcase>
-      <testcase component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_openStream_with_encoding" purpose="Check if method openStream wit encoding optional argument works properly.">
+      </testcase>
+      <testcase purpose="Check if method openStream wit encoding optional argument works properly." component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_openStream_with_encoding">
         <description>
           <test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/File_openStream_with_encoding.html</test_script_entry>
         </description>
-        </testcase>
-      <testcase component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_openStream_with_nonexist_file" purpose="check if throw an exception when open the file which not exist.">
+      </testcase>
+      <testcase purpose="check if throw an exception when open the file which not exist." component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_openStream_with_nonexist_file">
         <description>
           <test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/File_openStream_with_nonexist_file.html</test_script_entry>
         </description>
-        </testcase>
-      <testcase component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_openStream_with_onerror" purpose="Check if method openStream wit onError optional argument works properly.">
+      </testcase>
+      <testcase purpose="Check if method openStream wit onError optional argument works properly." component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_openStream_with_onerror">
         <description>
           <test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/File_openStream_with_onerror.html</test_script_entry>
         </description>
-        </testcase>
-      <testcase component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_parent_attribute" purpose="Check if attribute parent of File exists, has type File and is readonly">
+      </testcase>
+      <testcase purpose="Check if attribute parent of File exists, has type File and is readonly" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_parent_attribute">
         <description>
           <test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/File_parent_attribute.html</test_script_entry>
         </description>
-        </testcase>
-      <testcase component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_parent_attribute_notnull_using_resolve" purpose="Check if attribute parent of File is not null when using resolve method">
+      </testcase>
+      <testcase purpose="Check if attribute parent of File is not null when using resolve method" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_parent_attribute_notnull_using_resolve">
         <description>
           <test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/File_parent_attribute_notnull_using_resolve.html</test_script_entry>
         </description>
-        </testcase>
-      <testcase component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_path_attribute" purpose="Check if attribute path of File exists, has type DOMString and is readonly">
+      </testcase>
+      <testcase purpose="Check if attribute path of File exists, has type DOMString and is readonly" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_path_attribute">
         <description>
           <test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/File_path_attribute.html</test_script_entry>
         </description>
-        </testcase>
-      <testcase component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_readAsText" purpose="Check if method readAsText of File works properly.">
+      </testcase>
+      <testcase purpose="Check if method readAsText of File works properly." component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_readAsText">
         <description>
           <test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/File_readAsText.html</test_script_entry>
         </description>
-        </testcase>
-      <testcase component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_readAsText_encoding_invalid" purpose="check if throw an exception when readAsText in invalid encoding.">
+      </testcase>
+      <testcase purpose="check if throw an exception when readAsText in invalid encoding." component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_readAsText_encoding_invalid">
         <description>
           <test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/File_readAsText_encoding_invalid.html</test_script_entry>
         </description>
-        </testcase>
-      <testcase component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_readAsText_exist" purpose="Check if method readAsText exists in File">
+      </testcase>
+      <testcase purpose="Check if method readAsText exists in File" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_readAsText_exist">
         <description>
           <test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/File_readAsText_exist.html</test_script_entry>
         </description>
-        </testcase>
-      <testcase component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_readAsText_listDocumentsFiles" purpose="check if list all files in documents and then read the content of the file as a DOMString">
+      </testcase>
+      <testcase purpose="check if list all files in documents and then read the content of the file as a DOMString" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_readAsText_listDocumentsFiles">
         <description>
           <test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/File_readAsText_listDocumentsFiles.html</test_script_entry>
         </description>
-        </testcase>
-      <testcase component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_readAsText_listDownloadsFiles" purpose="check if list all files in downloads and then read the content of the file as a DOMString">
+      </testcase>
+      <testcase purpose="check if list all files in downloads and then read the content of the file as a DOMString" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_readAsText_listDownloadsFiles">
         <description>
           <test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/File_readAsText_listDownloadsFiles.html</test_script_entry>
         </description>
-        </testcase>
-      <testcase component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_readAsText_listImagesFiles" purpose="check if list all files in images and then read the content of the file as a DOMString">
+      </testcase>
+      <testcase purpose="check if list all files in images and then read the content of the file as a DOMString" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_readAsText_listImagesFiles">
         <description>
           <test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/File_readAsText_listImagesFiles.html</test_script_entry>
         </description>
-        </testcase>
-      <testcase component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_readAsText_listMusicFiles" purpose="check if list all files in music and then read the content of the file as a DOMString">
+      </testcase>
+      <testcase purpose="check if list all files in music and then read the content of the file as a DOMString" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_readAsText_listMusicFiles">
         <description>
           <test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/File_readAsText_listMusicFiles.html</test_script_entry>
         </description>
-        </testcase>
-      <testcase component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_readAsText_listVideosFiles" purpose="check if list all files in videos and then read the content of the file as a DOMString">
+      </testcase>
+      <testcase purpose="check if list all files in videos and then read the content of the file as a DOMString" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_readAsText_listVideosFiles">
         <description>
           <test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/File_readAsText_listVideosFiles.html</test_script_entry>
         </description>
-        </testcase>
-      <testcase component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_readAsText_missarg" purpose="Check if readAsText of File with missing non-optional argument works">
+      </testcase>
+      <testcase purpose="Check if readAsText of File with missing non-optional argument works" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_readAsText_missarg">
         <description>
           <test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/File_readAsText_missarg.html</test_script_entry>
         </description>
-        </testcase>
-      <testcase component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_readAsText_onerror_TypeMismatch" purpose="Check argument onError conversions exception in readAsText method.">
+      </testcase>
+      <testcase purpose="Check argument onError conversions exception in readAsText method." component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_readAsText_onerror_TypeMismatch">
         <description>
           <test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/File_readAsText_onerror_TypeMismatch.html</test_script_entry>
         </description>
-        </testcase>
-      <testcase component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_readAsText_onerror_invalid_cb" purpose="Test whether the constructor of the interface is defined or not in readAsText method onError callback.">
+      </testcase>
+      <testcase purpose="Test whether the constructor of the interface is defined or not in readAsText method onError callback." component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_readAsText_onerror_invalid_cb">
         <description>
           <test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/File_readAsText_onerror_invalid_cb.html</test_script_entry>
         </description>
-        </testcase>
-      <testcase component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_readAsText_onsuccess_TypeMismatch" purpose="Check argument onSuccess conversions exception in readAsText method.">
+      </testcase>
+      <testcase purpose="Check argument onSuccess conversions exception in readAsText method." component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_readAsText_onsuccess_TypeMismatch">
         <description>
           <test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/File_readAsText_onsuccess_TypeMismatch.html</test_script_entry>
         </description>
-        </testcase>
-      <testcase component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_readAsText_onsuccess_invalid_cb" purpose="Test whether the constructor of the interface is defined or not in readAsText method onSuccess callback.">
+      </testcase>
+      <testcase purpose="Test whether the constructor of the interface is defined or not in readAsText method onSuccess callback." component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_readAsText_onsuccess_invalid_cb">
         <description>
           <test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/File_readAsText_onsuccess_invalid_cb.html</test_script_entry>
         </description>
-        </testcase>
-      <testcase component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_readAsText_with_encoding" purpose="Check if method readAsText wit encoding optional argument works properly.">
+      </testcase>
+      <testcase purpose="Check if method readAsText wit encoding optional argument works properly." component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_readAsText_with_encoding">
         <description>
           <test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/File_readAsText_with_encoding.html</test_script_entry>
         </description>
-        </testcase>
-      <testcase component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_readAsText_with_onerror" purpose="Check if method readAsText wit onError optional argument works properly.">
+      </testcase>
+      <testcase purpose="Check if method readAsText wit onError optional argument works properly." component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_readAsText_with_onerror">
         <description>
           <test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/File_readAsText_with_onerror.html</test_script_entry>
         </description>
-        </testcase>
-      <testcase component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_readOnly_attribute" purpose="Check if attribute readOnly of File exists, has type Boolean and is readonly">
+      </testcase>
+      <testcase purpose="Check if attribute readOnly of File exists, has type Boolean and is readonly" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_readOnly_attribute">
         <description>
           <test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/File_readOnly_attribute.html</test_script_entry>
         </description>
-        </testcase>
-      <testcase component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_resolve" purpose="Check if method resolve of File works properly.">
+      </testcase>
+      <testcase purpose="Check if method resolve of File works properly." component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_resolve">
         <description>
           <test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/File_resolve.html</test_script_entry>
         </description>
-        </testcase>
-      <testcase component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_resolve_exist" purpose="Check if method resolve exists in File">
+      </testcase>
+      <testcase purpose="Check if method resolve exists in File" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_resolve_exist">
         <description>
           <test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/File_resolve_exist.html</test_script_entry>
         </description>
-        </testcase>
-      <testcase component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_resolve_with_invalid_para" purpose="check if throw an exception when resolve a file with the incompatible input parameter.">
+      </testcase>
+      <testcase purpose="check if throw an exception when resolve a file with the incompatible input parameter." component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_resolve_with_invalid_para">
         <description>
           <test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/File_resolve_with_invalid_para.html</test_script_entry>
         </description>
-        </testcase>
-      <testcase component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_resolve_with_nonexist" purpose="check if throw an exception when resolve a file which not exist.">
+      </testcase>
+      <testcase purpose="check if throw an exception when resolve a file which not exist." component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_resolve_with_nonexist">
         <description>
           <test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/File_resolve_with_nonexist.html</test_script_entry>
         </description>
-        </testcase>
-      <testcase component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_toURI" purpose="Check if method toURI of File works properly.">
+      </testcase>
+      <testcase purpose="Check if method toURI of File works properly." component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_toURI">
         <description>
           <test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/File_toURI.html</test_script_entry>
         </description>
-        </testcase>
-      <testcase component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_toURI_exist" purpose="Check if method toURI exists in File">
+      </testcase>
+      <testcase purpose="Check if method toURI exists in File" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_toURI_exist">
         <description>
           <test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/File_toURI_exist.html</test_script_entry>
         </description>
-        </testcase>
-      <testcase component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_toURI_extra_argument" purpose="Check if method toURI of File accepts extra argument">
+      </testcase>
+      <testcase purpose="Check if method toURI of File accepts extra argument" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_toURI_extra_argument">
         <description>
           <test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/File_toURI_extra_argument.html</test_script_entry>
         </description>
-        </testcase>
-      <testcase component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_toURI_with_nonexist_file" purpose="check if throw an exception when get a URI of nonexist file.">
+      </testcase>
+      <testcase purpose="check if throw an exception when get a URI of nonexist file." component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_toURI_with_nonexist_file">
         <description>
           <test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/File_toURI_with_nonexist_file.html</test_script_entry>
         </description>
-        </testcase>
-      <testcase component="TizenAPI/IO/Filesystem" execution_type="auto" id="filesystem_FileStreamSuccessCallback_onsuccess" purpose="check if FileStreamSuccessCallback method: onsuccess is exist">
+      </testcase>
+      <testcase purpose="check if FileStreamSuccessCallback method: onsuccess is exist" component="TizenAPI/IO/Filesystem" execution_type="auto" id="filesystem_FileStreamSuccessCallback_onsuccess">
         <description>
           <test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/filesystem_FileStreamSuccessCallback_onsuccess.html</test_script_entry>
         </description>
-        </testcase>
-      <testcase component="TizenAPI/IO/Filesystem" execution_type="auto" id="filesystem_File_copyTo" purpose="check if copy a file successfully">
+      </testcase>
+      <testcase purpose="check if copy a file successfully" component="TizenAPI/IO/Filesystem" execution_type="auto" id="filesystem_File_copyTo">
         <description>
           <test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/filesystem_File_copyTo.html</test_script_entry>
         </description>
-        </testcase>
-      <testcase component="TizenAPI/IO/Filesystem" execution_type="auto" id="filesystem_File_readAsText" purpose="check if reads the content of a file as a DOMString.">
+      </testcase>
+      <testcase purpose="check if reads the content of a file as a DOMString." component="TizenAPI/IO/Filesystem" execution_type="auto" id="filesystem_File_readAsText">
         <description>
           <test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/filesystem_File_readAsText.html</test_script_entry>
         </description>
-        </testcase>
-      <testcase component="TizenAPI/IO/Filesystem" execution_type="auto" id="filesystem_File_resolve" purpose="check if resolve a file and return a file handle">
+      </testcase>
+      <testcase purpose="check if resolve a file and return a file handle" component="TizenAPI/IO/Filesystem" execution_type="auto" id="filesystem_File_resolve">
         <description>
           <test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/filesystem_File_resolve.html</test_script_entry>
         </description>
-        </testcase>
-      <testcase component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileSystemManager_resolve_ringtones_invalid_mode_a" purpose="check if InvalidValuesError will be reported when the ringtones directory is resolved with mode a">
+      </testcase>
+      <testcase purpose="check if InvalidValuesError will be reported when the ringtones directory is resolved with mode a" component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileSystemManager_resolve_ringtones_invalid_mode_a">
         <description>
           <test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/FileSystemManager_resolve_ringtones_invalid_mode_a.html</test_script_entry>
         </description>
-        </testcase>
-      <testcase component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileSystemManager_resolve_ringtones_invalid_mode_rw" purpose="check if InvalidValuesError will be reported when the rightones directory is resolved with mode rw">
+      </testcase>
+      <testcase purpose="check if InvalidValuesError will be reported when the rightones directory is resolved with mode rw" component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileSystemManager_resolve_ringtones_invalid_mode_rw">
         <description>
           <test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/FileSystemManager_resolve_ringtones_invalid_mode_rw.html</test_script_entry>
         </description>
-        </testcase>
-      <testcase component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileSystemManager_resolve_ringtones_invalid_mode_w" purpose="check if InvalidValuesError will be reported when the ringtones directory is resolved with mode w">
+      </testcase>
+      <testcase purpose="check if InvalidValuesError will be reported when the ringtones directory is resolved with mode w" component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileSystemManager_resolve_ringtones_invalid_mode_w">
         <description>
           <test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/FileSystemManager_resolve_ringtones_invalid_mode_w.html</test_script_entry>
         </description>
-        </testcase>
-      <testcase component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileSystemManager_resolve_wgt-package_invalid_mode_w" purpose="check if InvalidValuesError will be reported when the wgt-package directory is resolved with mode w">
+      </testcase>
+      <testcase purpose="check if InvalidValuesError will be reported when the wgt-package directory is resolved with mode w" component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileSystemManager_resolve_wgt-package_invalid_mode_w">
         <description>
           <test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/FileSystemManager_resolve_wgt-package_invalid_mode_w.html</test_script_entry>
         </description>
-        </testcase>
-      <testcase component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileSystemManager_resolve_wgt-package_invalid_mode_a" purpose="check if InvalidValuesError will be reported when the wgt-package directory is resolved with mode a">
+      </testcase>
+      <testcase purpose="check if InvalidValuesError will be reported when the wgt-package directory is resolved with mode a" component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileSystemManager_resolve_wgt-package_invalid_mode_a">
         <description>
           <test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/FileSystemManager_resolve_wgt-package_invalid_mode_a.html</test_script_entry>
         </description>
-        </testcase>
-      <testcase component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileSystemManager_resolve_wgt-package_invalid_mode_rw" purpose="check if InvalidValuesError will be reported when the wgt-package directory is resolved with mode rw">
+      </testcase>
+      <testcase purpose="check if InvalidValuesError will be reported when the wgt-package directory is resolved with mode rw" component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileSystemManager_resolve_wgt-package_invalid_mode_rw">
         <description>
           <test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/FileSystemManager_resolve_wgt-package_invalid_mode_rw.html</test_script_entry>
         </description>
-        </testcase>
-      <testcase component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileSystemManager_resolve_error_invoked" purpose="check with error callback invoked">
+      </testcase>
+      <testcase purpose="check with error callback invoked" component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileSystemManager_resolve_error_invoked">
         <description>
           <test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/FileSystemManager_resolve_error_invoked.html</test_script_entry>
         </description>
-        </testcase>
+      </testcase>
+      <testcase purpose="check if error callback was invoked when copy a directory to another location of the directory with the same name (overwrite is false)." component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_copyTo_dir_overwrite_false">
+        <description>
+          <test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/File_copyTo_dir_overwrite_false.html</test_script_entry>
+        </description>
+      </testcase>
+      <testcase purpose="check if copy a directory to another location of the directory with the same name (overwrite is true) was successfull." component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_copyTo_dir_overwrite_true">
+        <description>
+          <test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/File_copyTo_dir_overwrite_true.html</test_script_entry>
+        </description>
+      </testcase>
+      <testcase purpose="check if error callback was invoked when copy a file to another location of the file with the same name (overwrite is false)." component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_copyTo_file_overwrite_false">
+        <description>
+          <test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/File_copyTo_file_overwrite_false.html</test_script_entry>
+        </description>
+      </testcase>
+      <testcase purpose="check if copy a file to another location of the file with the same name (overwrite is true) was successfull." component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_copyTo_file_overwrite_true">
+        <description>
+          <test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/File_copyTo_file_overwrite_true.html</test_script_entry>
+        </description>
+      </testcase>
+      <testcase purpose="check if throw an exception when copy a file to an invalid destination." component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_copyTo_with_destination_invalid">
+        <description>
+          <test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/File_copyTo_with_destination_invalid.html</test_script_entry>
+        </description>
+      </testcase>
+      <testcase purpose="check if create a new empty file and write content of the file and then copy the file to the same location with different file name" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_copyTo_writeFile_newDir">
+        <description>
+          <test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/File_copyTo_writeFile_newDir.html</test_script_entry>
+        </description>
+      </testcase>
+      <testcase purpose="check if create a new empty file and write content of the file and then move the file to the same location with different file name" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_moveTo_writeFile_newDir">
+        <description>
+          <test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/File_moveTo_writeFile_newDir.html</test_script_entry>
+        </description>
+      </testcase>
+      <testcase purpose="check if create a new empty file and write content of the file and then move the file to the same location with same file name (overwrite false)" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_moveTo_writeFile_overwrite_false">
+        <description>
+          <test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/File_moveTo_writeFile_overwrite_false.html</test_script_entry>
+        </description>
+      </testcase>
+      <testcase purpose="check if create a new empty file and write content of the file and then copy the file to the same location with same file name (overwrite false)" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_copyTo_writeFile_overwrite_false">
+        <description>
+          <test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/File_copyTo_writeFile_overwrite_false.html</test_script_entry>
+        </description>
+      </testcase>
+      <testcase purpose="check if copy a directory to the same location with the same name (overwrite is true) was successyful." component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_copyTo_dir_samedir_samename_overwrite_true">
+        <description>
+          <test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/File_copyTo_dir_samedir_samename_overwrite_true.html</test_script_entry>
+        </description>
+      </testcase>
     </set>
   </suite>
-</test_definition>
\ No newline at end of file
+</test_definition>