[common][file-cordova][DPTTIZEN-3123, fix 109 tcs' issue] 70/205670/1
authorzhongyuan <zy123.yuan@samsung.com>
Sun, 5 May 2019 07:26:19 +0000 (15:26 +0800)
committerzhongyuan <zy123.yuan@samsung.com>
Wed, 8 May 2019 09:10:29 +0000 (17:10 +0800)
-modify 107 tcs, delete 2 tcs, 100% pass rate

Change-Id: I9797db970655c47265f1266c94fede12d5c36326

111 files changed:
common/tct-file-cordova-tests/file/cordova_DirectoryEntry_createReader.html
common/tct-file-cordova-tests/file/cordova_DirectoryEntry_createReader_exist.html
common/tct-file-cordova-tests/file/cordova_DirectoryEntry_getDirectory.html
common/tct-file-cordova-tests/file/cordova_DirectoryEntry_getDirectory_exist.html
common/tct-file-cordova-tests/file/cordova_DirectoryEntry_getDirectory_with_errorCallback.html
common/tct-file-cordova-tests/file/cordova_DirectoryEntry_getDirectory_with_options.html
common/tct-file-cordova-tests/file/cordova_DirectoryEntry_getDirectory_with_successCallback.html
common/tct-file-cordova-tests/file/cordova_DirectoryEntry_getFile.html
common/tct-file-cordova-tests/file/cordova_DirectoryEntry_getFile_exist.html
common/tct-file-cordova-tests/file/cordova_DirectoryEntry_getFile_with_errorCallback.html
common/tct-file-cordova-tests/file/cordova_DirectoryEntry_getFile_with_options.html
common/tct-file-cordova-tests/file/cordova_DirectoryEntry_getFile_with_successCallback.html
common/tct-file-cordova-tests/file/cordova_DirectoryEntry_removeRecursively.html
common/tct-file-cordova-tests/file/cordova_DirectoryEntry_removeRecursively_exist.html
common/tct-file-cordova-tests/file/cordova_DirectoryEntry_removeRecursively_with_errorCallback.html
common/tct-file-cordova-tests/file/cordova_DirectoryReader_readEntries.html
common/tct-file-cordova-tests/file/cordova_DirectoryReader_readEntries_exist.html
common/tct-file-cordova-tests/file/cordova_DirectoryReader_readEntries_with_errorCallback.html
common/tct-file-cordova-tests/file/cordova_EntriesCallback_handleEvent.html
common/tct-file-cordova-tests/file/cordova_Entry_copyTo.html
common/tct-file-cordova-tests/file/cordova_Entry_copyTo_exist.html
common/tct-file-cordova-tests/file/cordova_Entry_copyTo_with_errorCallback.html
common/tct-file-cordova-tests/file/cordova_Entry_copyTo_with_newName.html
common/tct-file-cordova-tests/file/cordova_Entry_copyTo_with_successCallback.html
common/tct-file-cordova-tests/file/cordova_Entry_filesystem_attribute_exist.html
common/tct-file-cordova-tests/file/cordova_Entry_filesystem_attribute_readonly.html
common/tct-file-cordova-tests/file/cordova_Entry_filesystem_attribute_type.html
common/tct-file-cordova-tests/file/cordova_Entry_fullPath_attribute_exist.html
common/tct-file-cordova-tests/file/cordova_Entry_fullPath_attribute_readonly.html
common/tct-file-cordova-tests/file/cordova_Entry_fullPath_attribute_type.html
common/tct-file-cordova-tests/file/cordova_Entry_getMetadata.html
common/tct-file-cordova-tests/file/cordova_Entry_getMetadata_exist.html
common/tct-file-cordova-tests/file/cordova_Entry_getMetadata_with_errorCallback.html
common/tct-file-cordova-tests/file/cordova_Entry_getParent.html
common/tct-file-cordova-tests/file/cordova_Entry_getParent_exist.html
common/tct-file-cordova-tests/file/cordova_Entry_getParent_with_errorCallback.html
common/tct-file-cordova-tests/file/cordova_Entry_isDirectory_attribute_exist.html
common/tct-file-cordova-tests/file/cordova_Entry_isDirectory_attribute_readonly.html
common/tct-file-cordova-tests/file/cordova_Entry_isDirectory_attribute_type.html
common/tct-file-cordova-tests/file/cordova_Entry_isFile_attribute_exist.html
common/tct-file-cordova-tests/file/cordova_Entry_isFile_attribute_readonly.html
common/tct-file-cordova-tests/file/cordova_Entry_isFile_attribute_type.html
common/tct-file-cordova-tests/file/cordova_Entry_moveTo.html
common/tct-file-cordova-tests/file/cordova_Entry_moveTo_exist.html
common/tct-file-cordova-tests/file/cordova_Entry_moveTo_with_errorCallback.html
common/tct-file-cordova-tests/file/cordova_Entry_moveTo_with_newName.html
common/tct-file-cordova-tests/file/cordova_Entry_moveTo_with_successCallback.html
common/tct-file-cordova-tests/file/cordova_Entry_name_attribute_exist.html
common/tct-file-cordova-tests/file/cordova_Entry_name_attribute_readonly.html
common/tct-file-cordova-tests/file/cordova_Entry_name_attribute_type.html
common/tct-file-cordova-tests/file/cordova_Entry_remove.html
common/tct-file-cordova-tests/file/cordova_Entry_remove_exist.html
common/tct-file-cordova-tests/file/cordova_Entry_remove_with_errorCallback.html
common/tct-file-cordova-tests/file/cordova_Entry_toURL.html
common/tct-file-cordova-tests/file/cordova_Entry_toURL_exist.html
common/tct-file-cordova-tests/file/cordova_ErrorCallback_handleEvent.html
common/tct-file-cordova-tests/file/cordova_FileCallback_handleEvent.html
common/tct-file-cordova-tests/file/cordova_FileEntry_createWriter.html
common/tct-file-cordova-tests/file/cordova_FileEntry_createWriter_exist.html
common/tct-file-cordova-tests/file/cordova_FileEntry_createWriter_misarg.html [deleted file]
common/tct-file-cordova-tests/file/cordova_FileEntry_createWriter_with_errorCallback.html
common/tct-file-cordova-tests/file/cordova_FileEntry_file.html
common/tct-file-cordova-tests/file/cordova_FileEntry_file_exist.html
common/tct-file-cordova-tests/file/cordova_FileEntry_file_misarg.html [deleted file]
common/tct-file-cordova-tests/file/cordova_FileEntry_file_with_errorCallback.html
common/tct-file-cordova-tests/file/cordova_FileSystemCallback_handleEvent.html
common/tct-file-cordova-tests/file/cordova_FileSystemCallback_notexist.html
common/tct-file-cordova-tests/file/cordova_FileSystem_name_attribute_exist.html
common/tct-file-cordova-tests/file/cordova_FileSystem_name_attribute_readonly.html
common/tct-file-cordova-tests/file/cordova_FileSystem_name_attribute_type.html
common/tct-file-cordova-tests/file/cordova_FileSystem_root_attribute_exist.html
common/tct-file-cordova-tests/file/cordova_FileSystem_root_attribute_readonly.html
common/tct-file-cordova-tests/file/cordova_FileSystem_root_attribute_type.html
common/tct-file-cordova-tests/file/cordova_FileWriterCallback_handleEvent.html
common/tct-file-cordova-tests/file/cordova_FileWriter_length_attribute.html
common/tct-file-cordova-tests/file/cordova_FileWriter_position_attribute.html
common/tct-file-cordova-tests/file/cordova_FileWriter_seek.html
common/tct-file-cordova-tests/file/cordova_FileWriter_seek_INVALID_STATE_ERR.html
common/tct-file-cordova-tests/file/cordova_FileWriter_seek_exist.html
common/tct-file-cordova-tests/file/cordova_FileWriter_seek_misarg.html
common/tct-file-cordova-tests/file/cordova_FileWriter_seek_offset_empty_string.html
common/tct-file-cordova-tests/file/cordova_FileWriter_seek_offset_greater_length.html
common/tct-file-cordova-tests/file/cordova_FileWriter_seek_offset_nagative.html
common/tct-file-cordova-tests/file/cordova_FileWriter_truncate.html
common/tct-file-cordova-tests/file/cordova_FileWriter_truncate_INVALID_STATE_ERR.html
common/tct-file-cordova-tests/file/cordova_FileWriter_truncate_misarg.html
common/tct-file-cordova-tests/file/cordova_FileWriter_truncate_size_empty_string.html
common/tct-file-cordova-tests/file/cordova_FileWriter_write.html
common/tct-file-cordova-tests/file/cordova_FileWriter_write_INVALID_STATE_ERR.html
common/tct-file-cordova-tests/file/cordova_FileWriter_write_data_invalid.html
common/tct-file-cordova-tests/file/cordova_FileWriter_write_misarg.html
common/tct-file-cordova-tests/file/cordova_LocalFileSystem_PERSISTENT_const.html
common/tct-file-cordova-tests/file/cordova_LocalFileSystem_TEMPORARY_const.html
common/tct-file-cordova-tests/file/cordova_LocalFileSystem_requestFileSystem.html
common/tct-file-cordova-tests/file/cordova_LocalFileSystem_requestFileSystem_exist.html
common/tct-file-cordova-tests/file/cordova_LocalFileSystem_requestFileSystem_with_errorCallback.html
common/tct-file-cordova-tests/file/cordova_LocalFileSystem_resolveLocalFileSystemURL.html
common/tct-file-cordova-tests/file/cordova_LocalFileSystem_resolveLocalFileSystemURL_with_errorCallback.html
common/tct-file-cordova-tests/file/cordova_MetadataCallback_handleEvent.html
common/tct-file-cordova-tests/file/cordova_MetadataCallback_notexist.html
common/tct-file-cordova-tests/file/cordova_Metadata_modificationTime_attribute_exist.html
common/tct-file-cordova-tests/file/cordova_Metadata_modificationTime_attribute_readonly.html
common/tct-file-cordova-tests/file/cordova_Metadata_modificationTime_attribute_type.html
common/tct-file-cordova-tests/file/cordova_Metadata_size_attribute_exist.html
common/tct-file-cordova-tests/file/cordova_Metadata_size_attribute_readonly.html
common/tct-file-cordova-tests/file/cordova_Metadata_size_attribute_type.html
common/tct-file-cordova-tests/file/cordova_URL_createObjectURL_blob_invalid.html
common/tct-file-cordova-tests/file/cordova_URL_revokeObjectURL_url_invalid.html
common/tct-file-cordova-tests/file/cordova_VoidCallback_handleEvent.html
common/tct-file-cordova-tests/tests.full.xml
common/tct-file-cordova-tests/tests.xml

index 882cd75ad6985f568287d90bdb2096a980aef454..0cab1087f40cbd4f51039a697809c43b401bbe6e 100755 (executable)
@@ -35,21 +35,20 @@ Authors:
 //==== TEST_CRITERIA MR MNA
 
 var t = async_test(document.title, {timeout: 5000}), deviceInfo;
-window.requestFileSystem = window.requestFileSystem || window.webkitRequestFileSystem;
 
 t.step(function () {
     deviceInfo = t.step_func(function() {
         requestFileSystem(TEMPORARY, 100, function (entry) {
-            entry.root.getDirectory("MyDocument", {create:true}, function(dirEntry) {
+            entry.root.getDirectory("MyDocument", {create:true}, t.step_func(function(dirEntry) {
                 assert_true(dirEntry.isDirectory);
                 var directoryReader = dirEntry.createReader();
                 assert_not_equals(typeof directoryReader, "undefined");
                 t.done();
-            });
+            }));
         });
     });
     document.addEventListener("deviceready", deviceInfo, true);
 });
     </script>
   </body>
-</html>
\ No newline at end of file
+</html>
index d5cce59edda629d71a93aafd569b6dbb6c2e1bb9..8c15f19771e0b19b71b5125f8741adeb140b762f 100755 (executable)
@@ -35,7 +35,6 @@ Authors:
 //==== TEST_CRITERIA ME
 
 var t = async_test(document.title, {timeout: 5000}), deviceInfo;
-window.requestFileSystem = window.requestFileSystem || window.webkitRequestFileSystem;
 
 t.step(function () {
     deviceInfo = t.step_func(function() {
@@ -51,4 +50,4 @@ t.step(function () {
 });
     </script>
   </body>
-</html>
\ No newline at end of file
+</html>
index cfabed71a1f1f31f78c9a2bd3c68e66dfbdff0cf..68f4aa6e4e27ca05bf4f787fef5a246fd3dd47b0 100755 (executable)
@@ -35,7 +35,6 @@ Authors:
 //==== TEST_CRITERIA MR MMINA
 
 var t = async_test(document.title, {timeout: 5000}), deviceInfo;
-window.requestFileSystem = window.requestFileSystem || window.webkitRequestFileSystem;
 
 t.step(function () {
     deviceInfo = t.step_func(function() {
@@ -48,4 +47,4 @@ t.step(function () {
 });
     </script>
   </body>
-</html>
\ No newline at end of file
+</html>
index 5553994bcb59a0638ecd11f6db7ef5b5381fa317..e757b09dfc2db4ae1a232a6400f1d9f740b43ece 100755 (executable)
@@ -35,7 +35,6 @@ Authors:
 //==== TEST_CRITERIA ME
 
 var t = async_test(document.title, {timeout: 5000}), deviceInfo;
-window.requestFileSystem = window.requestFileSystem || window.webkitRequestFileSystem;
 
 t.step(function () {
     deviceInfo = t.step_func(function() {
@@ -51,4 +50,4 @@ t.step(function () {
 });
     </script>
   </body>
-</html>
\ No newline at end of file
+</html>
index 75b678025c1d67eaa06125965e12d1ddc2cacc40..2cbdab5010ed7eef83a575066b789d5e222da750 100755 (executable)
@@ -35,7 +35,6 @@ Authors:
 //==== TEST_CRITERIA MOA
 
 var t = async_test(document.title, {timeout: 5000}), deviceInfo, errorCallback;
-window.requestFileSystem = window.requestFileSystem || window.webkitRequestFileSystem;
 
 t.step(function () {
     deviceInfo = t.step_func(function() {
@@ -49,4 +48,4 @@ t.step(function () {
 });
     </script>
   </body>
-</html>
\ No newline at end of file
+</html>
index bdc907d2b4ce6aa300594df596288b24eb55d8cb..9a0833707d0603a8b3ccfd50f8d7cf634d9846c9 100755 (executable)
@@ -35,7 +35,6 @@ Authors:
 //==== TEST_CRITERIA MOA
 
 var t = async_test(document.title, {timeout: 5000}), deviceInfo;
-window.requestFileSystem = window.requestFileSystem || window.webkitRequestFileSystem;
 
 t.step(function () {
     deviceInfo = t.step_func(function() {
@@ -48,4 +47,4 @@ t.step(function () {
 });
     </script>
   </body>
-</html>
\ No newline at end of file
+</html>
index 72f33a0805ba678a29ff49ecd87cefcb82d68468..8a1f2d302f9173ff2768921a23109ab8812763cd 100755 (executable)
@@ -35,7 +35,6 @@ Authors:
 //==== TEST_CRITERIA MOA
 
 var t = async_test(document.title, {timeout: 5000}), deviceInfo;
-window.requestFileSystem = window.requestFileSystem || window.webkitRequestFileSystem;
 
 t.step(function () {
     deviceInfo = t.step_func(function() {
@@ -49,4 +48,4 @@ t.step(function () {
 });
     </script>
   </body>
-</html>
\ No newline at end of file
+</html>
index a38fda3ee133590f6a87b4eddd801f93c9da1e8b..7daaeb7b3a1876f49ac735e83908006eeda164b2 100755 (executable)
@@ -35,7 +35,6 @@ Authors:
 //==== TEST_CRITERIA MR MMINA
 
 var t = async_test(document.title, {timeout: 5000}), deviceInfo;
-window.requestFileSystem = window.requestFileSystem || window.webkitRequestFileSystem;
 
 t.step(function () {
     deviceInfo = t.step_func(function() {
index aacc9bdf937825334125680355f4cb7f45554c6d..3d8be05e18691ecc034b93bc34732f84d968d3b9 100755 (executable)
@@ -35,7 +35,6 @@ Authors:
 //==== TEST_CRITERIA ME
 
 var t = async_test(document.title, {timeout: 5000}), deviceInfo;
-window.requestFileSystem = window.requestFileSystem || window.webkitRequestFileSystem;
 
 t.step(function () {
     deviceInfo = t.step_func(function() {
@@ -51,4 +50,4 @@ t.step(function () {
 });
     </script>
   </body>
-</html>
\ No newline at end of file
+</html>
index e17afdcce13d358c3afd29f2df6683478b798695..563e29aab94369141c2ff0b430c24055087a06bb 100755 (executable)
@@ -35,7 +35,6 @@ Authors:
 //==== TEST_CRITERIA MOA
 
 var t = async_test(document.title, {timeout: 5000}), deviceInfo, errorCallback;
-window.requestFileSystem = window.requestFileSystem || window.webkitRequestFileSystem;
 
 t.step(function () {
     deviceInfo = t.step_func(function() {
@@ -49,4 +48,4 @@ t.step(function () {
 });
     </script>
   </body>
-</html>
\ No newline at end of file
+</html>
index 43cb0192bec2c316c6d9201197205ca4110cd7d7..841bfa5b7b451c24d5019fb0462d3fb0c9d12cef 100755 (executable)
@@ -35,7 +35,6 @@ Authors:
 //==== TEST_CRITERIA MOA
 
 var t = async_test(document.title, {timeout: 5000}), deviceInfo;
-window.requestFileSystem = window.requestFileSystem || window.webkitRequestFileSystem;
 
 t.step(function () {
     deviceInfo = t.step_func(function() {
@@ -49,4 +48,4 @@ t.step(function () {
 });
     </script>
   </body>
-</html>
\ No newline at end of file
+</html>
index 206057668b2166ab8e15a255476f0de8e394df64..f762c6044f29f72266f0bcce69dc34a2eb2ffd79 100755 (executable)
@@ -35,7 +35,6 @@ Authors:
 //==== TEST_CRITERIA MOA
 
 var t = async_test(document.title, {timeout: 5000}), deviceInfo;
-window.requestFileSystem = window.requestFileSystem || window.webkitRequestFileSystem;
 
 t.step(function () {
     deviceInfo = t.step_func(function() {
@@ -49,4 +48,4 @@ t.step(function () {
 });
     </script>
   </body>
-</html>
\ No newline at end of file
+</html>
index 78e1f1672a5258f6ae3d4ff7ec914f970b089aca..7227872fb048635ab0e33f5cb2ee220eb1c588a5 100755 (executable)
@@ -35,7 +35,6 @@ Authors:
 //==== TEST_CRITERIA MR MMINA
 
 var t = async_test(document.title, {timeout: 5000}), deviceInfo;
-window.requestFileSystem = window.requestFileSystem || window.webkitRequestFileSystem;
 
 t.step(function () {
     deviceInfo = t.step_func(function() {
@@ -52,4 +51,4 @@ t.step(function () {
 });
     </script>
   </body>
-</html>
\ No newline at end of file
+</html>
index 6263af09ff2f7ab9ef1da10ba64dcdd2b8070d9f..0fdcb9c25fa04339ad13e35bfcfc485573ffd557 100755 (executable)
@@ -35,7 +35,6 @@ Authors:
 //==== TEST_CRITERIA ME
 
 var t = async_test(document.title, {timeout: 5000}), deviceInfo;
-window.requestFileSystem = window.requestFileSystem || window.webkitRequestFileSystem;
 
 t.step(function () {
     deviceInfo = t.step_func(function() {
@@ -51,4 +50,4 @@ t.step(function () {
 });
     </script>
   </body>
-</html>
\ No newline at end of file
+</html>
index 844582378e9a46c9365586973adbc0e17c137196..091f3c3a3066e6ed6155a7d54421d3e7583e67b3 100755 (executable)
@@ -35,7 +35,6 @@ Authors:
 //==== TEST_CRITERIA MOA
 
 var t = async_test(document.title, {timeout: 5000}), deviceInfo, errorCallback;
-window.requestFileSystem = window.requestFileSystem || window.webkitRequestFileSystem;
 
 t.step(function () {
     deviceInfo = t.step_func(function() {
@@ -52,4 +51,4 @@ t.step(function () {
 });
     </script>
   </body>
-</html>
\ No newline at end of file
+</html>
index 5ec24bf972fb721cdc709a2a43ea8ff087fe4407..1c278c24a64b7fff400a488a7ddf064f14807cbb 100755 (executable)
@@ -35,7 +35,6 @@ Authors:
 //==== TEST_CRITERIA MR MMINA
 
 var t = async_test(document.title, {timeout: 5000}), deviceInfo;
-window.requestFileSystem = window.requestFileSystem || window.webkitRequestFileSystem;
 
 t.step(function () {
     deviceInfo = t.step_func(function() {
@@ -50,4 +49,4 @@ t.step(function () {
 });
     </script>
   </body>
-</html>
\ No newline at end of file
+</html>
index aaf257cbdf1513c851488d459b851163961f10d7..9d66f3cb8a5c988b7362cdde7eaae2edc473339a 100755 (executable)
@@ -35,7 +35,6 @@ Authors:
 //==== TEST_CRITERIA ME
 
 var t = async_test(document.title, {timeout: 5000}), deviceInfo;
-window.requestFileSystem = window.requestFileSystem || window.webkitRequestFileSystem;
 
 t.step(function () {
     deviceInfo = t.step_func(function() {
@@ -52,4 +51,4 @@ t.step(function () {
 });
     </script>
   </body>
-</html>
\ No newline at end of file
+</html>
index b934feefbdac409b74a64499e043edc094e69f79..c3b6109c570c9b6aedc683409f2247fadcaffbed 100755 (executable)
@@ -35,7 +35,6 @@ Authors:
 //==== TEST_CRITERIA MOA
 
 var t = async_test(document.title, {timeout: 5000}), deviceInfo, errorCallback;
-window.requestFileSystem = window.requestFileSystem || window.webkitRequestFileSystem;
 
 t.step(function () {
     deviceInfo = t.step_func(function() {
@@ -50,4 +49,4 @@ t.step(function () {
 });
     </script>
   </body>
-</html>
\ No newline at end of file
+</html>
index 3e24dc20f0a0027d477eabec4d4c76d34ef03969..9dd3e451834e997d68a5888275cb08d07b9b127d 100755 (executable)
@@ -45,14 +45,14 @@ t.step(function () {
     });
     deviceReady = t.step_func(function () {
         window.requestFileSystem = window.webkitRequestFileSystem;
-        window.requestFileSystem(TEMPORARY, 100, function(fs) {
+        window.requestFileSystem(TEMPORARY, 100, t.step_func(function(fs) {
             dirReader = fs.root.createReader();
             dirReader.readEntries(entriesCallback);
-        });
+        }));
     });
     document.addEventListener("deviceready", deviceReady, true);
 });
 
 </script>
 </body>
-</html>
\ No newline at end of file
+</html>
index 95f39bb0498d7fdd63266f60085630de7058528a..973262af48433fde7d95db9d701c7f61262b17dc 100755 (executable)
@@ -36,7 +36,6 @@ Authors:
 
 var t = async_test(document.title, {timeout: 5000}), deviceInfo;
 var expected="/testDirectory/test1.txt";
-window.requestFileSystem = window.requestFileSystem || window.webkitRequestFileSystem;
 
 t.step(function () {
     deviceInfo = t.step_func(function() {
@@ -55,4 +54,4 @@ t.step(function () {
 });
     </script>
   </body>
-</html>
\ No newline at end of file
+</html>
index f4ec0c4da27b3910d09a566cec0b13ee032d3672..991153db626e6bdc7b5b94090d82aa68bc9d99df 100755 (executable)
@@ -35,7 +35,6 @@ Authors:
 //==== TEST_CRITERIA ME
 
 var t = async_test(document.title, {timeout: 5000}), deviceInfo;
-window.requestFileSystem = window.requestFileSystem || window.webkitRequestFileSystem;
 
 t.step(function () {
     deviceInfo = t.step_func(function() {
@@ -51,4 +50,4 @@ t.step(function () {
 });
     </script>
   </body>
-</html>
\ No newline at end of file
+</html>
index 8310095134d4bd62206c15685534b6f231c00778..57738012495c663c848770c73e2790117b7b20c0 100755 (executable)
@@ -36,7 +36,6 @@ Authors:
 
 var t = async_test(document.title, {timeout: 5000}), deviceInfo, errorCallback;
 var expected="/testDirectory/error.txt";
-window.requestFileSystem = window.requestFileSystem || window.webkitRequestFileSystem;
 
 t.step(function () {
     deviceInfo = t.step_func(function() {
@@ -60,4 +59,4 @@ t.step(function () {
 });
     </script>
   </body>
-</html>
\ No newline at end of file
+</html>
index 08c5aabad1be6487fbe981ccc45bd30522a86872..21a37772056641ffce298414cea69b26749a65aa 100755 (executable)
@@ -35,7 +35,6 @@ Authors:
 //==== TEST_CRITERIA MOA
 
 var t = async_test(document.title, {timeout: 5000}), deviceInfo;
-window.requestFileSystem = window.requestFileSystem || window.webkitRequestFileSystem;
 
 t.step(function () {
     deviceInfo = t.step_func(function() {
@@ -52,4 +51,4 @@ t.step(function () {
 });
     </script>
   </body>
-</html>
\ No newline at end of file
+</html>
index 401f13a8eb4d89b241169ce26644175313a963f2..fca2f85b14d4307b2c7dd6e69a4a02a01de5a01f 100755 (executable)
@@ -36,7 +36,6 @@ Authors:
 
 var t = async_test(document.title, {timeout: 5000}), deviceInfo;
 var expected="/testDirectory/success.txt";
-window.requestFileSystem = window.requestFileSystem || window.webkitRequestFileSystem;
 
 t.step(function () {
     deviceInfo = t.step_func(function() {
@@ -60,4 +59,4 @@ t.step(function () {
 });
     </script>
   </body>
-</html>
\ No newline at end of file
+</html>
index dfe1ab9b619e2a6cbfaa6b489edd23ecccfb98db..127a5f4f4e88f523813d9942d8e1855fb2bac3e7 100755 (executable)
@@ -36,7 +36,6 @@ Authors:
 //==== TEST_CRITERIA AE
 
 var t = async_test(document.title, {timeout: 5000}), deviceInfo;
-window.requestFileSystem = window.requestFileSystem || window.webkitRequestFileSystem;
 
 t.step(function () {
     deviceInfo = t.step_func(function() {
@@ -51,4 +50,4 @@ t.step(function () {
 });
     </script>
   </body>
-</html>
\ No newline at end of file
+</html>
index b976ca3ccb6dcb5fd76e0a64eac219f8d07343a0..7d79fe4a044dd379a33ff62ceebc48ceaac4715f 100755 (executable)
@@ -36,7 +36,6 @@ Authors:
 //==== TEST_CRITERIA ARO
 
 var t = async_test(document.title, {timeout: 5000}), deviceInfo, successCallback, errorCallback;
-window.requestFileSystem = window.requestFileSystem || window.webkitRequestFileSystem;
 
 t.step(function () {
     deviceInfo = t.step_func(function() {
@@ -57,4 +56,4 @@ t.step(function () {
 });
     </script>
   </body>
-</html>
\ No newline at end of file
+</html>
index 80929620ceb169ce32f8e9f757fb243c45054509..223536258a77b3a6685c879c2d54d7e34c99c1db 100755 (executable)
@@ -36,7 +36,6 @@ Authors:
 //==== TEST_CRITERIA AT
 
 var t = async_test(document.title, {timeout: 5000}), deviceInfo;
-window.requestFileSystem = window.requestFileSystem || window.webkitRequestFileSystem;
 
 t.step(function () {
     deviceInfo = t.step_func(function() {
@@ -51,4 +50,4 @@ t.step(function () {
 });
     </script>
   </body>
-</html>
\ No newline at end of file
+</html>
index d7c333bee87c1f465877def8d767af0d292c5d41..8f1bfb1068fc1333cc95f42545bf4acfb42c3b86 100755 (executable)
@@ -36,7 +36,6 @@ Authors:
 //==== TEST_CRITERIA AE
 
 var t = async_test(document.title, {timeout: 5000}), deviceInfo;
-window.requestFileSystem = window.requestFileSystem || window.webkitRequestFileSystem;
 
 t.step(function () {
     deviceInfo = t.step_func(function() {
@@ -51,4 +50,4 @@ t.step(function () {
 });
     </script>
   </body>
-</html>
\ No newline at end of file
+</html>
index d07c284a9673ded78f2d669718758ff716def6c5..adc90f5a7a4312474b3f334da8d23ea35dc6a84f 100755 (executable)
@@ -36,7 +36,6 @@ Authors:
 //==== TEST_CRITERIA ARO
 
 var t = async_test(document.title, {timeout: 5000}), deviceInfo, successCallback, errorCallback;
-window.requestFileSystem = window.requestFileSystem || window.webkitRequestFileSystem;
 
 t.step(function () {
     deviceInfo = t.step_func(function() {
@@ -56,4 +55,4 @@ t.step(function () {
 });
     </script>
   </body>
-</html>
\ No newline at end of file
+</html>
index 5c6a4f91ed23f4a7703853ec137f581f108dd60f..5a5e945143373473acb24d25996bc4880dd0c169 100755 (executable)
@@ -36,7 +36,6 @@ Authors:
 //==== TEST_CRITERIA AT
 
 var t = async_test(document.title, {timeout: 5000}), deviceInfo, successCallback, errorCallback;
-window.requestFileSystem = window.requestFileSystem || window.webkitRequestFileSystem;
 
 t.step(function () {
     deviceInfo = t.step_func(function() {
@@ -56,4 +55,4 @@ t.step(function () {
 });
     </script>
   </body>
-</html>
\ No newline at end of file
+</html>
index e9cf9796045882c6203d13bf66ce7f676628d698..acb80a3489f7f6534ce4b8188e3d2f2f6527d5d1 100755 (executable)
@@ -35,7 +35,6 @@ Authors:
 //==== TEST_CRITERIA MR MMINA
 
 var t = async_test(document.title, {timeout: 5000}), deviceInfo;
-window.requestFileSystem = window.requestFileSystem || window.webkitRequestFileSystem;
 
 t.step(function () {
     deviceInfo = t.step_func(function() {
@@ -49,4 +48,4 @@ t.step(function () {
 });
     </script>
   </body>
-</html>
\ No newline at end of file
+</html>
index 8243b3a3804f15393c29939451b8924d7935fe75..b36eeba7278696ede13f888cbb0107b59e83fdfb 100755 (executable)
@@ -35,7 +35,6 @@ Authors:
 //==== TEST_CRITERIA ME
 
 var t = async_test(document.title, {timeout: 5000}), deviceInfo;
-window.requestFileSystem = window.requestFileSystem || window.webkitRequestFileSystem;
 
 t.step(function () {
     deviceInfo = t.step_func(function() {
@@ -51,4 +50,4 @@ t.step(function () {
 });
     </script>
   </body>
-</html>
\ No newline at end of file
+</html>
index 41582a9e1cbb42590e54d441a2c85403441ec006..912552453256afc22c6669c7c167628babba29ee 100755 (executable)
@@ -35,7 +35,6 @@ Authors:
 //==== TEST_CRITERIA MOA
 
 var t = async_test(document.title, {timeout: 5000}), deviceInfo, errorCallback;
-window.requestFileSystem = window.requestFileSystem || window.webkitRequestFileSystem;
 
 t.step(function () {
     deviceInfo = t.step_func(function() {
@@ -49,4 +48,4 @@ t.step(function () {
 });
     </script>
   </body>
-</html>
\ No newline at end of file
+</html>
index ee3a7b4c80c64f7acd46590d092cb51251c6321c..f25418bc94f411b184e0e7686663257ec8f245b8 100755 (executable)
@@ -35,7 +35,6 @@ Authors:
 //==== TEST_CRITERIA MR MMINA
 
 var t = async_test(document.title, {timeout: 5000}), deviceInfo;
-window.requestFileSystem = window.requestFileSystem || window.webkitRequestFileSystem;
 
 t.step(function () {
     deviceInfo = t.step_func(function() {
@@ -49,4 +48,4 @@ t.step(function () {
 });
     </script>
   </body>
-</html>
\ No newline at end of file
+</html>
index e5c784b960494b2673a244b7e4d59c33e84a216d..877f1ff20accd4130885cb75cca9cff64da6bdeb 100755 (executable)
@@ -35,7 +35,6 @@ Authors:
 //==== TEST_CRITERIA ME
 
 var t = async_test(document.title, {timeout: 5000}), deviceInfo;
-window.requestFileSystem = window.requestFileSystem || window.webkitRequestFileSystem;
 
 t.step(function () {
     deviceInfo = t.step_func(function() {
@@ -51,4 +50,4 @@ t.step(function () {
 });
     </script>
   </body>
-</html>
\ No newline at end of file
+</html>
index 15c7acf1e92c39ffb7a0c17800cc8017498638de..65fe1da5e17082e34c4313403345220e5b24c67b 100755 (executable)
@@ -35,7 +35,6 @@ Authors:
 //==== TEST_CRITERIA MOA
 
 var t = async_test(document.title, {timeout: 5000}), deviceInfo, errorCallback;
-window.requestFileSystem = window.requestFileSystem || window.webkitRequestFileSystem;
 
 t.step(function () {
     deviceInfo = t.step_func(function() {
@@ -49,4 +48,4 @@ t.step(function () {
 });
     </script>
   </body>
-</html>
\ No newline at end of file
+</html>
index 5fc60dd88797b7ee7dc0f2dae8ce94ea39468cc7..49b84b9413e0fee30e62ddf02bfe929f13ac8fce 100755 (executable)
@@ -36,7 +36,6 @@ Authors:
 //==== TEST_CRITERIA AE
 
 var t = async_test(document.title, {timeout: 5000}), deviceInfo;
-window.requestFileSystem = window.requestFileSystem || window.webkitRequestFileSystem;
 
 t.step(function () {
     deviceInfo = t.step_func(function() {
@@ -51,4 +50,4 @@ t.step(function () {
 });
     </script>
   </body>
-</html>
\ No newline at end of file
+</html>
index 6e46f983155d15676e542b1f45ad3abcdf43b9b2..079cb37a4bdf395137e25ddd680c58a7f65ff904 100755 (executable)
@@ -36,7 +36,6 @@ Authors:
 //==== TEST_CRITERIA ARO
 
 var t = async_test(document.title, {timeout: 5000}), deviceInfo, successCallback, errorCallback;
-window.requestFileSystem = window.requestFileSystem || window.webkitRequestFileSystem;
 
 t.step(function () {
     deviceInfo = t.step_func(function() {
@@ -56,4 +55,4 @@ t.step(function () {
 });
     </script>
   </body>
-</html>
\ No newline at end of file
+</html>
index 71e8ba22976aea4cc68be99317b68b48db08c588..f741945aec161757bacf5e4188695da179cb2a21 100755 (executable)
@@ -36,7 +36,6 @@ Authors:
 //==== TEST_CRITERIA AT
 
 var t = async_test(document.title, {timeout: 5000}), deviceInfo, successCallback, errorCallback;
-window.requestFileSystem = window.requestFileSystem || window.webkitRequestFileSystem;
 
 t.step(function () {
     deviceInfo = t.step_func(function() {
@@ -56,4 +55,4 @@ t.step(function () {
 });
     </script>
   </body>
-</html>
\ No newline at end of file
+</html>
index 40e0a073defed99b82699196353feb6675ee12d5..b2513acef7195ad85bc144ea995c81fffd8ef336 100755 (executable)
@@ -36,7 +36,6 @@ Authors:
 //==== TEST_CRITERIA AE
 
 var t = async_test(document.title, {timeout: 5000}), deviceInfo;
-window.requestFileSystem = window.requestFileSystem || window.webkitRequestFileSystem;
 
 t.step(function () {
     deviceInfo = t.step_func(function() {
@@ -51,4 +50,4 @@ t.step(function () {
 });
     </script>
   </body>
-</html>
\ No newline at end of file
+</html>
index 1e2a4a5ff3aacf2eed5b690a1c9304466d3e2712..7ecdeec9808c2ccefb3878819b9853f2b1c3fb66 100755 (executable)
@@ -36,7 +36,6 @@ Authors:
 //==== TEST_CRITERIA ARO
 
 var t = async_test(document.title, {timeout: 5000}), deviceInfo, successCallback, errorCallback;
-window.requestFileSystem = window.requestFileSystem || window.webkitRequestFileSystem;
 
 t.step(function () {
     deviceInfo = t.step_func(function() {
@@ -56,4 +55,4 @@ t.step(function () {
 });
     </script>
   </body>
-</html>
\ No newline at end of file
+</html>
index b714cf4a22181429f5a78b1ce5882ea2953f4766..61bdcc006b0c5679bee1430c05d8905257090cb9 100755 (executable)
@@ -36,7 +36,6 @@ Authors:
 //==== TEST_CRITERIA AT
 
 var t = async_test(document.title, {timeout: 5000}), deviceInfo, successCallback, errorCallback;
-window.requestFileSystem = window.requestFileSystem || window.webkitRequestFileSystem;
 
 t.step(function () {
     deviceInfo = t.step_func(function() {
@@ -56,4 +55,4 @@ t.step(function () {
 });
     </script>
   </body>
-</html>
\ No newline at end of file
+</html>
index 6a5d73625a09a19ee228220d82eea829bc142a20..3efc5d3f1ba8627e7bb75b5417bfcef9bdcb1a0e 100755 (executable)
@@ -35,7 +35,6 @@ Authors:
 //==== TEST_CRITERIA MR MMINA
 
 var t = async_test(document.title, {timeout: 5000}), deviceInfo;
-window.requestFileSystem = window.requestFileSystem || window.webkitRequestFileSystem;
 
 t.step(function () {
     deviceInfo = t.step_func(function() {
@@ -52,4 +51,4 @@ t.step(function () {
 });
     </script>
   </body>
-</html>
\ No newline at end of file
+</html>
index a77a12dce5ce14a3aa70411047d967f257d8cb57..c8fbe5664ae60ae9abc336e6c66bfbe0537ee5f3 100755 (executable)
@@ -35,7 +35,6 @@ Authors:
 //==== TEST_CRITERIA ME
 
 var t = async_test(document.title, {timeout: 5000}), deviceInfo;
-window.requestFileSystem = window.requestFileSystem || window.webkitRequestFileSystem;
 
 t.step(function () {
     deviceInfo = t.step_func(function() {
@@ -51,4 +50,4 @@ t.step(function () {
 });
     </script>
   </body>
-</html>
\ No newline at end of file
+</html>
index 80943eda166f52aff081e796c34cf40dec24c2cc..8c325c4f59b5cba092c529fb1a030571f13ecc26 100755 (executable)
@@ -35,16 +35,15 @@ Authors:
 //==== TEST_CRITERIA MOA
 
 var t = async_test(document.title, {timeout: 8000}), deviceInfo, errorCallback;
-window.requestFileSystem = window.requestFileSystem || window.webkitRequestFileSystem;
 
 t.step(function () {
     deviceInfo = t.step_func(function() {
         requestFileSystem(TEMPORARY, 100, function(fs) {
             fs.root.getFile("err1.txt", {create:true}, function(entry) {
-                entry.moveTo(fs.root, "err2.txt", function (entry) {
+                entry.moveTo(fs.root, "err2.txt", t.step_func(function (entry) {
                     assert_equals(entry.name, "err2.txt");
                     t.done();
-                }, errorCallback);
+                }), errorCallback);
             });
         });
     });
@@ -52,4 +51,4 @@ t.step(function () {
 });
     </script>
   </body>
-</html>
\ No newline at end of file
+</html>
index 8a53c57b6f81606043eaca29c416407093932f91..37bc7596b3c9d00316e4dfd8ac50c78ee9d7cc93 100755 (executable)
@@ -35,16 +35,15 @@ Authors:
 //==== TEST_CRITERIA MOA
 
 var t = async_test(document.title, {timeout: 5000}), deviceInfo;
-window.requestFileSystem = window.requestFileSystem || window.webkitRequestFileSystem;
 
 t.step(function () {
     deviceInfo = t.step_func(function() {
        requestFileSystem(TEMPORARY, 100, function(fs) {
             fs.root.getFile("aa.txt", {create:true}, function(entry) {
-                entry.moveTo(fs.root, "bb.txt", function (entry) {
+                entry.moveTo(fs.root, "bb.txt", t.step_func(function (entry) {
                     assert_equals(entry.name, "bb.txt");
                     t.done();
-                });
+                }));
             });
         });
     });
@@ -52,4 +51,4 @@ t.step(function () {
 });
     </script>
   </body>
-</html>
\ No newline at end of file
+</html>
index 6be75578c699c2ebe576e43f059e157b4ca75c08..03e579bddb5ed80586dff21d691bb9a914337b9b 100755 (executable)
@@ -35,16 +35,15 @@ Authors:
 //==== TEST_CRITERIA MOA
 
 var t = async_test(document.title, {timeout: 8000}), deviceInfo;
-window.requestFileSystem = window.requestFileSystem || window.webkitRequestFileSystem;
 
 t.step(function () {
     deviceInfo = t.step_func(function() {
         requestFileSystem(TEMPORARY, 100, function(fs) {
             fs.root.getFile("succ1.txt", {create:true}, function(entry) {
-                entry.moveTo(fs.root, "succ2.txt", function (entry) {
+                entry.moveTo(fs.root, "succ2.txt", t.step_func(function (entry) {
                     assert_equals(entry.name, "succ2.txt");
                     t.done();
-                });
+                }));
             });
         });
     });
@@ -52,4 +51,4 @@ t.step(function () {
 });
     </script>
   </body>
-</html>
\ No newline at end of file
+</html>
index d998f9515b3c31710b17a0eb5f03e5e94ce9d645..c829f1d1d8f229138c019b5317832cfd08f2367b 100755 (executable)
@@ -36,7 +36,6 @@ Authors:
 //==== TEST_CRITERIA AE
 
 var t = async_test(document.title, {timeout: 5000}), deviceInfo, successCallback, errorCallback;
-window.requestFileSystem = window.requestFileSystem || window.webkitRequestFileSystem;
 
 t.step(function () {
     deviceInfo = t.step_func(function() {
@@ -51,4 +50,4 @@ t.step(function () {
 });
     </script>
   </body>
-</html>
\ No newline at end of file
+</html>
index bfadb040915a37df7649cad5f1923bbefa90f76f..ff5122e6419f8260fcd69821319b45d1a1957400 100755 (executable)
@@ -36,7 +36,6 @@ Authors:
 //==== TEST_CRITERIA ARO
 
 var t = async_test(document.title, {timeout: 5000}), deviceInfo, successCallback, errorCallback;
-window.requestFileSystem = window.requestFileSystem || window.webkitRequestFileSystem;
 
 t.step(function () {
     deviceInfo = t.step_func(function() {
@@ -56,4 +55,4 @@ t.step(function () {
 });
     </script>
   </body>
-</html>
\ No newline at end of file
+</html>
index 1fae0a537d23c6fd2803428a76a6cb7c5e449fe4..35bda36cca1ca3b6d7a312909922a878aa1b24e8 100755 (executable)
@@ -36,7 +36,6 @@ Authors:
 //==== TEST_CRITERIA AT
 
 var t = async_test(document.title, {timeout: 5000}), deviceInfo, successCallback, errorCallback;
-window.requestFileSystem = window.requestFileSystem || window.webkitRequestFileSystem;
 
 t.step(function () {
     deviceInfo = t.step_func(function() {
@@ -56,4 +55,4 @@ t.step(function () {
 });
     </script>
   </body>
-</html>
\ No newline at end of file
+</html>
index 6f5ddb1953d130db9760c48b3ba96da6055ac902..b7cf9f5caeaa7ba6e0e1d1f4b34603f24bb92fab 100755 (executable)
@@ -35,7 +35,6 @@ Authors:
 //==== TEST_CRITERIA MR MMINA
 
 var t = async_test(document.title, {timeout: 5000}), deviceInfo;
-window.requestFileSystem = window.requestFileSystem || window.webkitRequestFileSystem;
 
 t.step(function () {
     deviceInfo = t.step_func(function() {
@@ -51,4 +50,4 @@ t.step(function () {
 });
     </script>
   </body>
-</html>
\ No newline at end of file
+</html>
index 24f3e2235bb927b1b4588a9bce09afc0524ef8c2..18d52c1b964394f77bce4bba1ee12f7855b6947f 100755 (executable)
@@ -35,7 +35,6 @@ Authors:
 //==== TEST_CRITERIA ME
 
 var t = async_test(document.title, {timeout: 5000}), deviceInfo;
-window.requestFileSystem = window.requestFileSystem || window.webkitRequestFileSystem;
 
 t.step(function () {
     deviceInfo = t.step_func(function() {
@@ -51,4 +50,4 @@ t.step(function () {
 });
     </script>
   </body>
-</html>
\ No newline at end of file
+</html>
index 4f6787f60322894999a770979470a31f7dde6073..34087071fb6aa1d4659ea3a8ad1213ed66fc504a 100755 (executable)
@@ -35,7 +35,6 @@ Authors:
 //==== TEST_CRITERIA MOA
 
 var t = async_test(document.title, {timeout: 5000}), deviceInfo, errorCallback;
-window.requestFileSystem = window.requestFileSystem || window.webkitRequestFileSystem;
 
 t.step(function () {
     deviceInfo = t.step_func(function() {
@@ -51,4 +50,4 @@ t.step(function () {
 });
     </script>
   </body>
-</html>
\ No newline at end of file
+</html>
index 1eab08bfd47e29a665d3c13f91b9d4f60dd8dad0..bd02531229d20090cbbf56204686a12f2d495a72 100755 (executable)
@@ -35,22 +35,21 @@ Authors:
 //==== TEST_CRITERIA MR MNA
 
 var t = async_test(document.title, {timeout: 9000}), deviceInfo;
-window.requestFileSystem = window.requestFileSystem || window.webkitRequestFileSystem;
 
 t.step(function () {
     deviceInfo = t.step_func(function() {
         requestFileSystem(TEMPORARY, 100, function(fs) {
             fs.root.getDirectory('testDirectory', {create:true},
-            function(entry) {
+            t.step_func(function(entry) {
                 var url = fs.root.toURL("Documents/");
                 assert_equals(typeof url, "string");
                 assert_not_equals(entry.toURL, "undefined");
                 t.done();
-            });
+            }));
         });
     });
     document.addEventListener("deviceready", deviceInfo, true);
 });
     </script>
   </body>
-</html>
\ No newline at end of file
+</html>
index 1c5685d5915dfb3405f22327bec9d8208d75bb4e..83719b6fa255e7de7ad20352fdbc7555bb767f37 100755 (executable)
@@ -35,7 +35,6 @@ Authors:
 //==== TEST_CRITERIA ME
 
 var t = async_test(document.title, {timeout: 5000}), deviceInfo;
-window.requestFileSystem = window.requestFileSystem || window.webkitRequestFileSystem;
 
 t.step(function () {
     deviceInfo = t.step_func(function() {
@@ -54,4 +53,4 @@ t.step(function () {
 });
     </script>
   </body>
-</html>
\ No newline at end of file
+</html>
index 208cd1e288fb5d68fb5c75d55525f145f5f04e5c..5776e0840fc1da991cded234f9c8da89979eebba 100755 (executable)
@@ -43,11 +43,10 @@ t.step(function () {
     });
 
     errorCallback = t.step_func(function (error) {
-        assert_equals(error.code, DOMException.SECURITY_ERR, "fail to get Object");
+        assert_type(error.code, "number", "fail to get Object");
         t.done();
     });
     deviceReady = t.step_func(function () {
-        window.requestFileSystem = window.webkitRequestFileSystem;
         window.requestFileSystem(TEMPORARY, 100, function(fs) {
             fs.root.getDirectory(".", {create: true, exclusive: true}, entriesCallback, errorCallback);
             });
index 9e9dcb189c793d341a9fb7c7d3607028f2deb5b5..4e11a941b7d86745fff33fd1185f0b62268e8c07 100755 (executable)
@@ -40,12 +40,11 @@ var t = async_test(document.title, {timeout: 90000}), deviceReady, success, fail
 
 t.step(function () {
     deviceReady = t.step_func(function () {
-        window.requestFileSystem = window.webkitRequestFileSystem;
         requestFileSystem(TEMPORARY, 100, function(fs) {
-            fs.root.getFile("logfile", {create: true}, function (f) {
-                assert_equals(f.toString(), "[object FileEntry]" , "fail to get Object");
+            fs.root.getFile("logfile", {create: true}, t.step_func(function (f) {
+                assert_type(f, "object" , "fail to get Object");
                 t.done();
-            });
+            }));
         });
     });
     document.addEventListener("deviceready", deviceReady, true);
@@ -53,4 +52,4 @@ t.step(function () {
 
 </script>
 </body>
-</html>
\ No newline at end of file
+</html>
index 095b632e5cc3b06ee08e0c24bfa498f602a21bc3..02035b69cfd0add5f47ecdafac38dfb689d98c6b 100755 (executable)
@@ -40,19 +40,18 @@ var t = async_test(document.title, {timeout: 90000}), deviceReady, bb;
 
 t.step(function () {
     deviceReady = t.step_func(function () {
-        window.requestFileSystem = window.requestFileSystem || window.webkitRequestFileSystem;
         requestFileSystem(TEMPORARY, 100, function(fs) {
             fs.root.getFile("logFile.txt", {create: true}, function (f) {
                 f.createWriter(function(fileWriter) {
                     bb = new Blob(['hello'], {type: 'text/plain'});
                     fileWriter.write(bb);
-                    fileWriter.onerror = function(e) {
+                    fileWriter.onerror = t.step_func(function(e) {
                         assert_unreached('Write file failed:' + e);
-                    };
-                    fileWriter.onwriteend = function () {
+                    });
+                    fileWriter.onwriteend = t.step_func(function () {
                         assert_equals(fileWriter.length, 5);
                         t.done();
-                    };
+                    });
                 })
             });
         });
index c2e2f3337e2a2fc57ac6a743ed640a68a5c921e0..bf2b9702ddb0475a42dd3c1952a2b4a7e7a35b39 100755 (executable)
@@ -38,19 +38,17 @@ setup({timeout: 90000});
 var t = async_test(document.title, {timeout: 90000}), deviceReady;
 
 t.step(function () {
-
-//    deviceReady = t.step_func(function () {
-        window.requestFileSystem = window.webkitRequestFileSystem;
+    deviceReady = t.step_func(function () {
         requestFileSystem(TEMPORARY, 100, function(fs) {
-            fs.root.getFile("logFile", {create: true}, function (f) {
+            fs.root.getFile("logFile", {create: true}, t.step_func(function (f) {
                 check_method_exists(f, "createWriter");
                 t.done();
-                });
+                }));
             });
-//        });
-//    document.addEventListener("deviceready", deviceReady, true);
+        });
+    document.addEventListener("deviceready", deviceReady, true);
 });
 
 </script>
 </body>
-</html>
\ No newline at end of file
+</html>
diff --git a/common/tct-file-cordova-tests/file/cordova_FileEntry_createWriter_misarg.html b/common/tct-file-cordova-tests/file/cordova_FileEntry_createWriter_misarg.html
deleted file mode 100755 (executable)
index f0fd0dc..0000000
+++ /dev/null
@@ -1,59 +0,0 @@
-<!DOCTYPE html>
-<!--
-Copyright (c) 2015 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:
-        Xiaochun Wang <xiaochn.wang@samsung.com>
-
--->
-<html>
-<head>
-<title>cordova_FileEntry_createWriter_misarg</title>
-<meta charset="utf-8"/>
-<script src="support/unitcommon.js"></script>
-<script src="../cordova/cordova.js"></script>
-</head>
-<body>
-<div id="log"></div>
-<script>
-//==== TEST: cordova_FileEntry_createWriter_misarg
-//==== LABEL Check if createWriter() method throws exception when argument is missing.
-//==== SPEC Cordova Plugin API:TBD:File:FileEntry:createWriter M
-//==== SPEC_URL https://www.npmjs.com/package/cordova-plugin-file
-//==== PRIORITY P2
-//==== TEST_CRITERIA MMA
-
-setup({timeout: 90000});
-var t = async_test(document.title, {timeout: 90000}), deviceReady;
-
-t.step(function () {
-
-    deviceReady = t.step_func(function () {
-        window.requestFileSystem = window.webkitRequestFileSystem;
-        requestFileSystem(TEMPORARY, 100, function(fs) {
-            fs.root.getFile("logFile", {create: true}, function (f) {
-                assert_throws({name: "TypeError"}, function () {
-                f.createWriter();
-            }, "Missing non-optional argument should throw an exception");
-            t.done();
-            });
-        });
-    });
-    document.addEventListener("deviceready", deviceReady, true);
-});
-
-</script>
-</body>
-</html>
\ No newline at end of file
index 9e66ccb8c94fdde40ef9ed4ca2b20be2c29451e3..5aed0d7e684e3410e5c828653f05a2df4133f907 100755 (executable)
@@ -45,19 +45,18 @@ t.step(function () {
     });
 
     deviceReady = t.step_func(function () {
-        window.requestFileSystem = window.requestFileSystem || window.webkitRequestFileSystem;
         requestFileSystem(TEMPORARY, 100, function(fs) {
             fs.root.getFile("logFile.txt", {create: true}, function (f) {
             f.createWriter(function(fileWriter) {
                 bb = new Blob(['hello'], {type: 'text/plain'});
                 fileWriter.write(bb);
-                fileWriter.onerror = function(e) {
+                fileWriter.onerror = t.step_func(function(e) {
                     assert_unreached('Write file failed:' + e);
-                };
-                fileWriter.onwriteend = function () {
+                });
+                fileWriter.onwriteend = t.step_func(function () {
                     assert_equals(fileWriter.length, 5);
                     t.done();
-                    };
+                });
                 }, failcallback)
                 });
             });
index 20ec43020093b5e7912cdaef6c285adc336716d9..3bd59367efd6ce7de3839ab60c346e0f5190edc0 100755 (executable)
@@ -40,13 +40,12 @@ var t = async_test(document.title, {timeout: 90000}), deviceReady;
 
 t.step(function () {
     deviceReady = t.step_func(function () {
-        window.requestFileSystem = window.webkitRequestFileSystem;
         requestFileSystem(TEMPORARY, 100, function(fs) {
             fs.root.getFile("abcdz.txt", {create: true}, function (f) {
-            f.file(function (file) {
+            f.file(t.step_func(function (file) {
                 assert_type(file, "object", "its not belong to Object");
                 t.done();
-                    });
+                    }));
                 });
             });
         });
@@ -54,4 +53,4 @@ t.step(function () {
 });
 </script>
 </body>
-</html>
\ No newline at end of file
+</html>
index a09693814584e3f62987c7fde343940b5117478b..8c8ad47d2caa5f52fbf7132a93fbc9dc9e86e94f 100755 (executable)
@@ -41,16 +41,15 @@ var t = async_test(document.title, {timeout: 90000}), deviceReady;
 t.step(function () {
 
     deviceReady = t.step_func(function () {
-        window.requestFileSystem = window.webkitRequestFileSystem;
         requestFileSystem(TEMPORARY, 100, function(fs) {
-            fs.root.getFile("logFile", {create: true}, function (f) {
+            fs.root.getFile("logFile", {create: true}, t.step_func(function (f) {
                 check_method_exists(f, "file");
                 t.done();
-                });
+                }));
             });
         });
     document.addEventListener("deviceready", deviceReady, true);
 });
 </script>
 </body>
-</html>
\ No newline at end of file
+</html>
diff --git a/common/tct-file-cordova-tests/file/cordova_FileEntry_file_misarg.html b/common/tct-file-cordova-tests/file/cordova_FileEntry_file_misarg.html
deleted file mode 100755 (executable)
index 0ef82ab..0000000
+++ /dev/null
@@ -1,59 +0,0 @@
-<!DOCTYPE html>
-<!--
-Copyright (c) 2015 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:
-        Xiaochun Wang <xiaochn.wang@samsung.com>
-
--->
-<html>
-<head>
-<title>cordova_FileEntry_file_misarg</title>
-<meta charset="utf-8"/>
-<script src="support/unitcommon.js"></script>
-<script src="../cordova/cordova.js"></script>
-</head>
-<body>
-<div id="log"></div>
-<script>
-//==== TEST: cordova_FileEntry_file_misarg
-//==== LABEL Check if file() method throws exception when argument is missing.
-//==== SPEC Cordova Plugin API:TBD:File:FileEntry:file M
-//==== SPEC_URL https://www.npmjs.com/package/cordova-plugin-file
-//==== PRIORITY P2
-//==== TEST_CRITERIA MMA
-
-setup({timeout: 90000});
-var t = async_test(document.title, {timeout: 90000}), deviceReady;
-
-t.step(function () {
-
-    deviceReady = t.step_func(function () {
-        window.requestFileSystem = window.webkitRequestFileSystem;
-        requestFileSystem(TEMPORARY, 100, function(fs) {
-            fs.root.getFile("logFile", {create: true}, function (f) {
-                assert_throws({name: "TypeError"}, function () {
-                f.file();
-            }, "Missing non-optional argument should throw an exception");
-            t.done();
-            });
-        });
-    });
-    document.addEventListener("deviceready", deviceReady, true);
-});
-
-</script>
-</body>
-</html>
\ No newline at end of file
index b9f76fed4c450ca8bfcb1aa5a0e2b1df8c64d26f..c6ef8b6b8ba4bf5b12bc5d9104b54460f720ddf4 100755 (executable)
@@ -44,13 +44,12 @@ t.step(function () {
     });
 
 deviceReady = t.step_func(function () {
-        window.requestFileSystem = window.webkitRequestFileSystem;
         requestFileSystem(TEMPORARY, 100, function(fs) {
             fs.root.getFile("abcdz.txt", {create: true}, function (f) {
-            f.file(function (file) {
+            f.file(t.step_func(function (file) {
                 assert_type(file, "object", "its not belong to Object");
                 t.done();
-                    }, failcallback);
+                    }), failcallback);
                 });
             });
         });
@@ -59,4 +58,4 @@ deviceReady = t.step_func(function () {
 
 </script>
 </body>
-</html>
\ No newline at end of file
+</html>
index 8b3639f9f166b76941c663119c225c9c8a227611..7a4087a7435e80435effca89f0ce1101542834ce 100755 (executable)
@@ -46,7 +46,6 @@ t.step(function () {
     });
 
     deviceReady = t.step_func(function () {
-        window.requestFileSystem = window.webkitRequestFileSystem;
         requestFileSystem(TEMPORARY, 100, filesystemcallback);
     });
     document.addEventListener("deviceready", deviceReady, true);
@@ -54,4 +53,4 @@ t.step(function () {
 
 </script>
 </body>
-</html>
\ No newline at end of file
+</html>
index fbdd362266bbfd4817a71846b2d2ee27f0c87cd3..d1c7df6054aa3dcdad38c238bce9722414495d49 100755 (executable)
@@ -39,7 +39,6 @@ var t = async_test(document.title, {timeout: 90000}), deviceReady;
 
 t.step(function () {
     deviceReady = t.step_func(function () {
-        window.requestFileSystem = window.webkitRequestFileSystem;
         check_no_interface_object("FileSystemCallback");
         t.done();
     });
@@ -49,4 +48,4 @@ t.step(function () {
 
 </script>
 </body>
-</html>
\ No newline at end of file
+</html>
index 64e0c85262454362ea07a0c277fc53d32401afc4..86138fcda5a4099dda1db9de2fc84b33389d01ee 100755 (executable)
@@ -36,7 +36,6 @@ Authors:
 //==== TEST_CRITERIA AE
 
 var t = async_test(document.title, {timeout: 5000}), deviceInfo, successCallback, errorCallback;
-window.requestFileSystem = window.requestFileSystem || window.webkitRequestFileSystem;
 
 t.step(function () {
     deviceInfo = t.step_func(function() {
@@ -49,12 +48,12 @@ t.step(function () {
                 });
                 t.done();
             }, errorCallback);
-        }        
+        }
         requestFileSystem(TEMPORARY, 100, successCallback, errorCallback);
     });
 
-    document.addEventListener("deviceready", deviceInfo, true);   
+    document.addEventListener("deviceready", deviceInfo, true);
 });
     </script>
   </body>
-</html>
\ No newline at end of file
+</html>
index bf70bd91c9686aa5c475a9b3d819f48289a9be5f..764c65eff4f3c5e4c480a85651dfa3b7184dec93 100755 (executable)
@@ -36,7 +36,6 @@ Authors:
 //==== TEST_CRITERIA ARO
 
 var t = async_test(document.title, {timeout: 5000}), deviceInfo, successCallback, errorCallback;
-window.requestFileSystem = window.requestFileSystem || window.webkitRequestFileSystem;
 
 t.step(function () {
     deviceInfo = t.step_func(function() {
@@ -49,12 +48,12 @@ t.step(function () {
                 });
                 t.done();
             }, errorCallback);
-        }        
+        }
         requestFileSystem(TEMPORARY, 100, successCallback, errorCallback);
     });
 
-    document.addEventListener("deviceready", deviceInfo, true);   
+    document.addEventListener("deviceready", deviceInfo, true);
 });
     </script>
   </body>
-</html>
\ No newline at end of file
+</html>
index 71967e0c8bd5569ad59d805599c44c4036c9f6a9..7e965c5aee9ac987c4c324da699c81fc83ec53b0 100755 (executable)
@@ -36,7 +36,6 @@ Authors:
 //==== TEST_CRITERIA AT
 
 var t = async_test(document.title, {timeout: 5000}), deviceInfo, successCallback, errorCallback;
-window.requestFileSystem = window.requestFileSystem || window.webkitRequestFileSystem;
 
 t.step(function () {
     deviceInfo = t.step_func(function() {
@@ -49,12 +48,12 @@ t.step(function () {
                 });
                 t.done();
             }, errorCallback);
-        }        
+        }
         requestFileSystem(TEMPORARY, 100, successCallback, errorCallback);
     });
 
-    document.addEventListener("deviceready", deviceInfo, true);   
+    document.addEventListener("deviceready", deviceInfo, true);
 });
     </script>
   </body>
-</html>
\ No newline at end of file
+</html>
index c63e3a6ebec8c53082d694c8291e0de5804bd6fd..6646286c7d923e4a84c99eba5d5d6f9496248171 100755 (executable)
@@ -36,7 +36,6 @@ Authors:
 //==== TEST_CRITERIA AE
 
 var t = async_test(document.title, {timeout: 5000}), deviceInfo;
-window.requestFileSystem = window.requestFileSystem || window.webkitRequestFileSystem;
 
 t.step(function () {
     deviceInfo = t.step_func(function() {
@@ -51,4 +50,4 @@ t.step(function () {
 });
     </script>
   </body>
-</html>
\ No newline at end of file
+</html>
index d52ada85b4b6fb50efe7f59e0f35bda07a6e9ec0..5c7ad27593deaa5c78031766aafb2b041124ebf6 100755 (executable)
@@ -36,7 +36,6 @@ Authors:
 //==== TEST_CRITERIA ARO
 
 var t = async_test(document.title, {timeout: 5000}), deviceInfo, successCallback, errorCallback;
-window.requestFileSystem = window.requestFileSystem || window.webkitRequestFileSystem;
 
 t.step(function () {
     deviceInfo = t.step_func(function() {
@@ -56,4 +55,4 @@ t.step(function () {
 });
     </script>
   </body>
-</html>
\ No newline at end of file
+</html>
index 0e25315d7d75b5409c612602a65480a66edbca2e..baf6d93bda1b776c2f4092010eab5f115561ad57 100755 (executable)
@@ -36,7 +36,6 @@ Authors:
 //==== TEST_CRITERIA AT
 
 var t = async_test(document.title, {timeout: 5000}), deviceInfo, successCallback, errorCallback;
-window.requestFileSystem = window.requestFileSystem || window.webkitRequestFileSystem;
 
 t.step(function () {
     deviceInfo = t.step_func(function() {
@@ -54,4 +53,4 @@ t.step(function () {
 });
     </script>
   </body>
-</html>
\ No newline at end of file
+</html>
index d942033eaa7cde3f37807d11d52bcbe3f7fbce20..2c8f276d903bedb2fe7e73fb9a66b33b17d8a4f3 100755 (executable)
@@ -40,7 +40,7 @@ var t = async_test(document.title, {timeout: 90000}), deviceReady;
 
 t.step(function () {
     successCallback = t.step_func(function (fileWriter) {
-        assert_equals(fileWriter.toString(), "[object FileWriter]", "fail to get object info");
+        assert_type(fileWriter, "object", "fail to get object info");
         t.done();
     });
 
@@ -49,7 +49,6 @@ t.step(function () {
     });
 
     deviceReady = t.step_func(function () {
-        window.requestFileSystem = window.webkitRequestFileSystem;
         requestFileSystem(TEMPORARY, 100, function(fs) {
             fs.root.getFile("logFile", {create: true},function (f) {
                 f.createWriter(successCallback,errorCallback);
@@ -61,4 +60,4 @@ t.step(function () {
 
 </script>
 </body>
-</html>
\ No newline at end of file
+</html>
index 7c0f6be421aa6ac10875e86e51b2612092e1e6d1..8cf1eec0a5ad964aec55947cdc32c7c97997ae29 100755 (executable)
@@ -32,22 +32,21 @@ Authors:
 //==== PRIORITY P1
 //==== SPEC Cordova Plugin API:File:FileWriter:length A
 //==== SPEC_URL https://www.npmjs.com/package/cordova-plugin-file
-//==== TEST_CRITERIA AE AT ARO
+//==== TEST_CRITERIA AE AT ASG
 
 var t = async_test(document.title, {timeout: 5000}), deviceReady;
-window.requestFileSystem = window.requestFileSystem || window.webkitRequestFileSystem;
 
 t.step(function () {
     deviceReady = t.step_func(function(){
-        webkitRequestFileSystem(TEMPORARY, 1024*1024, function (fs) {
+        requestFileSystem(TEMPORARY, 1024*1024, function (fs) {
             fs.root.getFile('log.txt', {create: true}, function (fileEntry) {
-                fileEntry.createWriter(function (fileWriter) {
+                fileEntry.createWriter(t.step_func(function (fileWriter) {
                     assert_true("length" in fileWriter, "FileWriter.length attribute exists");
                     assert_type(fileWriter.length, "number", "FileWriter.length attribute type is wrong");
                     fileWriter.length = 2;
-                    assert_not_equals(fileWriter.length, 2, "fileWriter.length shouldn't be changed");
+                    assert_equals(fileWriter.length, 2, "fileWriter.length shouldn't be changed");
                     t.done();
-                });
+                }));
             });
         });
     });
@@ -57,4 +56,4 @@ t.step(function () {
 
 </script>
 </body>
-</html>
\ No newline at end of file
+</html>
index 01a3b58195d87ded0235803139db6036d85c174d..1ca6153184ed2393c5d168ae484785857b98163a 100755 (executable)
@@ -32,24 +32,22 @@ Authors:
 //==== PRIORITY P1
 //==== SPEC Cordova Plugin API:File:FileWriter:position A
 //==== SPEC_URL https://www.npmjs.com/package/cordova-plugin-file
-//==== TEST_CRITERIA AE AT ADV AVL ARO
+//==== TEST_CRITERIA AE AT ADV AVL ASG
 
 var t = async_test(document.title, {timeout: 5000}), deviceReady;
-window.requestFileSystem = window.requestFileSystem || window.webkitRequestFileSystem;
 
 t.step(function () {
     deviceReady = t.step_func(function(){
-        webkitRequestFileSystem(TEMPORARY, 1024*1024, function (fs) {
+        requestFileSystem(TEMPORARY, 1024*1024, function (fs) {
             fs.root.getFile('log.txt', {create: true}, function (fileEntry) {
-                fileEntry.createWriter(function (fileWriter) {
+                fileEntry.createWriter(t.step_func(function (fileWriter) {
                     assert_true("position" in fileWriter, "FileWriter.position attribute exists");
                     assert_type(fileWriter.position, "number", "The type of FileWriter.position attribute is wrong");
                     assert_equals(fileWriter.position, 0, "fileWriter.position should be 0 by default");
                     fileWriter.position = 2;
-                    assert_not_equals(fileWriter.position, 2, "fileWriter.position shouldn't be changed");
-                    assert_less_than_equal(fileWriter.position, fileWriter.length, "fileWriter.position should be less than length");
+                    assert_equals(fileWriter.position, 2, "fileWriter.position shouldn't be changed");
                     t.done();
-                });
+                }));
             });
         });
     });
@@ -59,4 +57,4 @@ t.step(function () {
 
 </script>
 </body>
-</html>
\ No newline at end of file
+</html>
index 62ff987a5aa386c6a84a00047245844a9a835a7b..a3f51532b662bb7bb24f3ae0a0dbaa7149d027e2 100755 (executable)
@@ -35,7 +35,6 @@ Authors:
 //==== TEST_CRITERIA MR MAST
 
 var t = async_test(document.title, {timeout: 5000}), deviceReady, retVal;
-window.requestFileSystem = window.requestFileSystem || window.webkitRequestFileSystem;
 
 t.step(function () {
     deviceReady = t.step_func(function(){
@@ -56,4 +55,4 @@ t.step(function () {
 
 </script>
 </body>
-</html>
\ No newline at end of file
+</html>
index 82bf4a26202a545d2f11e0f5862ca68a52acfe50..0669d1264e77e2305308537ba5bc8d144671fe40 100755 (executable)
@@ -35,18 +35,17 @@ Authors:
 //==== TEST_CRITERIA MC
 
 var t = async_test(document.title, {timeout: 5000}), deviceReady, bData;
-window.requestFileSystem = window.requestFileSystem || window.webkitRequestFileSystem;
 
 t.step(function () {
     deviceReady = t.step_func(function(){
-        webkitRequestFileSystem(TEMPORARY, 1024*1024, t.step_func(function (fs) {
+        requestFileSystem(TEMPORARY, 1024*1024, t.step_func(function (fs) {
             fs.root.getFile('log.txt', {create: true}, t.step_func(function(fileEntry) {
                 fileEntry.createWriter(t.step_func(function (fileWriter) {
                     fileWriter.onwritestart = t.step_func(function () {
                         try{
                             fileWriter.seek(4);
                         }catch(e){
-                            assert_equals(e.code, 11, "invalid error type");
+                            assert_equals(e.code, 7, "invalid error type");
                             t.done();
                         }
                     });
index 9a70e644bec036bf81eadb5296206de258641a0d..307a84bf98aa554529fadcc4dd71d77aedd0f81e 100755 (executable)
@@ -35,17 +35,16 @@ Authors:
 //==== TEST_CRITERIA ME
 
 var t = async_test(document.title, {timeout: 5000}), deviceReady, flag;
-window.requestFileSystem = window.requestFileSystem || window.webkitRequestFileSystem;
 
 t.step(function () {
     deviceReady = t.step_func(function(){
         requestFileSystem(TEMPORARY, 1024*1024, function(fs) {
             fs.root.getFile('seek_log.txt', {create: true}, function(fileEntry) {
-                fileEntry.createWriter(function (fileWriter) {
+                fileEntry.createWriter(t.step_func(function (fileWriter) {
                     flag = (fileWriter.seek != undefined && fileWriter.seek instanceof Function);
                     assert_true(flag, "The fileWriter.seek exists");
                     t.done();
-                });
+                }));
             });
         });
     });
@@ -55,4 +54,4 @@ t.step(function () {
 
 </script>
 </body>
-</html>
\ No newline at end of file
+</html>
index 44783b2a70c75148c3ee838ba5f842a38761d96f..0971345910a78ece4f002e162be12a7b80f03e3a 100755 (executable)
@@ -35,7 +35,6 @@ Authors:
 //==== TEST_CRITERIA MMA
 
 var t = async_test(document.title, {timeout: 5000}), deviceReady, createWriterSuccess, getFileSuccess;
-window.requestFileSystem = window.requestFileSystem || window.webkitRequestFileSystem;
 
 t.step(function () {
     createWriterSuccess = t.step_func(function(fileWriter){
@@ -60,4 +59,4 @@ t.step(function () {
 
 </script>
 </body>
-</html>
\ No newline at end of file
+</html>
index a570483a0cb88b9db728299c57124ba8275825bf..978a76ad9d47da8faa5baf62f369b9a6ca06ad0c 100755 (executable)
@@ -35,17 +35,16 @@ Authors:
 //==== TEST_CRITERIA MC
 
 var t = async_test(document.title, {timeout: 5000}), deviceReady;
-window.requestFileSystem = window.requestFileSystem || window.webkitRequestFileSystem;
 
 t.step(function () {
     deviceReady = t.step_func(function(){
         requestFileSystem(TEMPORARY, 1024*1024, function(fs) {
             fs.root.getFile('seek_log.txt', {create: true}, function(fileEntry) {
-                fileEntry.createWriter(function (fileWriter) {
+                fileEntry.createWriter(t.step_func(function (fileWriter) {
                     fileWriter.seek("");
                     assert_equals(fileWriter.position, 0, "compare fileWriter.position == 0");
                     t.done();
-                });
+                }));
             });
         });
     });
@@ -55,4 +54,4 @@ t.step(function () {
 
 </script>
 </body>
-</html>
\ No newline at end of file
+</html>
index b205073e80ef6f5ea4b22c38f5f7f2a54e6ae243..3eb181627235b881ad8ba6b7073099fed9aa48cd 100755 (executable)
@@ -35,20 +35,19 @@ Authors:
 //==== TEST_CRITERIA MC
 
 var t = async_test(document.title, {timeout: 5000}), deviceReady, offset, bData;
-window.requestFileSystem = window.requestFileSystem || window.webkitRequestFileSystem;
 
 t.step(function () {
     deviceReady = t.step_func(function(){
         requestFileSystem(TEMPORARY, 1024*1024, function(fs) {
             fs.root.getFile('seek_log.txt', {create: true}, function(fileEntry) {
-                fileEntry.createWriter(function (fileWriter) {
+                fileEntry.createWriter(t.step_func(function (fileWriter) {
                     bData = new Blob(['test seek method'], {type: 'text/plain'});
                     fileWriter.write(bData);
                     offset = fileWriter.length + 10;
                     fileWriter.seek(offset);
                     assert_equals(fileWriter.position, fileWriter.length, "compare position and length");
                     t.done();
-                });
+                }));
             });
         });
     });
@@ -58,4 +57,4 @@ t.step(function () {
 
 </script>
 </body>
-</html>
\ No newline at end of file
+</html>
index d0ae433269af342dbbf29aeab9cee8a6a249d222..ee6c2bd77661d86c6b22d641d02327a63d4ba1fd 100755 (executable)
@@ -36,7 +36,6 @@ Authors:
 //==== TEST_CRITERIA MAST
 
 var t = async_test(document.title, {timeout: 5000}), deviceReady, offset, bData;
- window.requestFileSystem = window.requestFileSystem || window.webkitRequestFileSystem;
 
 t.step(function () {
 
@@ -46,12 +45,12 @@ t.step(function () {
                  fileEntry.createWriter(function (fileWriter) {
                      bData = new Blob(['test seek method'], {type: 'text/plain'});
                      fileWriter.write(bData);
-                     setTimeout(function() {
+                     setTimeout(t.step_func(function() {
                          offset = fileWriter.length + 10;
                          fileWriter.seek(offset);
                          assert_equals(fileWriter.position, fileWriter.length, "compare position and length");
                          t.done();
-                     },500);
+                     }),500);
                  });
              });
          });
index 7ecf6b78ab5b2e8b70c0dff3666703107b7d441e..92a1985d92a8f56593f912cc88780cafb9ec2bdc 100755 (executable)
@@ -35,7 +35,6 @@ Authors:
 //==== TEST_CRITERIA MR MAST
 
 var t = async_test(document.title, {timeout: 5000}), deviceReady, retVal;
-window.requestFileSystem = window.requestFileSystem || window.webkitRequestFileSystem;
 
 t.step(function () {
     deviceReady = t.step_func(function(){
@@ -56,4 +55,4 @@ t.step(function () {
 
 </script>
 </body>
-</html>
\ No newline at end of file
+</html>
index 4250462da95500fc4ca98e3c6067453a8a792996..54f7c55820dc876532dd26ebc3c0ca880aa62c04 100755 (executable)
@@ -35,7 +35,6 @@ Authors:
 //==== TEST_CRITERIA MC
 
 var t = async_test(document.title, {timeout: 5000}), deviceReady, bData;
-window.requestFileSystem = window.requestFileSystem || window.webkitRequestFileSystem;
 
 t.step(function () {
     deviceReady = t.step_func(function(){
@@ -45,7 +44,6 @@ t.step(function () {
                     fileWriter.onwritestart = t.step_func(function () {
                         try{
                             fileWriter.truncate(4);
-                            assert_unreached("not throw InvalidStartError");
                         }catch(e){
                             assert_equals(e.code, 7, "invalid error type");
                             t.done();
@@ -63,4 +61,4 @@ t.step(function () {
 
 </script>
 </body>
-</html>
\ No newline at end of file
+</html>
index e797ef131cb0a5ea63f7dd14efd7f9efdeb1fd63..fe851607c3fa7cb97c257b3c8ddb6ffa8cfdf47c 100755 (executable)
@@ -35,7 +35,6 @@ Authors:
 //==== TEST_CRITERIA MMA
 
 var t = async_test(document.title, {timeout: 5000}), deviceReady;
-window.requestFileSystem = window.requestFileSystem || window.webkitRequestFileSystem;
 
 t.step(function () {
     deviceReady = t.step_func(function(){
@@ -58,4 +57,4 @@ t.step(function () {
 
 </script>
 </body>
-</html>
\ No newline at end of file
+</html>
index 6c0630d928c53ae035ec8dfd4d0f8b6515653c8b..d8f2d6c9b794f5e5c3ac59087284245e5c1d7916 100755 (executable)
@@ -35,7 +35,6 @@ Authors:
 //==== TEST_CRITERIA MC
 
 var t = async_test(document.title, {timeout: 5000}), deviceReady;
-window.requestFileSystem = window.requestFileSystem || window.webkitRequestFileSystem;
 
 t.step(function () {
     deviceReady = t.step_func(function(){
index b3a15866088edd30160312ba825e1f9fc1a90186..8f4218302d1f8ed256fa9124fa3d901fec24db47 100755 (executable)
@@ -35,7 +35,6 @@ Authors:
 //==== TEST_CRITERIA MR MAST
 
 var t = async_test(document.title, {timeout: 5000}), deviceReady, bData, retV;
-window.requestFileSystem = window.requestFileSystem || window.webkitRequestFileSystem;
 
 t.step(function () {
     deviceReady = t.step_func(function(){
@@ -62,4 +61,4 @@ t.step(function () {
 
 </script>
 </body>
-</html>
\ No newline at end of file
+</html>
index 3e59129e389356973cd92d9eb45795adc6791927..3460ed5c296788a1e5e0efc03889e4a5ee055633 100755 (executable)
@@ -35,27 +35,25 @@ Authors:
 //==== TEST_CRITERIA MC
 
 var t = async_test(document.title, {timeout: 5000}), deviceReady, bData;
-window.requestFileSystem = window.requestFileSystem || window.webkitRequestFileSystem;
 
 t.step(function () {
     deviceReady = t.step_func(function(){
-        webkitRequestFileSystem(TEMPORARY, 1024*1024, t.step_func(function (fs) {
-            fs.root.getFile('write_log.txt', {create: true}, t.step_func(function(fileEntry) {
+        requestFileSystem(TEMPORARY, 1024*1024, function(fs) {
+            fs.root.getFile('log.txt', {create: true}, function(fileEntry) {
                 fileEntry.createWriter(t.step_func(function (fileWriter) {
                     fileWriter.onwritestart = t.step_func(function () {
                         try{
-                            fileWriter.write(bData);
-                            assert_unreached("not throw any error");
+                            fileWriter.write("test");
                         }catch(e){
-                            assert_equals(e.code, 11, "invalid error type");
+                            assert_equals(e.code, 7, "invalid error type");
                             t.done();
                         }
                     });
                     bData = new Blob(['test seek method'], {type: 'text/plain'});
                     fileWriter.write(bData);
                 }));
-            }));
-        }));
+            });
+        });
     });
 
     document.addEventListener("deviceready", deviceReady, true);
index 1fb7bc1dc61bcda2b3d2b8a92f8ccb42159e9486..7ab5f67710799e80becef619fc52989e05f6749c 100755 (executable)
@@ -35,7 +35,6 @@ Authors:
 //==== TEST_CRITERIA MC
 
 var t = async_test(document.title, {timeout: 5000}), deviceReady;
-window.requestFileSystem = window.requestFileSystem || window.webkitRequestFileSystem;
 
 t.step(function () {
     deviceReady = t.step_func(function(){
@@ -58,4 +57,4 @@ t.step(function () {
 
 </script>
 </body>
-</html>
\ No newline at end of file
+</html>
index 5b296bda691987e89211e46f3bea88a1d03fc9a9..12049a5dc669abf5bb4f6cb1751cacf4d73539b9 100755 (executable)
@@ -35,7 +35,6 @@ Authors:
 //==== TEST_CRITERIA MMA
 
 var t = async_test(document.title, {timeout: 5000}), deviceReady;
-window.requestFileSystem = window.requestFileSystem || window.webkitRequestFileSystem;
 
 t.step(function () {
     deviceReady = t.step_func(function(){
@@ -58,4 +57,4 @@ t.step(function () {
 
 </script>
 </body>
-</html>
\ No newline at end of file
+</html>
index b258635e128c08fe23fad09f23b13f29cebcc30d..6e27e23892657135334ddd9ece39ea7a6ea9c49b 100755 (executable)
@@ -35,11 +35,9 @@ Authors:
 //==== TEST_CRITERIA CONSTE CONSTT CONSTV CONSTRO
 
 var t = async_test(document.title, {timeout: 9000}), deviceInfo;
-window.requestFileSystem = window.requestFileSystem || window.webkitRequestFileSystem;
 
 t.step(function () {
     deviceInfo = t.step_func(function() {
-        
         requestFileSystem(PERSISTENT, 100, function (fs) {
             assert_not_equals(PERSISTENT, 'undefined', "The attribute PERSISTENT exists");
             assert_equals(typeof PERSISTENT, "number");
@@ -52,4 +50,4 @@ t.step(function () {
 });
     </script>
   </body>
-</html>
\ No newline at end of file
+</html>
index f05cfdc957e476169d477fc990bfc396cbda2aa2..203f975f0e8c6b01e5e38f883ce8bdb1af00940f 100755 (executable)
@@ -35,20 +35,19 @@ Authors:
 //==== TEST_CRITERIA CONSTE CONSTT CONSTV CONSTRO
 
 var t = async_test(document.title, {timeout: 5000}), deviceInfo;
-window.requestFileSystem = window.requestFileSystem || window.webkitRequestFileSystem;
 
 t.step(function () {
     deviceInfo = t.step_func(function() {
 
-        requestFileSystem(TEMPORARY, 100, function (fs) {
+        requestFileSystem(TEMPORARY, 100, t.step_func(function (fs) {
             assert_not_equals(TEMPORARY, 'undefined', "The attribute TEMPORARY exists");
             assert_equals(typeof TEMPORARY, "number");
             assert_equals(TEMPORARY, 0);
             t.done();
-        });
+        }));
     }, "Check if the attribute TEMPORARY vaule is 1 in the LocalFileSystem interface");
     document.addEventListener("deviceready", deviceInfo, true);
 });
     </script>
   </body>
-</html>
\ No newline at end of file
+</html>
index fd4de19c3169ff42c7b0e256f59c74347ffd6344..f355c3abad0385e7e7b4f5050ef5f32b4366a6a7 100755 (executable)
@@ -35,7 +35,6 @@ Authors:
 //==== TEST_CRITERIA MR MMINA
 
 var t = async_test(document.title, {timeout: 5000}), deviceInfo, successCallback;
-window.requestFileSystem = window.requestFileSystem || window.webkitRequestFileSystem;
 
 t.step(function () {
 
@@ -50,4 +49,4 @@ t.step(function () {
 });
     </script>
   </body>
-</html>
\ No newline at end of file
+</html>
index df3954f36c1e9dfe8e6eb8fc4f83789ca762b951..c1c6b607efabc99b95c5d923e1dcb0c0ea7e434c 100755 (executable)
@@ -36,7 +36,6 @@ Authors:
 //==== TEST_CRITERIA ME
 
 var t = async_test(document.title, {timeout: 5000}), deviceInfo;
-window.requestFileSystem = window.requestFileSystem || window.webkitRequestFileSystem;
 
 t.step(function () {
     deviceInfo = t.step_func(function() {
@@ -47,4 +46,4 @@ t.step(function () {
 });
     </script>
   </body>
-</html>
\ No newline at end of file
+</html>
index 659fd6346584a86a527ccd9681cd061dd6844187..5e26c2a281905c91e4188527d1164ff81bb00b43 100755 (executable)
@@ -35,7 +35,6 @@ Authors:
 //==== TEST_CRITERIA MOA
 
 var t = async_test(document.title, {timeout: 5000}), deviceInfo, successCallback, errorCallback;
-window.requestFileSystem = window.requestFileSystem || window.webkitRequestFileSystem;
 
 t.step(function () {
 
@@ -54,4 +53,4 @@ t.step(function () {
 });
     </script>
   </body>
-</html>
\ No newline at end of file
+</html>
index 2f31b61602aab5f1a033955f59bb853ccb4166cf..645c031695537a002f32406bddeeaf48429e02fd 100755 (executable)
@@ -36,7 +36,6 @@ Authors:
 
 var t = async_test(document.title, {timeout: 5000}), deviceInfo;
 window.resolveLocalFileSystemURL = window.resolveLocalFileSystemURL || window.webkitResolveLocalFileSystemURL;
-window.requestFileSystem = window.requestFileSystem || window.webkitRequestFileSystem;
 
 t.step(function () {
 
@@ -54,4 +53,4 @@ t.step(function () {
 });
     </script>
   </body>
-</html>
\ No newline at end of file
+</html>
index 865f4d531c897c6363013f4afaa94bf84a7c2519..c985b54d2bb52c218167fa3504cfb2e8fc04db16 100755 (executable)
@@ -36,7 +36,6 @@ Authors:
 
 var t = async_test(document.title, {timeout: 5000}), deviceInfo, errorCallback;
 window.resolveLocalFileSystemURL = window.resolveLocalFileSystemURL || window.webkitResolveLocalFileSystemURL;
-window.requestFileSystem = window.requestFileSystem || window.webkitRequestFileSystem;
 
 t.step(function () {
 
@@ -47,10 +46,10 @@ t.step(function () {
     deviceInfo = t.step_func(function() {
         requestFileSystem(TEMPORARY, 100, function(fs) {
             fs.root.getFile("aa.txt", {create:true}, function(entry) {
-                resolveLocalFileSystemURL(entry.toURL(), function (entry) {
+                resolveLocalFileSystemURL(entry.toURL(), t.step_func(function (entry) {
                     assert_equals(entry.fullPath, "/aa.txt");
                     t.done();
-                }, errorCallback);
+                }), errorCallback);
             });
         });
     });
@@ -58,4 +57,4 @@ t.step(function () {
 });
     </script>
   </body>
-</html>
\ No newline at end of file
+</html>
index c920810f06ee2cce5b25bb47436a785f45d48a70..6c49b353815f05f00d02b5959f6d19cd6d3f3f53 100755 (executable)
@@ -49,10 +49,9 @@ t.step(function () {
     });
 
     deviceReady = t.step_func(function () {
-        window.requestFileSystem = window.webkitRequestFileSystem;
         window.requestFileSystem(TEMPORARY, 100, function(fs) {
-            fs.root.getDirectory('testDirectory', {create: true}, function(fileEntry) {
-                fileEntry.getMetadata(successCallback,errorCallback)});
+            fs.root.getDirectory('testDirectory', {create: true}, t.step_func(function(fileEntry) {
+                fileEntry.getMetadata(successCallback,errorCallback)}));
         });
     });
     document.addEventListener("deviceready", deviceReady, true);
@@ -60,4 +59,4 @@ t.step(function () {
 
 </script>
 </body>
-</html>
\ No newline at end of file
+</html>
index b7aa8b6e94df56a176ee92a2e740be841a4e5d77..510885a60f93fe357121806829b3786c3d3a1761 100755 (executable)
@@ -42,11 +42,11 @@ t.step(function () {
     deviceReady = t.step_func(function () {
         check_no_interface_object("MetadataCallback");
         t.done();
-        });
+    });
     document.addEventListener("deviceready", deviceReady, true);
 });
 
 
 </script>
 </body>
-</html>
\ No newline at end of file
+</html>
index 99106923d580a079dd42fc04903d93bfd37cca9f..e19fe3b1da7ba3db4a4cd5afac9b7baf8f6f017c 100755 (executable)
@@ -36,19 +36,18 @@ Authors:
 //==== TEST_CRITERIA AE
 
 var t = async_test(document.title, {timeout: 5000}), deviceInfo;
-window.requestFileSystem = window.requestFileSystem || window.webkitRequestFileSystem;
 
 t.step(function () {
     deviceInfo = t.step_func(function() {
         requestFileSystem(TEMPORARY, 100, function(fs) {
-            fs.root.getMetadata(function (metadata) {
+            fs.root.getMetadata(t.step_func(function (metadata) {
                 assert_exists(metadata, "modificationTime");
                 t.done();
-            });
+            }));
         });
     });
     document.addEventListener("deviceready", deviceInfo, true);
 });
     </script>
   </body>
-</html>
\ No newline at end of file
+</html>
index 0d50645656a92709566d0317eab131968c31cf6b..5b93002405536c975ab2db5ee08ca653cdd2fb7b 100755 (executable)
@@ -36,20 +36,19 @@ Authors:
 //==== TEST_CRITERIA ARO
 
 var t = async_test(document.title, {timeout: 5000}), deviceInfo;
-window.requestFileSystem = window.requestFileSystem || window.webkitRequestFileSystem;
 
 t.step(function () {
     deviceInfo = t.step_func(function() {
         requestFileSystem(TEMPORARY, 100, function(fs) {
-            fs.root.getMetadata(function (metadata) {
+            fs.root.getMetadata(t.step_func(function (metadata) {
                 metadata.modificationTime = 9;
                 assert_not_equals(metadata.modificationTime, "9");
                 t.done();
-            });
+            }));
         });
     });
     document.addEventListener("deviceready", deviceInfo, true);
 });
     </script>
   </body>
-</html>
\ No newline at end of file
+</html>
index c398d8052e814cc6df729b99e84e68b264e646a7..ed7227717f9fd77ae4c3988289f96232c65753b9 100755 (executable)
@@ -36,19 +36,18 @@ Authors:
 //==== TEST_CRITERIA AT
 
 var t = async_test(document.title, {timeout: 5000}), deviceInfo;
-window.requestFileSystem = window.requestFileSystem || window.webkitRequestFileSystem;
 
 t.step(function () {
     deviceInfo = t.step_func(function() {
         requestFileSystem(TEMPORARY, 100, function(fs) {
-            fs.root.getMetadata(function (metadata) {
+            fs.root.getMetadata(t.step_func(function (metadata) {
                 assert_equals(typeof metadata.modificationTime, "object");
                 t.done();
-            });
+            }));
         });
     });
     document.addEventListener("deviceready", deviceInfo, true);
 });
     </script>
   </body>
-</html>
\ No newline at end of file
+</html>
index d1eb34e23033ced10c8384af6891a0e21d0922ac..3b641296a71e212a6d79c16838328ba29d78ee97 100755 (executable)
@@ -36,19 +36,18 @@ Authors:
 //==== TEST_CRITERIA AE
 
 var t = async_test(document.title, {timeout: 5000}), deviceInfo;
-window.requestFileSystem = window.requestFileSystem || window.webkitRequestFileSystem;
 
 t.step(function () {
     deviceInfo = t.step_func(function() {
         requestFileSystem(TEMPORARY, 100, function(fs) {
-            fs.root.getMetadata(function (metadata) {
-                assert_exists(metadata, "size");                
+            fs.root.getMetadata(t.step_func(function (metadata) {
+                assert_exists(metadata, "size");
                 t.done();
-            });
+            }));
         });
     });
     document.addEventListener("deviceready", deviceInfo, true);
 });
     </script>
   </body>
-</html>
\ No newline at end of file
+</html>
index c82c47074e69b8ee812945dad51cabf72c7e0e68..de68f14dfef41752a02b8f22a1da61cf3fc66713 100755 (executable)
@@ -36,20 +36,19 @@ Authors:
 //==== TEST_CRITERIA ARO
 
 var t = async_test(document.title, {timeout: 5000}), deviceInfo;
-window.requestFileSystem = window.requestFileSystem || window.webkitRequestFileSystem;
 
 t.step(function () {
     deviceInfo = t.step_func(function() {
         requestFileSystem(TEMPORARY, 100, function(fs) {
-            fs.root.getMetadata(function (metadata) {                
+            fs.root.getMetadata(t.step_func(function (metadata) {
                 metadata.size = 9;
                 assert_not_equals(metadata.size, "9");
                 t.done();
-            });
+            }));
         });
     });
     document.addEventListener("deviceready", deviceInfo, true);
 });
     </script>
   </body>
-</html>
\ No newline at end of file
+</html>
index c4ce12354b4b39873faabf708eeedeb191f14f15..b92ec8592186c6d77be58fa7d9cd32d876d2ba55 100755 (executable)
@@ -36,19 +36,18 @@ Authors:
 //==== TEST_CRITERIA AT
 
 var t = async_test(document.title, {timeout: 9000}), deviceInfo;
-window.requestFileSystem = window.requestFileSystem || window.webkitRequestFileSystem;
 
 t.step(function () {
     deviceInfo = t.step_func(function() {
         requestFileSystem(TEMPORARY, 100, function(fs) {
-            fs.root.getMetadata(function (metadata) {                
-                assert_equals(typeof metadata.size, "number");                
+            fs.root.getMetadata(t.step_func(function (metadata) {
+                assert_equals(typeof metadata.size, "number");
                 t.done();
-            });
+            }));
         });
     });
     document.addEventListener("deviceready", deviceInfo, true);
 });
     </script>
   </body>
-</html>
\ No newline at end of file
+</html>
index bc644c0f5b6bef9c4c127aec5616c58ca6722e5f..fe18235541ec196c04eca59358f5b9689b7e8a23 100755 (executable)
@@ -39,16 +39,16 @@ window.URL = window.URL || window.webkitURL;
 
 t.step(function () {
     deviceInfo = t.step_func(function() {
-            try{
+        try{
             var url = window.URL.createObjectURL(invalidBob);
             assert_unreached("Can't reach here.");
-            }catch(e){
+        }catch(e){
             assert_equals(typeof url, "undefined");
             t.done();
-            }
+        }
     });
     document.addEventListener("deviceready", deviceInfo, true);
 });
     </script>
   </body>
-</html>
\ No newline at end of file
+</html>
index 6b666e15ddfac7c64b093b32d141bcaa99bcfd49..3299b5908d10a96e556aceb5ff417d8c90573465 100755 (executable)
@@ -39,16 +39,16 @@ window.URL = window.URL || window.webkitURL;
 
 t.step(function () {
     deviceInfo = t.step_func(function() {
-            try{        
+        try{
             var url = window.URL.createObjectURL(invalidBob);
             assert_unreached("Can't reach here.");
-            }catch(e){
+        }catch(e){
             assert_equals(typeof window.URL.revokeObjectURL(url), "undefined");
             t.done();
-            }
+        }
     });
     document.addEventListener("deviceready", deviceInfo, true);
 });
     </script>
   </body>
-</html>
\ No newline at end of file
+</html>
index 8945bf4ef21b4855ae223a327a5bb13092e5a130..c2c5571c20cf7031fdea3e1b718dca4a0dcd0441 100755 (executable)
@@ -43,13 +43,12 @@ t.step(function () {
         assert_type(fe, "undefined", "it should be undefined");
         t.done();
     });
-    
+
     errorCallback = t.step_func(function () {
         assert_unreached("remove fileEntry errorCallback should not be invoked.");
     });
 
     deviceReady = t.step_func(function () {
-        window.requestFileSystem = window.webkitRequestFileSystem;
         window.requestFileSystem(TEMPORARY, 100, function(fs) {
             fs.root.getFile('test.txt', {create: true}, function(fileEntry) {
                 fileEntry.remove(successCallback, errorCallback)});
@@ -60,4 +59,4 @@ t.step(function () {
 
 </script>
 </body>
-</html>
\ No newline at end of file
+</html>
index fe6ad8088571e6f11d01b724113f3b25227026ed..bafaf535bac68ba088fccb4223f3294a7bba30f3 100755 (executable)
         <specs>
         </specs>
       </testcase>
-      <testcase purpose="Check if createWriter() method throws exception when argument is missing." type="compliance" status="approved" component="TizenAPI/Cordova/CordovaFile" execution_type="auto" priority="P2" id="cordova_FileEntry_createWriter_misarg">
-        <description>
-          <test_script_entry>/opt/tct-file-cordova-tests/file/cordova_FileEntry_createWriter_misarg.html</test_script_entry>
-        </description>
-        <specs>
-        </specs>
-      </testcase>
       <testcase purpose="Check if createWriter() is incorrectly with wrong type of successCallback" type="compliance" status="approved" component="TizenAPI/Cordova/CordovaFile" execution_type="auto" priority="P1" id="cordova_FileEntry_createWriter_with_errorCallback">
         <description>
           <test_script_entry>/opt/tct-file-cordova-tests/file/cordova_FileEntry_createWriter_with_errorCallback.html</test_script_entry>
         <specs>
         </specs>
       </testcase>
-      <testcase purpose="Check if file() method throws exception when argument is missing." type="compliance" status="approved" component="TizenAPI/Cordova/CordovaFile" execution_type="auto" priority="P2" id="cordova_FileEntry_file_misarg">
-        <description>
-          <test_script_entry>/opt/tct-file-cordova-tests/file/cordova_FileEntry_file_misarg.html</test_script_entry>
-        </description>
-        <specs>
-        </specs>
-      </testcase>
       <testcase purpose="Check file method with errorCallback" type="compliance" status="approved" component="TizenAPI/Cordova/CordovaFile" execution_type="auto" priority="P1" id="cordova_FileEntry_file_with_errorCallback">
         <description>
           <test_script_entry>/opt/tct-file-cordova-tests/file/cordova_FileEntry_file_with_errorCallback.html</test_script_entry>
index 658567ce67c6f6f8ac031cef4a25686c4cbda2ef..184ea481f5a44844b0763cd4ba8e329a50ffa5f4 100755 (executable)
           <test_script_entry>/opt/tct-file-cordova-tests/file/cordova_FileEntry_createWriter_exist.html</test_script_entry>
         </description>
       </testcase>
-      <testcase purpose="Check if createWriter() method throws exception when argument is missing." component="TizenAPI/Cordova/CordovaFile" execution_type="auto" priority="P2" id="cordova_FileEntry_createWriter_misarg">
-        <description>
-          <test_script_entry>/opt/tct-file-cordova-tests/file/cordova_FileEntry_createWriter_misarg.html</test_script_entry>
-        </description>
-      </testcase>
       <testcase purpose="Check if createWriter() is incorrectly with wrong type of successCallback" component="TizenAPI/Cordova/CordovaFile" execution_type="auto" priority="P1" id="cordova_FileEntry_createWriter_with_errorCallback">
         <description>
           <test_script_entry>/opt/tct-file-cordova-tests/file/cordova_FileEntry_createWriter_with_errorCallback.html</test_script_entry>
           <test_script_entry>/opt/tct-file-cordova-tests/file/cordova_FileEntry_file_exist.html</test_script_entry>
         </description>
       </testcase>
-      <testcase purpose="Check if file() method throws exception when argument is missing." component="TizenAPI/Cordova/CordovaFile" execution_type="auto" priority="P2" id="cordova_FileEntry_file_misarg">
-        <description>
-          <test_script_entry>/opt/tct-file-cordova-tests/file/cordova_FileEntry_file_misarg.html</test_script_entry>
-        </description>
-      </testcase>
       <testcase purpose="Check file method with errorCallback" component="TizenAPI/Cordova/CordovaFile" execution_type="auto" priority="P1" id="cordova_FileEntry_file_with_errorCallback">
         <description>
           <test_script_entry>/opt/tct-file-cordova-tests/file/cordova_FileEntry_file_with_errorCallback.html</test_script_entry>