[Filesystem] code consistency improvement
authorPiotr Szydelko <p.szydelko@samsung.com>
Tue, 8 Oct 2013 06:48:56 +0000 (08:48 +0200)
committerGerrit Code Review <gerrit@gerrit.vlan144.tizendev.org>
Tue, 8 Oct 2013 13:51:18 +0000 (13:51 +0000)
Change-Id: I35aafb64cb80f048535fd8ec02f238608efa6527

287 files changed:
tct-filesystem-tizen-tests/filesystem/FileArraySuccessCallback_notexist.html
tct-filesystem-tizen-tests/filesystem/FileArraySuccessCallback_onsuccess.html
tct-filesystem-tizen-tests/filesystem/FileStreamSuccessCallback_notexist.html
tct-filesystem-tizen-tests/filesystem/FileStreamSuccessCallback_onsuccess.html
tct-filesystem-tizen-tests/filesystem/FileStream_bytesAvailable_attribute.html
tct-filesystem-tizen-tests/filesystem/FileStream_close.html
tct-filesystem-tizen-tests/filesystem/FileStream_close_exist.html
tct-filesystem-tizen-tests/filesystem/FileStream_close_extra_argument.html
tct-filesystem-tizen-tests/filesystem/FileStream_eof_attribute.html
tct-filesystem-tizen-tests/filesystem/FileStream_extend.html
tct-filesystem-tizen-tests/filesystem/FileStream_notexist.html
tct-filesystem-tizen-tests/filesystem/FileStream_position_attribute.html
tct-filesystem-tizen-tests/filesystem/FileStream_read.html
tct-filesystem-tizen-tests/filesystem/FileStream_readBase64.html
tct-filesystem-tizen-tests/filesystem/FileStream_readBase64_exist.html
tct-filesystem-tizen-tests/filesystem/FileStream_readBase64_with_invalid_value.html
tct-filesystem-tizen-tests/filesystem/FileStream_readBase64_without_r_permission.html
tct-filesystem-tizen-tests/filesystem/FileStream_readBase64_writeFile.html
tct-filesystem-tizen-tests/filesystem/FileStream_readBytes.html
tct-filesystem-tizen-tests/filesystem/FileStream_readBytes_exist.html
tct-filesystem-tizen-tests/filesystem/FileStream_readBytes_with_invalid_value.html
tct-filesystem-tizen-tests/filesystem/FileStream_readBytes_without_r_permission.html
tct-filesystem-tizen-tests/filesystem/FileStream_readBytes_writeFile.html
tct-filesystem-tizen-tests/filesystem/FileStream_read_exist.html
tct-filesystem-tizen-tests/filesystem/FileStream_read_with_invalid_value.html
tct-filesystem-tizen-tests/filesystem/FileStream_read_without_r_permission.html
tct-filesystem-tizen-tests/filesystem/FileStream_read_writeFile.html
tct-filesystem-tizen-tests/filesystem/FileStream_write.html
tct-filesystem-tizen-tests/filesystem/FileStream_writeBase64.html
tct-filesystem-tizen-tests/filesystem/FileStream_writeBase64_exist.html
tct-filesystem-tizen-tests/filesystem/FileStream_writeBase64_without_w_permission.html
tct-filesystem-tizen-tests/filesystem/FileStream_writeBytes.html
tct-filesystem-tizen-tests/filesystem/FileStream_writeBytes_byteData_TypeMismatch.html
tct-filesystem-tizen-tests/filesystem/FileStream_writeBytes_exist.html
tct-filesystem-tizen-tests/filesystem/FileStream_writeBytes_missarg.html
tct-filesystem-tizen-tests/filesystem/FileStream_writeBytes_with_additional_null_parameter.html
tct-filesystem-tizen-tests/filesystem/FileStream_writeBytes_without_w_permission.html
tct-filesystem-tizen-tests/filesystem/FileStream_write_exist.html
tct-filesystem-tizen-tests/filesystem/FileStream_write_without_w_permission.html
tct-filesystem-tizen-tests/filesystem/FileStringSuccessCallback_notexist.html
tct-filesystem-tizen-tests/filesystem/FileStringSuccessCallback_onsuccess.html
tct-filesystem-tizen-tests/filesystem/FileSuccessCallback_notexist.html
tct-filesystem-tizen-tests/filesystem/FileSuccessCallback_onsuccess.html
tct-filesystem-tizen-tests/filesystem/FileSystemManagerObject_notexist.html
tct-filesystem-tizen-tests/filesystem/FileSystemManager_addStorageStateChangeListener.html
tct-filesystem-tizen-tests/filesystem/FileSystemManager_addStorageStateChangeListener_exist.html
tct-filesystem-tizen-tests/filesystem/FileSystemManager_addStorageStateChangeListener_missarg.html
tct-filesystem-tizen-tests/filesystem/FileSystemManager_addStorageStateChangeListener_onerror_TypeMismatch.html
tct-filesystem-tizen-tests/filesystem/FileSystemManager_addStorageStateChangeListener_onerror_invalid_cb.html
tct-filesystem-tizen-tests/filesystem/FileSystemManager_addStorageStateChangeListener_onsuccess_TypeMismatch.html
tct-filesystem-tizen-tests/filesystem/FileSystemManager_addStorageStateChangeListener_onsuccess_invalid_cb.html
tct-filesystem-tizen-tests/filesystem/FileSystemManager_addStorageStateChangeListener_with_onerror.html
tct-filesystem-tizen-tests/filesystem/FileSystemManager_addStorageStateChangeListener_without_arguments.html
tct-filesystem-tizen-tests/filesystem/FileSystemManager_extend.html
tct-filesystem-tizen-tests/filesystem/FileSystemManager_getStorage.html
tct-filesystem-tizen-tests/filesystem/FileSystemManager_getStorage_exist.html
tct-filesystem-tizen-tests/filesystem/FileSystemManager_getStorage_missarg.html
tct-filesystem-tizen-tests/filesystem/FileSystemManager_getStorage_onerror_TypeMismatch.html
tct-filesystem-tizen-tests/filesystem/FileSystemManager_getStorage_onerror_invalid_cb.html
tct-filesystem-tizen-tests/filesystem/FileSystemManager_getStorage_onsuccess_TypeMismatch.html
tct-filesystem-tizen-tests/filesystem/FileSystemManager_getStorage_onsuccess_invalid_cb.html
tct-filesystem-tizen-tests/filesystem/FileSystemManager_getStorage_with_nonexist_label.html
tct-filesystem-tizen-tests/filesystem/FileSystemManager_getStorage_with_onerror.html
tct-filesystem-tizen-tests/filesystem/FileSystemManager_in_tizen.html
tct-filesystem-tizen-tests/filesystem/FileSystemManager_listStorages.html
tct-filesystem-tizen-tests/filesystem/FileSystemManager_listStorages_exist.html
tct-filesystem-tizen-tests/filesystem/FileSystemManager_listStorages_missarg.html
tct-filesystem-tizen-tests/filesystem/FileSystemManager_listStorages_onerror_TypeMismatch.html
tct-filesystem-tizen-tests/filesystem/FileSystemManager_listStorages_onerror_invalid_cb.html
tct-filesystem-tizen-tests/filesystem/FileSystemManager_listStorages_onsuccess_TypeMismatch.html
tct-filesystem-tizen-tests/filesystem/FileSystemManager_listStorages_onsuccess_invalid_cb.html
tct-filesystem-tizen-tests/filesystem/FileSystemManager_listStorages_storages_retrieve.html
tct-filesystem-tizen-tests/filesystem/FileSystemManager_listStorages_with_invalid_error_callbacks.html
tct-filesystem-tizen-tests/filesystem/FileSystemManager_listStorages_with_onerror.html
tct-filesystem-tizen-tests/filesystem/FileSystemManager_listStorages_without_arguments.html
tct-filesystem-tizen-tests/filesystem/FileSystemManager_listStorages_works_correctly.html
tct-filesystem-tizen-tests/filesystem/FileSystemManager_maxPathLength_attribute.html
tct-filesystem-tizen-tests/filesystem/FileSystemManager_notexist.html
tct-filesystem-tizen-tests/filesystem/FileSystemManager_removeStorageStateChangeListener.html
tct-filesystem-tizen-tests/filesystem/FileSystemManager_removeStorageStateChangeListener_exist.html
tct-filesystem-tizen-tests/filesystem/FileSystemManager_removeStorageStateChangeListener_with_para_invalid.html
tct-filesystem-tizen-tests/filesystem/FileSystemManager_removeStorageStateChangeListener_works_correctly.html
tct-filesystem-tizen-tests/filesystem/FileSystemManager_resolve.html
tct-filesystem-tizen-tests/filesystem/FileSystemManager_resolve_documents.html
tct-filesystem-tizen-tests/filesystem/FileSystemManager_resolve_downloads.html
tct-filesystem-tizen-tests/filesystem/FileSystemManager_resolve_error_invoked.html
tct-filesystem-tizen-tests/filesystem/FileSystemManager_resolve_exist.html
tct-filesystem-tizen-tests/filesystem/FileSystemManager_resolve_images.html
tct-filesystem-tizen-tests/filesystem/FileSystemManager_resolve_invalid_location.html
tct-filesystem-tizen-tests/filesystem/FileSystemManager_resolve_missarg.html
tct-filesystem-tizen-tests/filesystem/FileSystemManager_resolve_mode_TypeMismatch.html
tct-filesystem-tizen-tests/filesystem/FileSystemManager_resolve_mode_a.html
tct-filesystem-tizen-tests/filesystem/FileSystemManager_resolve_mode_r.html
tct-filesystem-tizen-tests/filesystem/FileSystemManager_resolve_mode_w.html
tct-filesystem-tizen-tests/filesystem/FileSystemManager_resolve_music.html
tct-filesystem-tizen-tests/filesystem/FileSystemManager_resolve_onerror_TypeMismatch.html
tct-filesystem-tizen-tests/filesystem/FileSystemManager_resolve_onerror_invalid_cb.html
tct-filesystem-tizen-tests/filesystem/FileSystemManager_resolve_onsuccess_TypeMismatch.html
tct-filesystem-tizen-tests/filesystem/FileSystemManager_resolve_onsuccess_invalid_cb.html
tct-filesystem-tizen-tests/filesystem/FileSystemManager_resolve_ringtones.html
tct-filesystem-tizen-tests/filesystem/FileSystemManager_resolve_ringtones_invalid_mode_a.html
tct-filesystem-tizen-tests/filesystem/FileSystemManager_resolve_ringtones_invalid_mode_rw.html
tct-filesystem-tizen-tests/filesystem/FileSystemManager_resolve_ringtones_invalid_mode_w.html
tct-filesystem-tizen-tests/filesystem/FileSystemManager_resolve_videos.html
tct-filesystem-tizen-tests/filesystem/FileSystemManager_resolve_wgt-package_invalid_mode_a.html
tct-filesystem-tizen-tests/filesystem/FileSystemManager_resolve_wgt-package_invalid_mode_rw.html
tct-filesystem-tizen-tests/filesystem/FileSystemManager_resolve_wgt-package_invalid_mode_w.html
tct-filesystem-tizen-tests/filesystem/FileSystemManager_resolve_wgt_package.html
tct-filesystem-tizen-tests/filesystem/FileSystemManager_resolve_wgt_private.html
tct-filesystem-tizen-tests/filesystem/FileSystemManager_resolve_wgt_private_tmp.html
tct-filesystem-tizen-tests/filesystem/FileSystemManager_resolve_with_mode.html
tct-filesystem-tizen-tests/filesystem/FileSystemManager_resolve_with_onerror.html
tct-filesystem-tizen-tests/filesystem/FileSystemManager_resolve_works_correctly.html
tct-filesystem-tizen-tests/filesystem/FileSystemStorageArraySuccessCallback_notexist.html
tct-filesystem-tizen-tests/filesystem/FileSystemStorageArraySuccessCallback_onsuccess.html
tct-filesystem-tizen-tests/filesystem/FileSystemStorageSuccessCallback_notexist.html
tct-filesystem-tizen-tests/filesystem/FileSystemStorageSuccessCallback_onsuccess.html
tct-filesystem-tizen-tests/filesystem/FileSystemStorage_extend.html
tct-filesystem-tizen-tests/filesystem/FileSystemStorage_label_attribute.html
tct-filesystem-tizen-tests/filesystem/FileSystemStorage_notexist.html
tct-filesystem-tizen-tests/filesystem/FileSystemStorage_state_attribute.html
tct-filesystem-tizen-tests/filesystem/FileSystemStorage_type_attribute.html
tct-filesystem-tizen-tests/filesystem/File_copyTo.html
tct-filesystem-tizen-tests/filesystem/File_copyTo_dir_overwrite_false.html
tct-filesystem-tizen-tests/filesystem/File_copyTo_dir_overwrite_true.html
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_exist.html
tct-filesystem-tizen-tests/filesystem/File_copyTo_file_overwrite_false.html
tct-filesystem-tizen-tests/filesystem/File_copyTo_file_overwrite_true.html
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
tct-filesystem-tizen-tests/filesystem/File_copyTo_onerror_TypeMismatch.html
tct-filesystem-tizen-tests/filesystem/File_copyTo_onerror_invalid_cb.html
tct-filesystem-tizen-tests/filesystem/File_copyTo_onsuccess_TypeMismatch.html
tct-filesystem-tizen-tests/filesystem/File_copyTo_onsuccess_invalid_cb.html
tct-filesystem-tizen-tests/filesystem/File_copyTo_with_destination_invalid.html
tct-filesystem-tizen-tests/filesystem/File_copyTo_with_file_handle.html
tct-filesystem-tizen-tests/filesystem/File_copyTo_with_invalid_filepath.html
tct-filesystem-tizen-tests/filesystem/File_copyTo_with_invalid_virtual_file.html
tct-filesystem-tizen-tests/filesystem/File_copyTo_with_null_success_and_error_callbacks.html
tct-filesystem-tizen-tests/filesystem/File_copyTo_with_onerror.html
tct-filesystem-tizen-tests/filesystem/File_copyTo_with_onsuccess.html
tct-filesystem-tizen-tests/filesystem/File_copyTo_with_para_invalid.html
tct-filesystem-tizen-tests/filesystem/File_copyTo_writeFile_newName.html
tct-filesystem-tizen-tests/filesystem/File_copyTo_writeFile_overwrite_false.html
tct-filesystem-tizen-tests/filesystem/File_copyTo_writeFile_subdir.html
tct-filesystem-tizen-tests/filesystem/File_createDirectory.html
tct-filesystem-tizen-tests/filesystem/File_createDirectory_exist.html
tct-filesystem-tizen-tests/filesystem/File_createDirectory_level2.html
tct-filesystem-tizen-tests/filesystem/File_createFile.html
tct-filesystem-tizen-tests/filesystem/File_createFile_exist.html
tct-filesystem-tizen-tests/filesystem/File_createFile_existing_file.html
tct-filesystem-tizen-tests/filesystem/File_createFile_with_invalid_name.html
tct-filesystem-tizen-tests/filesystem/File_created_attribute.html
tct-filesystem-tizen-tests/filesystem/File_deleteDirectory.html
tct-filesystem-tizen-tests/filesystem/File_deleteDirectory_createDir_documents.html
tct-filesystem-tizen-tests/filesystem/File_deleteDirectory_createDir_downloads.html
tct-filesystem-tizen-tests/filesystem/File_deleteDirectory_createDir_images.html
tct-filesystem-tizen-tests/filesystem/File_deleteDirectory_createDir_music.html
tct-filesystem-tizen-tests/filesystem/File_deleteDirectory_createDir_videos.html
tct-filesystem-tizen-tests/filesystem/File_deleteDirectory_exist.html
tct-filesystem-tizen-tests/filesystem/File_deleteDirectory_onerror_TypeMismatch.html
tct-filesystem-tizen-tests/filesystem/File_deleteDirectory_onerror_invalid_cb.html
tct-filesystem-tizen-tests/filesystem/File_deleteDirectory_onsuccess_TypeMismatch.html
tct-filesystem-tizen-tests/filesystem/File_deleteDirectory_onsuccess_invalid_cb.html
tct-filesystem-tizen-tests/filesystem/File_deleteDirectory_with_empty_path.html
tct-filesystem-tizen-tests/filesystem/File_deleteDirectory_with_file_handle.html
tct-filesystem-tizen-tests/filesystem/File_deleteDirectory_with_null_callbacks.html
tct-filesystem-tizen-tests/filesystem/File_deleteDirectory_with_onerror.html
tct-filesystem-tizen-tests/filesystem/File_deleteDirectory_with_onsuccess.html
tct-filesystem-tizen-tests/filesystem/File_deleteFile.html
tct-filesystem-tizen-tests/filesystem/File_deleteFile_copyFile_downloads.html
tct-filesystem-tizen-tests/filesystem/File_deleteFile_copyFile_images.html
tct-filesystem-tizen-tests/filesystem/File_deleteFile_copyFile_music.html
tct-filesystem-tizen-tests/filesystem/File_deleteFile_copyFile_videos.html
tct-filesystem-tizen-tests/filesystem/File_deleteFile_createFile.html
tct-filesystem-tizen-tests/filesystem/File_deleteFile_exist.html
tct-filesystem-tizen-tests/filesystem/File_deleteFile_listDocumentsFiles.html
tct-filesystem-tizen-tests/filesystem/File_deleteFile_listDownloadsFiles.html
tct-filesystem-tizen-tests/filesystem/File_deleteFile_listImagsFiles.html
tct-filesystem-tizen-tests/filesystem/File_deleteFile_listMusicFiles.html
tct-filesystem-tizen-tests/filesystem/File_deleteFile_listVideosfiles.html
tct-filesystem-tizen-tests/filesystem/File_deleteFile_onerror_TypeMismatch.html
tct-filesystem-tizen-tests/filesystem/File_deleteFile_onerror_invalid_cb.html
tct-filesystem-tizen-tests/filesystem/File_deleteFile_onsuccess_TypeMismatch.html
tct-filesystem-tizen-tests/filesystem/File_deleteFile_onsuccess_invalid_cb.html
tct-filesystem-tizen-tests/filesystem/File_deleteFile_with_dir_handle.html
tct-filesystem-tizen-tests/filesystem/File_deleteFile_with_nonexist.html
tct-filesystem-tizen-tests/filesystem/File_deleteFile_with_onerror.html
tct-filesystem-tizen-tests/filesystem/File_deleteFile_with_onsuccess.html
tct-filesystem-tizen-tests/filesystem/File_deleteFile_with_vaild_callbacks.html
tct-filesystem-tizen-tests/filesystem/File_deleteFile_with_valid_filePath.html
tct-filesystem-tizen-tests/filesystem/File_extend.html
tct-filesystem-tizen-tests/filesystem/File_fileSize_attribute.html
tct-filesystem-tizen-tests/filesystem/File_fullPath_attribute.html
tct-filesystem-tizen-tests/filesystem/File_isDirectory_attribute.html
tct-filesystem-tizen-tests/filesystem/File_isFile_attribute.html
tct-filesystem-tizen-tests/filesystem/File_length_attribute.html
tct-filesystem-tizen-tests/filesystem/File_listFiles.html
tct-filesystem-tizen-tests/filesystem/File_listFiles_createFiles.html
tct-filesystem-tizen-tests/filesystem/File_listFiles_exist.html
tct-filesystem-tizen-tests/filesystem/File_listFiles_filter_TypeMismatch.html
tct-filesystem-tizen-tests/filesystem/File_listFiles_filter_empty.html
tct-filesystem-tizen-tests/filesystem/File_listFiles_missarg.html
tct-filesystem-tizen-tests/filesystem/File_listFiles_onerror_TypeMismatch.html
tct-filesystem-tizen-tests/filesystem/File_listFiles_onerror_invalid_cb.html
tct-filesystem-tizen-tests/filesystem/File_listFiles_onsuccess_TypeMismatch.html
tct-filesystem-tizen-tests/filesystem/File_listFiles_onsuccess_invalid_cb.html
tct-filesystem-tizen-tests/filesystem/File_listFiles_with_file_handle.html
tct-filesystem-tizen-tests/filesystem/File_listFiles_with_filter.html
tct-filesystem-tizen-tests/filesystem/File_listFiles_with_onerror.html
tct-filesystem-tizen-tests/filesystem/File_listFiles_with_valid_successCallback.html
tct-filesystem-tizen-tests/filesystem/File_modified_attribute.html
tct-filesystem-tizen-tests/filesystem/File_moveTo.html
tct-filesystem-tizen-tests/filesystem/File_moveTo_dir_samedir_samename_overwrite_false.html
tct-filesystem-tizen-tests/filesystem/File_moveTo_dir_samedir_samename_overwrite_true.html
tct-filesystem-tizen-tests/filesystem/File_moveTo_empty_destination_source_and_destination_paths.html
tct-filesystem-tizen-tests/filesystem/File_moveTo_exist.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_onerror_TypeMismatch.html
tct-filesystem-tizen-tests/filesystem/File_moveTo_onerror_invalid_cb.html
tct-filesystem-tizen-tests/filesystem/File_moveTo_onsuccess_TypeMismatch.html
tct-filesystem-tizen-tests/filesystem/File_moveTo_onsuccess_invalid_cb.html
tct-filesystem-tizen-tests/filesystem/File_moveTo_with_additional_null_parameter.html
tct-filesystem-tizen-tests/filesystem/File_moveTo_with_file_handle.html
tct-filesystem-tizen-tests/filesystem/File_moveTo_with_invalid_filePath.html
tct-filesystem-tizen-tests/filesystem/File_moveTo_with_onerror.html
tct-filesystem-tizen-tests/filesystem/File_moveTo_with_onsuccess.html
tct-filesystem-tizen-tests/filesystem/File_moveTo_with_path_invalid.html
tct-filesystem-tizen-tests/filesystem/File_moveTo_writeFile_newName.html
tct-filesystem-tizen-tests/filesystem/File_moveTo_writeFile_overwrite_false.html
tct-filesystem-tizen-tests/filesystem/File_moveTo_writeFile_subdir.html
tct-filesystem-tizen-tests/filesystem/File_name_attribute.html
tct-filesystem-tizen-tests/filesystem/File_notexist.html
tct-filesystem-tizen-tests/filesystem/File_openStream.html
tct-filesystem-tizen-tests/filesystem/File_openStream_encoding_invalid.html
tct-filesystem-tizen-tests/filesystem/File_openStream_exist.html
tct-filesystem-tizen-tests/filesystem/File_openStream_missarg.html
tct-filesystem-tizen-tests/filesystem/File_openStream_mode_TypeMismatch.html
tct-filesystem-tizen-tests/filesystem/File_openStream_mode_a.html
tct-filesystem-tizen-tests/filesystem/File_openStream_mode_r.html
tct-filesystem-tizen-tests/filesystem/File_openStream_mode_rw.html
tct-filesystem-tizen-tests/filesystem/File_openStream_mode_w.html
tct-filesystem-tizen-tests/filesystem/File_openStream_onerror_TypeMismatch.html
tct-filesystem-tizen-tests/filesystem/File_openStream_onerror_invalid_cb.html
tct-filesystem-tizen-tests/filesystem/File_openStream_onsuccess_TypeMismatch.html
tct-filesystem-tizen-tests/filesystem/File_openStream_onsuccess_invalid_cb.html
tct-filesystem-tizen-tests/filesystem/File_openStream_with_encoding.html
tct-filesystem-tizen-tests/filesystem/File_openStream_with_nonexist_file.html
tct-filesystem-tizen-tests/filesystem/File_openStream_with_onerror.html
tct-filesystem-tizen-tests/filesystem/File_parent_attribute.html
tct-filesystem-tizen-tests/filesystem/File_parent_attribute_notnull_using_resolve.html
tct-filesystem-tizen-tests/filesystem/File_path_attribute.html
tct-filesystem-tizen-tests/filesystem/File_readAsText.html
tct-filesystem-tizen-tests/filesystem/File_readAsText_encoding_invalid.html
tct-filesystem-tizen-tests/filesystem/File_readAsText_exist.html
tct-filesystem-tizen-tests/filesystem/File_readAsText_listDocumentsFiles.html
tct-filesystem-tizen-tests/filesystem/File_readAsText_listDownloadsFiles.html
tct-filesystem-tizen-tests/filesystem/File_readAsText_listImagesFiles.html
tct-filesystem-tizen-tests/filesystem/File_readAsText_listMusicFiles.html
tct-filesystem-tizen-tests/filesystem/File_readAsText_listVideosFiles.html
tct-filesystem-tizen-tests/filesystem/File_readAsText_missarg.html
tct-filesystem-tizen-tests/filesystem/File_readAsText_onerror_TypeMismatch.html
tct-filesystem-tizen-tests/filesystem/File_readAsText_onerror_invalid_cb.html
tct-filesystem-tizen-tests/filesystem/File_readAsText_onsuccess_TypeMismatch.html
tct-filesystem-tizen-tests/filesystem/File_readAsText_onsuccess_invalid_cb.html
tct-filesystem-tizen-tests/filesystem/File_readAsText_with_encoding.html
tct-filesystem-tizen-tests/filesystem/File_readAsText_with_onerror.html
tct-filesystem-tizen-tests/filesystem/File_readOnly_attribute.html
tct-filesystem-tizen-tests/filesystem/File_resolve.html
tct-filesystem-tizen-tests/filesystem/File_resolve_exist.html
tct-filesystem-tizen-tests/filesystem/File_resolve_with_invalid_para.html
tct-filesystem-tizen-tests/filesystem/File_resolve_with_nonexist.html
tct-filesystem-tizen-tests/filesystem/File_toURI.html
tct-filesystem-tizen-tests/filesystem/File_toURI_exist.html
tct-filesystem-tizen-tests/filesystem/File_toURI_extra_argument.html
tct-filesystem-tizen-tests/filesystem/File_toURI_with_nonexist_file.html
tct-filesystem-tizen-tests/filesystem/filesystem_FileStreamSuccessCallback_onsuccess.html
tct-filesystem-tizen-tests/filesystem/filesystem_File_copyTo.html
tct-filesystem-tizen-tests/filesystem/filesystem_File_readAsText.html
tct-filesystem-tizen-tests/filesystem/filesystem_File_resolve.html
tct-filesystem-tizen-tests/filesystem/support/unitcommon.js [new file with mode: 0644]
tct-filesystem-tizen-tests/resources/unitcommon.js [deleted file]
tct-filesystem-tizen-tests/tests.full.xml
tct-filesystem-tizen-tests/tests.xml

index 78fd364c54e29132cdd5fbb24f5348453a7e0a15..eabc37cce0f24aa87510af3a21585e7b17ed3313 100644 (file)
@@ -22,20 +22,20 @@ Authors:
 <html>
 <head>
 <title>FileArraySuccessCallback_notexist</title>
-<script src="../resources/unitcommon.js"></script>
+<script src="support/unitcommon.js"></script>
 </head>
 <body>
 <div id="log"></div>
 <script type="text/javascript">
 //==== TEST: FileArraySuccessCallback_notexist
-//==== LABEL: check if is possible to call FileArraySuccessCallback in new expresion
+//==== LABEL Check if is possible to call FileArraySuccessCallback in new expresion
 //==== PRIORITY: P3
 //==== SPEC Tizen Web API:IO:Filesystem:FileArraySuccessCallback:FileArraySuccessCallback U
 //==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html
 //==== TEST_CRITERIA CBNIO
 test(function () {
     check_no_interface_object("FileArraySuccessCallback");
-}, "FileArraySuccessCallback_notexist");
+}, document.title);
 
 </script>
 </body>
index 11839a670f58e4c1e8c0ecf873f49c1863cd9d0a..0d0c965d076df06e847744a5eb0366ae2abf556e 100644 (file)
@@ -24,7 +24,7 @@ Authors:
 <html>
 <head>
 <title>FileArraySuccessCallback_onsuccess</title>
-<script src="../resources/unitcommon.js"></script>
+<script src="support/unitcommon.js"></script>
 <script type="text/javascript" src="support/filesystem_common.js"></script>
 </head>
 <body>
@@ -32,13 +32,13 @@ Authors:
 <script type="text/javascript">
 
 //==== TEST: FileArraySuccessCallback_onsuccess
-//==== LABEL: Test whether the type of each argument is equal to the specified in FileArraySuccessCallback.
+//==== LABEL Test whether the type of each argument is equal to the specified in FileArraySuccessCallback.
 //==== PRIORITY: P1
 //==== SPEC Tizen Web API:IO:Filesystem:FileArraySuccessCallback:onsuccess M
 //==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html
 //==== TEST_CRITERIA CBOA CBT
 
-var t = async_test("FileArraySuccessCallback_onsuccess"),
+var t = async_test(document.title),
     resolveSuccess, resolveError, listSuccess, i, fsTestFileName, foundValue = false;
 
 t.step(function () {
index 561e2ed05ffd6ba2b3362abe971493dc28c27aba..0df4929b164418a098386b9311a7c11d07dde74b 100644 (file)
@@ -22,20 +22,20 @@ Authors:
 <html>
 <head>
 <title>FileStreamSuccessCallback_notexist</title>
-<script src="../resources/unitcommon.js"></script>
+<script src="support/unitcommon.js"></script>
 </head>
 <body>
 <div id="log"></div>
 <script type="text/javascript">
 //==== TEST: FileStreamSuccessCallback_notexist
-//==== LABEL: check if is possible to call FileStreamSuccessCallback in new expresion
+//==== LABEL Check if is possible to call FileStreamSuccessCallback in new expresion
 //==== PRIORITY: P3
 //==== SPEC Tizen Web API:IO:Filesystem:FileStreamSuccessCallback:FileStreamSuccessCallback U
 //==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html
 //==== TEST_CRITERIA CBNIO
 test(function () {
     check_no_interface_object("FileStreamSuccessCallback");
-}, "FileStreamSuccessCallback_notexist");
+}, document.title);
 
 </script>
 </body>
index 4443874923e1acd5310155712c595862379264d1..f33cae57413fb9f1b46bc31e44b35f264f3c7f79 100644 (file)
@@ -23,19 +23,19 @@ Authors:
 <html>
 <head>
 <title>FileStreamSuccessCallback_onsuccess</title>
-<script src="../resources/unitcommon.js"></script>
+<script src="support/unitcommon.js"></script>
 <script src="support/filesystem_common.js"></script>
 </head>
 <body>
 <div id="log"></div>
 <script type="text/javascript">
 //==== TEST: FileStreamSuccessCallback_onsuccess
-//==== LABEL: Test whether the type of each argument is equal to the specified in FileStreamSuccessCallback.
+//==== LABEL Test whether the type of each argument is equal to the specified in FileStreamSuccessCallback.
 //==== PRIORITY: P1
 //==== SPEC Tizen Web API:IO:Filesystem:FileStreamSuccessCallback:onsuccess M
 //==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html
 //==== TEST_CRITERIA CBOA CBT
-var t = async_test("FileStreamSuccessCallback_onsuccess"),
+var t = async_test(document.title),
     resolveSuccess, resolveError, file, openStreamSuccess,
     fsTestFileName = getFileName("filesystem.txt");
 
index a9c82751470f4b12d60744764fae5b5814ad957b..657f5cbd2d16fe87a1c1dc87fc47b87105f6a095 100644 (file)
@@ -27,7 +27,7 @@ EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 
 Authors:
         Kaiyu <kaiyux.li@intel.com>
-        Guan,JingX <jingx.guan@intel.com>
+        Guan, JingX <jingx.guan@intel.com>
 
 -->
 
@@ -35,7 +35,7 @@ Authors:
 <head>
 <title>FileStream_bytesAvailable_attribute</title>
 <meta charset="utf-8"/>
-<script src="../resources/unitcommon.js"></script>
+<script src="support/unitcommon.js"></script>
 <script src="support/filesystem_common.js"></script>
 </head>
 
@@ -48,7 +48,7 @@ Authors:
 //==== SPEC Tizen Web API:IO:Filesystem:FileStream:bytesAvailable A
 //==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html
 //==== TEST_CRITERIA AE ARO AT
-var t = async_test("FileStream_bytesAvailable_attribute"),
+var t = async_test(document.title),
     resolveSuccess, resolveError, openStreamSuccess, openStreamError, file,
     testStr = "1234", fsTestFileName = getFileName("existFile01.txt");
 
index e7ae29d4a77da1cc716533f818870805e9b91319..85d0d29adf43003991957a282e42a6e646f91e66 100644 (file)
@@ -27,7 +27,7 @@ EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 
 Authors:
         Kaiyu <kaiyux.li@intel.com>
-        Guan,JingX <jingx.guan@intel.com>
+        Guan, JingX <jingx.guan@intel.com>
         Mariusz Polasinski <m.polasinski@samsung.com>
 
 -->
@@ -36,7 +36,7 @@ Authors:
 <head>
 <title>FileStream_close</title>
 <meta charset="utf-8"/>
-<script src="../resources/unitcommon.js"></script>
+<script src="support/unitcommon.js"></script>
 <script src="support/filesystem_common.js"></script>
 </head>
 
@@ -49,7 +49,7 @@ Authors:
 //==== SPEC Tizen Web API:IO:Filesystem:FileStream:close M
 //==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html
 //==== TEST_CRITERIA MNA MR MNAST
-var t = async_test("FileStream_close"),
+var t = async_test(document.title),
     fsTestFileName = getFileName("closeFile.txt"), retVal = null,
     resolveSuccess, resolveError, openStreamSuccess, openStreamError, file;
 
@@ -58,7 +58,7 @@ t.step(function () {
         fs.write("abcdefg");
         retVal = fs.close();
         assert_equals(retVal, undefined, "incorrect returned value close()");
-        assert_throws({name: "IOError"}, function () {
+        assert_throws(IO_EXCEPTION, function () {
                 fs.read(2);
             });
         t.done();
index a5d95ac159926d73fefc1fca1931778c7d726cec..805f716c29ca246ab96436fd4d32c8c0aa4162ee 100644 (file)
@@ -27,7 +27,7 @@ EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 
 Authors:
         Kaiyu <kaiyux.li@intel.com>
-        Guan,JingX <jingx.guan@intel.com>
+        Guan, JingX <jingx.guan@intel.com>
 
 -->
 
@@ -35,7 +35,7 @@ Authors:
 <head>
 <title>FileStream_close_exist</title>
 <meta charset="utf-8"/>
-<script src="../resources/unitcommon.js"></script>
+<script src="support/unitcommon.js"></script>
 <script src="support/filesystem_common.js"></script>
 </head>
 
@@ -48,7 +48,7 @@ Authors:
 //==== SPEC Tizen Web API:IO:Filesystem:FileStream:close M
 //==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html
 //==== TEST_CRITERIA ME
-var t = async_test("FileStream_close_exist"),
+var t = async_test(document.title),
     fsTestFileName = getFileName("existFile04.txt"),
     resolveSuccess, resolveError, openStreamSuccess, openStreamError, file;
 
index caee5c931cd3e853c35ffa60f898d6e3fc46c23f..b1cfdb8f5feea77bc73fe903c9fad61eb41cf406 100644 (file)
@@ -23,7 +23,7 @@ Authors:
 <head>
 <title>FileStream_close_extra_argument</title>
 <meta charset="utf-8"/>
-<script src="../resources/unitcommon.js"></script>
+<script src="support/unitcommon.js"></script>
 <script src="support/filesystem_common.js"></script>
 </head>
 
@@ -36,7 +36,7 @@ Authors:
 //==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html
 //==== TEST_CRITERIA MNAEX
 
-var t = async_test("FileStream_close_extra_argument"),
+var t = async_test(document.title),
     fsTestFileName = getFileName("TestFile.txt"),
     resolveSuccess, resolveError, file, openStreamSuccess, openStreamError;
 t.step(function () {
index 69a095c652e96d1d309b632bdda71602f73147e3..792fc93758aedfcd3b5c8bbcac7f1643c3cf0e31 100644 (file)
@@ -27,7 +27,7 @@ EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 
 Authors:
         Kaiyu <kaiyux.li@intel.com>
-        Guan,JingX <jingx.guan@intel.com>
+        Guan, JingX <jingx.guan@intel.com>
 
 -->
 
@@ -35,7 +35,7 @@ Authors:
 <head>
 <title>FileStream_eof_attribute</title>
 <meta charset="utf-8"/>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
 <script src="support/filesystem_common.js"></script>
 </head>
 <body>
@@ -47,7 +47,7 @@ Authors:
 //==== SPEC Tizen Web API:IO:Filesystem:FileStream:eof A
 //==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html
 //==== TEST_CRITERIA AE ARO AT
-var t = async_test("FileStream_eof_attribute"),
+var t = async_test(document.title),
     fsTestFileName = getFileName("existFile02.txt"),
     resolveSuccess, resolveError, openStreamSuccess, openStreamError, file;
 t.step(function () {
index ebd8a9394b385891af039d6825fe272a5772db37..5f44b9e05cc7ff060b0ea07bb35ec77bdff20715 100644 (file)
@@ -22,19 +22,19 @@ Authors:
 <html>
 <head>
 <title>FileStream_extend</title>
-<script src="../resources/unitcommon.js"></script>
+<script src="support/unitcommon.js"></script>
 <script src="support/filesystem_common.js"></script>
 </head>
 <body>
 <div id="log"></div>
 <script type="text/javascript">
 //==== TEST: FileStream_extend
-//==== LABEL: test whether the FileStream object can have new attribute added
+//==== LABEL Test whether the FileStream object can have new attribute added
 //==== PRIORITY: P3
 //==== SPEC Tizen Web API:IO:Filesystem:FileStream:FileStream U
 //==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html
 //==== TEST_CRITERIA OBX
-var t = async_test("FileStream_extend"),
+var t = async_test(document.title),
     fsTestFileName = getFileName("closeFile.txt"),
     resolveSuccess, resolveError, openStreamSuccess, openStreamError, file;
 
index 3fb68b1a7558949805131add7021a7db16d01bbf..1734d7fb7df3cb0b3cd0e95ba8d5f9e593921a54 100644 (file)
@@ -22,20 +22,20 @@ Authors:
 <html>
 <head>
 <title>FileStream_notexist</title>
-<script src="../resources/unitcommon.js"></script>
+<script src="support/unitcommon.js"></script>
 </head>
 <body>
 <div id="log"></div>
 <script type="text/javascript">
 //==== TEST: FileStream_notexist
-//==== LABEL: check if is possible to call FileStream in new expresion
+//==== LABEL Check if is possible to call FileStream in new expresion
 //==== PRIORITY: P3
 //==== SPEC Tizen Web API:IO:Filesystem:FileStream:FileStream U
 //==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html
 //==== TEST_CRITERIA NIO
 test(function () {
     check_no_interface_object("FileStream");
-}, "FileStream_notexist");
+}, document.title);
 
 </script>
 </body>
index 78afd33599ed8c89491e294d511792e14f7cd4e2..f2842729d7a777b14d85ac62d5b1f34e50b8ea4f 100644 (file)
@@ -27,7 +27,7 @@ EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 
 Authors:
         Kaiyu <kaiyux.li@intel.com>
-        Guan,JingX <jingx.guan@intel.com>
+        Guan, JingX <jingx.guan@intel.com>
         Mariusz Polasinski <m.polasinski@samsung.com>
 
 -->
@@ -36,7 +36,7 @@ Authors:
 <head>
 <title>FileStream_position_attribute</title>
 <meta charset="utf-8"/>
-<script src="../resources/unitcommon.js"></script>
+<script src="support/unitcommon.js"></script>
 <script src="support/filesystem_common.js"></script>
 </head>
 <body>
@@ -48,7 +48,7 @@ Authors:
 //==== SPEC Tizen Web API:IO:Filesystem:FileStream:position A
 //==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html
 //==== TEST_CRITERIA AE AT ASG AN
-var t = async_test("FileStream_position_attribute"),
+var t = async_test(document.title),
     fsTestFileName = getFileName("existFile0.txt"),
     resolveSuccess, resolveError, openStreamSuccess, openStreamError, file;
 t.step(function () {
index 8989706699c00e43a8d3162a1d134b6994378c8c..f7e56d3c2b70320d7cc064f9fe447f354f39d8b5 100644 (file)
@@ -27,7 +27,7 @@ EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 
 Authors:
         Kaiyu <kaiyux.li@intel.com>
-        Guan,JingX <jingx.guan@intel.com>
+        Guan, JingX <jingx.guan@intel.com>
 
 -->
 
@@ -42,12 +42,12 @@ Authors:
 <div id="log"></div>
 <script type="text/javascript">
 //==== TEST: FileStream_read
-//==== LABEL: Check if method read of FileStream works properly.
+//==== LABEL Check if method read of FileStream works properly.
 //==== PRIORITY: P1
 //==== SPEC Tizen Web API:IO:Filesystem:FileStream:read M
 //==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html
 //==== TEST_CRITERIA MMINA MR
-var t = async_test("FileStream_read"),
+var t = async_test(document.title),
     fsTestFileName = getFileName("filesystem01.txt"),
     resolveSuccess, resolveError, openStreamError, openStreamSuccess,
     openStreamReadSuccess, file, expected = "abcde", text;
index 67866de6f8027a2789be938cb9193c69d87fa05d..969f02a2f42b92f856639f3271de26f46589bd00 100644 (file)
@@ -27,7 +27,7 @@ EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 
 Authors:
         Kaiyu <kaiyux.li@intel.com>
-        Guan,JingX <jingx.guan@intel.com>
+        Guan, JingX <jingx.guan@intel.com>
 
 -->
 
@@ -42,12 +42,12 @@ Authors:
 <div id="log"></div>
 <script type="text/javascript">
 //==== TEST: FileStream_readBase64
-//==== LABEL: Check if method readBase64 of FileStream works properly.
+//==== LABEL Check if method readBase64 of FileStream works properly.
 //==== PRIORITY: P1
 //==== SPEC Tizen Web API:IO:Filesystem:FileStream:readBase64 M
 //==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html
 //==== TEST_CRITERIA MMINA MR
-var t = async_test("FileStream_readBase64"),
+var t = async_test(document.title),
     fsTestFileName = getFileName("readBaseFile.txt"),
     resolveSuccess, resolveError, openStreamError, openStreamSuccess,
     openStreamReadSuccess, file, expected = "YWJjZGVmZw==", base64;
index b0ae4f8b63e1dcd4e9038b0f5d9f90d0528996d7..4fc5ea0f2338fff155d8c8af59d3abb0225003b1 100644 (file)
@@ -27,7 +27,7 @@ EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 
 Authors:
         Kaiyu <kaiyux.li@intel.com>
-        Guan,JingX <jingx.guan@intel.com>
+        Guan, JingX <jingx.guan@intel.com>
 
 -->
 
@@ -47,7 +47,7 @@ Authors:
 //==== SPEC Tizen Web API:IO:Filesystem:FileStream:readBase64 M
 //==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html
 //==== TEST_CRITERIA ME
-var t = async_test("FileStream_readBase64_exist"),
+var t = async_test(document.title),
     fsTestFileName = getFileName("existFile07.txt"),
     resolveSuccess, resolveError, openStreamSuccess, openStreamError, file;
 
index 026156fcd35567364c48107622bf761d64fbf31b..6273a798ecbece0656ab278833693a025de821a1 100644 (file)
@@ -27,7 +27,7 @@ EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 
 Authors:
         Kaiyu <kaiyux.li@intel.com>
-        Guan,JingX <jingx.guan@intel.com>
+        Guan, JingX <jingx.guan@intel.com>
 
 -->
 
@@ -42,13 +42,13 @@ Authors:
 <div id="log"></div>
 <script type="text/javascript">
 //==== TEST: FileStream_readBase64_with_invalid_value
-//==== LABEL check if throw an exception when readBase64 from a file with invalid value.
+//==== LABEL Check if throw an exception when readBase64 from a file with invalid value.
 //==== PRIORITY P2
 //==== SPEC Tizen Web API:IO:Filesystem:FileStream:readBase64 M
 //==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html
 //==== TEST_CRITERIA
 
-var t = async_test("FileStream_readBase64_with_invalid_value"),
+var t = async_test(document.title),
     fsTestFileName = getFileName("write04.txt"),
     resolveSuccess, resolveError, openStreamSuccess, openStreamError,
     file, expected = "InvalidValuesError";
index e1700bbc542ae9e0c0678bcb97e22a5cfac5bfdb..c0d65f4b33cf1106e4bb1764d4c1ff1117c0aad8 100644 (file)
@@ -44,13 +44,13 @@ Authors:
 <script type="text/javascript">
 
 //==== TEST: FileStream_readBase64_without_r_permission
-//==== LABEL check if throw an exception when read the specified number of bytes from a file without r permission and encoding the result in base64.
+//==== LABEL Check if throw an exception when read the specified number of bytes from a file without r permission and encoding the result in base64.
 //==== PRIORITY P2
 //==== SPEC Tizen Web API:IO:Filesystem:FileStream:readBase64 M
 //==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html
 //==== TEST_CRITERIA
 
-var t = async_test("FileStream_readBase64_without_r_permission"), testFile,
+var t = async_test(document.title), testFile,
     fsTestFileName = getFileName("readBase64WithoutR.txt"), resolveSuccess,
     resolveError, openStreamSuccess, openStreamError, expected = "IOError";
 
index 4d2f1c9daf0ec4502c9bf254508f7dc96c0ada1a..2493f4f69816a802449bd5d2e40a2646f04e6d5b 100644 (file)
@@ -27,7 +27,7 @@ EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 
 Authors:
         Kaiyu <kaiyux.li@intel.com>
-        Guan,JingX <jingx.guan@intel.com>
+        Guan, JingX <jingx.guan@intel.com>
 
 -->
 
@@ -42,13 +42,13 @@ Authors:
 <div id="log"></div>
 <script type="text/javascript">
 //==== TEST: FileStream_readBase64_writeFile
-//==== LABEL check if create a new empty file and write content of the file and then read the content of the file as base64
+//==== LABEL Check if create a new empty file and write content of the file and then read the content of the file as base64
 //==== PRIORITY P3
 //==== SPEC Tizen Web API:IO:Filesystem:FileStream:FileStream U
 //==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html
 //==== TEST_CRITERIA
 
-var t = async_test("FileStream_readBase64_writeFile"),
+var t = async_test(document.title),
     fsTestFileName = getFileName("fileSystem-File03.txt"),
     resolveSuccess, resolveError, openStreamError, openStreamSuccess,
     openStreamReadSuccess, file, expected = "YWJjZGVmZw==", base64;
index 88ecc88eba2d947d64b2d3b9b3d5a08e316c1315..c1071230b71abc07d424c5de3443440faaf40784 100644 (file)
@@ -27,7 +27,7 @@ EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 
 Authors:
         Kaiyu <kaiyux.li@intel.com>
-        Guan,JingX <jingx.guan@intel.com>
+        Guan, JingX <jingx.guan@intel.com>
         Mariusz Polasinski <m.polasinski@samsung.com>
 
 -->
@@ -35,19 +35,19 @@ Authors:
 <html>
 <head>
 <title>FileStream_readBytes</title>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
 <script src="support/filesystem_common.js"></script>
 </head>
 <body>
 <div id="log"></div>
 <script type="text/javascript">
 //==== TEST: FileStream_readBytes
-//==== LABEL: Check if method readBytes of FileStream works properly.
+//==== LABEL Check if method readBytes of FileStream works properly.
 //==== PRIORITY: P1
 //==== SPEC Tizen Web API:IO:Filesystem:FileStream:readBytes M
 //==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html
 //==== TEST_CRITERIA MMINA MR
-var t = async_test("FileStream_readBytes"), i,
+var t = async_test(document.title), i,
     fsTestFileName = getFileName("readBytesFile.txt"), stringToWrite = "1234567",
     resolveSuccess, resolveError, openStreamSuccess, openStreamError, len,
     openStreamReadSuccess, file, bytes;
index ae9278b731473bd73d15e08767765b11776e327e..db9b164aae9c033f923a8af5fff8786cb0ce164f 100644 (file)
@@ -27,7 +27,7 @@ EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 
 Authors:
         Kaiyu <kaiyux.li@intel.com>
-        Guan,JingX <jingx.guan@intel.com>
+        Guan, JingX <jingx.guan@intel.com>
 
 -->
 
@@ -47,7 +47,7 @@ Authors:
 //==== SPEC Tizen Web API:IO:Filesystem:FileStream:readBytes M
 //==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html
 //==== TEST_CRITERIA ME
-var t = async_test("FileStream_readBytes_exist"),
+var t = async_test(document.title),
     fsTestFileName = getFileName("existFile06.txt"),
     resolveSuccess, resolveError, openStreamSuccess, openStreamError, file;
 
index 0c5232f3e5e60685d6d81364427e6ea6859b7e12..dc77e686550cb9a30bead12e735ed787edeacabd 100644 (file)
@@ -27,7 +27,7 @@ EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 
 Authors:
         Kaiyu <kaiyux.li@intel.com>
-        Guan,JingX <jingx.guan@intel.com>
+        Guan, JingX <jingx.guan@intel.com>
         Mariusz Polasinski <m.polasinski@samsung.com>
 
 -->
@@ -43,13 +43,13 @@ Authors:
 <div id="log"></div>
 <script type="text/javascript">
 //==== TEST: FileStream_readBytes_with_invalid_value
-//==== LABEL check if throw an exception when readBytes from a file with invalid value.
+//==== LABEL Check if throw an exception when readBytes from a file with invalid value.
 //==== PRIORITY P2
 //==== SPEC Tizen Web API:IO:Filesystem:FileStream:readBytes M
 //==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html
 //==== TEST_CRITERIA
 
-var t = async_test("FileStream_readBytes_with_invalid_value"),
+var t = async_test(document.title),
     fsTestFileName = getFileName("write06.txt"),
     resolveSuccess, resolveError, openStreamSuccess, openStreamError,
     file, text, expected = "InvalidValuesError";
index 6a33a8d076bb12110fc90c0ca209e9ecdff0365c..ba9430dc2b89e6b038054ce1844a9f99280a0c46 100644 (file)
@@ -43,13 +43,13 @@ Authors:
 <script type="text/javascript">
 
 //==== TEST: FileStream_readBytes_without_r_permission
-//==== LABEL check if throw an exception when read the specified number of bytes from a file without r permission.
+//==== LABEL Check if throw an exception when read the specified number of bytes from a file without r permission.
 //==== PRIORITY P2
 //==== SPEC Tizen Web API:IO:Filesystem:FileStream:readBytes M
 //==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html
 //==== TEST_CRITERIA
 
-var t = async_test("FileStream_readBytes_without_r_permission"), testFile,
+var t = async_test(document.title), testFile,
     fsTestFileName = getFileName("readBytesWithoutR.txt"),
     resolveSuccess, resolveError, openStreamSuccess,
     openStreamError, expected = "IOError";
index 954017a734d1bd165fac15624cce66814a73499b..80905986f1b6cb42e47dc108682d91b8900ad131 100644 (file)
@@ -27,7 +27,7 @@ EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 
 Authors:
         Kaiyu <kaiyux.li@intel.com>
-        Guan,JingX <jingx.guan@intel.com>
+        Guan, JingX <jingx.guan@intel.com>
 
 -->
 
@@ -42,13 +42,13 @@ Authors:
 <div id="log"></div>
 <script type="text/javascript">
 //==== TEST: FileStream_readBytes_writeFile
-//==== LABEL 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
+//==== LABEL 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
 //==== PRIORITY P3
 //==== SPEC Tizen Web API:IO:Filesystem:FileStream:FileStream U
 //==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html
 //==== TEST_CRITERIA
 
-var t = async_test("FileStream_readBytes_writeFile"),
+var t = async_test(document.title),
     fsTestFileName = getFileName("fileSystem-File04.txt"),
     resolveSuccess, resolveError, openStreamError, openStreamSuccess,
     openStreamReadSuccess, file, expected = 7, bytes;
index 30586db6e222a0afc44699c7f755526a5e32b38e..62c2ca8d5309ac31145b843ab4afff7d4b82c1ca 100644 (file)
@@ -27,7 +27,7 @@ EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 
 Authors:
         Kaiyu <kaiyux.li@intel.com>
-        Guan,JingX <jingx.guan@intel.com>
+        Guan, JingX <jingx.guan@intel.com>
 
 -->
 
@@ -47,7 +47,7 @@ Authors:
 //==== SPEC Tizen Web API:IO:Filesystem:FileStream:read M
 //==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html
 //==== TEST_CRITERIA ME
-var t = async_test("FileStream_read_exist"),
+var t = async_test(document.title),
     fsTestFileName = getFileName("existFile05.txt"),
     resolveSuccess, resolveError, openStreamSuccess, openStreamError, file;
 
index e574e5ba6379a37e8a6e538c2710591bab098d84..37d23c9c5b8b43dbfedb3e33d39b0cc3fa1197a1 100644 (file)
@@ -27,7 +27,7 @@ EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 
 Authors:
         Kaiyu <kaiyux.li@intel.com>
-        Guan,JingX <jingx.guan@intel.com>
+        Guan, JingX <jingx.guan@intel.com>
 
 -->
 
@@ -42,13 +42,13 @@ Authors:
 <div id="log"></div>
 <script type="text/javascript">
 //==== TEST: FileStream_read_with_invalid_value
-//==== LABEL check if throw an exception when read a file with invalid value.
+//==== LABEL Check if throw an exception when read a file with invalid value.
 //==== PRIORITY P2
 //==== SPEC Tizen Web API:IO:Filesystem:FileStream:read M
 //==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html
 //==== TEST_CRITERIA
 
-var t = async_test("FileStream_read_with_invalid_value"),
+var t = async_test(document.title),
     fsTestFileName = getFileName("write02.txt"),
     resolveSuccess, resolveError, openStreamSuccess, openStreamError,
     file, expected = "InvalidValuesError";
index b5510f041381c84bf5e7233b0402f4f3f0b5ee8d..8912138696a040ef5e862efc685820266edc9be1 100644 (file)
@@ -44,13 +44,13 @@ Authors:
 <script type="text/javascript">
 
 //==== TEST: FileStream_read_without_r_permission
-//==== LABEL check if throw an exception when read a file without r permission.
+//==== LABEL Check if throw an exception when read a file without r permission.
 //==== PRIORITY P2
 //==== SPEC Tizen Web API:IO:Filesystem:FileStream:read M
 //==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html
 //==== TEST_CRITERIA
 
-var t = async_test("FileStream_read_without_r_permission"),
+var t = async_test(document.title),
     fsTestFileName = getFileName("write03.txt"), expected = "IOError", testFile,
     resolveSuccess, resolveError, openStreamSuccess, openStreamError;
 t.step(function () {
index 041e6cc837d0811c4f3e330a00d9ee5ab127354d..62428e2a4caed97504bcb0ffe27b33f15ba9683f 100644 (file)
@@ -27,7 +27,7 @@ EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 
 Authors:
         Kaiyu <kaiyux.li@intel.com>
-        Guan,JingX <jingx.guan@intel.com>
+        Guan, JingX <jingx.guan@intel.com>
 
 -->
 
@@ -42,13 +42,13 @@ Authors:
 <div id="log"></div>
 <script type="text/javascript">
 //==== TEST: FileStream_read_writeFile
-//==== LABEL check if create a new empty file and write content of the file and then read the content of the file
+//==== LABEL Check if create a new empty file and write content of the file and then read the content of the file
 //==== PRIORITY P3
 //==== SPEC Tizen Web API:IO:Filesystem:FileStream:FileStream U
 //==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html
 //==== TEST_CRITERIA
 
-var t = async_test("FileStream_read_writeFile"),
+var t = async_test(document.title),
     resolveSuccess, resolveError, openStreamError, openStreamSuccess,
     openStreamRSuccess, file, expected = "test write method", text,
     fsTestFileName = getFileName("fileSystem-File05.txt");
index 580f97de48241f28e3081ac2026f16b17a6e6290..8b6aac92321c3ed1018e2285bf3f274d4910eb7f 100644 (file)
@@ -27,7 +27,7 @@ EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 
 Authors:
         Kaiyu <kaiyux.li@intel.com>
-        Guan,JingX <jingx.guan@intel.com>
+        Guan, JingX <jingx.guan@intel.com>
         Beata Koziarek <b.koziarek@samsung.com>
 
 -->
@@ -35,20 +35,20 @@ Authors:
 <html>
 <head>
 <title>FileStream_write</title>
-<script src="../resources/unitcommon.js"></script>
+<script src="support/unitcommon.js"></script>
 <script src="support/filesystem_common.js"></script>
 </head>
 <body>
 <div id="log"></div>
 <script type="text/javascript">
 //==== TEST: FileStream_write
-//==== LABEL: Check if method write of FileStream works properly.
+//==== LABEL Check if method write of FileStream works properly.
 //==== PRIORITY: P1
 //==== SPEC Tizen Web API:IO:Filesystem:FileStream:write M
 //==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html
 //==== TEST_CRITERIA MAST MMINA MR
 //  check if writes the specified DOMString to a FileStream.
-var t = async_test("FileStream_write"),
+var t = async_test(document.title),
     resolveSuccess, resolveError, openStreamRSuccess, openStreamWSuccess,
     openStreamError, file, text, testString = "abcde", retVal = null,
     fsTestFileName = getFileName("GoodFile.txt");
index 240da565e50a5eea23faa81daffbad478f6c1201..0e6cee68f53472b2d2ef95b98874c507e0ac584f 100644 (file)
@@ -23,7 +23,7 @@ Authors:
 <head>
 <title>FileStream_writeBase64</title>
 <meta charset="utf-8"/>
-<script src="../resources/unitcommon.js"></script>
+<script src="support/unitcommon.js"></script>
 <script src="support/filesystem_common.js"></script>
 </head>
 
@@ -35,7 +35,7 @@ Authors:
 //==== SPEC Tizen Web API:IO:Filesystem:FileStream:writeBase64 M
 //==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html
 //==== TEST_CRITERIA MAST MMINA MR
-var t = async_test("FileStream_writeBase64"),
+var t = async_test(document.title),
     resolveSuccess, resolveError, openStreamWSuccess, openStreamRSuccess, retVal = null,
     openStreamError, file, base64String = "YWJjZGVmZw==", expected = "abcdefg",
     readString, fsTestFileName = getFileName("readBaseFile.txt");
index a57062c123fd43e6ca35576cefe5b59fa4621c8f..233d9f34fb6c8b9a49dd206ccd96f2b900205292 100644 (file)
@@ -27,7 +27,7 @@ EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 
 Authors:
         Kaiyu <kaiyux.li@intel.com>
-        Guan,JingX <jingx.guan@intel.com>
+        Guan, JingX <jingx.guan@intel.com>
 
 -->
 
@@ -47,7 +47,7 @@ Authors:
 //==== SPEC Tizen Web API:IO:Filesystem:FileStream:writeBase64 M
 //==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html
 //==== TEST_CRITERIA ME
-var t = async_test("FileStream_writeBase64_exist"),
+var t = async_test(document.title),
     resolveSuccess, resolveError, openStreamSuccess, openStreamError, file,
     fsTestFileName = getFileName("readBaseFile.txt");
 
index 453574d565109c49409f8b4148ce53b7cc9f10a2..b4f7620241c027b99811e9d69fd100b5dd5e9acb 100644 (file)
@@ -27,7 +27,7 @@ EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 
 Authors:
         Kaiyu <kaiyux.li@intel.com>
-        Guan,JingX <jingx.guan@intel.com>
+        Guan, JingX <jingx.guan@intel.com>
 
 -->
 
@@ -42,7 +42,7 @@ Authors:
 <div id="log"></div>
 <script type="text/javascript">
 //==== TEST: FileStream_writeBase64_without_w_permission
-//==== LABEL check if throw an exception when write the specified bytes to a file without w permission and encoding the result in base64.
+//==== LABEL Check if throw an exception when write the specified bytes to a file without w permission and encoding the result in base64.
 //==== PRIORITY P2
 //==== SPEC Tizen Web API:IO:Filesystem:FileStream:writeBase64 M
 //==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html
@@ -50,7 +50,7 @@ Authors:
 
 var resolveSuccess, resolveError, openStreamSuccess, openStreamError, file,
     expected = "IOError",  base = "YWJjZGVmZw==",
-    t = async_test("FileStream_writeBase64_without_w_permission"),
+    t = async_test(document.title),
     fsTestFileName = getFileName("write11.txt");
 
 t.step(function (){
index 09ecd377446733f825e51dffb6c3fbe85be67ced..21e8b4f68fb01781081dfb3a3ae1447ebc1cfa5d 100644 (file)
@@ -23,7 +23,7 @@ Authors:
 <head>
 <title>FileStream_writeBytes</title>
 <meta charset="utf-8"/>
-<script src="../resources/unitcommon.js"></script>
+<script src="support/unitcommon.js"></script>
 <script src="support/filesystem_common.js"></script>
 </head>
 
@@ -36,7 +36,7 @@ Authors:
 //==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html
 //==== TEST_CRITERIA MAST MMINA MR
 
-var t = async_test("FileStream_writeBytes"),
+var t = async_test(document.title),
     resolveSuccess, resolveError, openStreamWithWSuccess, openStreamWithRSuccess,
     openStreamError, file, bytes, testString = [1, 2, 3, 4, 5, 6, 7], retVal = null,
     fsTestFileName = getFileName("writeBytes.txt");
index bdcfb6b0d5fb2664dd491184f6d451883a2cbb97..3ec8b11265141a0a8b86b1e82480ecec092dd806 100644 (file)
@@ -23,7 +23,7 @@ Authors:
 <head>
 <title>FileStream_writeBytes_byteData_TypeMismatch</title>
 <meta charset="utf-8"/>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
 <script src="support/filesystem_common.js"></script>
 </head>
 <body>
@@ -37,7 +37,7 @@ Authors:
 //==== TEST_CRITERIA MC
 
 //  Check if method writeBytes of FileStream works properly.
-var t = async_test("FileStream_writeBytes_byteData_TypeMismatch"),
+var t = async_test(document.title),
     resolveSuccess, resolveError, openStreamSuccess, openStreamError,
     file, conversionTable, bytes, i, exceptionName = "TypeMismatchError",
     fsTestFileName = getFileName("readBytesFiletest3.txt");
@@ -49,7 +49,7 @@ t.step(function (){
             bytes = conversionTable[i][0];
             exceptionName = conversionTable[i][1];
 
-            assert_throws({name : exceptionName}, function () {
+            assert_throws({name: exceptionName}, function () {
                 fs.writeBytes(bytes);
             }, exceptionName + " should be thrown - given incorrect byteData.");
         }
index 2e27fb60e449cefa3f2d5ba5ed4cf5b6c734a574..21ae7eb4a66b5c14badf85f037364010f56f15fd 100644 (file)
@@ -27,7 +27,7 @@ EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 
 Authors:
         Kaiyu <kaiyux.li@intel.com>
-        Guan,JingX <jingx.guan@intel.com>
+        Guan, JingX <jingx.guan@intel.com>
 
 -->
 
@@ -48,7 +48,7 @@ Authors:
 //==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html
 //  check if method: writeBytes is exist
 //==== TEST_CRITERIA ME
-var t = async_test("FileStream_writeBytes_exist"),
+var t = async_test(document.title),
     resolveSuccess, resolveError, openStreamSuccess, openStreamError, file,
     fsTestFileName = getFileName("existFile09.txt");
 
index ba4ebb6a7efcb6c525acdcba1248f2b447621255..8469873bd0a18aa35f357b2e2102fe191ff7ad17 100644 (file)
@@ -23,7 +23,7 @@ Authors:
 <head>
 <title>FileStream_writeBytes_missarg</title>
 <meta charset="utf-8"/>
-<script src="../resources/unitcommon.js"></script>
+<script src="support/unitcommon.js"></script>
 <script src="support/filesystem_common.js"></script>
 </head>
 <body>
@@ -36,7 +36,7 @@ Authors:
 //==== TEST_CRITERIA MMA
 
 //  Check if method writeBytes of FileStream works properly.
-var t = async_test("FileStream_writeBytes_missarg"),
+var t = async_test(document.title),
     resolveSuccess, resolveError, openStreamSuccess, openStreamError, file,
     expected = "TypeMismatchError",
     fsTestFileName = getFileName("readBytesFiletest2.txt");
index 0b20b4548cc230d692cf1e91bc841bbc70700e59..6995d52bdc70316a98d227cf6d123300d23c835c 100644 (file)
@@ -26,7 +26,7 @@ Authors:
 <head>
 <title>FileStream_writeBytes_with_additional_null_parameter</title>
 <meta charset="utf-8">
-<script src="../resources/unitcommon.js"></script>
+<script src="support/unitcommon.js"></script>
 <script src="support/filesystem_common.js"></script>
 </head>
 <body>
@@ -34,11 +34,11 @@ Authors:
 <script type="text/javascript">
 
 //==== TEST: FileStream_writeBytes_with_additional_null_parameter
-//==== LABEL check whether 'writeBytes' method properly writes the specified bytes to FileStream
+//==== LABEL Check whether 'writeBytes' method properly writes the specified bytes to FileStream
 //==== SPEC Tizen Web API:IO:Filesystem:FileStream:writeBytes M
 //==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html
 //==== TEST_CRITERIA MAST
-var t = async_test("FileStream_writeBytes_with_additional_null_parameter"),
+var t = async_test(document.title),
     file, resolveSuccess, resolveError, openStreamWriteSuccess,
     openStreamError, openStreamReadSuccess, testString = [1, 2, 3, 4, 5, 6, 7],
     readString, fsTestFileName = getFileName("readBytesFileTestNull.txt");
index 02ed7226a5f55e6a84b0819846e68302cd98be34..c9da5a03232ad1f1b2e958776c63b14957355c69 100644 (file)
@@ -27,7 +27,7 @@ EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 
 Authors:
         Kaiyu <kaiyux.li@intel.com>
-        Guan,JingX <jingx.guan@intel.com>
+        Guan, JingX <jingx.guan@intel.com>
 
 -->
 
@@ -42,16 +42,16 @@ Authors:
 <div id="log"></div>
 <script type="text/javascript">
 //==== TEST: FileStream_writeBytes_without_w_permission
-//==== LABEL check if throw an exception when write the specified bytes to a file without w permission.
+//==== LABEL Check if throw an exception when write the specified bytes to a file without w permission.
 //==== PRIORITY P2
 //==== SPEC Tizen Web API:IO:Filesystem:FileStream:writeBytes M
 //==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html
 //==== TEST_CRITERIA
 
 //  check if throw an exception when write the specified bytes to a file without w permission.
-var t = async_test("FileStream_writeBytes_without_w_permission"),
+var t = async_test(document.title),
     resolveSuccess, resolveError, openStreamSuccess, openStreamError, file,
-    bytes = new Array(104,101,108), expected = "IOError",
+    bytes = new Array(104, 101, 108), expected = "IOError",
     fsTestFileName = getFileName("writeBytesWOPerm.txt");
 
 t.step(function (){
index 5adbb51bee3d0fd9b5408b35b134f006dd6af90c..59623a77f2074483eb890bff0d4a31a4dafad9d8 100644 (file)
@@ -27,7 +27,7 @@ EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 
 Authors:
         Kaiyu <kaiyux.li@intel.com>
-        Guan,JingX <jingx.guan@intel.com>
+        Guan, JingX <jingx.guan@intel.com>
 
 -->
 
@@ -48,7 +48,7 @@ Authors:
 //==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html
 //==== TEST_CRITERIA ME
 //  check if method: write is exist
-var t = async_test("FileStream_write_exist"),
+var t = async_test(document.title),
     fsTestFileName = getFileName("existFile08.txt"),
     resolveSuccess, resolveError, openStreamSuccess, openStreamError, file;
 
index 68c2efdf2fa8c2ff1d76b02c6e92e03d5428831d..e7399c476b8a442b31e22d7c562a35b33cc81fb1 100644 (file)
@@ -27,7 +27,7 @@ EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 
 Authors:
         Kaiyu <kaiyux.li@intel.com>
-        Guan,JingX <jingx.guan@intel.com>
+        Guan, JingX <jingx.guan@intel.com>
 
 -->
 
@@ -44,13 +44,13 @@ Authors:
 <script type="text/javascript">
 
 //==== TEST: FileStream_write_without_w_permission
-//==== LABEL check if throw an exception when write a file without w permission.
+//==== LABEL Check if throw an exception when write a file without w permission.
 //==== PRIORITY P2
 //==== SPEC Tizen Web API:IO:Filesystem:FileStream:write M
 //==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html
 //==== TEST_CRITERIA
 
-var t = async_test("FileStream_write_without_w_permission"),
+var t = async_test(document.title),
     fsTestFileName = getFileName("write09.txt"),
     resolveSuccess, resolveError, openStreamSuccess, openStreamError, file,
     expected = "IOError";
index 29358f0611d30883f0da27851b275b2d4f64507f..986fd136d971fa69479594c923428afe38712cf5 100644 (file)
@@ -22,20 +22,20 @@ Authors:
 <html>
 <head>
 <title>FileStringSuccessCallback_notexist</title>
-<script src="../resources/unitcommon.js"></script>
+<script src="support/unitcommon.js"></script>
 </head>
 <body>
 <div id="log"></div>
 <script type="text/javascript">
 //==== TEST: FileStringSuccessCallback_notexist
-//==== LABEL: check if is possible to call FileStringSuccessCallback in new expresion
+//==== LABEL Check if is possible to call FileStringSuccessCallback in new expresion
 //==== PRIORITY: P3
 //==== SPEC Tizen Web API:IO:Filesystem:FileStringSuccessCallback:FileStringSuccessCallback U
 //==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html
 //==== TEST_CRITERIA CBNIO
 test(function () {
     check_no_interface_object("FileStringSuccessCallback");
-}, "FileStringSuccessCallback_notexist");
+}, document.title);
 
 </script>
 </body>
index eb21abdc3d4a0909da0646669009bfa04e8c826d..aa0c80e940e93e8f8f2d3efeca0e600c11e98bca 100644 (file)
@@ -23,19 +23,19 @@ Authors:
 <html>
 <head>
 <title>FileStringSuccessCallback_onsuccess</title>
-<script src="../resources/unitcommon.js"></script>
+<script src="support/unitcommon.js"></script>
 <script src="support/filesystem_common.js"></script>
 </head>
 <body>
 <div id="log"></div>
 <script type="text/javascript">
 //==== TEST: FileStringSuccessCallback_onsuccess
-//==== LABEL: Test whether the type of each argument is equal to the specified in FileStringSuccessCallback.
+//==== LABEL Test whether the type of each argument is equal to the specified in FileStringSuccessCallback.
 //==== PRIORITY: P1
 //==== SPEC Tizen Web API:IO:Filesystem:FileStringSuccessCallback:onsuccess M
 //==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html
 //==== TEST_CRITERIA CBOA CBT
-var t = async_test("FileStringSuccessCallback_onsuccess"), stringToWrite = "HelloWorld",
+var t = async_test(document.title), stringToWrite = "HelloWorld",
     resolveSuccess, resolveError, readAsTextSuccess, openStreamSuccess, file,
     fsTestFileName = getFileName("filesystem.txt");
 
index c17b95cb38a8c8c027b97c838b48d2e1e148ad79..88f4fca2cecfbfbbbf3c7780628d97fe1978a338 100644 (file)
@@ -22,20 +22,20 @@ Authors:
 <html>
 <head>
 <title>FileSuccessCallback_notexist</title>
-<script src="../resources/unitcommon.js"></script>
+<script src="support/unitcommon.js"></script>
 </head>
 <body>
 <div id="log"></div>
 <script type="text/javascript">
 //==== TEST: FileSuccessCallback_notexist
-//==== LABEL: check if is possible to call FileSuccessCallback in new expresion
+//==== LABEL Check if is possible to call FileSuccessCallback in new expresion
 //==== PRIORITY: P3
 //==== SPEC Tizen Web API:IO:Filesystem:FileSuccessCallback:FileSuccessCallback U
 //==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html
 //==== TEST_CRITERIA CBNIO
 test(function () {
     check_no_interface_object("FileSuccessCallback");
-}, "FileSuccessCallback_notexist");
+}, document.title);
 
 </script>
 </body>
index f497492468e7c71445c67d957d029c2602a033fd..9671095cc68b8092686917da3be77cc77f34ebc1 100644 (file)
@@ -24,7 +24,7 @@ Authors:
 <head>
 <meta charset="utf-8"/>
 <title>FileSuccessCallback_onsuccess</title>
-<script src="../resources/unitcommon.js"></script>
+<script src="support/unitcommon.js"></script>
 <script src="support/filesystem_common.js"></script>
 </head>
 <body>
@@ -32,13 +32,13 @@ Authors:
 <script type="text/javascript">
 
 //==== TEST: FileSuccessCallback_onsuccess
-//==== LABEL: Test whether the type of each argument is equal to the specified.
+//==== LABEL Test whether the type of each argument is equal to the specified.
 //==== PRIORITY: P1
 //==== SPEC Tizen Web API:IO:Filesystem:FileSuccessCallback:onsuccess M
 //==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html
 //==== TEST_CRITERIA CBOA CBT
 
-var t = async_test("FileSuccessCallback_onsuccess"),
+var t = async_test(document.title),
     resolveSuccess, resolveError;
 
 t.step(function () {
index 8954becc0cc44b4c948ac2970010d512941d4c83..5c05085eceafc167ee694d243bd54d462f3d695b 100644 (file)
@@ -29,7 +29,7 @@ Authors:
 <head>
 <title>FileSystemManagerObject_notexist</title>
 <meta charset="utf-8">
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
 </head>
 
 <body>
@@ -37,7 +37,7 @@ Authors:
 <script type="text/javascript">
 
 //==== TEST: FileSystemManagerObject_notexist
-//==== LABEL check if FileSystemManagerObject not exist
+//==== LABEL Check if FileSystemManagerObject not exist
 //==== SPEC Tizen Web API:IO:Filesystem:FileSystemManagerObject:FileSystemManagerObject U
 //==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html
 //==== PRIORITY P3
@@ -45,7 +45,7 @@ Authors:
 
 test(function () {
     check_no_interface_object("FileSystemManagerObject");
-}, "FileSystemManagerObject_notexist");
+}, document.title);
 
 </script>
 </body>
index 284a1e8c1a7447f21817bd21ed84847a5a24e9d2..856869a52cd4dd12ff88428656597274fbecdda1 100644 (file)
@@ -23,7 +23,7 @@ Authors:
 <head>
 <title>FileSystemManager_addStorageStateChangeListener</title>
 <meta charset="utf-8"/>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
 </head>
 
 <body>
@@ -36,7 +36,7 @@ Authors:
 //==== TEST_CRITERIA MMINA MR
 
 //  Check addStorageStateChangeListener with non-optional arguments
-var t = async_test("FileSystemManager_addStorageStateChangeListener"),
+var t = async_test(document.title),
     successCallback, retValue = null;
 t.step(function () {
     successCallback = t.step_func(function (storages) {
index d1397deb81911ccdef29f665244aaa8c27785e7d..4fed4e0eb51d1e6f0fed51aa3228d6361210981a 100644 (file)
@@ -23,7 +23,7 @@ Authors:
 <head>
 <title>FileSystemManager_addStorageStateChangeListener_exist</title>
 <meta charset="utf-8"/>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
 </head>
 
 <body>
@@ -40,7 +40,7 @@ test(function () {
     assert_true("addStorageStateChangeListener" in tizen.filesystem,
         "No addStorageStateChangeListener method in tizen.filesystem");
     check_method_exists(tizen.filesystem, "addStorageStateChangeListener");
-}, "FileSystemManager_addStorageStateChangeListener_exist");
+}, document.title);
 
 </script>
 </body>
index 23972db055fbd351b3681286052e7fc47a7e8aa3..f2f7a8d8bf215233ea92be80b7cc5d5ff66f70e9 100644 (file)
@@ -23,7 +23,7 @@ Authors:
 <head>
 <title>FileSystemManager_addStorageStateChangeListener_missarg</title>
 <meta charset="utf-8"/>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
 </head>
 
 <body>
@@ -37,11 +37,11 @@ Authors:
 //==== TEST_CRITERIA MMA
 
 test(function () {
-    assert_throws({ name: "TypeMismatchError" },
+    assert_throws(TYPE_MISMATCH_EXCEPTION,
         function () {
             tizen.filesystem.addStorageStateChangeListener();
         }, "Method should throw an exception");
-}, "FileSystemManager_addStorageStateChangeListener_missarg");
+}, document.title);
 
 </script>
 </body>
index f715cd8384443525b43e1a7d1c153f51b0a6a215..eb2c28826cdb1d238f02e172ee40ea4315fc7821 100644 (file)
@@ -22,7 +22,7 @@ Authors:
 <head>
 <title>FileSystemManager_addStorageStateChangeListener_onerror_TypeMismatch</title>
 <meta charset="utf-8"/>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
 </head>
 
 <body>
@@ -35,7 +35,7 @@ Authors:
 //==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html
 //==== TEST_CRITERIA MC
 
-var t = async_test("FileSystemManager_addStorageStateChangeListener_onerror_TypeMismatch"), i,
+var t = async_test(document.title), i,
     onSuccess, onError, exceptionName, conversionTable;
 t.step(function () {
     onSuccess = t.step_func(function (storage) {
@@ -46,7 +46,7 @@ t.step(function () {
         onError = conversionTable[i][0];
         exceptionName = conversionTable[i][1];
 
-        assert_throws({name : exceptionName},
+        assert_throws({name: exceptionName},
         function () {
             tizen.filesystem.addStorageStateChangeListener(onSuccess, onError);
         }, exceptionName + " should be thrown - given incorrect errorCallback #"+ onError +"#");
index f569bdc1e9be272c122e9f1959ddf7171f6c19d9..77e35e5593806078425f5cd52fc49c05007f198d 100644 (file)
@@ -22,7 +22,7 @@ Authors:
 <head>
 <title>FileSystemManager_addStorageStateChangeListener_onerror_invalid_cb</title>
 <meta charset="utf-8"/>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
 </head>
 
 <body>
@@ -36,7 +36,7 @@ Authors:
 //==== TEST_CRITERIA MTCB
 
 //  Check argument onError validation
-var t = async_test("FileSystemManager_addStorageStateChangeListener_onerror_invalid_cb"),
+var t = async_test(document.title),
     exceptionName = "TypeMismatchError", incorrectCallback, onSuccess;
 t.step(function () {
     onSuccess = t.step_func(function (storage) {
@@ -47,7 +47,7 @@ t.step(function () {
             assert_unreached("invalid callback invoked");
         })
     };
-    assert_throws({name : exceptionName},
+    assert_throws({name: exceptionName},
         function () {
             tizen.filesystem.addStorageStateChangeListener(onSuccess, incorrectCallback);
         }, exceptionName + " should be thrown - given incorrect error callback.");
index 3b0d792dfa7e498ae8b25ec4efffb4d312843047..95a436175f775ce46a3a2102cd68907860fd1309 100644 (file)
@@ -23,7 +23,7 @@ Authors:
 <head>
 <title>FileSystemManager_addStorageStateChangeListener_onsuccess_TypeMismatch</title>
 <meta charset="utf-8"/>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
 </head>
 
 <body>
@@ -37,7 +37,7 @@ Authors:
 //==== TEST_CRITERIA MC
 
 //  Check argument onSuccess conversions exception
-var t = async_test("FileSystemManager_addStorageStateChangeListener_onsuccess_TypeMismatch"),
+var t = async_test(document.title),
     i, onSuccess, exceptionName, conversionTable;
 t.step(function () {
     conversionTable = getTypeConversionExceptions("functionObject", false);
@@ -45,7 +45,7 @@ t.step(function () {
         onSuccess = conversionTable[i][0];
         exceptionName = conversionTable[i][1];
 
-        assert_throws({name : exceptionName},
+        assert_throws({name: exceptionName},
             function () {
                 tizen.filesystem.addStorageStateChangeListener(onSuccess);
             }, exceptionName + " should be thrown - given incorrect onSuccess.");
index 444b89cc9418c468969db8be48eb94b03e55e2e6..85beff561d9893189b98f7120f43f82f4b41efee 100644 (file)
@@ -23,7 +23,7 @@ Authors:
 <head>
 <title>FileSystemManager_addStorageStateChangeListener_onsuccess_invalid_cb</title>
 <meta charset="utf-8"/>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
 </head>
 
 <body>
@@ -37,7 +37,7 @@ Authors:
 //==== TEST_CRITERIA MTCB
 
 //  Check argument onSuccess validation
-var t = async_test("FileSystemManager_addStorageStateChangeListener_onsuccess_invalid_cb"),
+var t = async_test(document.title),
     exceptionName = "TypeMismatchError", incorrectCallback;
 
 t.step(function () {
@@ -46,7 +46,7 @@ t.step(function () {
             assert_unreached("Invalid callback invoked: ");
         })
     };
-    assert_throws({name : exceptionName},
+    assert_throws({name: exceptionName},
         function () {
             tizen.filesystem.addStorageStateChangeListener(incorrectCallback);
         }, exceptionName + " should be thrown - given incorrect error callback.");
index b1155711b954a3d682648c9a7e2b4e8fdfd4e35c..56de2081c69faeb8c33331cb1f721fbbb5e75144 100644 (file)
@@ -23,7 +23,7 @@ Authors:
 <head>
 <title>FileSystemManager_addStorageStateChangeListener_with_onerror</title>
 <meta charset="utf-8"/>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
 </head>
 
 <body>
@@ -37,7 +37,7 @@ Authors:
 //==== TEST_CRITERIA MOA
 
 //  Check with optional arguments getStorage
-var t = async_test("FileSystemManager_addStorageStateChangeListener_with_onerror"),
+var t = async_test(document.title),
     onError, successCallback;
 t.step(function (){
     onError = t.step_func(function (error) {
index b5890c04dea19b175d25e9901a7fd88d35adbfdf..6419c1d1708698d2b3543e95fe8372a239b3dfc7 100644 (file)
@@ -26,7 +26,7 @@ Authors:
 <title>FileSystemManager_addStorageStateChangeListener_without_arguments</title>
 <meta charset="utf-8">
 <script>window.onError = function (e) { console.log(e); };</script>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
 <script type="text/javascript" src="support/filesystem_common.js"></script>
 </head>
 
@@ -37,17 +37,15 @@ Authors:
 
 //==== TEST: FileSystemManager_addStorageStateChangeListener_without_arguments
 //==== PRIORITY P2
-//==== LABEL check whether invoking 'addStorageStateChangeListener' method without any argument throws exception properly
+//==== LABEL Check whether invoking 'addStorageStateChangeListener' method without any argument throws exception properly
 //==== SPEC Tizen Web API:IO:Filesystem:FileSystemManager:addStorageStateChangeListener M
 //==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html
 //==== TEST_CRITERIA MMA
 test(function () {
-    assert_throws({
-        name: "TypeMismatchError"
-    }, function () {
+    assert_throws(TYPE_MISMATCH_EXCEPTION, function () {
         tizen.filesystem.addStorageStateChangeListener();
     });
-}, "FileSystemManager_addStorageStateChangeListener_without_arguments");
+}, document.title);
 
 </script>
 </body>
index 245c9d37fb4b2f843f183a7fcc5379ea99d1cd6f..6a726574535e972716beda6be6cba7b35d69e785 100644 (file)
@@ -23,7 +23,7 @@ Authors:
 <head>
 <title>FileSystemManager_extend</title>
 <meta charset="utf-8"/>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
 </head>
 
 <body>
@@ -38,7 +38,7 @@ Authors:
 
 test(function () {
     check_extensibility(tizen.filesystem);
-}, "FileSystemManager_extend");
+}, document.title);
 
 </script>
 </body>
index 41aaae99060772875c8cad99f2a06550fe14111d..4a3980ccbe12d918194add1e73f41c535c680bdf 100644 (file)
@@ -27,7 +27,7 @@ EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 
 Authors:
         Kaiyu <kaiyux.li@intel.com>
-        Guan,JingX <jingx.guan@intel.com>
+        Guan, JingX <jingx.guan@intel.com>
         Piotr Czaja <p.czaja@samsung.com>
         Beata Koziarek <b.koziarek@samsung.com>
 
@@ -36,7 +36,7 @@ Authors:
 <head>
 <title>FileSystemManager_getStorage</title>
 <meta charset="utf-8"/>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
 </head>
 
 <body>
@@ -50,7 +50,7 @@ Authors:
 //==== TEST_CRITERIA MMINA MR
 
 //  Check with non-optional arguments getStorage
-var t = async_test("FileSystemManager_getStorage"),
+var t = async_test(document.title),
     onSuccess, onError, successCallback, retValue = null;
 t.step(function () {
     onSuccess = t.step_func(function (storage) {
index b07fdf3a6f4f0b153972dac436b7488359575cbe..c39fc50012f0d26e836b4cdab9260ecb569b9559 100644 (file)
@@ -23,7 +23,7 @@ Authors:
 <head>
 <title>FileSystemManager_getStorage_exist</title>
 <meta charset="utf-8"/>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
 </head>
 
 <body>
@@ -38,7 +38,7 @@ Authors:
 test(function () {
     assert_true("getStorage" in tizen.filesystem, "No getStorage method in tizen.filesystem");
     check_method_exists(tizen.filesystem, "getStorage");
-}, "FileSystemManager_getStorage_exist");
+}, document.title);
 
 </script>
 </body>
index 6e0d3b7913913641c1ecb0253e7918fb23bc03a4..8172298198a1c1ec15c4453370f7308d11b317d9 100644 (file)
@@ -23,7 +23,7 @@ Authors:
 <head>
 <title>FileSystemManager_getStorage_missarg</title>
 <meta charset="utf-8"/>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
 </head>
 
 <body>
@@ -37,11 +37,11 @@ Authors:
 //==== TEST_CRITERIA MMA
 
 test(function () {
-    assert_throws({ name: "TypeMismatchError" },
+    assert_throws(TYPE_MISMATCH_EXCEPTION,
         function () {
             tizen.filesystem.getStorage();
         }, "Method should throw an exception");
-}, "FileSystemManager_getStorage_missarg");
+}, document.title);
 
 </script>
 </body>
index 9af3d59041a0e8b32ec8aa3deba374ad0323c7ae..bcb5ce4168b8b662f8096eae5eddeb0bb9d06b39 100644 (file)
@@ -23,7 +23,7 @@ Authors:
 <head>
 <title>FileSystemManager_getStorage_onerror_TypeMismatch</title>
 <meta charset="utf-8"/>
-<script src="../resources/unitcommon.js"></script>
+<script src="support/unitcommon.js"></script>
 </head>
 
 <body>
@@ -37,7 +37,7 @@ Authors:
 //==== TEST_CRITERIA MC
 
 //  Check argument onError conversions exception
-var t = async_test("FileSystemManager_getStorage_onerror_TypeMismatch"), i,
+var t = async_test(document.title), i,
     getStorageSuccess, getStorageError, exceptionName,
     listStoragesSuccess, listStoragesError, conversionTable;
 
@@ -51,7 +51,7 @@ t.step(function () {
             getStorageError = conversionTable[i][0];
             exceptionName = conversionTable[i][1];
 
-            assert_throws({name : exceptionName},
+            assert_throws({name: exceptionName},
                 function () {
                     tizen.filesystem.getStorage(storages[0].label, getStorageSuccess, getStorageError);
                 }, exceptionName + " should be thrown - given incorrect errorCallback.");
index 29c213425e8e7364b45b26c1f7601d8a5dd0ae95..756c23a7fb3fb7409e6dc930d90cb439a69c1ff6 100644 (file)
@@ -23,7 +23,7 @@ Authors:
 <head>
 <title>FileSystemManager_getStorage_onerror_invalid_cb</title>
 <meta charset="utf-8"/>
-<script src="../resources/unitcommon.js"></script>
+<script src="support/unitcommon.js"></script>
 </head>
 
 <body>
@@ -37,7 +37,7 @@ Authors:
 //==== TEST_CRITERIA MTCB
 
 //  Check argument onError validation
-var t = async_test("FileSystemManager_getStorage_onerror_invalid_cb"),
+var t = async_test(document.title),
     exceptionName = "TypeMismatchError", getStorageIncorrect, getStorageSuccess,
     listStoragesSuccess, listStoragesError;
 
@@ -54,7 +54,7 @@ t.step(function () {
         assert_unreached("listStorages() error callback invoked: name: " + error.name + ", msg: " + error.message);
     });
     listStoragesSuccess = t.step_func(function (storages) {
-        assert_throws({name : exceptionName},
+        assert_throws({name: exceptionName},
             function () {
                 tizen.filesystem.getStorage(storages[0].label, getStorageSuccess, getStorageIncorrect);
             }, exceptionName + " should be thrown - given incorrect error callback.");
index 402d5184504ddbec518d89927b39e5f7bebb2fbc..5a72799f4e7c04909ace59d2e983cc9d7a101626 100644 (file)
@@ -24,7 +24,7 @@ Authors:
 <head>
 <title>FileSystemManager_getStorage_onsuccess_TypeMismatch</title>
 <meta charset="utf-8"/>
-<script src="../resources/unitcommon.js"></script>
+<script src="support/unitcommon.js"></script>
 </head>
 
 <body>
@@ -38,7 +38,7 @@ Authors:
 //==== TEST_CRITERIA MC
 
 //  Check argument onSuccess conversions exception
-var t = async_test("FileSystemManager_getStorage_onsuccess_TypeMismatch"), i,
+var t = async_test(document.title), i,
     listStoragesSuccess, listStoragesError, exceptionName,
     getStorageSuccess, conversionTable;
 
@@ -49,7 +49,7 @@ t.step(function () {
             getStorageSuccess = conversionTable[i][0];
             exceptionName = conversionTable[i][1];
 
-            assert_throws({name : exceptionName},
+            assert_throws({name: exceptionName},
                 function () {
                     tizen.filesystem.getStorage(storages[0].label, getStorageSuccess);
                 }, exceptionName + " should be thrown - given incorrect onSuccess.");
index 1dc03b093dfc46fed03d7324124e0fd63ac058e7..42799e3fca49e2caaa3aa2555657a0fb188fcced 100644 (file)
@@ -23,7 +23,7 @@ Authors:
 <head>
 <title>FileSystemManager_getStorage_onsuccess_invalid_cb</title>
 <meta charset="utf-8"/>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
 </head>
 
 <body>
@@ -37,7 +37,7 @@ Authors:
 //==== TEST_CRITERIA MTCB
 
 //  Check argument onSuccess validation
-var t = async_test("FileSystemManager_getStorage_onsuccess_invalid_cb"),
+var t = async_test(document.title),
     exceptionName = "TypeMismatchError", getStorageIncorrect, listStoragesError,
     listStoragesSuccess;
 
@@ -49,7 +49,7 @@ t.step(function () {
     };
 
     listStoragesSuccess = t.step_func(function (storages) {
-        assert_throws({name : exceptionName},
+        assert_throws({name: exceptionName},
             function () {
                 tizen.filesystem.getStorage(storages[0].label, getStorageIncorrect);
             }, exceptionName + " should be thrown - given incorrect error callback.");
index 2101432d80d95b105f7a3798517dee14655e3ff3..c7e6fd777e5ad63cd0fb6e840f4b46fc606b5e8e 100644 (file)
@@ -27,7 +27,7 @@ EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 
 Authors:
         Kaiyu <kaiyux.li@intel.com>
-        Guan,JingX <jingx.guan@intel.com>
+        Guan, JingX <jingx.guan@intel.com>
 
 -->
 
@@ -41,14 +41,14 @@ Authors:
 <div id="log"></div>
 <script type="text/javascript">
 //==== TEST: FileSystemManager_getStorage_with_nonexist_label
-//==== LABEL check if throw an exception when get information about a storage based on nonexist label.
+//==== LABEL Check if throw an exception when get information about a storage based on nonexist label.
 //==== PRIORITY P2
 //==== SPEC Tizen Web API:IO:Filesystem:FileSystemManager:getStorage M
 //==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html
 //==== TEST_CRITERIA MERRCB
 
 //  check if get information about a storage based on nonexist label
-var t = async_test("FileSystemManager_getStorage_with_nonexist_label"),
+var t = async_test(document.title),
     onSuccess, onError, expected = "NotFoundError";
 
 t.step(function (){
index 014f941874bf2cf40fd46e8852a3db43357520d3..7250dfbae5c9ce1e81c7d62a3765d0183bf52ccf 100644 (file)
@@ -24,7 +24,7 @@ Authors:
 <head>
 <title>FileSystemManager_getStorage_with_onerror</title>
 <meta charset="utf-8"/>
-<script src="../resources/unitcommon.js"></script>
+<script src="support/unitcommon.js"></script>
 </head>
 
 <body>
@@ -38,7 +38,7 @@ Authors:
 //==== TEST_CRITERIA MOA
 
 //  Check with optional arguments getStorage
-var t = async_test("FileSystemManager_getStorage_with_onerror"),
+var t = async_test(document.title),
     getStorageSuccess, getStorageError, listStoragesSuccess, listStoragesError;
 t.step(function (){
     getStorageSuccess = t.step_func(function (storage) {
index b370bcd7633400bb98960e97c733f7c425eac19b..07a6f955e4bd713925a030438449b658b9329aee 100644 (file)
@@ -24,7 +24,7 @@ Authors:
 <head>
 <title>FileSystemManager_in_tizen</title>
 <meta charset="utf-8"/>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
 </head>
 
 <body>
@@ -41,7 +41,7 @@ Authors:
 test(function () {
     assert_true("filesystem" in tizen, "No FileSystemManager in tizen.");
     check_readonly(tizen, "filesystem", tizen.filesystem, "object", "dummyValue");
-}, "FileSystemManager_in_tizen");
+}, document.title);
 
 </script>
 </body>
index ca7c7947302e3d169ebaeed309afae107255ec7d..3d9e96642a2545b99a5575bca3c529188c394805 100644 (file)
@@ -24,7 +24,7 @@ Authors:
 <head>
 <title>FileSystemManager_listStorages</title>
 <meta charset="utf-8"/>
-<script src="../resources/unitcommon.js"></script>
+<script src="support/unitcommon.js"></script>
 </head>
 
 <body>
@@ -38,7 +38,7 @@ Authors:
 //==== TEST_CRITERIA MMINA MR
 
 //  check if list the available storages on the device.
-var t = async_test("FileSystemManager_listStorages"),
+var t = async_test(document.title),
     onSuccess, retValue = null;
 t.step(function () {
     onSuccess = t.step_func(function (storages) {
index e52b15d36d4ab403e6241d1c816f0018a652afce..7c1056ba7415ba0866ae478ac28dbbb479397f1a 100644 (file)
@@ -23,7 +23,7 @@ Authors:
 <head>
 <title>FileSystemManager_listStorages_exist</title>
 <meta charset="utf-8"/>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
 </head>
 
 <body>
@@ -38,7 +38,7 @@ Authors:
 test(function () {
     assert_true("listStorages" in tizen.filesystem, "No listStorages method in tizen.filesystem");
     check_method_exists(tizen.filesystem, "listStorages");
-}, "FileSystemManager_listStorages_exist");
+}, document.title);
 
 </script>
 </body>
index 164057374105c8277b2a78954df58b9467b271d1..3c5da4fa1e477625ba7159fd399483c978e3e049 100644 (file)
@@ -23,7 +23,7 @@ Authors:
 <head>
 <title>FileSystemManager_listStorages_missarg</title>
 <meta charset="utf-8"/>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
 </head>
 
 <body>
@@ -37,11 +37,11 @@ Authors:
 //==== TEST_CRITERIA MMA
 
 test(function () {
-    assert_throws({ name: "TypeMismatchError" },
+    assert_throws(TYPE_MISMATCH_EXCEPTION,
         function () {
             tizen.filesystem.listStorages();
         }, "Method should throw an exception");
-}, "FileSystemManager_listStorages_missarg");
+}, document.title);
 
 </script>
 </body>
index 6f98a2d88e24472d713b647f7cd2acfbd4e1f91e..9ecb983c66c70f2877202d8dead7c3860960d06c 100644 (file)
@@ -24,7 +24,7 @@ Authors:
 <head>
 <title>FileSystemManager_listStorages_onerror_TypeMismatch</title>
 <meta charset="utf-8"/>
-<script src="../resources/unitcommon.js"></script>
+<script src="support/unitcommon.js"></script>
 </head>
 
 <body>
@@ -38,7 +38,7 @@ Authors:
 //==== TEST_CRITERIA MC
 
 //  Check argument onError conversions exception
-var t = async_test("FileSystemManager_listStorages_onerror_TypeMismatch"), i,
+var t = async_test(document.title), i,
     listStoragesSuccess, exceptionName, listStoragesSuccess, listStoragesError,
     conversionTable;
 
@@ -52,7 +52,7 @@ t.step(function () {
         listStoragesError = conversionTable[i][0];
         exceptionName = conversionTable[i][1];
 
-        assert_throws({name : exceptionName},
+        assert_throws({name: exceptionName},
             function () {
                 tizen.filesystem.listStorages(listStoragesSuccess, listStoragesError);
             }, exceptionName + " should be thrown - given incorrect errorCallback.");
index 17c25a76356571ff095eece5e4df114455e048b4..5b1fda80a45e9b22d326977a9c7d86f49467d7b0 100644 (file)
@@ -23,7 +23,7 @@ Authors:
 <head>
 <title>FileSystemManager_listStorages_onerror_invalid_cb</title>
 <meta charset="utf-8"/>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
 </head>
 
 <body>
@@ -37,7 +37,7 @@ Authors:
 //==== TEST_CRITERIA MTCB
 
 //  Check argument onError validation
-var t = async_test("FileSystemManager_listStorages_onerror_invalid_cb"),
+var t = async_test(document.title),
     exceptionName = "TypeMismatchError", listStoragesIncorrect,
     listStoragesSuccess;
 
@@ -52,7 +52,7 @@ t.step(function () {
             assert_unreached("Invalid callback invoked: ");
         })
     };
-    assert_throws({name : exceptionName},
+    assert_throws({name: exceptionName},
         function () {
             tizen.filesystem.listStorages(listStoragesSuccess, listStoragesIncorrect);
         }, exceptionName + "should be thrown - given incorrect error callback.");
index 18e4896bc8c18f771fea6e01e70a6326d292951d..f31033a34bb68df642f71a6ec5762dd5ac864358 100644 (file)
@@ -24,7 +24,7 @@ Authors:
 <head>
 <title>FileSystemManager_listStorages_onsuccess_TypeMismatch</title>
 <meta charset="utf-8"/>
-<script src="../resources/unitcommon.js"></script>
+<script src="support/unitcommon.js"></script>
 </head>
 
 <body>
@@ -38,7 +38,7 @@ Authors:
 //==== TEST_CRITERIA MC
 
 //  Check argument onSuccess conversions exception
-var t = async_test("FileSystemManager_listStorages_onsuccess_TypeMismatch"), i,
+var t = async_test(document.title), i,
     exceptionName, listStoragesSuccess, listStoragesError, conversionTable;
 
 t.step(function () {
@@ -52,7 +52,7 @@ t.step(function () {
         listStoragesSuccess = conversionTable[i][0];
         exceptionName = conversionTable[i][1];
 
-        assert_throws({name : exceptionName},
+        assert_throws({name: exceptionName},
             function () {
                 tizen.filesystem.listStorages(listStoragesSuccess, listStoragesError);
             }, exceptionName + " should be thrown - given incorrect onSuccess callback.");
index 6cf290a4eb816fdbfc76c606a29de374b94caca1..f3fc62cfab397cbf6d632f93aa14ec3f21aefcc9 100644 (file)
@@ -24,7 +24,7 @@ Authors:
 <head>
 <title>FileSystemManager_listStorages_onsuccess_invalid_cb</title>
 <meta charset="utf-8"/>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
 </head>
 
 <body>
@@ -38,7 +38,7 @@ Authors:
 //==== TEST_CRITERIA MTCB
 
 //  Check argument onSuccess validation
-var t = async_test("FileSystemManager_listStorages_onsuccess_invalid_cb"),
+var t = async_test(document.title),
     exceptionName = "TypeMismatchError", listStoragesIncorrect;
 
 t.step(function () {
@@ -48,7 +48,7 @@ t.step(function () {
             assert_unreached("Invalid callback invoked: ");
         })
     };
-    assert_throws({name : exceptionName},
+    assert_throws({name: exceptionName},
         function () {
             tizen.filesystem.listStorages(listStoragesIncorrect);
         }, exceptionName + "should be thrown - given incorrect error callback.");
index 240a80ed0407e271eb14848723ccd49d3d334c51..7404c8c60e05fc24cf59ed5011495a05078d5376 100644 (file)
@@ -26,7 +26,7 @@ Authors:
 <head>
 <title>FileSystemManager_listStorages_storages_retrieve</title>
 <meta charset="utf-8">
-<script src="../resources/unitcommon.js"></script>
+<script src="support/unitcommon.js"></script>
 <script src="support/filesystem_common.js"></script>
 </head>
 
@@ -35,11 +35,11 @@ Authors:
 <script type="text/javascript">
 
 //==== TEST: FileSystemManager_listStorages_storages_retrieve
-//==== LABEL check whether 'listStorages' method properly retrieves the available storages on the device
+//==== LABEL Check whether 'listStorages' method properly retrieves the available storages on the device
 //==== SPEC Tizen Web API:IO:Filesystem:FileSystemManager:listStorages M
 //==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html
 //==== TEST_CRITERIA MOA
-var t = async_test("FileSystemManager_listStorages_storages_retrieve"),
+var t = async_test(document.title),
     onSuccess, onError, labels;
 
 t.step(function () {
index 3e96e8251ae856832b39f838648fda7ed1ac24cb..3804f70de959e0709aa31ba81c7d02f22b021bf1 100644 (file)
@@ -25,7 +25,7 @@ Authors:
 <head>
 <title>FileSystemManager_listStorages_with_invalid_error_callbacks</title>
 <meta charset="utf-8">
-<script src="../resources/unitcommon.js"></script>
+<script src="support/unitcommon.js"></script>
 <script src="support/filesystem_common.js"></script>
 </head>
 
@@ -35,12 +35,12 @@ Authors:
 // TESTS
 
 //==== TEST: FileSystemManager_listStorages_with_invalid_error_callbacks
-//==== LABEL check whether invoking 'listStorages' method with improper argument throws exception properly
+//==== LABEL Check whether invoking 'listStorages' method with improper argument throws exception properly
 //==== PRIORITY P2
 //==== SPEC Tizen Web API:IO:Filesystem:FileSystemManager:listStorages M
 //==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html
 //==== TEST_CRITERIA MC
-var t = async_test("FileSystemManager_listStorages_with_invalid_error_callbacks"),
+var t = async_test(document.title),
     invalid_type_params = [123, "abc", true, {}], getStorageSuccess, i;
 t.step(function () {
     getStorageSuccess = t.step_func(function (storages) {
@@ -48,7 +48,7 @@ t.step(function () {
     });
 
     for (i = 0; i < invalid_type_params.length; i++) {
-        assert_throws({"name": TYPE_MISMATCH_ERR}, function () {
+        assert_throws(TYPE_MISMATCH_EXCEPTION, function () {
             tizen.filesystem.listStorages(
                 getStorageSuccess,
                 invalid_type_params[i]
index 328f2f9418f3ce464630f72ac1944385e3cabce3..3ff3cc655006c5cff70ce8e8fbbc9eac412bc28e 100644 (file)
@@ -25,7 +25,7 @@ Authors:
 <head>
 <title>FileSystemManager_listStorages_with_onerror</title>
 <meta charset="utf-8"/>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
 </head>
 
 <body>
@@ -39,7 +39,7 @@ Authors:
 //==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html
 //==== TEST_CRITERIA MOA MR
 
-var t = async_test("FileSystemManager_listStorages_with_onerror"),
+var t = async_test(document.title),
     listStoragesSuccess, listStoragesError, retValue = null;
 
 t.step(function () {
index c0c347463c7a387d1ae0131a8356846b384f7fc7..525575a6e5f5c6e5527102a71f2f2a2c939bee06 100644 (file)
@@ -25,7 +25,7 @@ Authors:
 <head>
 <title>FileSystemManager_listStorages_without_arguments</title>
 <meta charset="utf-8">
-<script src="../resources/unitcommon.js"></script>
+<script src="support/unitcommon.js"></script>
 <script src="support/filesystem_common.js"></script>
 </head>
 
@@ -35,17 +35,15 @@ Authors:
 // TESTS
 
 //==== TEST: FileSystemManager_listStorages_without_arguments
-//==== LABEL check whether invoking 'listStorages' method without any argument throws exception properly
+//==== LABEL Check whether invoking 'listStorages' method without any argument throws exception properly
 //==== SPEC Tizen Web API:IO:Filesystem:FileSystemManager:listStorages M
 //==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html
 //==== TEST_CRITERIA MMA
 test(function () {
-    assert_throws({
-        name: "TypeMismatchError"
-    }, function () {
+    assert_throws(TYPE_MISMATCH_EXCEPTION, function () {
         tizen.filesystem.listStorages();
     });
-}, "FileSystemManager_listStorages_without_arguments");
+}, document.title);
 
 </script>
 </body>
index 304ff51f422934d14225603db66b86f3f304b3a4..5d8396b1d3df5db67317d1c2f490e0ab9bc98958 100644 (file)
@@ -25,7 +25,7 @@ Authors:
 <head>
 <title>FileSystemManager_listStorages_works_correctly</title>
 <meta charset="utf-8">
-<script src="../resources/unitcommon.js"></script>
+<script src="support/unitcommon.js"></script>
 <script src="support/filesystem_common.js"></script>
 </head>
 
@@ -34,20 +34,20 @@ Authors:
 <script type="text/javascript">
 
 //==== TEST: FileSystemManager_listStorages_works_correctly
-//==== LABEL check whether 'listStorages' method returns the available storages on the device
+//==== LABEL Check whether 'listStorages' method returns the available storages on the device
 //==== SPEC Tizen Web API:IO:Filesystem:FileSystemManager:listStorages M
 //==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html
 //==== TEST_CRITERIA MOA
-var this_test = async_test("FileSystemManager_listStorages_works_correctly"),
+var t = async_test(document.title),
     listStoragesSuccess, listStoragesError;
 
-this_test.step(function () {
-    listStoragesSuccess = this_test.step_func(function (storages) {
+t.step(function () {
+    listStoragesSuccess = t.step_func(function (storages) {
         assert_type(storages, "array", "storages");
         assert_true(storages.length > 0, "storages.length > 0");
-        this_test.done();
+        t.done();
     });
-    listStoragesError = this_test.step_func(function (error) {
+    listStoragesError = t.step_func(function (error) {
         assert_unreached("listStorages() error callback invoked: name: " + error.name + ", msg: " + error.message);
     });
 
index 6d3aa5a18380aab731fc64e51100b576f918f45f..c451ef537206487e92ee680a5bebd8179f4932e1 100644 (file)
@@ -24,7 +24,7 @@ Authors:
 <head>
 <title>FileSystemManager_maxPathLength_attribute</title>
 <meta charset="utf-8"/>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
 </head>
 
 <body>
@@ -42,7 +42,7 @@ test(function () {
     var maxLength = tizen.filesystem.maxPathLength;
     assert_true("maxPathLength" in tizen.filesystem, "attribute doesn't exist");
     check_readonly(tizen.filesystem, "maxPathLength", maxLength, "long", maxLength - 5);
-}, "FileSystemManager_maxPathLength_attribute");
+}, document.title);
 
 </script>
 </body>
index abd2d983128e65fc6b32af313008f64c1ac28ccc..7b16caba3077709d72782cfb9fc6e59cda1970b9 100644 (file)
@@ -23,7 +23,7 @@ Authors:
 <head>
 <title>FileSystemManager_notexist</title>
 <meta charset="utf-8"/>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
 </head>
 
 <body>
@@ -38,8 +38,7 @@ Authors:
 
 test(function () {
     check_no_interface_object("FileSystemManager");
-}, "FileSystemManager_notexist");
-// Check if interface FileSystemManager exists, it should not.
+}, document.title);
 
 </script>
 </body>
index 9a426b986dc09e7c882990c831d6c721197c3cd9..d637fa0876834aba978e3d45427ecdd0f37bca2a 100644 (file)
@@ -23,7 +23,7 @@ Authors:
 <head>
 <title>FileSystemManager_removeStorageStateChangeListener</title>
 <meta charset="utf-8"/>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
 </head>
 
 <body>
@@ -36,7 +36,7 @@ Authors:
 //==== TEST_CRITERIA MMINA MR
 
 //  Check removeStorageStateChangeListener with non-optional arguments
-var t = async_test("FileSystemManager_removeStorageStateChangeListener"),
+var t = async_test(document.title),
     successCallback, watch, retValue = null;
 
 t.step(function () {
index 19ee68225bdf7f2dcf17c313afbdecd9aac83c18..40be8e65caddcee19e23cd92ffde6a500c43e769 100644 (file)
@@ -34,7 +34,7 @@ Authors:
 <html>
 <head>
 <title>FileSystemManager_removeStorageStateChangeListener_exist</title>
-<script src="../resources/unitcommon.js"></script>
+<script src="support/unitcommon.js"></script>
 </head>
 <body>
 <div id="log"></div>
@@ -50,7 +50,7 @@ test(function () {
         "No removeStorageStateChangeListener method in tizen.filesystem");
     check_method_exists(tizen.filesystem,
         "removeStorageStateChangeListener");
-}, "FileSystemManager_removeStorageStateChangeListener_exist");
+}, document.title);
 
 </script>
 </body>
index 922b714ead5e19e258e939f93804eab47fec60cf..83faab15ca43905fb15503401bdba731986b7a36 100644 (file)
@@ -34,15 +34,14 @@ Authors:
 <html>
 <head>
 <title>FileSystemManager_removeStorageStateChangeListener_with_para_invalid</title>
-<script src="../resources/testharness.js"></script>
-<script src="../resources/testharnessreport.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
 <script src="support/filesystem_common.js"></script>
 </head>
 <body>
 <div id="log"></div>
 <script>
 //==== TEST: FileSystemManager_removeStorageStateChangeListener_with_para_invalid
-//==== LABEL check if throw an exception when removeStorageStateChangeListener with an invalid input parameter.
+//==== LABEL Check if throw an exception when removeStorageStateChangeListener with an invalid input parameter.
 //==== PRIORITY P2
 //==== SPEC Tizen Web API:IO:Filesystem:FileSystemManager:removeStorageStateChangeListener M
 //==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html
@@ -50,13 +49,10 @@ Authors:
 
 test(function () {
     var watchID;
-    assert_throws({
-        "name": NOT_FOUND_ERR
-    }, function () {
+    assert_throws(NOT_FOUND_EXCEPTION, function () {
         tizen.filesystem.removeStorageStateChangeListener(watchID);
     });
-}, "FileSystemManager_removeStorageStateChangeListener_with_para_invalid");
-// Check tizen.filesystem.removeStorageStateChangeListener throws TypeMismatchError
+}, document.title);
 
 </script>
 </body>
index fb3c10f4f6425c93f3d5fef5ca54e88ded1c3c2f..f502b50b8d8fe0341b47e31caba3520ded123cee 100644 (file)
@@ -26,7 +26,7 @@ Authors:
 <head>
 <title>FileSystemManager_removeStorageStateChangeListener_works_correctly</title>
 <meta charset="utf-8">
-<script src="../resources/unitcommon.js"></script>
+<script src="support/unitcommon.js"></script>
 <script src="support/filesystem_common.js"></script>
 </head>
 
@@ -35,7 +35,7 @@ Authors:
 <script type="text/javascript">
 
 //==== TEST: FileSystemManager_removeStorageStateChangeListener_works_correctly
-//==== LABEL check whether 'removeStorageStateChangeListener' method properly deregisters subscription to receive notifications about a storage state changes
+//==== LABEL Check whether 'removeStorageStateChangeListener' method properly deregisters subscription to receive notifications about a storage state changes
 //==== SPEC Tizen Web API:IO:Filesystem:FileSystemManager:removeStorageStateChangeListener M
 //==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html
 //==== TEST_CRITERIA MMINA
@@ -45,7 +45,7 @@ test(function () {
     watchId = tizen.filesystem.addStorageStateChangeListener(function (storage) {});
     tizen.filesystem.removeStorageStateChangeListener(watchId);
 
-}, "FileSystemManager_removeStorageStateChangeListener_works_correctly");
+}, document.title);
 
 </script>
 </body>
index 7bf9f66dd8c6d1e59fbc6cd0a6673aa4986d9e5e..8f0fc804a1d40aff2457b4acef431fea36b46172 100644 (file)
@@ -22,7 +22,7 @@ Authors:
 <html>
 <head>
 <title>FileSystemManager_resolve</title>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
 <script type="text/javascript" src="support/filesystem_common.js"></script>
 </head>
 <body>
@@ -36,7 +36,7 @@ Authors:
 //==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html
 //==== TEST_CRITERIA MMINA MR
 
-var t = async_test("FileSystemManager_resolve"),
+var t = async_test(document.title),
     resolveSuccess, retValue = null;
 t.step(function () {
     resolveSuccess = t.step_func(function (storage) {
index 9280cc9ecf8ea2692fc9977f9129a8011ce3683f..efe8ee8203d1d5537bb501085170393a262f6e34 100644 (file)
@@ -27,21 +27,21 @@ EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 
 Authors:
         Kaiyu <kaiyux.li@intel.com>
-        Guan,JingX <jingx.guan@intel.com>
+        Guan, JingX <jingx.guan@intel.com>
 
 -->
 
 <html>
 <head>
 <title>FileSystemManager_resolve_documents</title>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
 <script type="text/javascript" src="support/filesystem_common.js"></script>
 </head>
 <body>
 <div id="log"></div>
 <script>
 //==== TEST: FileSystemManager_resolve_documents
-//==== LABEL check if resolve documents to a file handle.
+//==== LABEL Check if resolve documents to a file handle.
 //==== PRIORITY P2
 //==== SPEC Tizen Web API:IO:Filesystem:FileSystemManager:resolve M
 //==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html
@@ -49,7 +49,7 @@ Authors:
 
 
 var resolveSuccess, resolveError, expected = "documents",
-    t = async_test("FileSystemManager_resolve_documents");
+    t = async_test(document.title);
 
 t.step(function () {
     resolveSuccess = t.step_func(function (dir) {
index 837b2190672a5909edd6f2cc0cb9318b4d0b3a45..7903610b74daf9c83ce6d078bae44e311fb500ea 100644 (file)
@@ -27,21 +27,21 @@ EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 
 Authors:
         Kaiyu <kaiyux.li@intel.com>
-        Guan,JingX <jingx.guan@intel.com>
+        Guan, JingX <jingx.guan@intel.com>
 
 -->
 
 <html>
 <head>
 <title>FileSystemManager_resolve_downloads</title>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
 <script type="text/javascript" src="support/filesystem_common.js"></script>
 </head>
 <body>
 <div id="log"></div>
 <script>
 //==== TEST: FileSystemManager_resolve_downloads
-//==== LABEL check if resolve downloads to a file handle.
+//==== LABEL Check if resolve downloads to a file handle.
 //==== PRIORITY P2
 //==== SPEC Tizen Web API:IO:Filesystem:FileSystemManager:resolve M
 //==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html
@@ -49,11 +49,11 @@ Authors:
 
 
 var resolveSuccess, resolveError, expected = "downloads",
-    t = async_test("FileSystemManager_resolve_downloads");
+    t = async_test(document.title);
 
 t.step(function () {
     resolveSuccess = t.step_func(function (dir) {
-        assert_equals(dir.path ,expected, "resolve downloads to a file handle");
+        assert_equals(dir.path , expected, "resolve downloads to a file handle");
         t.done();
     });
 
index f1b83fbe8828fec60d4c5ff267c6ec0caa6b13ea..c6f8481d6019eccfb61feec04cdf9ecb1f53bf9e 100644 (file)
@@ -24,7 +24,7 @@ Authors:
 <head>
 <meta charset="utf-8"/>
 <title>FileSystemManager_resolve_error_invoked</title>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
 <script type="text/javascript" src="support/filesystem_common.js"></script>
 </head>
 <body>
@@ -33,12 +33,12 @@ Authors:
 
 //==== TEST: FileSystemManager_resolve_error_invoked
 //==== PRIORITY P2
-//==== LABEL check with error callback invoked
+//==== LABEL Check with error callback invoked
 //==== SPEC Tizen Web API:IO:Filesystem:FileSystemManager:resolve M
 //==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html
 //==== TEST_CRITERIA MOA MERRCB
 
-var t = async_test("FileSystemManager_resolve_error_invoked"),
+var t = async_test(document.title),
     resolveSuccess, resolveError;
 t.step(function () {
     resolveSuccess = t.step_func(function (dir) {
index 08cdec6aecb1368e52ac0dc6414a88639bb94471..20da9c320375239feee5a6a859ce9eed4a719a13 100644 (file)
@@ -22,7 +22,7 @@ Authors:
 <html>
 <head>
 <title>FileSystemManager_resolve_exist</title>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
 <script type="text/javascript" src="support/filesystem_common.js"></script>
 </head>
 <body>
@@ -39,7 +39,7 @@ Authors:
 test(function () {
     assert_true("resolve" in tizen.filesystem, "FileSystemManager has resolve method");
     check_method_exists(tizen.filesystem, "resolve");
-});
+}, document.title);
 
 </script>
 </body>
index ae4e7339541172c0e2dfca2bb2906f1f10d125ef..3d31ab3b92dfa55864f047d959aebe01dc42eecd 100644 (file)
@@ -27,14 +27,14 @@ EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 
 Authors:
         Kaiyu <kaiyux.li@intel.com>
-        Guan,JingX <jingx.guan@intel.com>
+        Guan, JingX <jingx.guan@intel.com>
 
 -->
 
 <html>
 <head>
 <title>FileSystemManager_resolve_images</title>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
 <script type="text/javascript" src="support/filesystem_common.js"></script>
 </head>
 <body>
@@ -42,13 +42,13 @@ Authors:
 <script>
 
 //==== TEST: FileSystemManager_resolve_images
-//==== LABEL: Check if resolve images to a file handle.
+//==== LABEL Check if resolve images to a file handle.
 //==== SPEC: Tizen Web API:IO:Filesystem:FileSystemManager:resolve M
 //==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html
 //==== TEST_CRITERIA MOA
 
 var resolveSuccess, resolveError, expected = "images",
-    t = async_test("FileSystemManager_resolve_images");
+    t = async_test(document.title);
 
 t.step(function (){
     resolveSuccess = t.step_func(function (dir) {
index b9585d91f538aa9a0c32f25ce48d2c08b59c0656..7f570d4da5cf8f8f190cd8355f8cc4f02b970c91 100644 (file)
@@ -27,28 +27,28 @@ EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 
 Authors:
         Kaiyu <kaiyux.li@intel.com>
-        Guan,JingX <jingx.guan@intel.com>
+        Guan, JingX <jingx.guan@intel.com>
 
 -->
 
 <html>
 <head>
 <title>FileSystemManager_resolve_invalid_location</title>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
 <script type="text/javascript" src="support/filesystem_common.js"></script>
 </head>
 <body>
 <div id="log"></div>
 <script>
 //==== TEST: FileSystemManager_resolve_invalid_location
-//==== LABEL check if throw an exception when resolve an invalid location.
+//==== LABEL Check if throw an exception when resolve an invalid location.
 //==== PRIORITY P2
 //==== SPEC Tizen Web API:IO:Filesystem:FileSystemManager:resolve M
 //==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html
 //==== TEST_CRITERIA MERRCB
 
 
-var t = async_test("FileSystemManager_resolve_invalid_location"),
+var t = async_test(document.title),
     expected = "NotFoundError", resolveSuccess, resolveError;
 
 t.step(function (){
index 588b10e61313735e35a3a0a7895767398fd9cd6e..e8da4eedad393ec345947a3993297af2c78862c6 100644 (file)
@@ -22,7 +22,7 @@ Authors:
 <html>
 <head>
 <title>FileSystemManager_resolve_missarg</title>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
 <script type="text/javascript" src="support/filesystem_common.js"></script>
 </head>
 <body>
@@ -37,10 +37,10 @@ Authors:
 //==== TEST_CRITERIA MMA
 
 test(function () {
-    assert_throws({ name: "TypeMismatchError" }, function () {
+    assert_throws(TYPE_MISMATCH_EXCEPTION, function () {
         tizen.filesystem.resolve();
     }, "Method should throw an exception");
-});
+}, document.title);
 
 </script>
 </body>
index 72a196acc0be6fb5011c39e4e0a6109a5d862aca..79260839da1d2ddd77c254f8ddd11edab8fba82c 100644 (file)
@@ -24,7 +24,7 @@ Authors:
 <html>
 <head>
 <title>FileSystemManager_resolve_mode_TypeMismatch</title>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
 <script type="text/javascript" src="support/filesystem_common.js"></script>
 </head>
 <body>
@@ -38,7 +38,7 @@ Authors:
 //==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html
 //==== TEST_CRITERIA MC
 
-var t = async_test("FileSystemManager_resolve_mode_TypeMismatch"),
+var t = async_test(document.title),
     conversionTable, resolveSuccess, resolveError, mode, exceptionName, i;
 
 t.step(function () {
@@ -54,7 +54,7 @@ t.step(function () {
         mode = conversionTable[i][0];
         exceptionName = conversionTable[i][1];
 
-        assert_throws({name : exceptionName},
+        assert_throws({name: exceptionName},
             function () {
                 tizen.filesystem.resolve("images", resolveSuccess, resolveError, mode);
             }, exceptionName + " should be thrown - given incorrect errorCallback.");
index d81ccd3dcf465832f12b7172d93e45c41195f50c..7bc156572702844f677ba205eee470c6cea48467 100644 (file)
@@ -27,21 +27,21 @@ EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 
 Authors:
         Kaiyu <kaiyux.li@intel.com>
-        Guan,JingX <jingx.guan@intel.com>
+        Guan, JingX <jingx.guan@intel.com>
 
 -->
 
 <html>
 <head>
 <title>FileSystemManager_resolve_mode_a</title>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
 <script type="text/javascript" src="support/filesystem_common.js"></script>
 </head>
 <body>
 <div id="log"></div>
 <script>
 //==== TEST: FileSystemManager_resolve_mode_a
-//==== LABEL check if resolve a location with mode a.
+//==== LABEL Check if resolve a location with mode a.
 //==== PRIORITY P2
 //==== SPEC Tizen Web API:IO:Filesystem:FileSystemManager:resolve M
 //==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html
@@ -49,7 +49,7 @@ Authors:
 
 
 var resolveSuccess, resolveError, expected = "documents",
-    t = async_test("FileSystemManager_resolve_mode_a");
+    t = async_test(document.title);
 
 t.step(function (){
     resolveSuccess = t.step_func(function (dir) {
index aadb192b992db8e276529fccc191f4c9900d3d03..36563e1b0812ecda7f7eb8d8e4aef7caa6e54cde 100644 (file)
@@ -27,21 +27,21 @@ EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 
 Authors:
         Kaiyu <kaiyux.li@intel.com>
-        Guan,JingX <jingx.guan@intel.com>
+        Guan, JingX <jingx.guan@intel.com>
 
 -->
 
 <html>
 <head>
 <title>FileSystemManager_resolve_mode_r</title>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
 <script type="text/javascript" src="support/filesystem_common.js"></script>
 </head>
 <body>
 <div id="log"></div>
 <script>
 //==== TEST: FileSystemManager_resolve_mode_r
-//==== LABEL check if resolve a location with mode r.
+//==== LABEL Check if resolve a location with mode r.
 //==== PRIORITY P2
 //==== SPEC Tizen Web API:IO:Filesystem:FileSystemManager:resolve M
 //==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html
@@ -49,11 +49,11 @@ Authors:
 
 
 var resolveSuccess, resolveError, expected = "documents",
-    t = async_test("FileSystemManager_resolve_mode_r");
+    t = async_test(document.title);
 
 t.step(function (){
     resolveSuccess = t.step_func(function (dir) {
-        assert_equals(dir.path ,expected, "resolve a location with an mode r");
+        assert_equals(dir.path , expected, "resolve a location with an mode r");
         t.done();
     });
 
index 90d1cd7ba15bff067c21e55272ad863716d95c3e..268f129b9946fe998c4711c4a71e82414cd6be5b 100644 (file)
@@ -27,21 +27,21 @@ EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 
 Authors:
         Kaiyu <kaiyux.li@intel.com>
-        Guan,JingX <jingx.guan@intel.com>
+        Guan, JingX <jingx.guan@intel.com>
 
 -->
 
 <html>
 <head>
 <title>FileSystemManager_resolve_mode_w</title>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
 <script type="text/javascript" src="support/filesystem_common.js"></script>
 </head>
 <body>
 <div id="log"></div>
 <script>
 //==== TEST: FileSystemManager_resolve_mode_w
-//==== LABEL check if resolve a location with mode w.
+//==== LABEL Check if resolve a location with mode w.
 //==== PRIORITY P2
 //==== SPEC Tizen Web API:IO:Filesystem:FileSystemManager:resolve M
 //==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html
@@ -49,11 +49,11 @@ Authors:
 
 
 var resolveSuccess, resolveError, expected = "documents",
-    t = async_test("FileSystemManager_resolve_mode_w");
+    t = async_test(document.title);
 
 t.step(function (){
     resolveSuccess = t.step_func(function (dir) {
-        assert_equals(dir.path ,expected, "resolve a location with an mode w");
+        assert_equals(dir.path , expected, "resolve a location with an mode w");
         t.done();
     });
 
index 750b632c666776ea7da6b1eeda37d567d0fee917..419944661c10165ff631b5a6a57700004ef08ae1 100644 (file)
@@ -27,21 +27,21 @@ EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 
 Authors:
         Kaiyu <kaiyux.li@intel.com>
-        Guan,JingX <jingx.guan@intel.com>
+        Guan, JingX <jingx.guan@intel.com>
 
 -->
 
 <html>
 <head>
 <title>FileSystemManager_resolve_music</title>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
 <script type="text/javascript" src="support/filesystem_common.js"></script>
 </head>
 <body>
 <div id="log"></div>
 <script>
 //==== TEST: FileSystemManager_resolve_music
-//==== LABEL check if resolve music to a file handle.
+//==== LABEL Check if resolve music to a file handle.
 //==== PRIORITY P2
 //==== SPEC Tizen Web API:IO:Filesystem:FileSystemManager:resolve M
 //==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html
@@ -49,11 +49,11 @@ Authors:
 
 
 var resolveSuccess, resolveError, expected = "music",
-    t = async_test("FileSystemManager_resolve_music");
+    t = async_test(document.title);
 
 t.step(function (){
     resolveSuccess = t.step_func(function (dir) {
-        assert_equals(dir.path ,expected, "resolve music to a file handle");
+        assert_equals(dir.path , expected, "resolve music to a file handle");
         t.done();
     });
 
index 3463c7947f49476a5912063426d463c74d9aa81e..cb9abe35fbdeaf648a0c229858d3111e543adc28 100644 (file)
@@ -23,7 +23,7 @@ Authors:
 <html>
 <head>
 <title>FileSystemManager_resolve_onerror_TypeMismatch</title>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
 <script type="text/javascript" src="support/filesystem_common.js"></script>
 </head>
 <body>
@@ -37,7 +37,7 @@ Authors:
 //==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html
 //==== TEST_CRITERIA MC
 
-var t = async_test("FileSystemManager_resolve_onerror_TypeMismatch"), i,
+var t = async_test(document.title), i,
     resolveSuccess, resolveError, exceptionName, conversionTable;
 t.step(function () {
     conversionTable = getTypeConversionExceptions("functionObject", true);
@@ -50,7 +50,7 @@ t.step(function () {
         resolveError = conversionTable[i][0];
         exceptionName = conversionTable[i][1];
 
-        assert_throws({name : exceptionName},
+        assert_throws({name: exceptionName},
             function () {
                 tizen.filesystem.resolve("images", resolveSuccess, resolveError);
             }, exceptionName + " should be thrown - given incorrect errorCallback.");
index e86f8b3181723bfb16a8f62301f460002fdd82c1..0c01810c492b05396ceff773ab82844cd6fbcecf 100644 (file)
@@ -22,7 +22,7 @@ Authors:
 <html>
 <head>
 <title>FileSystemManager_resolve_onerror_invalid_cb</title>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
 <script type="text/javascript" src="support/filesystem_common.js"></script>
 </head>
 <body>
@@ -36,7 +36,7 @@ Authors:
 //==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html
 //==== TEST_CRITERIA MTCB
 
-var t = async_test("FileSystemManager_resolve_onerror_invalid_cb"),
+var t = async_test(document.title),
     exceptionName = "TypeMismatchError", resolveError, resolveSuccess,
     conversionTable;
 
@@ -49,7 +49,7 @@ t.step(function () {
             assert_unreached("Invalid callback invoked: ");
         })
     };
-    assert_throws({name : exceptionName},
+    assert_throws({name: exceptionName},
         function () {
             tizen.filesystem.resolve("images", resolveSuccess, resolveError, "rw");
         }, exceptionName + "should be thrown - given incorrect error callback.");
index 4a5f6cb0cab0da547980a4f1d6d04f44bef50730..b53efcd0a91c1a14ffa9148e63b51a95189e51c0 100644 (file)
@@ -23,7 +23,7 @@ Authors:
 <html>
 <head>
 <title>FileSystemManager_resolve_onsuccess_TypeMismatch</title>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
 <script type="text/javascript" src="support/filesystem_common.js"></script>
 </head>
 <body>
@@ -37,7 +37,7 @@ Authors:
 //==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html
 //==== TEST_CRITERIA MC
 
-var t = async_test("FileSystemManager_resolve_onsuccess_TypeMismatch"), i,
+var t = async_test(document.title), i,
     resolveSuccess, resolveError, exceptionName, conversionTable;
 
 t.step(function () {
@@ -51,7 +51,7 @@ t.step(function () {
         resolveSuccess = conversionTable[i][0];
         exceptionName = conversionTable[i][1];
 
-        assert_throws({name : exceptionName},
+        assert_throws({name: exceptionName},
             function () {
                 tizen.filesystem.resolve("documents", resolveSuccess, resolveError);
             }, exceptionName + " should be thrown - given incorrect onSuccess.");
index c2d49f9994610dbe7234382e4a7be57b5ddf6525..ba4d843d3cd68dbf2f6c9d3ec2b99580471e6d89 100644 (file)
@@ -22,7 +22,7 @@ Authors:
 <html>
 <head>
 <title>FileSystemManager_resolve_onsuccess_invalid_cb</title>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
 <script type="text/javascript" src="support/filesystem_common.js"></script>
 </head>
 <body>
@@ -36,7 +36,7 @@ Authors:
 //==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html
 //==== TEST_CRITERIA MTCB
 
-var t = async_test("FileSystemManager_resolve_onsuccess_invalid_cb"),
+var t = async_test(document.title),
     exceptionName = "TypeMismatchError", resolveSuccess, resolveError;
 
 t.step(function () {
@@ -51,7 +51,7 @@ t.step(function () {
         })
     };
 
-    assert_throws({name : exceptionName},
+    assert_throws({name: exceptionName},
         function () {
             tizen.filesystem.resolve("documents", resolveSuccess, resolveError);
         }, exceptionName + "should be thrown - given incorrect error callback.");
index fe440e385a2f968a21d53798704db1e62b805fd6..7c0f8803b1deb25d1f679ab398b59f545cbe6c0d 100644 (file)
@@ -27,14 +27,14 @@ EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 
 Authors:
         Kaiyu <kaiyux.li@intel.com>
-        Guan,JingX <jingx.guan@intel.com>
+        Guan, JingX <jingx.guan@intel.com>
 
 -->
 
 <html>
 <head>
 <title>FileSystemManager_resolve_ringtones</title>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
 <script type="text/javascript" src="support/filesystem_common.js"></script>
 </head>
 <body>
@@ -42,13 +42,13 @@ Authors:
 <script>
 
 //==== TEST: FileSystemManager_resolve_ringtones
-//==== LABEL: Check if resolve ringtones to a file handle.
+//==== LABEL Check if resolve ringtones to a file handle.
 //==== SPEC: Tizen Web API:IO:Filesystem:FileSystemManager:resolve M
 //==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html
 //==== TEST_CRITERIA MOA
 
 var resolveSuccess, resolveError, expected = "ringtones",
-    t = async_test("FileSystemManager_resolve_ringtones");
+    t = async_test(document.title);
 
 t.step(function (){
     resolveSuccess = t.step_func(function (dir) {
index 2007657b4ca7a05a770e4594c8c913f230c8ddc8..9281e30e454af999eccd1709087ecaf777823647 100644 (file)
@@ -30,14 +30,14 @@ Authors:
 <div id="log"></div>
 <script>
 //==== TEST: FileSystemManager_resolve_ringtones_invalid_mode_a
-//==== LABEL check if InvalidValuesError will be reported when the ringtones directory is resolved with mode a
+//==== LABEL Check if InvalidValuesError will be reported when the ringtones directory is resolved with mode a
 //==== PRIORITY P2
 //==== SPEC Tizen Web API:IO:Filesystem:FileSystemManager:resolve M
 //==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html
 //==== TEST_CRITERIA
 
 var resolveSuccess, resolveError,
-    t = async_test("FileSystemManager_resolve_ringtones_invalid_mode_a");
+    t = async_test(document.title);
 
 t.step(function () {
     resolveSuccess = t.step_func(function (dir) {
index d8f165e39a02198d8b9dd251494ab9aead310842..c8dd442011827ee69fe23ce4eac0fce0785e28a1 100644 (file)
@@ -30,14 +30,14 @@ Authors:
 <div id="log"></div>
 <script>
 //==== TEST: FileSystemManager_resolve_ringtones_invalid_mode_rw
-//==== LABEL check if InvalidValuesError will be reported when the rightones directory is resolved with mode rw
+//==== LABEL Check if InvalidValuesError will be reported when the rightones directory is resolved with mode rw
 //==== PRIORITY P2
 //==== SPEC Tizen Web API:IO:Filesystem:FileSystemManager:resolve M
 //==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html
 //==== TEST_CRITERIA
 
 var resolveSuccess, resolveError,
-    t = async_test("FileSystemManager_resolve_ringtones_invalid_mode_rw");
+    t = async_test(document.title);
 
 t.step(function () {
     resolveSuccess = t.step_func(function (dir) {
index aedfb3ab23642bbe7932dacc927a1658de78657d..923da72fd9cfd0652c6b7bea3c3e21d199510999 100644 (file)
@@ -30,14 +30,14 @@ Authors:
 <div id="log"></div>
 <script>
 //==== TEST: FileSystemManager_resolve_ringtones_invalid_mode_w
-//==== LABEL check if InvalidValuesError will be reported when the ringtones directory is resolved with mode w
+//==== LABEL Check if InvalidValuesError will be reported when the ringtones directory is resolved with mode w
 //==== PRIORITY P2
 //==== SPEC Tizen Web API:IO:Filesystem:FileSystemManager:resolve M
 //==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html
 //==== TEST_CRITERIA
 
 var resolveSuccess, resolveError,
-    t = async_test("FileSystemManager_resolve_ringtones_invalid_mode_w");
+    t = async_test(document.title);
 
 t.step(function () {
     resolveSuccess = t.step_func(function (dir) {
index 75a68469039fd4fcecf6f1a54d8b1db912abff07..17158413ee1578a962d6a641fce932f4f8027ff3 100644 (file)
@@ -27,21 +27,21 @@ EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 
 Authors:
         Kaiyu <kaiyux.li@intel.com>
-        Guan,JingX <jingx.guan@intel.com>
+        Guan, JingX <jingx.guan@intel.com>
 
 -->
 
 <html>
 <head>
 <title>FileSystemManager_resolve_videos</title>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
 <script type="text/javascript" src="support/filesystem_common.js"></script>
 </head>
 <body>
 <div id="log"></div>
 <script>
 //==== TEST: FileSystemManager_resolve_videos
-//==== LABEL check if resolve videos to a file handle.
+//==== LABEL Check if resolve videos to a file handle.
 //==== PRIORITY P2
 //==== SPEC Tizen Web API:IO:Filesystem:FileSystemManager:resolve M
 //==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html
@@ -49,11 +49,11 @@ Authors:
 
 
 var expected = "videos", resolveSuccess, resolveError,
-    t = async_test("FileSystemManager_resolve_videos");
+    t = async_test(document.title);
 
 t.step(function (){
     resolveSuccess = t.step_func(function (dir) {
-        assert_equals(dir.path ,expected, "resolve videos to a file handle");
+        assert_equals(dir.path , expected, "resolve videos to a file handle");
         t.done();
     });
 
index 4b6928255715430425ebe4b49f6dabe57d7eb05c..0a6b4838e9b2f1316acffd68bbe5c160c430bfc1 100644 (file)
@@ -30,14 +30,14 @@ Authors:
 <div id="log"></div>
 <script>
 //==== TEST: FileSystemManager_resolve_wgt-package_invalid_mode_a
-//==== LABEL check if InvalidValuesError will be reported when the wgt-package directory is resolved with mode a
+//==== LABEL Check if InvalidValuesError will be reported when the wgt-package directory is resolved with mode a
 //==== PRIORITY P2
 //==== SPEC Tizen Web API:IO:Filesystem:FileSystemManager:resolve M
 //==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html
 //==== TEST_CRITERIA
 
 var resolveSuccess, resolveError,
-    t = async_test("FileSystemManager_resolve_wgt-package_invalid_mode_a");
+    t = async_test(document.title);
 
 t.step(function () {
     resolveSuccess = t.step_func(function (dir) {
index f156187354c33768bab689163d68aab10786093c..ce54515440710652c303162009d5e6a38a5671e3 100644 (file)
@@ -30,14 +30,14 @@ Authors:
 <div id="log"></div>
 <script>
 //==== TEST: FileSystemManager_resolve_wgt-package_invalid_mode_rw
-//==== LABEL check if InvalidValuesError will be reported when the wgt-package directory is resolved with mode rw
+//==== LABEL Check if InvalidValuesError will be reported when the wgt-package directory is resolved with mode rw
 //==== PRIORITY P2
 //==== SPEC Tizen Web API:IO:Filesystem:FileSystemManager:resolve M
 //==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html
 //==== TEST_CRITERIA
 
 var resolveSuccess, resolveError,
-    t = async_test("FileSystemManager_resolve_wgt-package_invalid_mode_rw");
+    t = async_test(document.title);
 
 t.step(function () {
     resolveSuccess = t.step_func(function (dir) {
index 04b83cdf0923887316a6975361b3ba4685b13630..30309fb4a204cbe7c269ab4e68892a9b58a122f1 100644 (file)
@@ -30,14 +30,14 @@ Authors:
 <div id="log"></div>
 <script>
 //==== TEST: FileSystemManager_resolve_wgt-package_invalid_mode_w
-//==== LABEL check if InvalidValuesError will be reported when the wgt-package directory is resolved with mode w
+//==== LABEL Check if InvalidValuesError will be reported when the wgt-package directory is resolved with mode w
 //==== PRIORITY P2
 //==== SPEC Tizen Web API:IO:Filesystem:FileSystemManager:resolve M
 //==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html
 //==== TEST_CRITERIA
 
 var resolveSuccess, resolveError,
-    t = async_test("FileSystemManager_resolve_wgt-package_invalid_mode_w");
+    t = async_test(document.title);
 
 t.step(function () {
     resolveSuccess = t.step_func(function (dir) {
index 822e904a0b8f8b7da00a0b7f042f2ffbe61e6c80..2ea7f295cefa26b875d2293b807aa5494fef1f6f 100644 (file)
@@ -27,14 +27,14 @@ EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 
 Authors:
         Kaiyu <kaiyux.li@intel.com>
-        Guan,JingX <jingx.guan@intel.com>
+        Guan, JingX <jingx.guan@intel.com>
 
 -->
 
 <html>
 <head>
 <title>FileSystemManager_resolve_wgt_package</title>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
 <script type="text/javascript" src="support/filesystem_common.js"></script>
 </head>
 <body>
@@ -42,13 +42,13 @@ Authors:
 <script>
 
 //==== TEST: FileSystemManager_resolve_wgt_package
-//==== LABEL: Check if resolve wgt-package to a file handle.
+//==== LABEL Check if resolve wgt-package to a file handle.
 //==== SPEC: Tizen Web API:IO:Filesystem:FileSystemManager:resolve M
 //==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html
 //==== TEST_CRITERIA MOA
 
 var resolveSuccess, resolveError, expected = "wgt-package",
-    t = async_test("FileSystemManager_resolve_wgt_package");
+    t = async_test(document.title);
 
 t.step(function (){
     resolveSuccess = t.step_func(function (dir) {
index f4c1503369622a9a873904d253ece204256a602b..e0cfedf57a2abfe1ca3a1172dc5a89368ec8ef5f 100644 (file)
@@ -27,14 +27,14 @@ EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 
 Authors:
         Kaiyu <kaiyux.li@intel.com>
-        Guan,JingX <jingx.guan@intel.com>
+        Guan, JingX <jingx.guan@intel.com>
 
 -->
 
 <html>
 <head>
 <title>FileSystemManager_resolve_wgt_private</title>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
 <script type="text/javascript" src="support/filesystem_common.js"></script>
 </head>
 <body>
@@ -42,13 +42,13 @@ Authors:
 <script>
 
 //==== TEST: FileSystemManager_resolve_wgt_private
-//==== LABEL: Check if resolve wgt-private to a file handle.
+//==== LABEL Check if resolve wgt-private to a file handle.
 //==== SPEC: Tizen Web API:IO:Filesystem:FileSystemManager:resolve M
 //==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html
 //==== TEST_CRITERIA MOA
 
 var resolveSuccess, resolveError, expected = "wgt-private",
-    t = async_test("FileSystemManager_resolve_wgt_private");
+    t = async_test(document.title);
 
 t.step(function (){
     resolveSuccess = t.step_func(function (dir) {
index f2cf11dda0b1573b12bff64cf2795d6453dab0f9..3277904d31aa589d49d6bb1cd26d591ef1fee064 100644 (file)
@@ -27,13 +27,13 @@ EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 
 Authors:
         Kaiyu <kaiyux.li@intel.com>
-        Guan,JingX <jingx.guan@intel.com>
+        Guan, JingX <jingx.guan@intel.com>
 
 -->
 <html>
 <head>
 <title>FileSystemManager_resolve_wgt_private_tmp</title>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
 <script type="text/javascript" src="support/filesystem_common.js"></script>
 </head>
 <body>
@@ -41,13 +41,13 @@ Authors:
 <script>
 
 //==== TEST: FileSystemManager_resolve_wgt_private_tmp
-//==== LABEL: Check if resolve wgt-private-tmp to a file handle.
+//==== LABEL Check if resolve wgt-private-tmp to a file handle.
 //==== SPEC: Tizen Web API:IO:Filesystem:FileSystemManager:resolve M
 //==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html
 //==== TEST_CRITERIA MOA
 
 var resolveSuccess, resolveError, expected = "wgt-private-tmp",
-    t = async_test("FileSystemManager_resolve_wgt_private_tmp");
+    t = async_test(document.title);
 
 t.step(function (){
     resolveSuccess = t.step_func(function (dir) {
index c075207c8f8ef20ab191f8a5642b23c955c17a14..e41673d70b6806c50ed1c2f0ce286b45ab5a218b 100644 (file)
@@ -23,7 +23,7 @@ Authors:
 <html>
 <head>
 <title>FileSystemManager_resolve_with_mode</title>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
 <script type="text/javascript" src="support/filesystem_common.js"></script>
 </head>
 <body>
@@ -37,7 +37,7 @@ Authors:
 //==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html
 //==== TEST_CRITERIA MOA
 
-var t = async_test("FileSystemManager_resolve_with_mode"),
+var t = async_test(document.title),
     resolveSuccess, resolveError, expected;
 t.step(function () {
     resolveSuccess = t.step_func(function (dir) {
index 3164083c47d7610979ed2353e1a24a8a3ef1b35e..0ff78d1bb8e1c60b966260e31e73c4a8e24cdf1a 100644 (file)
@@ -24,7 +24,7 @@ Authors:
 <html>
 <head>
 <title>FileSystemManager_resolve_with_onerror</title>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
 <script type="text/javascript" src="support/filesystem_common.js"></script>
 </head>
 <body>
@@ -38,7 +38,7 @@ Authors:
 //==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html
 //==== TEST_CRITERIA MOA
 
-var t = async_test("FileSystemManager_resolve_with_onerror"),
+var t = async_test(document.title),
     resolveSuccess, resolveError;
 t.step(function (){
     resolveSuccess = t.step_func(function (storage) {
index e5b0317382eeb8a63cdcc5212f9a4c1d113fa7ac..a763a0eaedf5d08bb219937bc8cf8cf9a6e18e90 100644 (file)
@@ -26,7 +26,7 @@ Authors:
 <head>
 <title>FileSystemManager_resolve_works_correctly</title>
 <meta charset="utf-8">
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
 <script type="text/javascript" src="support/filesystem_common.js"></script>
 </head>
 
@@ -35,16 +35,16 @@ Authors:
 <script type="text/javascript">
 
 //==== TEST: FileSystemManager_resolve_works_correctly
-//==== LABEL check whether invoking tizen.filesystem.resolve() method the given location is successfully resolved
+//==== LABEL Check whether invoking tizen.filesystem.resolve() method the given location is successfully resolved
 //==== SPEC Tizen Web API:IO:Filesystem:FileSystemManager:resolve M
 //==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html
 //==== TEST_CRITERIA MOA
 
-var this_test = async_test("FileSystemManager_resolve_works_correctly"),
+var t = async_test(document.title),
     resolveSuccess, resolveError;
 
-this_test.step(function () {
-    resolveSuccess = this_test.step_func(function (dir) {
+t.step(function () {
+    resolveSuccess = t.step_func(function (dir) {
         assert_true("parent" in dir, "parent don't exist in object");
         assert_type(dir.parent, "null", "parent should be null");
         assert_true("readOnly" in dir, "readOnly don't exist in object");
@@ -66,10 +66,10 @@ this_test.step(function () {
         assert_true("length" in dir, "length don't exist in object");
         assert_type(dir.length, "number", "type of length should be number");
         assert_true(dir.length >= 0, "value of length should be >= 0");
-        this_test.done();
+        t.done();
     });
 
-    resolveError = this_test.step_func(function (error) {
+    resolveError = t.step_func(function (error) {
         assert_unreached("resolve() error callback invoked: name: " + error.name + ", msg: " + error.message);
     });
 
index d802662484f34fc026ff06d8092eafac6ce5cee2..4f263ef96cfc023c3ef1348bf34fb340c1dd6cc3 100644 (file)
@@ -22,20 +22,20 @@ Authors:
 <html>
 <head>
 <title>FileSystemStorageArraySuccessCallback_notexist</title>
-<script src="../resources/unitcommon.js"></script>
+<script src="support/unitcommon.js"></script>
 </head>
 <body>
 <div id="log"></div>
 <script type="text/javascript">
 //==== TEST: FileSystemStorageArraySuccessCallback_notexist
-//==== LABEL: check if is possible to call FileSystemStorageArraySuccessCallback in new expresion
+//==== LABEL Check if is possible to call FileSystemStorageArraySuccessCallback in new expresion
 //==== PRIORITY: P3
 //==== SPEC Tizen Web API:IO:Filesystem:FileSystemStorageArraySuccessCallback:FileSystemStorageArraySuccessCallback U
 //==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html
 //==== TEST_CRITERIA CBNIO
 test(function () {
     check_no_interface_object("FileSystemStorageArraySuccessCallback");
-}, "FileSystemStorageArraySuccessCallback_notexist");
+}, document.title);
 
 </script>
 </body>
index 4ee7a57012c64a570ebd52ef35345143e7aaf5bf..e688c79e65596db4a11e1a84a4f5a4c3e95630f2 100644 (file)
@@ -24,7 +24,7 @@ Authors:
 <html>
 <head>
 <title>FileSystemStorageArraySuccessCallback_onsuccess</title>
-<script src="../resources/unitcommon.js"></script>
+<script src="support/unitcommon.js"></script>
 </head>
 
 <body>
@@ -32,13 +32,13 @@ Authors:
 <script type="text/javascript">
 
 //==== TEST: FileSystemStorageArraySuccessCallback_onsuccess
-//==== LABEL: Test whether the type of each argument is equal to the specified in FileSystemStorageArraySuccessCallback.
+//==== LABEL Test whether the type of each argument is equal to the specified in FileSystemStorageArraySuccessCallback.
 //==== PRIORITY: P1
 //==== SPEC Tizen Web API:IO:Filesystem:FileSystemStorageArraySuccessCallback:onsuccess M
 //==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html
 //==== TEST_CRITERIA CBOA CBT
 
-var t = async_test("FileSystemStorageArraySuccessCallback_onsuccess"),
+var t = async_test(document.title),
     listStoragesSuccess, listStoragesError, i;
 t.step(function () {
     listStoragesSuccess = t.step_func(function (storages) {
index 87c358f97c3d3f825fac018366a535b9345a2d3e..b56ba1e94d0d40fb5dd5f75ee7eac62203990f55 100644 (file)
@@ -22,20 +22,20 @@ Authors:
 <html>
 <head>
 <title>FileSystemStorageSuccessCallback_notexist</title>
-<script src="../resources/unitcommon.js"></script>
+<script src="support/unitcommon.js"></script>
 </head>
 <body>
 <div id="log"></div>
 <script type="text/javascript">
 //==== TEST: FileSystemStorageSuccessCallback_notexist
-//==== LABEL: check if is possible to call FileSystemStorageSuccessCallback in new expresion
+//==== LABEL Check if is possible to call FileSystemStorageSuccessCallback in new expresion
 //==== PRIORITY: P3
 //==== SPEC Tizen Web API:IO:Filesystem:FileSystemStorageSuccessCallback:FileSystemStorageSuccessCallback U
 //==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html
 //==== TEST_CRITERIA CBNIO
 test(function () {
     check_no_interface_object("FileSystemStorageSuccessCallback");
-}, "FileSystemStorageSuccessCallback_notexist");
+}, document.title);
 
 </script>
 </body>
index 6c55babac0424c9e3871607a7ccfaf759ce170d7..2263a65b158ebf0e744d633b67cb61b0282ba4a6 100644 (file)
@@ -25,7 +25,7 @@ Authors:
 
 <head>
 <title>FileSystemStorageSuccessCallback_onsuccess</title>
-<script src="../resources/unitcommon.js"></script>
+<script src="support/unitcommon.js"></script>
 </head>
 
 <body>
@@ -33,13 +33,13 @@ Authors:
 <script type="text/javascript">
 
 //==== TEST: FileSystemStorageSuccessCallback_onsuccess
-//==== LABEL: Test whether the type of each argument is equal to the specified in FileSystemStorageSuccessCallback.
+//==== LABEL Test whether the type of each argument is equal to the specified in FileSystemStorageSuccessCallback.
 //==== PRIORITY: P1
 //==== SPEC Tizen Web API:IO:Filesystem:FileSystemStorageSuccessCallback:onsuccess M
 //==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html
 //==== TEST_CRITERIA CBOA CBT
 
-var t = async_test("FileSystemStorageSuccessCallback_onsuccess"),
+var t = async_test(document.title),
     listStoragesSuccess, listStoragesError, getStorageSuccess;
 
 t.step(function () {
index 9629ca0945e72856fd84a9f5133732821a1d21a5..6542f3464df9406c0bb8eca19e53a0ad30d20e44 100644 (file)
@@ -22,7 +22,7 @@ Authors:
 <html>
 <head>
 <title>FileSystemStorage_extend</title>
-<script src="../resources/unitcommon.js"></script>
+<script src="support/unitcommon.js"></script>
 </head>
 
 <body>
@@ -30,13 +30,13 @@ Authors:
 <script type="text/javascript">
 
 //==== TEST: FileSystemStorage_extend
-//==== LABEL: test whether the FileSystemStorage object can have new attribute added
+//==== LABEL Test whether the FileSystemStorage object can have new attribute added
 //==== PRIORITY: P3
 //==== SPEC Tizen Web API:IO:Filesystem:FileSystemStorage:FileSystemStorage U
 //==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html
 //==== TEST_CRITERIA OBX
 
-var t = async_test("FileSystemStorage_extend"), listStoragesSuccess;
+var t = async_test(document.title), listStoragesSuccess;
 
 t.step(function () {
     listStoragesSuccess = t.step_func(function (storages) {
index 4ab7a5e56b8d07f9311a561a51d49e85fad90c2e..02f1934d16f961d962d756344ae06ac4921d6b75 100644 (file)
@@ -23,7 +23,7 @@ Authors:
 <head>
 <title>FileSystemStorage_label_attribute</title>
 <meta charset="utf-8"/>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
 </head>
 
 <body>
@@ -31,16 +31,16 @@ Authors:
 <script type="text/javascript">
 
 //==== TEST: FileSystemStorage_label_attribute
-//==== LABEL: Check if attribute label of FileSystemStorage exists, has type DOMString and is readonly
+//==== LABEL Check if attribute label of FileSystemStorage exists, has type DOMString and is readonly
 //==== SPEC: Tizen Web API:IO:Filesystem:FileSystemStorage:label A
 //==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html
 //==== TEST_CRITERIA AE AT ARO
 
-var t = async_test("FileSystemStorage_label_attribute"), listStoragesSuccess;
+var t = async_test(document.title), listStoragesSuccess;
 t.step(function () {
     listStoragesSuccess = t.step_func(function (storages) {
         assert_true(storages.length > 0, "No available storage");
-        assert_true("label" in storages[0],"label not in FileSystemStorage");
+        assert_true("label" in storages[0], "label not in FileSystemStorage");
         check_readonly(storages[0], "label", storages[0].label, "string", storages[0].label + "dummyValue");
         t.done();
     });
index 566f33604a7b374e423cf5c1e3f36628c5aa2157..0d82238c36c80b3f938ffd522c78d169ccaf5caf 100644 (file)
@@ -22,20 +22,20 @@ Authors:
 <html>
 <head>
 <title>FileSystemStorage_notexist</title>
-<script src="../resources/unitcommon.js"></script>
+<script src="support/unitcommon.js"></script>
 </head>
 <body>
 <div id="log"></div>
 <script type="text/javascript">
 //==== TEST: FileSystemStorage_notexist
-//==== LABEL: check if is possible to call FileSystemStorage in new expresion
+//==== LABEL Check if is possible to call FileSystemStorage in new expresion
 //==== PRIORITY: P3
 //==== SPEC Tizen Web API:IO:Filesystem:FileSystemStorage:FileSystemStorage U
 //==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html
 //==== TEST_CRITERIA NIO
 test(function () {
     check_no_interface_object("FileSystemStorage");
-}, "FileSystemStorage_notexist");
+}, document.title);
 
 </script>
 </body>
index dccf1334e996e5c4a2fccc5f7cea6144c00335ab..2801ba6e7701b4bef89af2f801b51c48981a917e 100644 (file)
@@ -24,7 +24,7 @@ Authors:
 <head>
 <title>FileSystemStorage_state_attribute</title>
 <meta charset="utf-8"/>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
 </head>
 
 <body>
@@ -32,17 +32,17 @@ Authors:
 <script type="text/javascript">
 
 //==== TEST: FileSystemStorage_state_attribute
-//==== LABEL: Check if attribute state of FileSystemStorage exists, has type FileSystemStorageState and is readonly
+//==== LABEL Check if attribute state of FileSystemStorage exists, has type FileSystemStorageState and is readonly
 //==== SPEC: Tizen Web API:IO:Filesystem:FileSystemStorage:state A
 //==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html
 //==== TEST_CRITERIA AE AT ARO
 
-var t = async_test("FileSystemStorage_state_attribute"), listStoragesSuccess, valueToAssign;
+var t = async_test(document.title), listStoragesSuccess, valueToAssign;
 
 t.step(function () {
     listStoragesSuccess = t.step_func(function (storages) {
         assert_true(storages.length > 0, "No available storage");
-        assert_true("state" in storages[0],"state not in FileSystemStorage");
+        assert_true("state" in storages[0], "state not in FileSystemStorage");
         assert_in_array(storages[0].state, ["MOUNTED", "REMOVED", "UNMOUNTABLE"], "incorrect value of state");
         if (storages[0].state === "MOUNTED") {
             valueToAssign = "REMOVED";
index fc1864780a06b0127b740d0b5ca85ab62839a50a..7c3c01a1ed131c567de9debb90dcaba7b1f77ed4 100644 (file)
@@ -24,7 +24,7 @@ Authors:
 <head>
 <title>FileSystemStorage_type_attribute</title>
 <meta charset="utf-8"/>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
 </head>
 
 <body>
@@ -32,17 +32,17 @@ Authors:
 <script type="text/javascript">
 
 //==== TEST: FileSystemStorage_type_attribute
-//==== LABEL: Check if attribute type of FileSystemStorage exists, has type FileSystemStorageType and is readonly
+//==== LABEL Check if attribute type of FileSystemStorage exists, has type FileSystemStorageType and is readonly
 //==== SPEC: Tizen Web API:IO:Filesystem:FileSystemStorage:type A
 //==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html
 //==== TEST_CRITERIA AE AT ARO
 
-var t = async_test("FileSystemStorage_type_attribute"), listStoragesSuccess, valueToAssign;
+var t = async_test(document.title), listStoragesSuccess, valueToAssign;
 
 t.step(function () {
     listStoragesSuccess = t.step_func(function (storages) {
         assert_true(storages.length > 0, "No available storage");
-        assert_true("type" in storages[0],"type not in FileSystemStorage");
+        assert_true("type" in storages[0], "type not in FileSystemStorage");
         assert_in_array(storages[0].type, ["INTERNAL", "EXTERNAL"], "incorrect value of type");
         if (storages[0].type === "INTERNAL") {
             valueToAssign = "EXTERNAL";
index 0b61b79fa1fc7a8861d0abd07589c38ebf021902..464045aa6401f36ab1c7c0c93000f3dce320cc79 100644 (file)
@@ -25,7 +25,7 @@ Authors:
 <head>
 <title>File_copyTo</title>
 <meta charset="utf-8"/>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
 <script type="text/javascript" src="support/filesystem_common.js"></script>
 </head>
 
@@ -33,12 +33,12 @@ Authors:
 <div id="log"></div>
 <script>
 //==== TEST: File_copyTo
-//==== LABEL: Check if method copyTo of File works properly.
+//==== LABEL Check if method copyTo of File works properly.
 //==== SPEC: Tizen Web API:IO:Filesystem:File:copyTo M
 //==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html
 //==== TEST_CRITERIA MMINA
 
-var t = async_test("File_copyTo"), resolveSuccess, resolveError, fsTestFile, fsTestFileName;
+var t = async_test(document.title), resolveSuccess, resolveError, fsTestFile, fsTestFileName;
 
 t.step(function (){
     fsTestFileName =  getFileName("filesystem.txt");
index cea6f82a36799a0a4648bba0b743989d56ac303a..73aa5b818baa33e195f048bc71c1d8a7ef136c5a 100644 (file)
@@ -33,7 +33,7 @@ Authors:
 <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).
+//==== 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
 //==== SPEC Tizen Web API:IO:Filesystem:File:copyTo M
 //==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html
@@ -42,7 +42,7 @@ Authors:
 
 var resolveSuccess, resolveError, copySuccess, copyError, fsTestDir1, fsTestDirName1, fsTestSubDir1, fsTestSubDirName1,
     fsTestDir2, fsTestDirName2, fsTestSubDir2, expected = "IOError",
-    t = async_test("File_copyTo_dir_overwrite_false");
+    t = async_test(document.title);
 
 t.step(function () {
     fsTestDirName1 = getDirName("filesystem1");
index cdf0073bb5a387ba3c3a4cacdd810f3fa5fafbe6..abc702077a2f13187b9b2dac105bc324a9a37087 100644 (file)
@@ -33,7 +33,7 @@ Authors:
 <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.
+//==== LABEL Check if copy a directory to another location of the directory with the same name (overwrite is true) was successfull.
 //==== PRIORITY P2
 //==== SPEC Tizen Web API:IO:Filesystem:File:copyTo M
 //==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html
@@ -42,7 +42,7 @@ Authors:
 
 var resolveSuccess, resolveError, copySuccess, fsTestDir1, fsTestDirName1, fsTestSubDir1, fsTestSubDirName1,
     fsTestDir2, fsTestDirName2, fsTestSubDir2, copyError,
-    t = async_test("File_copyTo_dir_overwrite_true");
+    t = async_test(document.title);
 
 t.step(function () {
     fsTestDirName1 = getDirName("filesystem1");
index 9d1834def09c7ecd8fdcaaba6fca66e2da75cee4..fa6f812ba93665a30120311fa32b166968a0c872 100644 (file)
@@ -27,7 +27,7 @@ EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 
 Authors:
         Kaiyu <kaiyux.li@intel.com>
-        Guan,JingX <jingx.guan@intel.com>
+        Guan, JingX <jingx.guan@intel.com>
         Mariusz Polasinski <m.polasinski@samsung.com>
 
 -->
@@ -45,7 +45,7 @@ Authors:
 <div id="log"></div>
 <script type="text/javascript">
 //==== TEST: File_copyTo_dir_samedir_samename_overwrite_false
-//==== LABEL check if error callback invoked when copy a directory to the same location with the same name (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
 //==== SPEC Tizen Web API:IO:Filesystem:File:copyTo M
 //==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html
@@ -54,7 +54,7 @@ Authors:
 
 var resolveSuccess, resolveError, copySuccess, copyError, fsTestDir1, fsTestDirName1, fsTestSubDir1,
     fsTestSubDirName1, expected = "IOError",
-    t = async_test("File_copyTo_dir_samedir_samename_overwrite_false");
+    t = async_test(document.title);
 
 t.step(function () {
     fsTestDirName1 = getDirName("filesystem1");
index 3069d64a171c3779ec4e707b97df9623143ba43d..d2d1581debf21af940ad6e30286a0bec2e098fc6 100644 (file)
@@ -27,7 +27,7 @@ EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 
 Authors:
         Kaiyu <kaiyux.li@intel.com>
-        Guan,JingX <jingx.guan@intel.com>
+        Guan, JingX <jingx.guan@intel.com>
         Mariusz Polasinski <m.polasinski@samsung.com>
 
 -->
@@ -45,7 +45,7 @@ Authors:
 <div id="log"></div>
 <script type="text/javascript">
 //==== TEST: File_copyTo_dir_samedir_samename_overwrite_true
-//==== LABEL check if error callback invoked when copy a directory to the same location with the same name (overwrite is true).
+//==== LABEL Check if error callback invoked when copy a directory to the same location with the same name (overwrite is true).
 //==== PRIORITY P2
 //==== SPEC Tizen Web API:IO:Filesystem:File:copyTo M
 //==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html
@@ -53,7 +53,7 @@ Authors:
 
 
 var resolveSuccess, resolveError, copySuccess, fsTestDir1, fsTestDirName1, fsTestSubDir1, fsTestSubDirName1,
-    t = async_test("File_copyTo_dir_samedir_samename_overwrite_true"), copyError, expectedError = "IOError";
+    t = async_test(document.title), copyError, expectedError = "IOError";
 
 t.step(function () {
     fsTestDirName1 = getDirName("filesystem1");
index 3081a2d1297af218bfcf14fe741213e771d1b905..1868cfde967fccfa4ff1559ee7ebb0e7d98c2264 100644 (file)
@@ -27,7 +27,7 @@ EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 
 Authors:
         Kaiyu <kaiyux.li@intel.com>
-        Guan,JingX <jingx.guan@intel.com>
+        Guan, JingX <jingx.guan@intel.com>
         Beata Koziarek <b.koziarek@samsung.com>
 
 -->
@@ -36,7 +36,7 @@ Authors:
 
 <head>
 <title>File_copyTo_exist</title>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
 </head>
 
 <body>
@@ -50,7 +50,7 @@ Authors:
 //==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html
 //==== TEST_CRITERIA ME
 
-var t = async_test("File_copyTo_exist"), resolveSuccess, resolveError;
+var t = async_test(document.title), resolveSuccess, resolveError;
 
 t.step(function () {
     resolveSuccess = t.step_func(function (dir) {
index e3ec15dd114f5a6c1adabb7bab0eda8656806119..f3dce1f46b7ed59fddb5c7084058a4f7f5f5aa96 100644 (file)
@@ -33,13 +33,13 @@ Authors:
 <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).
+//==== 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
 //==== SPEC Tizen Web API:IO:Filesystem:File:copyTo M
 //==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html
 //==== TEST_CRITERIA MERRCB
 
-var t = async_test("File_copyTo_file_overwrite_false"), expected = "IOError",
+var t = async_test(document.title), expected = "IOError",
     resolveSuccess, resolveError, copySuccess, copyError, fsTestFile, fsTestFileName, fsTestDir,
     fsTestDirName, fsTestSubDir1, fsTestSubDirName1, fsTestSubDir2, fsTestSubDirName2;
 
index 939a5d3fc0ef661b626b8288168b099f0038c8ee..ee1a3ac6ed943f38ca19455d1cb94974045a3806 100644 (file)
@@ -33,15 +33,15 @@ Authors:
 <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.
+//==== LABEL Check if copy a file to another location of the file with the same name (overwrite is true) was successfull.
 //==== PRIORITY P2
 //==== SPEC Tizen Web API:IO:Filesystem:File:copyTo M
 //==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/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;
+var t = async_test(document.title),
+    resolveSuccess, resolveError, copySuccess, fsTestFile, fsTestFileName, fsTestDir, copyError,
+    fsTestDirName, fsTestSubDir1, fsTestSubDirName1, fsTestSubDir2, fsTestSubDirName2;
 
 t.step(function () {
     fsTestDirName = getFileName("filesystem");
index b8b2135faa916a6b87c464d2d39686b7973338e6..6d69c8d7e5c3467f603486b66f3e3a0c5370c94d 100644 (file)
@@ -27,7 +27,7 @@ EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 
 Authors:
         Kaiyu <kaiyux.li@intel.com>
-        Guan,JingX <jingx.guan@intel.com>
+        Guan, JingX <jingx.guan@intel.com>
         Mariusz Polasinski <m.polasinski@samsung.com>
 
 -->
@@ -45,14 +45,14 @@ Authors:
 <div id="log"></div>
 <script type="text/javascript">
 //==== TEST: File_copyTo_file_samedir_samename_overwrite_false
-//==== LABEL check if error callback invoked when copy a file to the same location with the same name (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
 //==== SPEC Tizen Web API:IO:Filesystem:File:copyTo M
 //==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html
 //==== TEST_CRITERIA MERRCB
 
 
-var t = async_test("File_copyTo_file_samedir_samename_overwrite_false"), expectedError = "IOError",
+var t = async_test(document.title), expectedError = "IOError",
     resolveSuccess, resolveError, copySuccess, copyError, fsTestFile, fsTestFileName, fsTestDir, fsTestDirName;
 
 t.step(function () {
index 8c097548c9576187ac3812ec451b7ac6f2bae8d9..10d7a739c894d3242b2def6498ae2fbfc53476b0 100644 (file)
@@ -44,13 +44,13 @@ Authors:
 <div id="log"></div>
 <script type="text/javascript">
 //==== TEST: File_copyTo_file_samedir_samename_overwrite_true
-//==== LABEL check if error callback invoked when copy a file to the same location with the same name (overwrite is true)
+//==== LABEL Check if error callback invoked when copy a file to the same location with the same name (overwrite is true)
 //==== PRIORITY P2
 //==== SPEC Tizen Web API:IO:Filesystem:File:copyTo M
 //==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html
 //==== TEST_CRITERIA MERRCB
 
-var t = async_test("File_copyTo_file_samedir_samename_overwrite_true"), resolveSuccess, copyError,
+var t = async_test(document.title), resolveSuccess, copyError,
     resolveError, copySuccess, fsTestFile, fsTestFileName, fsTestDir, fsTestDirName, expectedError = "IOError";
 
 t.step(function () {
index 112b458677bad2d9be63a42b04c8a274c0a0ccbc..abf9231fda612147cb837fe0695a1b2d274f2d2e 100644 (file)
@@ -24,7 +24,7 @@ Authors:
 <head>
 <title>File_copyTo_onerror_TypeMismatch</title>
 <meta charset="utf-8"/>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
 <script type="text/javascript" src="support/filesystem_common.js"></script>
 </head>
 
@@ -33,13 +33,13 @@ Authors:
 <script type="text/javascript">
 
 //==== TEST: File_copyTo_onerror_TypeMismatch
-//==== LABEL: Check argument onError conversions exception in copyTo method.
+//==== LABEL Check argument onError conversions exception in copyTo method.
 //==== PRIORITY: P2
 //==== SPEC: Tizen Web API:IO:Filesystem:File:copyTo M
 //==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html
 //==== TEST_CRITERIA MC
 
-var t = async_test("File_copyTo_onerror_TypeMismatch"),
+var t = async_test(document.title),
     resolveSuccess, resolveError, conversionTable, copyError, i, copySuccess, fsTestFileName,
     exceptionName = "TypeMismatchError";
 
@@ -56,7 +56,7 @@ t.step(function () {
             copyError = conversionTable[i][0];
             exceptionName = conversionTable[i][1];
 
-            assert_throws({name : exceptionName},
+            assert_throws({name: exceptionName},
                 function () {
                     dir.copyTo(fsTestFileName, "images", true, copySuccess, copyError);
                 }, exceptionName + " should be thrown - given incorrect errorCallback.");
index d9e5517e533ee22ddda7985529bbb9ede7485f4f..258a9503fb98ed4d8c8928488b24ef1f19420ed9 100644 (file)
@@ -26,7 +26,7 @@ Authors:
 <head>
 <title>File_copyTo_onerror_invalid_cb</title>
 <meta charset="utf-8"/>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
 <script type="text/javascript" src="support/filesystem_common.js"></script>
 </head>
 
@@ -35,13 +35,13 @@ Authors:
 <script>
 
 //==== TEST: File_copyTo_onerror_invalid_cb
-//==== LABEL: Test whether the constructor of the interface is defined or not in copyTo method onError callback.
+//==== LABEL Test whether the constructor of the interface is defined or not in copyTo method onError callback.
 //==== PRIORITY: P2
 //==== SPEC: Tizen Web API:IO:Filesystem:File:copyTo M
 //==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html
 //==== TEST_CRITERIA MTCB
 
-var t = async_test("File_copyTo_onerror_invalid_cb"), resolveSuccess, resolveError,
+var t = async_test(document.title), resolveSuccess, resolveError,
     copySuccess, copyError, exceptionName = "TypeMismatchError", fsTestFileName;
 
 t.step(function () {
@@ -58,7 +58,7 @@ t.step(function () {
     });
 
     resolveSuccess = t.step_func(function (dir) {
-        assert_throws({name : exceptionName},
+        assert_throws({name: exceptionName},
             function () {
                 dir.copyTo(fsTestFileName, "images", true, copySuccess, copyError);
             }, exceptionName + " should be thrown - given incorrect errorCallback.");
index 8698271fe48f8173740a1307f1de111225846d39..e99936701ad05ac56040a86b32520984ea08a9ab 100644 (file)
@@ -25,7 +25,7 @@ Authors:
 <head>
 <title>File_copyTo_onsuccess_TypeMismatch</title>
 <meta charset="utf-8"/>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
 <script type="text/javascript" src="support/filesystem_common.js"></script>
 </head>
 
@@ -34,13 +34,13 @@ Authors:
 <script type="text/javascript">
 
 //==== TEST: File_copyTo_onsuccess_TypeMismatch
-//==== LABEL: Check argument onSuccess conversions exception in copyTo method.
+//==== LABEL Check argument onSuccess conversions exception in copyTo method.
 //==== PRIORITY: P2
 //==== SPEC: Tizen Web API:IO:Filesystem:File:copyTo M
 //==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html
 //==== TEST_CRITERIA MC
 
-var t = async_test("File_copyTo_onsuccess_TypeMismatch"), copySuccess,
+var t = async_test(document.title), copySuccess,
     resolveSuccess, resolveError, conversionTable, i, exceptionName = "TypeMismatchError", fsTestFile, fsTestFileName;
 
 t.step(function (){
@@ -53,7 +53,7 @@ t.step(function (){
             copySuccess = conversionTable[i][0];
             exceptionName = conversionTable[i][1];
 
-            assert_throws({name : exceptionName},
+            assert_throws({name: exceptionName},
                 function () {
                     dir.copyTo(fsTestFile.fullPath, "images", true, copySuccess);
                 }, exceptionName + " should be thrown - given incorrect successCallback.");
index 3136d668277a96b9bf4d91511ba18c104b9e0985..52e0d677d0943e68f2a79c3fdc0fa6bb4822268c 100644 (file)
@@ -24,7 +24,7 @@ Authors:
 <head>
 <title>File_copyTo_onsuccess_invalid_cb</title>
 <meta charset="utf-8"/>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
 <script type="text/javascript" src="support/filesystem_common.js"></script>
 </head>
 
@@ -33,13 +33,13 @@ Authors:
 <script type="text/javascript">
 
 //==== TEST: File_copyTo_onsuccess_invalid_cb
-//==== LABEL: Test whether the constructor of the interface is defined or not in copyTo method onSuccess callback.
+//==== LABEL Test whether the constructor of the interface is defined or not in copyTo method onSuccess callback.
 //==== PRIORITY: P2
 //==== SPEC: Tizen Web API:IO:Filesystem:File:copyTo M
 //==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html
 //==== TEST_CRITERIA MTCB
 
-var t = async_test("File_copyTo_onsuccess_invalid_cb"),
+var t = async_test(document.title),
     resolveSuccess, resolveError, copySuccess, exceptionName = "TypeMismatchError", fsTestFile, fsTestFileName;
 
 t.step(function (){
@@ -53,7 +53,7 @@ t.step(function (){
 
     resolveSuccess = t.step_func(function (dir) {
         fsTestFile = dir.createFile(fsTestFileName);
-        assert_throws({name : exceptionName},
+        assert_throws({name: exceptionName},
             function () {
                 dir.copyTo(fsTestFile.fullPath, "images", true, copySuccess);
             }, exceptionName + " should be thrown - given incorrect successCallback.");
index 7bda5a91592a803802d3074e668e54b151b89683..8033728e3d7c9a1e80cd14cb4aecf216b69d0b56 100644 (file)
@@ -28,7 +28,7 @@ EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 
 Authors:
         Kaiyu <kaiyux.li@intel.com>
-        Guan,JingX <jingx.guan@intel.com>
+        Guan, JingX <jingx.guan@intel.com>
         Beata Koziarek <b.koziarek@samsung.com>
         Mariusz Polasinski <m.polasinski@samsung.com>
 
@@ -47,14 +47,14 @@ Authors:
 <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.
+//==== LABEL Check if throw an exception when copy a file to an invalid destination.
 //==== PRIORITY P2
 //==== SPEC Tizen Web API:IO:Filesystem:File:copyTo M
 //==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html
 //==== TEST_CRITERIA MERRCB
 
 
-var t = async_test("File_copyTo_with_destination_invalid"), expectedError = "NotFoundError",
+var t = async_test(document.title), expectedError = "NotFoundError",
     resolveSuccess, resolveError, copySuccess, copyError, fsTestFileName, fsTestFile;
 
 t.step(function () {
index e4025f0fe93a5b5535e88fa90e4f68fd4c762526..60202d57ff15df43d36d9128cc17192311168e59 100644 (file)
@@ -27,7 +27,7 @@ EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 
 Authors:
         Kaiyu <kaiyux.li@intel.com>
-        Guan,JingX <jingx.guan@intel.com>
+        Guan, JingX <jingx.guan@intel.com>
         Mariusz Polasinski <m.polasinski@samsung.com>
 
 -->
@@ -45,14 +45,14 @@ Authors:
 <div id="log"></div>
 <script type="text/javascript">
 //==== TEST: File_copyTo_with_file_handle
-//==== LABEL check if throw an exception when copyTo with file handle.
+//==== LABEL Check if throw an exception when copyTo with file handle.
 //==== PRIORITY P2
 //==== SPEC Tizen Web API:IO:Filesystem:File:copyTo M
 //==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html
 //==== TEST_CRITERIA MERRCB
 
 var resolveSuccess, resolveError, copySuccess, copyError, fsTestFile, fsTestFileName, fsTestDir, fsTestDirName,
-    expectedError ="IOError", t = async_test("File_copyTo_with_file_handle");
+    expectedError ="IOError", t = async_test(document.title);
 
 t.step(function () {
     fsTestDirName = getFileName("filesystem");
index ee98ce619ffa9d65fc0462ffa610ca741e35a6ac..ce91a158e8c1bb17f61ccd894ad6f8b6dd0d85d9 100644 (file)
@@ -26,7 +26,7 @@ Authors:
 <head>
 <title>File_copyTo_with_invalid_filepath</title>
 <meta charset="utf-8">
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
 <script type="text/javascript" src="support/filesystem_common.js"></script>
 </head>
 
@@ -35,41 +35,40 @@ Authors:
 <script type="text/javascript">
 
 //==== TEST: File_copyTo_with_invalid_filepath
-//==== LABEL check whether invoking 'copyTo' method with invalid filepath param calls error callback function properly
+//==== LABEL Check whether invoking 'copyTo' method with invalid filepath param calls error callback function properly
 //==== PRIORITY P2
 //==== SPEC Tizen Web API:IO:Filesystem:File:copyTo M
 //==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html
 //==== TEST_CRITERIA MERRCB
 
-var this_test = async_test("File_copyTo_with_invalid_filepath");
-this_test.step(function () {
-    var param = [[], 1, 0, null, undefined, {}, "aa"], counter = 0, i,
-        resolveError, resolveSuccess, copyToSuccess, copyToError, fsTestDirName = getDirName("filesystem");
+var t = async_test(document.title), param = [[], 1, 0, null, undefined, {}, "aa"], counter = 0, i, resolveError,
+    resolveSuccess, copyToSuccess, copyToError, fsTestDirName = getDirName("filesystem");
+t.step(function () {
 
-    copyToError = this_test.step_func(function (err) {
+    copyToError = t.step_func(function (err) {
         assert_equals(err.name, NOT_FOUND_ERR, "copyTo() [" + err.name + "]");
         if (counter === param.length - 1) {
-            this_test.done();
+            t.done();
         }
         counter++;
     });
 
-    copyToSuccess = this_test.step_func(function () {
+    copyToSuccess = t.step_func(function () {
         assert_unreached("Unexpected copyToSuccess");
     });
 
-    resolveSuccess = this_test.step_func(function (root) {
+    resolveSuccess = t.step_func(function (root) {
         for (i = 0; i < param.length; i++) {
             root.copyTo(param[i], root.fullPath + "/" + fsTestDirName, true,
                     copyToSuccess, copyToError);
         }
     });
 
-    resolveError = this_test.step_func(function (error) {
+    resolveError = t.step_func(function (error) {
         assert_unreached("resolve() error callback invoked: name:" + error.name + "msg:" + error.message);
     });
 
-    prepareForTesting(this_test, function () {
+    prepareForTesting(t, function () {
         tizen.filesystem.resolve(TEST_ROOT_LOCATION, resolveSuccess, resolveError, "rw");
     });
 });
index 262109e67dbfb5fefc78efbf211bae50be7aff1b..dcdf5c4dd968932fb26288df86a273d890c4b4cd 100644 (file)
@@ -26,7 +26,7 @@ Authors:
 <head>
 <title>File_copyTo_with_invalid_virtual_file</title>
 <meta charset="utf-8">
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
 <script type="text/javascript" src="support/filesystem_common.js"></script>
 </head>
 
@@ -35,13 +35,13 @@ Authors:
 <script type="text/javascript">
 
 //==== TEST: File_copyTo_with_invalid_virtual_file
-//==== LABEL check whether invoking 'copyTo' method with invalid virtual file path params calls error callback function properly
+//==== LABEL Check whether invoking 'copyTo' method with invalid virtual file path params calls error callback function properly
 //==== PRIORITY P2
 //==== SPEC Tizen Web API:IO:Filesystem:File:copyTo M
 //==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html
 //==== TEST_CRITERIA MERRCB
 
-var t = async_test("File_copyTo_with_invalid_virtual_file"), copyToSuccess, copyToError,
+var t = async_test(document.title), copyToSuccess, copyToError,
     resolveSuccess, resolveError;
 
 t.step(function () {
index 551dded28ca6089d05fe8471e9782c94ec416277..b764d51e88eb216c13952dde75fcf391ef9d57c3 100644 (file)
@@ -26,7 +26,7 @@ Authors:
 <head>
 <title>File_copyTo_with_null_success_and_error_callbacks</title>
 <meta charset="utf-8">
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
 <script type="text/javascript" src="support/filesystem_common.js"></script>
 </head>
 
@@ -35,31 +35,31 @@ Authors:
 <script type="text/javascript">
 
 //==== TEST: File_copyTo_with_null_success_and_error_callbacks
-//==== LABEL check whether 'copyTo' method properly copies file in case success and error callbacks are undefined
+//==== LABEL Check whether 'copyTo' method properly copies file in case success and error callbacks are undefined
 //==== SPEC Tizen Web API:IO:Filesystem:File:copyTo M
 //==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html
 //==== TEST_CRITERIA MMINA
 
-var this_test = async_test("File_copyTo_with_null_success_and_error_callbacks");
+var t = async_test(document.title), resolveSuccess, resolveError, fsTestFile, fsTestFileName1, fsTestFileName2,
+    copyPath;
 
-this_test.step(function () {
-    var resolveSuccess, resolveError, fsTestFile, fsTestFileName1, fsTestFileName2, copyPath;
+t.step(function () {
 
     fsTestFileName1 =  getFileName("filesystem1.txt");
     fsTestFileName2 =  getFileName("filesystem2.txt");
 
-    resolveSuccess = this_test.step_func(function (dir) {
+    resolveSuccess = t.step_func(function (dir) {
         fsTestFile = dir.createFile(fsTestFileName1);
         copyPath = dir.fullPath + "/" + fsTestFileName2;
         dir.copyTo(fsTestFile.fullPath, copyPath, false, null, null);
-        this_test.done();
+        t.done();
     });
 
-    resolveError = this_test.step_func(function (error) {
+    resolveError = t.step_func(function (error) {
         assert_unreached("resolve() error callback invoked: name:" + error.name + "msg:" + error.message);
     });
 
-    prepareForTesting(this_test, function () {
+    prepareForTesting(t, function () {
         tizen.filesystem.resolve(TEST_ROOT_LOCATION, resolveSuccess, resolveError, "rw");
     });
 });
index 936454cde5d0bb969c0f42f54df802a8717e15d2..2b5fda13a479e9c498b8c3085e542ba8e0d7c23e 100644 (file)
@@ -27,7 +27,7 @@ Authors:
 <head>
 <title>File_copyTo_with_onerror</title>
 <meta charset="utf-8"/>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
 <script type="text/javascript" src="support/filesystem_common.js"></script>
 </head>
 
@@ -37,12 +37,12 @@ Authors:
 <script type="text/javascript">
 
 //==== TEST: File_copyTo_with_onerror
-//==== LABEL: Check if method copyTo wit onError optional argument works properly.
+//==== LABEL Check if method copyTo wit onError optional argument works properly.
 //==== SPEC: Tizen Web API:IO:Filesystem:File:copyTo M
 //==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html
 //==== TEST_CRITERIA MOA
 
-var t = async_test("File_copyTo_with_onerror"),
+var t = async_test(document.title),
     resolveSuccess, resolveError, copyToSuccess, copyToError, fsTestFileName;
 
 t.step(function (){
index ffc86a0606d7c314043c8f83476f06f758cf993d..3f1615d1a94c7ebc5c096c2fcfe6659d39411efa 100644 (file)
@@ -27,7 +27,7 @@ Authors:
 <head>
 <title>File_copyTo_with_onsuccess</title>
 <meta charset="utf-8"/>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
 <script type="text/javascript" src="support/filesystem_common.js"></script>
 </head>
 
@@ -37,12 +37,12 @@ Authors:
 <script type="text/javascript">
 
 //==== TEST: File_copyTo_with_onsuccess
-//==== LABEL: Check if method copyTo with onSuccess optional argument works properly.
+//==== LABEL Check if method copyTo with onSuccess optional argument works properly.
 //==== SPEC: Tizen Web API:IO:Filesystem:File:copyTo M
 //==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html
 //==== TEST_CRITERIA MAST MR
 
-var t = async_test("File_copyTo_with_onsuccess"), resolveSuccess, resolveError, resolveSuccess2, resolveError2,
+var t = async_test(document.title), resolveSuccess, resolveError, resolveSuccess2, resolveError2,
     fsTestFileName, fsTestFile, copyToSuccess, retVal = null;
 
 t.step(function () {
index b2cb8d23583c8395e0ec8b1553859f91ba8414c6..0cb2a1580bb47d3727e8c66607d63cfdb47cb47f 100644 (file)
@@ -28,7 +28,7 @@ EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 
 Authors:
         Kaiyu <kaiyux.li@intel.com>
-        Guan,JingX <jingx.guan@intel.com>
+        Guan, JingX <jingx.guan@intel.com>
         Mariusz Polasinski <m.polasinski@samsung.com>
 
 -->
@@ -46,14 +46,14 @@ 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 parameters.
+//==== LABEL Check if throw an exception when copyTo with invalid parameters.
 //==== PRIORITY P2
 //==== SPEC Tizen Web API:IO:Filesystem:File:copyTo M
 //==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html
 //==== TEST_CRITERIA MERRCB
 
 
-var t = async_test("File_copyTo_with_para_invalid"), expected = "NotFoundError",
+var t = async_test(document.title), expected = "NotFoundError",
     resolveSuccess, resolveError, copySuccess, copyError, fsTestFileName;
 
 t.step(function () {
index 2cedfb526262fb86191c9a692f94a3e1d811a390..b60d28cad1141a482b7d380ad090ad049e30f52a 100644 (file)
@@ -27,7 +27,7 @@ EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 
 Authors:
         Kaiyu <kaiyux.li@intel.com>
-        Guan,JingX <jingx.guan@intel.com>
+        Guan, JingX <jingx.guan@intel.com>
         Mariusz Polasinski <m.polasinski@samsung.com>
 
 -->
@@ -45,7 +45,7 @@ Authors:
 <div id="log"></div>
 <script type="text/javascript">
 //==== TEST: File_copyTo_writeFile_newName
-//==== 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
+//==== 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
 //==== SPEC Tizen Web API:IO:Filesystem:File:copyTo M
 //==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html
 //==== TEST_CRITERIA MOA
@@ -53,7 +53,7 @@ Authors:
 
 var resolveSuccess, resolveError, copySuccess, copyError, openStreamSuccess, openStreamError,
     fsTestFileName, fsTestFileName2, fsTestFile, fsTestDirName, fsTestDir,
-    t = async_test("File_copyTo_writeFile_newName");
+    t = async_test(document.title);
 
 t.step(function () {
     fsTestFileName = getFileName("filesystem.txt");
index db5bdec8c4a6774bd39f5d6281ee5df95495b5fc..9fa3ff2a7b1c941aa6dbe3440cec3bb4c3e2abd3 100644 (file)
@@ -27,7 +27,7 @@ EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 
 Authors:
         Kaiyu <kaiyux.li@intel.com>
-        Guan,JingX <jingx.guan@intel.com>
+        Guan, JingX <jingx.guan@intel.com>
         Mariusz Polasinski <m.polasinski@samsung.com>
 
 -->
@@ -45,13 +45,13 @@ Authors:
 <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 another location with same file name (overwrite false)
+//==== LABEL Check if create a new empty file and write content of the file and then copy the file to another location with same file name (overwrite false)
 //==== SPEC Tizen Web API:IO:Filesystem:File:copyTo M
 //==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html
 //==== TEST_CRITERIA MERRCB
 
 
-var t = async_test("File_copyTo_writeFile_overwirte_false"), resolveSuccess, resolveError,
+var t = async_test(document.title), resolveSuccess, resolveError,
     openStreamSuccess, openStreamError, copyToSuccess, copyToError, fsTestFileName,
     fsTestFile, fsTestDirName, fsTestDir, expectedError = "IOError", mainDir;
 
index 191ae140e4c50bf6d1050d696b5d8bb9d8462331..6ba7ab37fea63d1600c86c9f67ba7fd79b44e058 100644 (file)
@@ -27,7 +27,7 @@ EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 
 Authors:
         Kaiyu <kaiyux.li@intel.com>
-        Guan,JingX <jingx.guan@intel.com>
+        Guan, JingX <jingx.guan@intel.com>
         Mariusz Polasinski <m.polasinski@samsung.com>
 
 -->
@@ -45,14 +45,14 @@ Authors:
 <div id="log"></div>
 <script type="text/javascript">
 //==== TEST: File_copyTo_writeFile_subdir
-//==== LABEL check if create a new empty file and write content of the file and then copy the file to subdirectory with same file name
+//==== LABEL Check if create a new empty file and write content of the file and then copy the file to subdirectory with same file name
 //==== SPEC Tizen Web API:IO:Filesystem:File:copyTo M
 //==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html
 //==== TEST_CRITERIA MOA
 
 
 var resolveSuccess, resolveError, openStreamSuccess, openStreamError, copySuccess, copyError, fsTestFileName, fsTestFile,
-    fsTestDir, fsTestDirName, fsTestSubDir, fsTestSubDirName, t = async_test("File_copyTo_writeFile_subdir");
+    fsTestDir, fsTestDirName, fsTestSubDir, fsTestSubDirName, t = async_test(document.title);
 
 t.step(function () {
     fsTestFileName = getFileName("filesystem.txt");
index 3f183e6f839e26b827730cfbb4ae3028b27f69d3..9377ebbf7890ba77848f14369310cfff2f470094 100644 (file)
@@ -26,7 +26,7 @@ Authors:
 <head>
 <title>File_createDirectory</title>
 <meta charset="utf-8"/>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
 <script type="text/javascript" src="support/filesystem_common.js"></script>
 </head>
 
@@ -36,12 +36,12 @@ Authors:
 <script type="text/javascript">
 
 //==== TEST: File_createDirectory
-//==== LABEL: Check if method createDirectory of File works properly.
+//==== LABEL Check if method createDirectory of File works properly.
 //==== SPEC: Tizen Web API:IO:Filesystem:File:createDirectory M
 //==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html
 //==== TEST_CRITERIA MAST MMINA MR
 
-var t = async_test("File_createDirectory"),
+var t = async_test(document.title),
     resolveSuccess, resolveError, fsTestDir, fsTestDirName;
 
 t.step(function () {
index ce026956623399f4d3322744fa04486a33a3af4b..e04b510a6d37b7669361b5a38bc9df8f844b0345 100644 (file)
@@ -27,7 +27,7 @@ EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 
 Authors:
         Kaiyu <kaiyux.li@intel.com>
-        Guan,JingX <jingx.guan@intel.com>
+        Guan, JingX <jingx.guan@intel.com>
         Beata Koziarek <b.koziarek@samsung.com>
 
 -->
@@ -36,7 +36,7 @@ Authors:
 
 <head>
 <title>File_createDirectory_exist</title>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
 </head>
 
 <body>
@@ -50,7 +50,7 @@ Authors:
 //==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html
 //==== TEST_CRITERIA ME
 
-var t = async_test("File_createDirectory_exist"),
+var t = async_test(document.title),
     resolveSuccess, resolveError;
 
 t.step(function () {
index dfccafa6f8be75033be8621590600db47e51030a..df2f6698f9f2ea3cf481e8265371d58ba14e6133 100644 (file)
@@ -27,7 +27,7 @@ EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 
 Authors:
         Kaiyu <kaiyux.li@intel.com>
-        Guan,JingX <jingx.guan@intel.com>
+        Guan, JingX <jingx.guan@intel.com>
         Mariusz Polasinski <m.polasinski@samsung.com>
 
 -->
@@ -45,17 +45,16 @@ Authors:
 <div id="log"></div>
 <script type="text/javascript">
 //==== TEST: File_createDirectory_level2
-//==== LABEL check if create directory of two levels.
+//==== LABEL Check if create directory of two levels.
 //==== PRIORITY P2
 //==== SPEC Tizen Web API:IO:Filesystem:File:createDirectory M
 //==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html
 //==== TEST_CRITERIA MAST
 
-var t = async_test("File_createDirectory_level2");
+var t = async_test(document.title), resolveSuccess, resolveError, listFilesSuccess, listFilesError, documentsDir,
+    fsTestDir, fsTestDirName, fsTestSubDir, fsTestSubDirName;
 
 t.step(function (){
-    var resolveSuccess, resolveError, listFilesSuccess, listFilesError, documentsDir, fsTestDir,
-        fsTestDirName, fsTestSubDir, fsTestSubDirName;
 
     fsTestDirName = getDirName("filesystem");
     fsTestSubDirName = getDirName("filesystemSub");
index e747243e1845a3abb8bf9ad8ce4db3307e436eea..8614df9a40bcdd059c8b8aca9173db221606d71b 100644 (file)
@@ -26,7 +26,7 @@ Authors:
 <head>
 <title>File_createFile</title>
 <meta charset="utf-8"/>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
 <script type="text/javascript" src="support/filesystem_common.js"></script>
 </head>
 
@@ -35,12 +35,12 @@ Authors:
 <script type="text/javascript">
 
 //==== TEST: File_createFile
-//==== LABEL: Check if method createFile of File works properly.
+//==== LABEL Check if method createFile of File works properly.
 //==== SPEC: Tizen Web API:IO:Filesystem:File:createFile M
 //==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html
 //==== TEST_CRITERIA MAST MMINA MR
 
-var t = async_test("File_createFile"),
+var t = async_test(document.title),
     resolveSuccess, resolveError, fsTestFileName, fsTestFile;
 
 t.step(function () {
index 639a8f70c957f7a8bd0a04a1839b0ebeb458087a..12d45b787d35a2ac8e45c99348436dd0c594439a 100644 (file)
@@ -27,7 +27,7 @@ EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 
 Authors:
         Kaiyu <kaiyux.li@intel.com>
-        Guan,JingX <jingx.guan@intel.com>
+        Guan, JingX <jingx.guan@intel.com>
         Beata Koziarek <b.koziarek@samsung.com>
 
 -->
@@ -36,7 +36,7 @@ Authors:
 
 <head>
 <title>File_createFile_exist</title>
-<script src="../resources/unitcommon.js"></script>
+<script src="support/unitcommon.js"></script>
 </head>
 
 <body>
@@ -50,7 +50,7 @@ Authors:
 //==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html
 //==== TEST_CRITERIA ME
 
-var t = async_test("File_createFile_exist"),
+var t = async_test(document.title),
     resolveSuccess, resolveError;
 
 t.step(function (){
index 95077328648293e0663e515f0ae5fe4e68608808..0d5b9215520aceadf9c6f37d50bf6a751bc81946 100644 (file)
@@ -27,7 +27,7 @@ EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 
 Authors:
         Kaiyu <kaiyux.li@intel.com>
-        Guan,JingX <jingx.guan@intel.com>
+        Guan, JingX <jingx.guan@intel.com>
         Mariusz Polasinski <m.polasinski@samsung.com>
 
 -->
@@ -46,13 +46,13 @@ Authors:
 <script type="text/javascript">
 
 //==== TEST: File_createFile_existing_file
-//==== LABEL create existing file
+//==== LABEL Create existing file
 //==== SPEC Tizen Web API:IO:Filesystem:File:createFile M
 //==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html
 //==== PRIORITY P2
 //==== TEST_CRITERIA MMINA MAST
 
-var t = async_test("File_createFile_existing_file"), expected = "IOError",
+var t = async_test(document.title), expected = "IOError",
     resolveSuccess, resolveError, fsTestFileName;
 
 t.step(function () {
index faa22e3f82b52fe4ad762b6dc3ace29ba553b2b9..143f3c9c57c7784878b61dc2fa5c1e95970ca4d3 100644 (file)
@@ -27,7 +27,7 @@ EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 
 Authors:
         Kaiyu <kaiyux.li@intel.com>
-        Guan,JingX <jingx.guan@intel.com>
+        Guan, JingX <jingx.guan@intel.com>
         Mariusz Polasinski <m.polasinski@samsung.com>
 
 -->
@@ -44,13 +44,13 @@ Authors:
 <div id="log"></div>
 <script type="text/javascript">
 //==== TEST: File_createFile_with_invalid_name
-//==== LABEL check if throw an exception when create file with invalid file name.
+//==== LABEL Check if throw an exception when create file with invalid file name.
 //==== PRIORITY P2
 //==== SPEC Tizen Web API:IO:Filesystem:File:createFile M
 //==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html
 //==== TEST_CRITERIA
 
-var t = async_test("File_createFile_with_invalid_name"),
+var t = async_test(document.title),
     expected = "InvalidValuesError", documentsDir,
     resolveSuccess, resolveError;
 
index 6f668c1949a02dcd602c9d64bb5fefdb2d940104..537b0c3f0401d286971bc19f1798bd576a1798b5 100644 (file)
@@ -25,7 +25,7 @@ Authors:
 <head>
 <title>File_created_attribute</title>
 <meta charset="utf-8"/>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
 <script type="text/javascript" src="support/filesystem_common.js"></script>
 </head>
 
@@ -35,12 +35,12 @@ Authors:
 <script type="text/javascript">
 
 //==== TEST: File_created_attribute
-//==== LABEL: Check if attribute created of File exists, has type Date and is readonly
+//==== LABEL Check if attribute created of File exists, has type Date and is readonly
 //==== SPEC: Tizen Web API:IO:Filesystem:File:created A
 //==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html
 //==== TEST_CRITERIA AE AT ARO
 
-var t = async_test("File_created_attribute"),
+var t = async_test(document.title),
     resolveSuccess, resolveError, fsTestFileName, fsTestFile, date, tmp;
 
 t.step(function (){
index e922503a1a2213aa47d672fce6140ea43c7c77f7..46d34276a5563ef22381d276982f0ebe0fc17f84 100644 (file)
@@ -26,7 +26,7 @@ Authors:
 <head>
 <title>File_deleteDirectory</title>
 <meta charset="utf-8"/>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
 <script type="text/javascript" src="support/filesystem_common.js"></script>
 </head>
 
@@ -35,15 +35,14 @@ Authors:
 <script type="text/javascript">
 
 //==== TEST: File_deleteDirectory
-//==== LABEL: Check if method deleteDirectory of File works properly.
+//==== LABEL Check if method deleteDirectory of File works properly.
 //==== SPEC: Tizen Web API:IO:Filesystem:File:deleteDirectory M
 //==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html
 //==== TEST_CRITERIA MMINA
 
-var t = async_test("File_deleteDirectory");
+var t = async_test(document.title), resolveSuccess, resolveError, fsTestDirName, fsTestDir;
 
 t.step(function (){
-    var resolveSuccess, resolveError, fsTestDirName, fsTestDir;
 
     fsTestDirName =  getDirName("filesystem");
 
index 140930c4b5594f6c39a9c144e18efebbe3947406..72a3e3a93b4a595cd0ccb8773d013741d3456cc4 100644 (file)
@@ -27,7 +27,7 @@ EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 
 Authors:
         Kaiyu <kaiyux.li@intel.com>
-        Guan,JingX <jingx.guan@intel.com>
+        Guan, JingX <jingx.guan@intel.com>
         Mariusz Polasinski <m.polasinski@samsung.com>
 
 -->
@@ -36,8 +36,7 @@ Authors:
 
 <head>
 <title>File_deleteDirectory_createDir_documents</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/unitcommon.js"></script>
 <script type="text/javascript" src="support/filesystem_common.js"></script>
 </head>
 
@@ -46,19 +45,19 @@ Authors:
 
 <script type="text/javascript">
 //==== TEST: File_deleteDirectory_createDir_documents
-//==== LABEL check if create a new directory in documents and then delete the directory
+//==== LABEL Check if create a new directory in documents and then delete the directory
 //==== SPEC Tizen Web API:IO:Filesystem:File:deleteDirectory M
 //==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html
 //==== TEST_CRITERIA MOA
 
 var fsTestDirName, fsTestDir, resolveSuccess, resolveError, deleteSuccess, deleteError, documentsDir,
-    t = async_test("File_deleteDirectory_createDir_documents");
+    t = async_test(document.title);
 
 t.step(function (){
     fsTestDirName =  getDirName("filesystem");
 
     deleteSuccess = t.step_func(function () {
-        assert_throws({name: "NotFoundError"}, function () {
+        assert_throws(NOT_FOUND_EXCEPTION, function () {
             documentsDir.resolve(fsTestDirName);
         }, "directory wasn't deleted properly");
         t.done();
index 55f0a8e2bc69760c9e6c788cb52eb11cc5ccaa89..8812067aed520fcefddd2e60ef7943555a86a7aa 100644 (file)
@@ -27,7 +27,7 @@ EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 
 Authors:
         Kaiyu <kaiyux.li@intel.com>
-        Guan,JingX <jingx.guan@intel.com>
+        Guan, JingX <jingx.guan@intel.com>
         Mariusz Polasinski <m.polasinski@samsung.com>
 
 -->
@@ -36,8 +36,7 @@ Authors:
 
 <head>
 <title>File_deleteDirectory_createDir_downloads</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/unitcommon.js"></script>
 <script type="text/javascript" src="support/filesystem_common.js"></script>
 </head>
 
@@ -45,20 +44,20 @@ Authors:
 <div id="log"></div>
 <script type="text/javascript">
 //==== TEST: File_deleteDirectory_createDir_downloads
-//==== LABEL check if create a new directory in downloads and then delete the directory
+//==== LABEL Check if create a new directory in downloads and then delete the directory
 //==== SPEC Tizen Web API:IO:Filesystem:File:deleteDirectory M
 //==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html
 //==== TEST_CRITERIA MOA
 
 
 var fsTestDirName, fsTestDir, resolveSuccess, resolveError, deleteSuccess, deleteError, downloadsDir,
-    t = async_test("File_deleteDirectory_createDir_downloads");
+    t = async_test(document.title);
 
 t.step(function (){
     fsTestDirName =  getDirName("filesystem");
 
     deleteSuccess = t.step_func(function () {
-        assert_throws({name: "NotFoundError"}, function () {
+        assert_throws(NOT_FOUND_EXCEPTION, function () {
             downloadsDir.resolve(fsTestDirName);
         }, "directory wasn't deleted properly");
         t.done();
index bf9b07e4235c0001ff85a731b5735818e56d2ebe..11957b57b954b98acebd7a3a09d2a0667e6e7567 100644 (file)
@@ -27,7 +27,7 @@ EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 
 Authors:
         Kaiyu <kaiyux.li@intel.com>
-        Guan,JingX <jingx.guan@intel.com>
+        Guan, JingX <jingx.guan@intel.com>
         Mariusz Polasinski <m.polasinski@samsung.com>
 
 -->
@@ -36,8 +36,7 @@ Authors:
 
 <head>
 <title>File_deleteDirectory_createDir_images</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/unitcommon.js"></script>
 <script type="text/javascript" src="support/filesystem_common.js"></script>
 </head>
 
@@ -45,7 +44,7 @@ Authors:
 <div id="log"></div>
 <script type="text/javascript">
 //==== TEST: File_deleteDirectory_createDir_images
-//==== LABEL check if create a new directory in images and then delete the directory
+//==== LABEL Check if create a new directory in images and then delete the directory
 //==== PRIORITY P1
 //==== SPEC Tizen Web API:IO:Filesystem:File:deleteDirectory M
 //==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html
@@ -53,13 +52,13 @@ Authors:
 
 
 var fsTestDirName, fsTestDir, resolveSuccess, resolveError, deleteSuccess, deleteError, imagesDir,
-    t = async_test("File_deleteDirectory_createDir_images");
+    t = async_test(document.title);
 
 t.step(function (){
     fsTestDirName =  getDirName("filesystem");
 
     deleteSuccess = t.step_func(function () {
-        assert_throws({name: "NotFoundError"}, function () {
+        assert_throws(NOT_FOUND_EXCEPTION, function () {
             imagesDir.resolve(fsTestDirName);
         }, "directory wasn't deleted properly");
         t.done();
index 5607f97ab0157b107518ca72c237b532d3824e5b..ff010bdd6037ba81e4792123a121048533b0b013 100644 (file)
@@ -27,7 +27,7 @@ EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 
 Authors:
         Kaiyu <kaiyux.li@intel.com>
-        Guan,JingX <jingx.guan@intel.com>
+        Guan, JingX <jingx.guan@intel.com>
         Mariusz Polasinski <m.polasinski@samsung.com>
 
 -->
@@ -35,8 +35,7 @@ Authors:
 <html>
 <head>
 <title>File_deleteDirectory_createDir_music</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/unitcommon.js"></script>
 <script type="text/javascript" src="support/filesystem_common.js"></script>
 </head>
 
@@ -45,7 +44,7 @@ Authors:
 
 <script type="text/javascript">
 //==== TEST: File_deleteDirectory_createDir_music
-//==== LABEL check if create a new directory in music and then delete the directory
+//==== LABEL Check if create a new directory in music and then delete the directory
 //==== PRIORITY P1
 //==== SPEC Tizen Web API:IO:Filesystem:File:deleteDirectory M
 //==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html
@@ -53,13 +52,13 @@ Authors:
 
 
 var fsTestDirName, fsTestDir, resolveSuccess, resolveError, deleteSuccess, deleteError, musicDir,
-    t = async_test("File_deleteDirectory_createDir_music");
+    t = async_test(document.title);
 
 t.step(function (){
     fsTestDirName =  getDirName("filesystem");
 
     deleteSuccess = t.step_func(function () {
-        assert_throws({name: "NotFoundError"}, function () {
+        assert_throws(NOT_FOUND_EXCEPTION, function () {
             musicDir.resolve(fsTestDirName);
         }, "directory wasn't deleted properly");
         t.done();
index 5de45c17b8bf530060a0e264a4f49d7efa67a620..9a493d618cd7fc233a1ab9e51e7e80c06e981968 100644 (file)
@@ -27,7 +27,7 @@ EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 
 Authors:
         Kaiyu <kaiyux.li@intel.com>
-        Guan,JingX <jingx.guan@intel.com>
+        Guan, JingX <jingx.guan@intel.com>
         Mariusz Polasinski <m.polasinski@samsung.com>
 
 -->
@@ -36,8 +36,7 @@ Authors:
 
 <head>
 <title>File_deleteDirectory_createDir_videos</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/unitcommon.js"></script>
 <script type="text/javascript" src="support/filesystem_common.js"></script>
 </head>
 
@@ -46,20 +45,20 @@ Authors:
 
 <script type="text/javascript">
 //==== TEST: File_deleteDirectory_createDir_videos
-//==== LABEL check if create a new directory in videos and then delete the directory
+//==== LABEL Check if create a new directory in videos and then delete the directory
 //==== PRIORITY P1
 //==== SPEC Tizen Web API:IO:Filesystem:File:deleteDirectory M
 //==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html
 //==== TEST_CRITERIA MOA
 
 var fsTestDirName, fsTestDir, resolveSuccess, resolveError, deleteSuccess, deleteError, videosDir,
-    t = async_test("File_deleteDirectory_createDir_videos");
+    t = async_test(document.title);
 
 t.step(function (){
     fsTestDirName =  getDirName("filesystem");
 
     deleteSuccess = t.step_func(function () {
-        assert_throws({name: "NotFoundError"}, function () {
+        assert_throws(NOT_FOUND_EXCEPTION, function () {
             videosDir.resolve(fsTestDirName);
         }, "directory wasn't deleted properly");
         t.done();
index b04298665e4f4f2138b84a21efa92103c66188e3..ebcea18ba983df8a8c800878c93fd7cd7d2b5806 100644 (file)
@@ -27,7 +27,7 @@ EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 
 Authors:
         Kaiyu <kaiyux.li@intel.com>
-        Guan,JingX <jingx.guan@intel.com>
+        Guan, JingX <jingx.guan@intel.com>
         Beata Koziarek <b.koziarek@samsung.com>
 
 -->
@@ -36,7 +36,7 @@ Authors:
 
 <head>
 <title>File_deleteDirectory_exist</title>
-<script src="../resources/unitcommon.js"></script>
+<script src="support/unitcommon.js"></script>
 </head>
 
 <body>
@@ -50,7 +50,7 @@ Authors:
 //==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html
 //==== TEST_CRITERIA ME
 
-var t = async_test("File_deleteDirectory_exist"),
+var t = async_test(document.title),
     resolveSuccess, resolveError;
 
 t.step(function () {
index b8c9d518a17d627841e4332d0d84a6b9db5dd99b..9a652fb74e8fbcacc7af5cdf41afbb0ec6851cb6 100644 (file)
@@ -26,7 +26,7 @@ Authors:
 <head>
 <title>File_deleteDirectory_onerror_TypeMismatch</title>
 <meta charset="utf-8"/>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
 <script type="text/javascript" src="support/filesystem_common.js"></script>
 </head>
 
@@ -35,13 +35,13 @@ Authors:
 <script type="text/javascript">
 
 //==== TEST: File_deleteDirectory_onerror_TypeMismatch
-//==== LABEL: Check argument onError conversions exception in deleteDirectory method.
+//==== LABEL Check argument onError conversions exception in deleteDirectory method.
 //==== PRIORITY: P2
 //==== SPEC: Tizen Web API:IO:Filesystem:File:deleteDirectory M
 //==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html
 //==== TEST_CRITERIA MC
 
-var t = async_test("File_deleteDirectory_onerror_TypeMismatch"),
+var t = async_test(document.title),
     resolveSuccess, resolveError, conversionTable, deleteError, i, deleteSuccess, fsTestDirName, fsTestDir,
     exceptionName = "TypeMismatchError";
 
@@ -59,7 +59,7 @@ t.step(function () {
             deleteError = conversionTable[i][0];
             exceptionName = conversionTable[i][1];
 
-            assert_throws({name : exceptionName},
+            assert_throws({name: exceptionName},
                 function () {
                     dir.deleteDirectory(fsTestDir.fullPath, deleteSuccess, deleteError);
                 }, exceptionName + " should be thrown - given incorrect errorCallback.");
index c3b664a528356a8a7dbae83ddca83cbdf7ae1d20..e27937b8c1726e75863aa3b93f353a208857a805 100644 (file)
@@ -26,7 +26,7 @@ Authors:
 <head>
 <title>File_deleteDirectory_onerror_invalid_cb</title>
 <meta charset="utf-8"/>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
 <script type="text/javascript" src="support/filesystem_common.js"></script>
 </head>
 
@@ -35,13 +35,13 @@ Authors:
 <script type="text/javascript">
 
 //==== TEST: File_deleteDirectory_onerror_invalid_cb
-//==== LABEL: Test whether the constructor of the interface is defined or not in deleteDirectory method onError callback.
+//==== LABEL Test whether the constructor of the interface is defined or not in deleteDirectory method onError callback.
 //==== PRIORITY: P2
 //==== SPEC: Tizen Web API:IO:Filesystem:File:deleteDirectory M
 //==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html
 //==== TEST_CRITERIA MTCB
 
-var t = async_test("File_deleteDirectory_onerror_invalid_cb"),
+var t = async_test(document.title),
     resolveSuccess, resolveError, deleteDirectorySuccess, deleteDirectoryError, fsTestDirName, fsTestDir,
     exceptionName = "TypeMismatchError";
 
@@ -60,7 +60,7 @@ t.step(function () {
 
     resolveSuccess = t.step_func(function (dir) {
         fsTestDir = dir.createDirectory(fsTestDirName);
-        assert_throws({name : exceptionName},
+        assert_throws({name: exceptionName},
             function () {
                 dir.deleteDirectory(fsTestDir.fullPath, deleteDirectorySuccess, deleteDirectoryError);
             }, exceptionName + " should be thrown - given incorrect deleteDirectorySuccess.");
index 9f76d0cef91118f976fa8abff7dbbf22b08ebe1a..8d218ecff81642faea843b06d105d7231b2b185b 100644 (file)
@@ -27,7 +27,7 @@ Authors:
 <head>
 <title>File_deleteDirectory_onsuccess_TypeMismatch</title>
 <meta charset="utf-8"/>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
 <script type="text/javascript" src="support/filesystem_common.js"></script>
 </head>
 
@@ -37,13 +37,13 @@ Authors:
 <script type="text/javascript">
 
 //==== TEST: File_deleteDirectory_onsuccess_TypeMismatch
-//==== LABEL: Check argument onSuccess conversions exception in deleteDirectory method.
+//==== LABEL Check argument onSuccess conversions exception in deleteDirectory method.
 //==== PRIORITY: P2
 //==== SPEC: Tizen Web API:IO:Filesystem:File:deleteDirectory M
 //==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html
 //==== TEST_CRITERIA MC
 
-var t = async_test("File_deleteDirectory_onsuccess_TypeMismatch"), deleteSuccess,
+var t = async_test(document.title), deleteSuccess,
     resolveSuccess, resolveError, conversionTable, i, exceptionName = "TypeMismatchError", fsTestDirName, fsTestDir;
 
 t.step(function (){
@@ -56,7 +56,7 @@ t.step(function (){
             deleteSuccess = conversionTable[i][0];
             exceptionName = conversionTable[i][1];
 
-            assert_throws({name : exceptionName},
+            assert_throws({name: exceptionName},
                 function () {
                     dir.deleteDirectory(fsTestDir.fullPath, false, deleteSuccess);
                 }, exceptionName + " should be thrown - given incorrect successCallback.");
index a3f44490725a7c7984bcdd9de2e6b68ed768def5..808b3a4d40342931686a21d88192245d8914a1a1 100644 (file)
@@ -27,7 +27,7 @@ Authors:
 <head>
 <title>File_deleteDirectory_onsuccess_invalid_cb</title>
 <meta charset="utf-8"/>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
 <script type="text/javascript" src="support/filesystem_common.js"></script>
 </head>
 
@@ -36,13 +36,13 @@ Authors:
 <script type="text/javascript">
 
 //==== TEST: File_deleteDirectory_onsuccess_invalid_cb
-//==== LABEL: Test whether the constructor of the interface is defined or not in deleteDirectory method onSuccess callback.
+//==== LABEL Test whether the constructor of the interface is defined or not in deleteDirectory method onSuccess callback.
 //==== PRIORITY: P2
 //==== SPEC: Tizen Web API:IO:Filesystem:File:deleteDirectory M
 //==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html
 //==== TEST_CRITERIA MTCB
 
-var t = async_test("File_deleteDirectory_onsuccess_invalid_cb"),
+var t = async_test(document.title),
     resolveSuccess, resolveError, deleteSuccess, exceptionName = "TypeMismatchError", fsTestDirName, fsTestDir;
 
 t.step(function (){
@@ -56,7 +56,7 @@ t.step(function (){
 
     resolveSuccess = t.step_func(function (dir) {
         fsTestDir = dir.createDirectory(fsTestDirName);
-        assert_throws({name : exceptionName},
+        assert_throws({name: exceptionName},
             function () {
                 dir.deleteDirectory(fsTestDir.fullPath, false, deleteSuccess);
             }, exceptionName + " should be thrown - given incorrect successCallback.");
index aaa17d7aff421d4d1f97ee8586c75a8541f946c3..4fbc81c6f800453d424b96c68193e809233bc495 100644 (file)
@@ -27,7 +27,7 @@ Authors:
 <head>
 <title>File_deleteDirectory_with_empty_path</title>
 <meta charset="utf-8">
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
 <script type="text/javascript" src="support/filesystem_common.js"></script>
 </head>
 
@@ -36,15 +36,15 @@ Authors:
 <script type="text/javascript">
 
 //==== TEST: File_deleteDirectory_with_empty_path
-//==== LABEL check whether invoking 'deleteDirectory' method with improper virtual path to the directory argument throws exception properly
+//==== LABEL Check whether invoking 'deleteDirectory' method with improper virtual path to the directory argument throws exception properly
 //==== SPEC Tizen Web API:IO:Filesystem:File:deleteDirectory M
 //==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html
 //==== TEST_CRITERIA MERRCB
 
-var t = async_test("File_deleteDirectory_with_empty_path");
+var t = async_test(document.title), resolveError, resolveSuccess, deleteDirectoryError, deleteDirectorySuccess,
+    expected = "NotFoundError";
 
 t.step(function () {
-    var resolveError, resolveSuccess, deleteDirectoryError, deleteDirectorySuccess, expected = "NotFoundError";
 
     deleteDirectorySuccess = t.step_func(function () {
         assert_unreached("deleteDirectorySuccess: deleteDirectory() should invoke error callback");
index 37095ff62d084957a403e212d829de15fc9aeab9..916e6dbf73541ceaa0262349edd2fd25523516c5 100644 (file)
@@ -28,7 +28,7 @@ EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 
 Authors:
         Kaiyu <kaiyux.li@intel.com>
-        Guan,JingX <jingx.guan@intel.com>
+        Guan, JingX <jingx.guan@intel.com>
         Mariusz Polasinski <m.polasinski@samsung.com>
 
 -->
@@ -46,7 +46,7 @@ Authors:
 <div id="log"></div>
 <script type="text/javascript">
 //==== TEST: File_deleteDirectory_with_file_handle
-//==== LABEL check if throw an exception when delete a dir with file handle.
+//==== LABEL Check if throw an exception when delete a dir with file handle.
 //==== PRIORITY P2
 //==== SPEC Tizen Web API:IO:Filesystem:File:deleteDirectory M
 //==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html
@@ -54,7 +54,7 @@ Authors:
 
 
 var resolveSuccess, resolveError, deleteSuccess, deleteError, fsTestFileName, fsTestFile, documentsDir,
-    expected = "InvalidValuesError", t = async_test("File_deleteDirectory_with_file_handle");
+    expected = "InvalidValuesError", t = async_test(document.title);
 
 t.step(function (){
     fsTestFileName =  getFileName("filesystem.txt");
index 2a33add8d115427cc2236c6d7923d7acf7d3017c..08ad90dffc8ee400d0975ec7cfdc3bca83fad6cb 100644 (file)
@@ -27,7 +27,7 @@ Authors:
 <head>
 <title>File_deleteDirectory_with_null_callbacks</title>
 <meta charset="utf-8">
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
 <script type="text/javascript" src="support/filesystem_common.js"></script>
 </head>
 
@@ -36,28 +36,27 @@ Authors:
 <script type="text/javascript">
 
 //==== TEST: File_deleteDirectory_with_null_callbacks
-//==== LABEL check whether 'deleteDirectory' method properly removes a specified directory
+//==== LABEL Check whether 'deleteDirectory' method properly removes a specified directory
 //==== SPEC Tizen Web API:IO:Filesystem:File:deleteDirectory M
 //==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html
 //==== TEST_CRITERIA MMINA
 
-var this_test = async_test("File_deleteDirectory_with_null_callbacks");
-this_test.step(function () {
-    var resolveSuccess, resolveError, fsTestDirName, fsTestDir;
+var t = async_test(document.title), resolveSuccess, resolveError, fsTestDirName, fsTestDir;
+t.step(function () {
 
     fsTestDirName =  getDirName("filesystem");
 
-    resolveSuccess = this_test.step_func(function (dir) {
+    resolveSuccess = t.step_func(function (dir) {
         fsTestDir = dir.createDirectory(fsTestDirName);
         dir.deleteDirectory(fsTestDir.fullPath, true, null, null);
-        this_test.done();
+        t.done();
     });
 
-    resolveError = this_test.step_func(function (error) {
+    resolveError = t.step_func(function (error) {
         assert_unreached("resolve() error callback invoked: name: " + error.name + ", msg: " + error.message);
     });
 
-    prepareForTesting(this_test, function () {
+    prepareForTesting(t, function () {
         tizen.filesystem.resolve(TEST_ROOT_LOCATION, resolveSuccess, resolveError, "rw");
     });
 
index 8aff633eb334364d2bdef6b0f0828ae02a58a082..7de65c1365645e80e83327e92cc24e521b17864d 100644 (file)
@@ -36,13 +36,13 @@ Authors:
 <script type="text/javascript">
 
 //==== TEST: File_deleteDirectory_with_onerror
-//==== LABEL: Check if method deleteDirectory wit onError optional argument works properly.
+//==== LABEL Check if method deleteDirectory wit onError optional argument works properly.
 //==== SPEC: Tizen Web API:IO:Filesystem:File:deleteDirectory M
 //==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html
 //==== TEST_CRITERIA MERRCB
 
 var resolveSuccess, resolveError, deleteDirectorySuccess, deleteDirectoryError, fsTestDirName,
-    expected = "NotFoundError", t = async_test("File_deleteDirectory_with_onerror");
+    expected = "NotFoundError", t = async_test(document.title);
 
 t.step(function () {
     fsTestDirName =  getDirName("filesystemNoExist");
index 548cb81b307240e493cabf58b469f593ce66e9c6..c85d2f60db2c6e79d9b07d42750bad8953a8c810 100644 (file)
@@ -27,7 +27,7 @@ Authors:
 <head>
 <title>File_deleteDirectory_with_onsuccess</title>
 <meta charset="utf-8"/>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
 <script type="text/javascript" src="support/filesystem_common.js"></script>
 </head>
 
@@ -37,12 +37,12 @@ Authors:
 <script type="text/javascript">
 
 //==== TEST: File_deleteDirectory_with_onsuccess
-//==== LABEL: Check if method deleteDirectory wit onSuccess optional argument works properly.
+//==== LABEL Check if method deleteDirectory wit onSuccess optional argument works properly.
 //==== SPEC: Tizen Web API:IO:Filesystem:File:deleteDirectory M
 //==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html
 //==== TEST_CRITERIA MAST MR
 
-var t = async_test("File_deleteDirectory_with_onsuccess"), retVal = null,
+var t = async_test(document.title), retVal = null,
     resolveSuccess, resolveError, deleteSuccess, deleteError, fsTestDirName, fsTestDir, documentsDir;
 
 t.step(function () {
@@ -50,7 +50,7 @@ t.step(function () {
 
     deleteSuccess = t.step_func(function () {
         assert_equals(retVal, undefined, "incorrect returned value");
-        assert_throws({name: "NotFoundError"}, function () {
+        assert_throws(NOT_FOUND_EXCEPTION, function () {
             documentsDir.resolve(fsTestDirName);
         }, "directory wasn't deleted properly");
         t.done();
index e35c8c3029ab491383fad0b8f4233ca2b4331291..f421d18d5d53c3bd9b7dcb46538f0800f4de33de 100644 (file)
@@ -22,7 +22,7 @@ Authors:
 <html>
 <head>
 <title>File_deleteFile</title>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
 <script type="text/javascript" src="support/filesystem_common.js"></script>
 </head>
 <body>
@@ -30,12 +30,12 @@ Authors:
 <script type="text/javascript">
 
 //==== TEST: File_deleteFile
-//==== LABEL: Check if method deleteFile of File works properly.
+//==== LABEL Check if method deleteFile of File works properly.
 //==== SPEC: Tizen Web API:IO:Filesystem:File:deleteFile M
 //==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html
 //==== TEST_CRITERIA MAST MR
 
-var t = async_test("File_deleteFile"), fsTestFileName, fsTestFile, i, retVal = null,
+var t = async_test(document.title), fsTestFileName, fsTestFile, i, retVal = null,
     resolveSuccess, resolveError, listFilesSuccess, listFilesError, documentsDir, deleteSuccess;
 t.step(function () {
     fsTestFileName = getFileName("filesystem.txt");
index 0a7d909e9c415f9b0a24078fa19e2173a3d121e5..5a9cd3abf967eee1db66b4a93d7c99bf43727b31 100644 (file)
@@ -27,27 +27,27 @@ EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 
 Authors:
         Kaiyu <kaiyux.li@intel.com>
-        Guan,JingX <jingx.guan@intel.com>
+        Guan, JingX <jingx.guan@intel.com>
 
 -->
 
 <html>
 <head>
 <title>File_deleteFile_copyFile_downloads</title>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/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_deleteFile_copyFile_downloads
-//==== LABEL check if create a new file in downloads and copy the file to another location and then delete the file
+//==== LABEL Check if create a new file in downloads and copy the file to another location and then delete the file
 //==== SPEC Tizen Web API:IO:Filesystem:File:deleteFile M
 //==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html
 //==== TEST_CRITERIA MOA
 
 
-var t = async_test("File_deleteFile_copyFile_downloads"), fsTestFileName, fsTestFile,
+var t = async_test(document.title), fsTestFileName, fsTestFile,
     documentsDir, resolveSuccess, resolveError, copyToSuccess, copyToError,
     deleteFileSuccess, deleteFileError;
 
index a8e9596a7c2848643ab5ee07c7741ce7fd6cbe51..35acf38ac4b31552917d681c772caa614265bfc2 100644 (file)
@@ -27,27 +27,27 @@ EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 
 Authors:
         Kaiyu <kaiyux.li@intel.com>
-        Guan,JingX <jingx.guan@intel.com>
+        Guan, JingX <jingx.guan@intel.com>
 
 -->
 
 <html>
 <head>
 <title>File_deleteFile_copyFile_images</title>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/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_deleteFile_copyFile_images
-//==== LABEL check if create a new file in images and copy the file to another location and then delete the file
+//==== LABEL Check if create a new file in images and copy the file to another location and then delete the file
 //==== SPEC Tizen Web API:IO:Filesystem:File:deleteFile M
 //==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html
 //==== TEST_CRITERIA MOA
 
 
-var t = async_test("File_deleteFile_copyFile_images"), fsTestFileName, fsTestFile,
+var t = async_test(document.title), fsTestFileName, fsTestFile,
     documentsDir, resolveSuccess, resolveError, copyToSuccess, copyToError,
     deleteFileSuccess, deleteFileError;
 
index bc8deddb83fc2c1a2c9c3450c1aa8f4b40cf7997..c97677b87408b034e3580f4b8ba8c92a98cad511 100644 (file)
@@ -27,27 +27,27 @@ EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 
 Authors:
         Kaiyu <kaiyux.li@intel.com>
-        Guan,JingX <jingx.guan@intel.com>
+        Guan, JingX <jingx.guan@intel.com>
 
 -->
 
 <html>
 <head>
 <title>File_deleteFile_copyFile_music</title>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/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_deleteFile_copyFile_music
-//==== LABEL check if create a new file in music and copy the file to another location and then delete the file
+//==== LABEL Check if create a new file in music and copy the file to another location and then delete the file
 //==== SPEC Tizen Web API:IO:Filesystem:File:deleteFile M
 //==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html
 //==== TEST_CRITERIA MOA
 
 
-var t = async_test("File_deleteFile_copyFile_music"), fsTestFileName, fsTestFile,
+var t = async_test(document.title), fsTestFileName, fsTestFile,
     documentsDir, resolveSuccess, resolveError, copyToSuccess, copyToError,
     deleteFileSuccess, deleteFileError;
 
index c7ad71f49fb8c668aa059e97cdefb7e5faaa1869..5a5caab1a4c843f85030f1a645bc3540afd02ffc 100644 (file)
@@ -27,27 +27,27 @@ EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 
 Authors:
         Kaiyu <kaiyux.li@intel.com>
-        Guan,JingX <jingx.guan@intel.com>
+        Guan, JingX <jingx.guan@intel.com>
 
 -->
 
 <html>
 <head>
 <title>File_deleteFile_copyFile_videos</title>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/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_deleteFile_copyFile_videos
-//==== LABEL check if create a new file in videos and copy the file to another location and then delete the file
+//==== LABEL Check if create a new file in videos and copy the file to another location and then delete the file
 //==== SPEC Tizen Web API:IO:Filesystem:File:deleteFile M
 //==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html
 //==== TEST_CRITERIA MOA
 
 
-var t = async_test("File_deleteFile_copyFile_videos"), fsTestFileName, fsTestFile,
+var t = async_test(document.title), fsTestFileName, fsTestFile,
     documentsDir, resolveSuccess, resolveError, copyToSuccess, copyToError,
     deleteFileSuccess, deleteFileError;
 
index a70d759c9457d0a0577cf565231cb5823b28d5a3..fc49edfea64e10b748027ece933dd78ee1e56532 100644 (file)
@@ -27,27 +27,27 @@ EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 
 Authors:
         Kaiyu <kaiyux.li@intel.com>
-        Guan,JingX <jingx.guan@intel.com>
+        Guan, JingX <jingx.guan@intel.com>
 
 -->
 
 <html>
 <head>
 <title>File_deleteFile_createFile</title>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/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_deleteFile_createFile
-//==== LABEL check if create a new file and then delete the file
+//==== LABEL Check if create a new file and then delete the file
 //==== SPEC Tizen Web API:IO:Filesystem:File:deleteFile M
 //==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html
 //==== TEST_CRITERIA MOA
 
 
-var t = async_test("File_deleteFile_createFile"), fsTestFileName, fsTestFile,
+var t = async_test(document.title), fsTestFileName, fsTestFile,
     resolveSuccess, resolveError, deleteFileSuccess, deleteFileError;
 
 t.step(function () {
index f3f102030e5ecb94e010de80ab0b5e1357058e9d..5cb89061c926480a8fbaa4581dd38a81aa5c5c78 100644 (file)
@@ -27,7 +27,7 @@ EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 
 Authors:
         Kaiyu <kaiyux.li@intel.com>
-        Guan,JingX <jingx.guan@intel.com>
+        Guan, JingX <jingx.guan@intel.com>
         Beata Koziarek <b.koziarek@samsung.com>
 
 -->
@@ -35,7 +35,7 @@ Authors:
 <html>
 <head>
 <title>File_deleteFile_exist</title>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
 <script type="text/javascript" src="support/filesystem_common.js"></script>
 </head>
 <body>
@@ -49,7 +49,7 @@ Authors:
 //==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html
 //==== TEST_CRITERIA ME
 
-var t = async_test("File_deleteFile_exist"),
+var t = async_test(document.title),
     resolveSuccess, resolveError;
 
 t.step(function (){
index 6db06e38a73ac766e3f0acf763d2900a2fa2305c..86801977673275fb54788db0f085dd2f3d2fedc1 100644 (file)
@@ -27,27 +27,27 @@ EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 
 Authors:
         Kaiyu <kaiyux.li@intel.com>
-        Guan,JingX <jingx.guan@intel.com>
+        Guan, JingX <jingx.guan@intel.com>
 
 -->
 
 <html>
 <head>
 <title>File_deleteFile_listDocumentsFiles</title>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/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_deleteFile_listDocumentsFiles
-//==== LABEL check if delete the list of all files in documents
+//==== LABEL Check if delete the list of all files in documents
 //==== SPEC Tizen Web API:IO:Filesystem:File:deleteFile M
 //==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html
 //==== TEST_CRITERIA MOA
 
 
-var t = async_test("File_deleteFile_listDocumentsFiles"), fsTestDirName1, documentsDir,
+var t = async_test(document.title), fsTestDirName1, documentsDir,
     fsTestDirName2, fsTestFileName, fsTestDir1, fsTestDir2, deleteDirError, deleteDirSuccess,
     fsTestFile, resolveSuccess, resolveError, listFilesSuccess, listFilesError,
     deleteFileSuccess, deleteFileError;
@@ -74,8 +74,8 @@ t.step(function () {
     });
 
     listFilesSuccess = t.step_func(function (files) {
-        assert_true(files.length > 0,"Files not found");
-        fsTestDir1.deleteDirectory(fsTestDir2.fullPath,true, deleteDirSuccess, deleteDirError);
+        assert_true(files.length > 0, "Files not found");
+        fsTestDir1.deleteDirectory(fsTestDir2.fullPath, true, deleteDirSuccess, deleteDirError);
     });
 
     listFilesError = t.step_func(function (error) {
index 3378ad387631dee8f636ba1663854f95937b919d..4b7996a9e3d166c5fe0272d47ffee04997b29fec 100644 (file)
@@ -27,7 +27,7 @@ EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 
 Authors:
         Kaiyu <kaiyux.li@intel.com>
-        Guan,JingX <jingx.guan@intel.com>
+        Guan, JingX <jingx.guan@intel.com>
         Mariusz Polasinski <m.polasinski@samsung.com>
 
 -->
@@ -35,20 +35,20 @@ Authors:
 <html>
 <head>
 <title>File_deleteFile_listDownloadsFiles</title>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/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_deleteFile_listDownloadsFiles
-//==== LABEL check if delete the list of all files in downloads
+//==== LABEL Check if delete the list of all files in downloads
 //==== SPEC Tizen Web API:IO:Filesystem:File:deleteFile M
 //==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html
 //==== TEST_CRITERIA MOA
 
 
-var t = async_test("File_deleteFile_listDownloadsFiles"), fsTestDirName1, documentsDir,
+var t = async_test(document.title), fsTestDirName1, documentsDir,
     fsTestDirName2, fsTestFileName, fsTestDir1, fsTestDir2, deleteDirError, deleteDirSuccess,
     fsTestFile, resolveSuccess, resolveError, listFilesSuccess, listFilesError,
     deleteFileSuccess, deleteFileError;
@@ -75,8 +75,8 @@ t.step(function () {
     });
 
     listFilesSuccess = t.step_func(function (files) {
-        assert_true(files.length > 0,"Files not found");
-        fsTestDir1.deleteDirectory(fsTestDir2.fullPath,true, deleteDirSuccess, deleteDirError);
+        assert_true(files.length > 0, "Files not found");
+        fsTestDir1.deleteDirectory(fsTestDir2.fullPath, true, deleteDirSuccess, deleteDirError);
     });
 
     listFilesError = t.step_func(function (error) {
index b9943555bbdb01f1770903bf8cf53af25eb33224..53d8b5a4e1c1730db937ff766fc9c508d2b3d020 100644 (file)
@@ -27,7 +27,7 @@ EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 
 Authors:
         Kaiyu <kaiyux.li@intel.com>
-        Guan,JingX <jingx.guan@intel.com>
+        Guan, JingX <jingx.guan@intel.com>
         Mariusz Polasinski <m.polasinski@samsung.com>
 
 -->
@@ -36,7 +36,7 @@ Authors:
 <head>
 <title>File_deleteFile_listImagsFiles</title>
 <meta charset="utf-8" />
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
 <script type="text/javascript" src="support/filesystem_common.js"></script>
 </head>
 <body>
@@ -44,13 +44,13 @@ Authors:
 <script type="text/javascript">
 
 //==== TEST: File_deleteFile_listImagsFiles
-//==== LABEL check if delete the list of all files in images
+//==== LABEL Check if delete the list of all files in images
 //==== SPEC Tizen Web API:IO:Filesystem:File:deleteFile M
 //==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html
 //==== TEST_CRITERIA MOA
 
 
-var t = async_test("File_deleteFile_listImagsFiles"), fsTestDirName1, documentsDir,
+var t = async_test(document.title), fsTestDirName1, documentsDir,
     fsTestDirName2, fsTestFileName, fsTestDir1, fsTestDir2, deleteDirError, deleteDirSuccess,
     fsTestFile, resolveSuccess, resolveError, listFilesSuccess, listFilesError,
     deleteFileSuccess, deleteFileError;
@@ -77,8 +77,8 @@ t.step(function () {
     });
 
     listFilesSuccess = t.step_func(function (files) {
-        assert_true(files.length > 0,"Files not found");
-        fsTestDir1.deleteDirectory(fsTestDir2.fullPath,true, deleteDirSuccess, deleteDirError);
+        assert_true(files.length > 0, "Files not found");
+        fsTestDir1.deleteDirectory(fsTestDir2.fullPath, true, deleteDirSuccess, deleteDirError);
     });
 
     listFilesError = t.step_func(function (error) {
index f7a38fa4aaf2c4b73d8e2e0766dcdd6138fa3ff5..d6f68dac740a1715f9af5978779f2a397438d24b 100644 (file)
@@ -27,7 +27,7 @@ EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 
 Authors:
         Kaiyu <kaiyux.li@intel.com>
-        Guan,JingX <jingx.guan@intel.com>
+        Guan, JingX <jingx.guan@intel.com>
         Mariusz Polasinski <m.polasinski@samsung.com>
 
 -->
@@ -35,20 +35,20 @@ Authors:
 <html>
 <head>
 <title>File_deleteFile_listMusicFiles</title>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/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_deleteFile_listMusicFiles
-//==== LABEL check if delete the list of all files in music
+//==== LABEL Check if delete the list of all files in music
 //==== SPEC Tizen Web API:IO:Filesystem:File:deleteFile M
 //==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html
 //==== TEST_CRITERIA MOA
 
 
-var t = async_test("File_deleteFile_listMusicFiles"), fsTestDirName1, documentsDir,
+var t = async_test(document.title), fsTestDirName1, documentsDir,
     fsTestDirName2, fsTestFileName, fsTestDir1, fsTestDir2, deleteDirError, deleteDirSuccess,
     fsTestFile, resolveSuccess, resolveError, listFilesSuccess, listFilesError,
     deleteFileSuccess, deleteFileError;
@@ -75,8 +75,8 @@ t.step(function () {
     });
 
     listFilesSuccess = t.step_func(function (files) {
-        assert_true(files.length > 0,"Files not found");
-        fsTestDir1.deleteDirectory(fsTestDir2.fullPath,true, deleteDirSuccess, deleteDirError);
+        assert_true(files.length > 0, "Files not found");
+        fsTestDir1.deleteDirectory(fsTestDir2.fullPath, true, deleteDirSuccess, deleteDirError);
     });
 
     listFilesError = t.step_func(function (error) {
index 1e7a380d9ee4338dad73fc48047bcb07285e3882..4da7f8340362457e38c7fc5b45037d1d10cc74ae 100644 (file)
@@ -27,7 +27,7 @@ EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 
 Authors:
         Kaiyu <kaiyux.li@intel.com>
-        Guan,JingX <jingx.guan@intel.com>
+        Guan, JingX <jingx.guan@intel.com>
         Mariusz Polasinski <m.polasinski@samsung.com>
 
 -->
@@ -35,20 +35,20 @@ Authors:
 <html>
 <head>
 <title>File_deleteFile_listVideosfiles</title>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/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_deleteFile_listVideosfiles
-//==== LABEL check if delete the list of all files in videos
+//==== LABEL Check if delete the list of all files in videos
 //==== SPEC Tizen Web API:IO:Filesystem:File:deleteFile M
 //==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html
 //==== TEST_CRITERIA MOA
 
 
-var t = async_test("File_deleteFile_listVideosfiles"), fsTestDirName1, documentsDir,
+var t = async_test(document.title), fsTestDirName1, documentsDir,
     fsTestDirName2, fsTestFileName, fsTestDir1, fsTestDir2, deleteDirError, deleteDirSuccess,
     fsTestFile, resolveSuccess, resolveError, listFilesSuccess, listFilesError,
     deleteFileSuccess, deleteFileError;
@@ -75,8 +75,8 @@ t.step(function () {
     });
 
     listFilesSuccess = t.step_func(function (files) {
-        assert_true(files.length > 0,"Files not found");
-        fsTestDir1.deleteDirectory(fsTestDir2.fullPath,true, deleteDirSuccess, deleteDirError);
+        assert_true(files.length > 0, "Files not found");
+        fsTestDir1.deleteDirectory(fsTestDir2.fullPath, true, deleteDirSuccess, deleteDirError);
     });
 
     listFilesError = t.step_func(function (error) {
index 752deeca934d0f87e22758375519ab01b9c497a7..d700c1d00ec7ca31d519aa8daa47700043ad51c0 100644 (file)
@@ -22,7 +22,7 @@ Authors:
 <html>
 <head>
 <title>File_deleteFile_onerror_TypeMismatch</title>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
 <script type="text/javascript" src="support/filesystem_common.js"></script>
 </head>
 <body>
@@ -30,13 +30,13 @@ Authors:
 <script type="text/javascript">
 
 //==== TEST: File_deleteFile_onerror_TypeMismatch
-//==== LABEL: Check argument onError conversions exception in deleteFile method.
+//==== LABEL Check argument onError conversions exception in deleteFile method.
 //==== PRIORITY: P2
 //==== SPEC: Tizen Web API:IO:Filesystem:File:deleteFile M
 //==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html
 //==== TEST_CRITERIA MC
 
-var t = async_test("File_deleteFile_onerror_TypeMismatch"),
+var t = async_test(document.title),
     resolveSuccess, resolveError, conversionTable, deleteFileError, i, deleteFileSuccess,
     exceptionName = "TypeMismatchError";
 
@@ -51,7 +51,7 @@ t.step(function () {
             deleteFileError = conversionTable[i][0];
             exceptionName = conversionTable[i][1];
 
-            assert_throws({name : exceptionName},
+            assert_throws({name: exceptionName},
                 function () {
                     dir.deleteFile("verybadfile.txt", deleteFileSuccess, deleteFileError);
                 }, exceptionName + " should be thrown - given incorrect errorCallback.");
index a05f00f6a6c860ec089853e028ee3f0fb600e185..1401ffb8119eaa59f701aede2983a55e818efa94 100644 (file)
@@ -22,7 +22,7 @@ Authors:
 <html>
 <head>
 <title>File_deleteFile_onerror_invalid_cb</title>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
 <script type="text/javascript" src="support/filesystem_common.js"></script>
 </head>
 <body>
@@ -30,13 +30,13 @@ Authors:
 <script type="text/javascript">
 
 //==== TEST: File_deleteFile_onerror_invalid_cb
-//==== LABEL: Test whether the constructor of the interface is defined or not in deleteFile method onError callback.
+//==== LABEL Test whether the constructor of the interface is defined or not in deleteFile method onError callback.
 //==== PRIORITY: P2
 //==== SPEC: Tizen Web API:IO:Filesystem:File:deleteFile M
 //==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html
 //==== TEST_CRITERIA MTCB
 
-var t = async_test("File_deleteFile_onerror_invalid_cb"), fsTestFileName, fsTestFile,
+var t = async_test(document.title), fsTestFileName, fsTestFile,
     resolveSuccess, resolveError, deleteFileSuccess, exceptionName = "TypeMismatchError",
     deleteFileError;
 
@@ -53,7 +53,7 @@ t.step(function () {
     });
     resolveSuccess = t.step_func(function (dir) {
         fsTestFile = dir.createDirectory(fsTestFileName);
-        assert_throws({name : exceptionName},
+        assert_throws({name: exceptionName},
             function () {
                 dir.deleteFile(fsTestFile.fullPath, deleteFileSuccess, deleteFileError);
             }, exceptionName + " should be thrown - given incorrect successCallback.");
index b6130ebdb28b7ebf3465ae044150ca50384b5582..6795eed50a2060ccb30a87785ec05348f66a0b4a 100644 (file)
@@ -22,7 +22,7 @@ Authors:
 <html>
 <head>
 <title>File_deleteFile_onsuccess_TypeMismatch</title>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
 <script type="text/javascript" src="support/filesystem_common.js"></script>
 </head>
 <body>
@@ -30,13 +30,13 @@ Authors:
 <script type="text/javascript">
 
 //==== TEST: File_deleteFile_onsuccess_TypeMismatch
-//==== LABEL: Check argument onsuccess conversions exception in deleteFile method.
+//==== LABEL Check argument onsuccess conversions exception in deleteFile method.
 //==== PRIORITY: P2
 //==== SPEC: Tizen Web API:IO:Filesystem:File:deleteFile M
 //==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html
 //==== TEST_CRITERIA MC
 
-var t = async_test("File_deleteFile_onsuccess_TypeMismatch"), deleteFileSuccess, fsTestFileName,
+var t = async_test(document.title), deleteFileSuccess, fsTestFileName,
     resolveSuccess, resolveError, conversionTable, i, exceptionName = "TypeMismatchError", fsTestFile;
 
 t.step(function () {
@@ -49,7 +49,7 @@ t.step(function () {
             deleteFileSuccess = conversionTable[i][0];
             exceptionName = conversionTable[i][1];
 
-            assert_throws({name : exceptionName},
+            assert_throws({name: exceptionName},
                 function () {
                     dir.deleteFile(fsTestFile.fullPath, deleteFileSuccess);
                 }, exceptionName + " should be thrown - given incorrect successCallback.");
index 078690070e591a785b5b04167e0c5415cbc93897..f7259e8ceeab8e8f43ad31e1a0b61c37d174dce3 100644 (file)
@@ -22,7 +22,7 @@ Authors:
 <html>
 <head>
 <title>File_deleteFile_onsuccess_invalid_cb</title>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
 <script type="text/javascript" src="support/filesystem_common.js"></script>
 </head>
 <body>
@@ -30,13 +30,13 @@ Authors:
 <script type="text/javascript">
 
 //==== TEST: File_deleteFile_onsuccess_invalid_cb
-//==== LABEL: Test whether the constructor of the interface is defined or not in deleteFile method onSuccess callback.
+//==== LABEL Test whether the constructor of the interface is defined or not in deleteFile method onSuccess callback.
 //==== PRIORITY: P2
 //==== SPEC: Tizen Web API:IO:Filesystem:File:deleteFile M
 //==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html
 //==== TEST_CRITERIA MTCB
 
-var t = async_test("File_deleteFile_onsuccess_invalid_cb"), fsTestFileName, fsTestFile,
+var t = async_test(document.title), fsTestFileName, fsTestFile,
     resolveSuccess, resolveError, deleteFileSuccess, exceptionName = "TypeMismatchError";
 
 t.step(function () {
@@ -50,7 +50,7 @@ t.step(function () {
 
     resolveSuccess = t.step_func(function (dir) {
         fsTestFile = dir.createFile(fsTestFileName);
-        assert_throws({name : exceptionName},
+        assert_throws({name: exceptionName},
             function () {
                 dir.deleteFile(fsTestFile.fullPath, deleteFileSuccess);
             }, exceptionName + " should be thrown - given incorrect successCallback.");
index de9c3cc9ef3791fb9c92fee1ac73adf2c43af71a..97277045bd7d59d13beed9aaf5241113a88192bf 100644 (file)
@@ -27,7 +27,7 @@ EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 
 Authors:
         Kaiyu <kaiyux.li@intel.com>
-        Guan,JingX <jingx.guan@intel.com>
+        Guan, JingX <jingx.guan@intel.com>
         Mariusz Polasinski <m.polasinski@samsung.com>
 
 -->
@@ -35,7 +35,7 @@ Authors:
 <html>
 <head>
 <title>File_deleteFile_with_dir_handle</title>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
 <script type="text/javascript" src="support/filesystem_common.js"></script>
 </head>
 <body>
@@ -43,14 +43,14 @@ Authors:
 <script type="text/javascript">
 
 //==== TEST: File_deleteFile_with_dir_handle
-//==== LABEL check if throw an exception when delete a file with dir handle.
+//==== LABEL Check if throw an exception when delete a file with dir handle.
 //==== PRIORITY P2
 //==== SPEC Tizen Web API:IO:Filesystem:File:deleteFile M
 //==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html
 //==== TEST_CRITERIA MERRCB
 
 
-var t = async_test("File_deleteFile_with_dir_handle"), fsTestDirName, fsTestDir,
+var t = async_test(document.title), fsTestDirName, fsTestDir,
     resolveSuccess, resolveError, deleteFileSuccess, deleteFileError, expected = "InvalidValuesError",
     documentsDir;
 
index 99cd000598b27d73d76cf3c70cd5d942f4e4998c..4d44d24e3620c991f94856692a50425e5fdb313c 100644 (file)
@@ -27,7 +27,7 @@ EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 
 Authors:
         Kaiyu <kaiyux.li@intel.com>
-        Guan,JingX <jingx.guan@intel.com>
+        Guan, JingX <jingx.guan@intel.com>
         Mariusz Polasinski <m.polasinski@samsung.com>
 
 -->
@@ -35,7 +35,7 @@ Authors:
 <html>
 <head>
 <title>File_deleteFile_with_nonexist</title>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
 <script type="text/javascript" src="support/filesystem_common.js"></script>
 </head>
 <body>
@@ -43,14 +43,14 @@ Authors:
 <script type="text/javascript">
 
 //==== TEST: File_deleteFile_with_nonexist
-//==== LABEL check if throw an exception when delete a file which not exist.
+//==== LABEL Check if throw an exception when delete a file which not exist.
 //==== PRIORITY P2
 //==== SPEC Tizen Web API:IO:Filesystem:File:deleteFile M
 //==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html
 //==== TEST_CRITERIA MERRCB
 
 
-var expected = "NotFoundError", t = async_test("File_deleteFile_with_nonexist"),
+var expected = "NotFoundError", t = async_test(document.title),
     resolveSuccess, resolveError, deleteFileSuccess, deleteFileError, fsTestFileName;
 
 t.step(function () {
index 0beab0fa1b2e40f444b75bc34da8812985670a9e..87fe6f0ec7cd06a9fdfa894a0721ab991d440639 100644 (file)
@@ -23,7 +23,7 @@ Authors:
 <html>
 <head>
 <title>File_deleteFile_with_onerror</title>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
 <script type="text/javascript" src="support/filesystem_common.js"></script>
 </head>
 <body>
@@ -31,12 +31,12 @@ Authors:
 <script type="text/javascript">
 
 //==== TEST: File_deleteFile_with_onerror
-//==== LABEL: Check if method deleteFile wit onError optional argument works properly.
+//==== LABEL Check if method deleteFile wit onError optional argument works properly.
 //==== SPEC: Tizen Web API:IO:Filesystem:File:deleteFile M
 //==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html
 //==== TEST_CRITERIA MERRCB
 
-var t = async_test("File_deleteFile_with_onerror"),
+var t = async_test(document.title),
     resolveSuccess, resolveError, deleteFileError, deleteFileSuccess, fsTestFileName;
 
 t.step(function () {
index b9ae29051d8193a6ff014f02ae224da51b0600b0..dc8eb8ef62744061deaf6003b2517b4e882a6f1a 100644 (file)
@@ -22,7 +22,7 @@ Authors:
 <html>
 <head>
 <title>File_deleteFile_with_onsuccess</title>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
 <script type="text/javascript" src="support/filesystem_common.js"></script>
 </head>
 <body>
@@ -30,12 +30,12 @@ Authors:
 <script type="text/javascript">
 
 //==== TEST: File_deleteFile_with_onsuccess
-//==== LABEL: Check if method deleteFile with onSuccess optional argument works properly.
+//==== LABEL Check if method deleteFile with onSuccess optional argument works properly.
 //==== SPEC: Tizen Web API:IO:Filesystem:File:deleteFile M
 //==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html
 //==== TEST_CRITERIA MOA
 
-var t = async_test("File_deleteFile_with_onsuccess"), fsTestFileName, fsTestFile,
+var t = async_test(document.title), fsTestFileName, fsTestFile,
     resolveSuccess, resolveError, deleteFileSuccess;
 
 t.step(function () {
index 131eb193509b3262d490891de5191a15461c8d52..f3919254c4a9e0c3b2cb3f5274909190d2a0d1dc 100644 (file)
@@ -24,7 +24,7 @@ Authors:
 <html>
 <head>
 <title>File_deleteFile_with_vaild_callbacks</title>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
 <script type="text/javascript" src="support/filesystem_common.js"></script>
 </head>
 <body>
@@ -32,37 +32,37 @@ Authors:
 <script type="text/javascript">
 
 //==== TEST: File_deleteFile_with_vaild_callbacks
-//==== LABEL check whether 'deleteFile' method properly removes a specified file
+//==== LABEL Check whether 'deleteFile' method properly removes a specified file
 //==== SPEC Tizen Web API:IO:Filesystem:File:deleteFile M
 //==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html
 //==== TEST_CRITERIA MOA
 
-var this_test = async_test("File_deleteFile_with_vaild_callbacks"),
+var t = async_test(document.title),
     deleteFileSuccess, deleteFileError, documentsDir,
     resolveSuccess, resolveError, fsTestFileName, fsTestFile;
 
-this_test.step(function () {
+t.step(function () {
     fsTestFileName = getFileName("filesystem.txt");
 
-    deleteFileSuccess = this_test.step_func(function () {
-        this_test.done();
+    deleteFileSuccess = t.step_func(function () {
+        t.done();
     });
 
-    deleteFileError = this_test.step_func(function (error) {
+    deleteFileError = t.step_func(function (error) {
         assert_unreached("delete() error callback invoked: name:" + error.name + "msg:" + error.message);
     });
 
-    resolveSuccess = this_test.step_func(function (dir) {
+    resolveSuccess = t.step_func(function (dir) {
         documentsDir = dir;
         fsTestFile = dir.createFile(fsTestFileName);
         dir.deleteFile(fsTestFile.fullPath, deleteFileSuccess, deleteFileError);
     });
 
-    resolveError = this_test.step_func(function (error) {
+    resolveError = t.step_func(function (error) {
         assert_unreached("resolve() error callback invoked: name:" + error.name + "msg:" + error.message);
     });
 
-    prepareForTesting(this_test, function () {
+    prepareForTesting(t, function () {
         tizen.filesystem.resolve("documents", resolveSuccess, resolveError, "rw");
     });
 });
index 8874872d17104587e7eabd856c10992cbb2c491a..000a751572488f34fffec8aa2e926d0dc3ab3f29 100644 (file)
@@ -24,7 +24,7 @@ Authors:
 <html>
 <head>
 <title>File_deleteFile_with_valid_filePath</title>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
 <script type="text/javascript" src="support/filesystem_common.js"></script>
 </head>
 <body>
@@ -32,28 +32,28 @@ Authors:
 <script type="text/javascript">
 
 //==== TEST: File_deleteFile_with_valid_filePath
-//==== LABEL check whether 'deleteFile' method works properly removing a specified file
+//==== LABEL Check whether 'deleteFile' method works properly removing a specified file
 //==== SPEC Tizen Web API:IO:Filesystem:File:deleteFile M
 //==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html
 //==== TEST_CRITERIA MMINA
 
-var this_test = async_test("File_deleteFile_with_valid_filePath"), fsTestFileName, fsTestFile,
+var t = async_test(document.title), fsTestFileName, fsTestFile,
     resolveSuccess, resolveError;
 
-this_test.step(function () {
+t.step(function () {
     fsTestFileName = getFileName("filesystem.txt");
 
-    resolveSuccess = this_test.step_func(function (dir) {
+    resolveSuccess = t.step_func(function (dir) {
         fsTestFile = dir.createFile(fsTestFileName);
         dir.deleteFile(fsTestFile.fullPath);
-        this_test.done();
+        t.done();
     });
 
-    resolveError = this_test.step_func(function (error) {
+    resolveError = t.step_func(function (error) {
         assert_unreached("resolve() error callback invoked: name:" + error.name + "msg:" + error.message);
     });
 
-    prepareForTesting(this_test, function () {
+    prepareForTesting(t, function () {
         tizen.filesystem.resolve("documents", resolveSuccess, resolveError, "rw");
     });
 });
index d202c1ea5667a5a65234742493f47316e374a6d8..0d5458a8c3fdf0692c25d62b4dfb86b5c6bb31bb 100644 (file)
@@ -22,7 +22,7 @@ Authors:
 <html>
 <head>
 <title>File_extend</title>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
 <script type="text/javascript" src="support/filesystem_common.js"></script>
 </head>
 <body>
@@ -30,13 +30,13 @@ Authors:
 <script type="text/javascript">
 
 //==== TEST: File_extend
-//==== LABEL: test whether the File object can have new attribute added
+//==== LABEL Test whether the File object can have new attribute added
 //==== PRIORITY: P3
 //==== SPEC Tizen Web API:IO:Filesystem:File:File U
 //==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html
 //==== TEST_CRITERIA OBX
 
-var t = async_test("File_extend"),
+var t = async_test(document.title),
     resolveSuccess, resolveError;
 
 t.step(function () {
index a0614f17c89c9b6ef52825deb2f944af05f681fe..183d4d981e61d17e57e1fb37ccb1263c28e6849f 100644 (file)
@@ -23,7 +23,7 @@ Authors:
 <html>
 <head>
 <title>File_fileSize_attribute</title>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
 <script type="text/javascript" src="support/filesystem_common.js"></script>
 </head>
 <body>
@@ -31,12 +31,12 @@ Authors:
 <script type="text/javascript">
 
 //==== TEST: File_fileSize_attribute
-//==== LABEL: Check if attribute fileSize of File exists, has type Number and is readonly
+//==== LABEL Check if attribute fileSize of File exists, has type Number and is readonly
 //==== SPEC: Tizen Web API:IO:Filesystem:File:fileSize A
 //==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html
 //==== TEST_CRITERIA AE AT ARO
 
-var t = async_test("File_fileSize_attribute"), fsTestFileName, fsTestFile,
+var t = async_test(document.title), fsTestFileName, fsTestFile,
     resolveSuccess, resolveError;
 
 t.step(function () {
index 0d19efc67499911cf57d2c0be3d436c88df59f4d..c1c4120b26637e8f7564eb7915c18bef76d857c9 100644 (file)
@@ -22,7 +22,7 @@ Authors:
 <html>
 <head>
 <title>File_fullPath_attribute</title>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
 <script type="text/javascript" src="support/filesystem_common.js"></script>
 </head>
 <body>
@@ -30,12 +30,12 @@ Authors:
 <script type="text/javascript">
 
 //==== TEST: File_fullPath_attribute
-//==== LABEL: Check if attribute fullPath of File exists, has type DOMString and is readonly
+//==== LABEL Check if attribute fullPath of File exists, has type DOMString and is readonly
 //==== SPEC: Tizen Web API:IO:Filesystem:File:fullPath A
 //==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html
 //==== TEST_CRITERIA AE AT ARO
 
-var t = async_test("File_fullPath_attribute"), fsTestFileName, fsTestFile,
+var t = async_test(document.title), fsTestFileName, fsTestFile,
     resolveSuccess, resolveError;
 
 t.step(function () {
index b0552a19fd1530ac4f74dce5b4b646efda9f818e..029e686a115a574f65a929b74da4260a55b7d12f 100644 (file)
@@ -22,7 +22,7 @@ Authors:
 <html>
 <head>
 <title>File_isDirectory_attribute</title>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
 <script type="text/javascript" src="support/filesystem_common.js"></script>
 </head>
 <body>
@@ -30,12 +30,12 @@ Authors:
 <script type="text/javascript">
 
 //==== TEST: File_isDirectory_attribute
-//==== LABEL: Check if attribute isDirectory of File exists, has type Boolean and is readonly
+//==== LABEL Check if attribute isDirectory of File exists, has type Boolean and is readonly
 //==== SPEC: Tizen Web API:IO:Filesystem:File:isDirectory A
 //==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html
 //==== TEST_CRITERIA AE AT ARO
 
-var t = async_test("File_isDirectory_attribute"),
+var t = async_test(document.title),
     resolveSuccess, resolveError;
 
 t.step(function () {
index 3b1ab5b1123dc719b444aae270bcf444d087b9ad..052ebdb87bb4861405a2036cd17732fe9f1f4b5e 100644 (file)
@@ -22,7 +22,7 @@ Authors:
 <html>
 <head>
 <title>File_isFile_attribute</title>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
 <script type="text/javascript" src="support/filesystem_common.js"></script>
 </head>
 <body>
@@ -30,12 +30,12 @@ Authors:
 <script type="text/javascript">
 
 //==== TEST: File_isFile_attribute
-//==== LABEL: Check if attribute isFile of File exists, has type Boolean and is readonly
+//==== LABEL Check if attribute isFile of File exists, has type Boolean and is readonly
 //==== SPEC: Tizen Web API:IO:Filesystem:File:isFile A
 //==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html
 //==== TEST_CRITERIA AE AT ARO
 
-var t = async_test("File_isFile_attribute"),
+var t = async_test(document.title),
     resolveSuccess, resolveError;
 
 t.step(function () {
index 9ec4b6f50fe7f650811bf6b1cbcec4445cdc0921..3abba485a4fc3418cc5d6ba36fd55824d408477b 100644 (file)
@@ -23,7 +23,7 @@ Authors:
 <html>
 <head>
 <title>File_length_attribute</title>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
 <script type="text/javascript" src="support/filesystem_common.js"></script>
 </head>
 <body>
@@ -31,12 +31,12 @@ Authors:
 <script type="text/javascript">
 
 //==== TEST: File_length_attribute
-//==== LABEL: Check if attribute length of File exists, has type Number and is readonly
+//==== LABEL Check if attribute length of File exists, has type Number and is readonly
 //==== SPEC: Tizen Web API:IO:Filesystem:File:length A
 //==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html
 //==== TEST_CRITERIA AE AT ARO
 
-var t = async_test("File_length_attribute"), fsTestFileName =  getFileName("filesystem.txt"),
+var t = async_test(document.title), fsTestFileName =  getFileName("filesystem.txt"),
     resolveSuccess, resolveError, fsTestFile;
 
 t.step(function () {
index 7cdb52b132687e44885d9d7f5fc2fe2219c9c5fe..4c1ec0d5c713facb62923fc90d0a9e5cfa42c661 100644 (file)
@@ -22,7 +22,7 @@ Authors:
 <html>
 <head>
 <title>File_listFiles</title>
-<script type="text/javascript" src="../resources/unitcommon.js"></script> 
+<script type="text/javascript" src="support/unitcommon.js"></script> 
 <script type="text/javascript" src="support/filesystem_common.js"></script>
 </head>
 <body>
@@ -30,12 +30,12 @@ Authors:
 <script>
 
 //==== TEST: File_listFiles
-//==== LABEL: Check if method listFiles of File works properly.
+//==== LABEL Check if method listFiles of File works properly.
 //==== SPEC: Tizen Web API:IO:Filesystem:File:listFiles M
 //==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html
 //==== TEST_CRITERIA MMINA MR
 
-var t = async_test("File_listFiles"),
+var t = async_test(document.title),
     resolveSuccess, resolveError, listFilesSuccess, retVal=null;
 t.step(function () {
     listFilesSuccess = t.step_func(function (files) {
index de0593a05aff34f2af62d6cedead5c7dec47e13a..62a37ef7b380137501335370ef941b39f9bb5932 100644 (file)
@@ -27,7 +27,7 @@ EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 
 Authors:
         Kaiyu <kaiyux.li@intel.com>
-        Guan,JingX <jingx.guan@intel.com>
+        Guan, JingX <jingx.guan@intel.com>
         Mariusz Polasinski <m.polasinski@samsung.com>
 
 -->
@@ -35,7 +35,7 @@ Authors:
 <html>
 <head>
 <title>File_listFiles_createFiles</title>
-<script type="text/javascript" src="../resources/unitcommon.js"></script> 
+<script type="text/javascript" src="support/unitcommon.js"></script> 
 <script type="text/javascript" src="support/filesystem_common.js"></script>
 </head>
 <body>
@@ -43,13 +43,13 @@ Authors:
 <script type="text/javascript">
 
 //==== TEST: File_listFiles_createFiles
-//==== LABEL check if create a new directory and then list all files in this directory
+//==== LABEL Check if create a new directory and then list all files in this directory
 //==== SPEC Tizen Web API:IO:Filesystem:File:listFiles M
 //==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html
 //==== TEST_CRITERIA MOA
 
 
-var t = async_test("File_listFiles_createFiles"),
+var t = async_test(document.title),
     resolveSuccess, resolveError, listFilesSuccess, listFilesError,
     fsTestDirName, fsTestDir, documentsDir, fsTestFileName1, fsTestFileName2;
 
index 5faa8ecae1fdbc60a40a77e3d211b0a6a2673d68..c2a5ef998987b7b59b589f5266b01ca9ec080840 100644 (file)
@@ -27,7 +27,7 @@ EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 
 Authors:
         Kaiyu <kaiyux.li@intel.com>
-        Guan,JingX <jingx.guan@intel.com>
+        Guan, JingX <jingx.guan@intel.com>
         Beata Koziarek <b.koziarek@samsung.com>
 
 -->
@@ -35,7 +35,7 @@ Authors:
 <html>
 <head>
 <title>File_listFiles_exist</title>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
 <script type="text/javascript" src="support/filesystem_common.js"></script>
 </head>
 <body>
@@ -49,7 +49,7 @@ Authors:
 //==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html
 //==== TEST_CRITERIA ME
 
-var t = async_test("File_listFiles_exist"), resolveSuccess, resolveError;
+var t = async_test(document.title), resolveSuccess, resolveError;
 
 t.step(function () {
     resolveSuccess = t.step_func(function (dir) {
index 8993249446b1e6789c2f2b80d53bded054da36c3..2de6838bb5b5d0665d4d6935780e44be262443c8 100644 (file)
@@ -22,7 +22,7 @@ Authors:
 <html>
 <head>
 <title>File_listFiles_filter_TypeMismatch</title>
-<script type="text/javascript" src="../resources/unitcommon.js"></script> 
+<script type="text/javascript" src="support/unitcommon.js"></script> 
 <script type="text/javascript" src="support/filesystem_common.js"></script>
 </head>
 <body>
@@ -30,13 +30,13 @@ Authors:
 <script>
 
 //==== TEST: File_listFiles_filter_TypeMismatch
-//==== LABEL: Check argument filter conversions exception.
+//==== LABEL Check argument filter conversions exception.
 //==== PRIORITY: P2
 //==== SPEC: Tizen Web API:IO:Filesystem:File:listFiles M
 //==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html
 //==== TEST_CRITERIA MC
 
-var t = async_test("File_listFiles_filter_TypeMismatch"), listFilesSuccess,
+var t = async_test(document.title), listFilesSuccess,
     resolveSuccess, resolveError, conversionTable, i, exceptionName = "TypeMismatchError",
     filter;
 
index 283113f83a5705c4deb84c5051f4bbb78adfe651..3b31d3eea8eee406cfb3bfecf7a3ea23d9474424 100644 (file)
@@ -23,7 +23,7 @@ Authors:
 <head>
 <title>File_listFiles_filter_empty</title>
 <meta charset="utf-8"/>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
 </head>
 
 <body>
@@ -31,13 +31,13 @@ Authors:
 <script type="text/javascript">
 
 //==== TEST: File_listFiles_filter_empty
-//==== LABEL check with empty FileFilter argument of listFiles
+//==== LABEL Check with empty FileFilter argument of listFiles
 //==== PRIORITY P2
 //==== SPEC Tizen Web API:IO:Filesystem:File:listFiles M
 //==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html
 //==== TEST_CRITERIA MTD
 
-var t = async_test("File_listFiles_filter_empty"), resolveSuccess, resolveError,
+var t = async_test(document.title), resolveSuccess, resolveError,
     listFilesSuccess, listFilesError;
 
 t.step(function () {
index 167ea5d143f88a412c84b7c15ef3f0ae61165aab..26f33bf139ce9e645c9e441cccca065f0e8cfe2c 100644 (file)
@@ -22,7 +22,7 @@ Authors:
 <html>
 <head>
 <title>File_listFiles_missarg</title>
-<script type="text/javascript" src="../resources/unitcommon.js"></script> 
+<script type="text/javascript" src="support/unitcommon.js"></script> 
 <script type="text/javascript" src="support/filesystem_common.js"></script>
 </head>
 <body>
@@ -31,17 +31,15 @@ Authors:
 
 //==== TEST: File_listFiles_missarg
 //==== PRIORITY: P2
-//==== LABEL: Check if listFiles of File with missing non-optional argument works
+//==== LABEL Check if listFiles of File with missing non-optional argument works
 //==== SPEC: Tizen Web API:IO:Filesystem:File:listFiles M
 //==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html
 //==== TEST_CRITERIA MMA
 
-var t = async_test("File_listFiles_missarg"), resolveSuccess, resolveError;
+var t = async_test(document.title), resolveSuccess, resolveError;
 t.step(function () {
     resolveSuccess = t.step_func(function (dir) {
-        assert_throws({
-                name: "TypeMismatchError"
-            }, function () {
+        assert_throws(TYPE_MISMATCH_EXCEPTION, function () {
                 dir.listFiles();
             });
         t.done();
index 4be07f7f3888f69ed37f818768e8f7f956c5fbae..f566972df994e4bd3cc3ab6d1dde33854f6c92c4 100644 (file)
@@ -22,7 +22,7 @@ Authors:
 <html>
 <head>
 <title>File_listFiles_onerror_TypeMismatch</title>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
 <script type="text/javascript" src="support/filesystem_common.js"></script>
 </head>
 <body>
@@ -30,13 +30,13 @@ Authors:
 <script type="text/javascript">
 
 //==== TEST: File_listFiles_onerror_TypeMismatch
-//==== LABEL: Check argument onError conversions exception in listFiles method.
+//==== LABEL Check argument onError conversions exception in listFiles method.
 //==== PRIORITY: P2
 //==== SPEC: Tizen Web API:IO:Filesystem:File:listFiles M
 //==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html
 //==== TEST_CRITERIA MC
 
-var t = async_test("File_listFiles_onerror_TypeMismatch"),
+var t = async_test(document.title),
     resolveSuccess, resolveError, conversionTable, listFilesError, i, fsTestFileName,
     fsTestFile, listFilesSuccess, exceptionName = "TypeMismatchError";
 
@@ -53,7 +53,7 @@ t.step(function () {
             listFilesError = conversionTable[i][0];
             exceptionName = conversionTable[i][1];
 
-            assert_throws({name : exceptionName},
+            assert_throws({name: exceptionName},
                 function () {
                     fsTestFile.listFiles(listFilesSuccess, listFilesError);
                 }, exceptionName + " should be thrown - given incorrect errorCallback.");
index 2caa0d9824460d212001e21cfab372e1c22cc6ab..01705187610c8e05c5c01376346df7760f81344a 100644 (file)
@@ -22,7 +22,7 @@ Authors:
 <html>
 <head>
 <title>File_listFiles_onerror_invalid_cb</title>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
 <script type="text/javascript" src="support/filesystem_common.js"></script>
 </head>
 <body>
@@ -30,13 +30,13 @@ Authors:
 <script type="text/javascript">
 
 //==== TEST: File_listFiles_onerror_invalid_cb
-//==== LABEL: Test whether the constructor of the interface is defined or not in listFiles method onError callback.
+//==== LABEL Test whether the constructor of the interface is defined or not in listFiles method onError callback.
 //==== PRIORITY: P2
 //==== SPEC: Tizen Web API:IO:Filesystem:File:listFiles M
 //==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html
 //==== TEST_CRITERIA MTCB
 
-var t = async_test("File_listFiles_onerror_invalid_cb"), fsTestFileName, fsTestFile,
+var t = async_test(document.title), fsTestFileName, fsTestFile,
     resolveSuccess, resolveError, listFilesSuccess, exceptionName = "TypeMismatchError",
     listFilesError;
 t.step(function () {
@@ -52,7 +52,7 @@ t.step(function () {
     });
     resolveSuccess = t.step_func(function (dir) {
         fsTestFile = dir.createFile(fsTestFileName);
-        assert_throws({name : exceptionName},
+        assert_throws({name: exceptionName},
             function () {
                 fsTestFile.listFiles(listFilesSuccess, listFilesError);
             }, exceptionName + " should be thrown - given incorrect successCallback.");
index 1544466e3a9dc2b28241437960e0e428f8c4b0ce..260d514bb8c665d4a33fee8e4bac6d0d65073662 100644 (file)
@@ -22,7 +22,7 @@ Authors:
 <html>
 <head>
 <title>File_listFiles_onsuccess_TypeMismatch</title>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
 <script type="text/javascript" src="support/filesystem_common.js"></script>
 </head>
 <body>
@@ -30,13 +30,13 @@ Authors:
 <script type="text/javascript">
 
 //==== TEST: File_listFiles_onsuccess_TypeMismatch
-//==== LABEL: Check argument onSuccess conversions exception in listFiles method.
+//==== LABEL Check argument onSuccess conversions exception in listFiles method.
 //==== PRIORITY: P2
 //==== SPEC: Tizen Web API:IO:Filesystem:File:listFiles M
 //==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html
 //==== TEST_CRITERIA MC
 
-var t = async_test("File_listFiles_onsuccess_TypeMismatch"), listFilesSuccess,
+var t = async_test(document.title), listFilesSuccess,
     resolveSuccess, resolveError, conversionTable, i, exceptionName = "TypeMismatchError";
 
 t.step(function () {
index bc794a7a24b1627137bb83a3b8839c30d1f941c7..01a1da201f9a5ca45958d44627f186816224b625 100644 (file)
@@ -22,7 +22,7 @@ Authors:
 <html>
 <head>
 <title>File_listFiles_onsuccess_invalid_cb</title>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
 <script type="text/javascript" src="support/filesystem_common.js"></script>
 </head>
 <body>
@@ -30,13 +30,13 @@ Authors:
 <script type="text/javascript">
 
 //==== TEST: File_listFiles_onsuccess_invalid_cb
-//==== LABEL: Test whether the constructor of the interface is defined or not in listFiles method onSuccess callback.
+//==== LABEL Test whether the constructor of the interface is defined or not in listFiles method onSuccess callback.
 //==== PRIORITY: P2
 //==== SPEC: Tizen Web API:IO:Filesystem:File:listFiles M
 //==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html
 //==== TEST_CRITERIA MTCB
 
-var t = async_test("File_listFiles_onsuccess_invalid_cb"),
+var t = async_test(document.title),
     resolveSuccess, resolveError, listFilesSuccess, exceptionName = "TypeMismatchError";
 
 t.step(function () {
index 286e72e092f52f0e831355101f528ac22c4c40b0..22f9672c5ce76d6419ffd021eeb62e3ad5840d7c 100644 (file)
@@ -27,13 +27,13 @@ EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 
 Authors:
         Kaiyu <kaiyux.li@intel.com>
-        Guan,JingX <jingx.guan@intel.com>
+        Guan, JingX <jingx.guan@intel.com>
 
 -->
 <html>
 <head>
 <title>File_listFiles_with_file_handle</title>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
 <script type="text/javascript" src="support/filesystem_common.js"></script>
 </head>
 <body>
@@ -41,7 +41,7 @@ Authors:
 <script type="text/javascript">
 
 //==== TEST: File_listFiles_with_file_handle
-//==== LABEL check if throw an exception when listFiles with a file handle.
+//==== LABEL Check if throw an exception when listFiles with a file handle.
 //==== PRIORITY P2
 //==== SPEC Tizen Web API:IO:Filesystem:File:listFiles M
 //==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html
@@ -49,7 +49,7 @@ Authors:
 
 
 var resolveSuccess, resolveError, listFilesSuccess, listFilesError, fsTestFileName, fsTestFile,
-    documentsDir, t = async_test("File_listFiles_with_file_handle"), expected = "IOError";
+    documentsDir, t = async_test(document.title), expected = "IOError";
 
 t.step(function () {
     fsTestFileName = getFileName("filesystem.txt");
index c66f9906a058a4513379f1b62a45cbb5a7398ea7..d30d85b2d82f0b65f3638eda694f1ed36495d09d 100644 (file)
@@ -27,7 +27,7 @@ EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 
 Authors:
         Kaiyu <kaiyux.li@intel.com>
-        Guan,JingX <jingx.guan@intel.com>
+        Guan, JingX <jingx.guan@intel.com>
         Mariusz Polasinski <m.polasinski@samsung.com>
 
 -->
@@ -36,7 +36,7 @@ Authors:
 <head>
 <title>File_listFiles_with_filter</title>
 <meta charset="utf-8" />
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
 <script type="text/javascript" src="support/filesystem_common.js"></script>
 </head>
 <body>
@@ -44,7 +44,7 @@ Authors:
 <script type="text/javascript">
 
 //==== TEST: File_listFiles_with_filter
-//==== LABEL check if list files in documents directory with filter.
+//==== LABEL Check if list files in documents directory with filter.
 //==== PRIORITY P1
 //==== SPEC Tizen Web API:IO:Filesystem:File:listFiles M
 //==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html
@@ -53,14 +53,14 @@ Authors:
 
 var filesFilter, listFilesError, resolveSuccess, resolveError, listFilesSuccess, documentsDir,
     fsTestFileName, fsTestFile, filesRegExp = new RegExp("^" + FILE_AND_DIR_NAME_PREFIX),
-    t = async_test("File_listFiles_with_filter");
+    t = async_test(document.title);
 
 t.step(function () {
     fsTestFileName = getFileName("filesystem.txt");
     filesFilter = {name: FILE_AND_DIR_NAME_PREFIX + "%"};
 
     listFilesSuccess = t.step_func(function (files) {
-        assert_true(files.length > 0 ,"file wasn't found");
+        assert_true(files.length > 0 , "file wasn't found");
         assert_regexp_match(files[0].name, filesRegExp, "bad file was found");
         t.done();
     });
index edf1f64a9cc7165dc1130318a7c65b16850628fc..d40482787c28724c78aad4061c8b01a0cf2f563a 100644 (file)
@@ -22,7 +22,7 @@ Authors:
 <html>
 <head>
 <title>File_listFiles_with_onerror</title>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
 <script type="text/javascript" src="support/filesystem_common.js"></script>
 </head>
 <body>
@@ -30,12 +30,12 @@ Authors:
 <script type="text/javascript">
 
 //==== TEST: File_listFiles_with_onerror
-//==== LABEL: Check if method listFiles wit onError optional argument works properly.
+//==== LABEL Check if method listFiles wit onError optional argument works properly.
 //==== SPEC: Tizen Web API:IO:Filesystem:File:listFiles M
 //==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html
 //==== TEST_CRITERIA MERRCB
 
-var t = async_test("File_listFiles_with_onerror"),
+var t = async_test(document.title),
     resolveSuccess, resolveError, listFilesSuccess, listFilesError, fsTestFileName, fsTestFile;
 
 t.step(function () {
index afe1bbb58c9aaaa9f40a717c8909c2a50323209e..d0f11bcaadc815effc2b9dc6ec8fc5591d140008 100644 (file)
@@ -24,7 +24,7 @@ Authors:
 <html>
 <head>
 <title>File_listFiles_with_valid_successCallback</title>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
 <script type="text/javascript" src="support/filesystem_common.js"></script>
 </head>
 <body>
@@ -32,25 +32,25 @@ Authors:
 <script type="text/javascript">
 
 //==== TEST: File_listFiles_with_valid_successCallback
-//==== LABEL check whether 'listFiles' method properly retrieves the list of files in directory
+//==== LABEL Check whether 'listFiles' method properly retrieves the list of files in directory
 //==== SPEC Tizen Web API:IO:Filesystem:File:listFiles M
 //==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html
 //==== TEST_CRITERIA MMINA
 
-var this_test = async_test("File_listFiles_with_valid_successCallback"), resolveSuccess, resolveError,
+var t = async_test(document.title), resolveSuccess, resolveError,
     listFilesSuccess;
-this_test.step(function () {
+t.step(function () {
 
-    listFilesSuccess = this_test.step_func(function (files) {
+    listFilesSuccess = t.step_func(function (files) {
         assert_type(files, "array", "files");
-        this_test.done();
+        t.done();
     });
 
-    resolveSuccess = this_test.step_func(function (dir) {
+    resolveSuccess = t.step_func(function (dir) {
         dir.listFiles(listFilesSuccess);
     });
 
-    resolveError = this_test.step_func(function (error) {
+    resolveError = t.step_func(function (error) {
         assert_unreached("resolve() error callback invoked: name: " + error.name + ", msg: " + error.message);
     });
 
index d3fc31f57856b54b7f3bd8fd0c0c9336278b4bca..bec57842d120898980a02f2d51ccd43ee0e5a179 100644 (file)
@@ -22,7 +22,7 @@ Authors:
 <html>
 <head>
 <title>File_modified_attribute</title>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
 <script type="text/javascript" src="support/filesystem_common.js"></script>
 </head>
 <body>
@@ -30,12 +30,12 @@ Authors:
 <script type="text/javascript">
 
 //==== TEST: File_modified_attribute
-//==== LABEL: Check if attribute modified of File exists, has type Date and is readonly
+//==== LABEL Check if attribute modified of File exists, has type Date and is readonly
 //==== SPEC: Tizen Web API:IO:Filesystem:File:modified A
 //==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html
 //==== TEST_CRITERIA AE ARO AT
 
-var t = async_test("File_modified_attribute"),
+var t = async_test(document.title),
     resolveSuccess, resolveError, fsTestFileName, fsTestFile, date, tmp;
 
 t.step(function () {
index 1c7c0eb60001653a0033a8ec5223e0ef722eb238..90c0d2c6f7e675d0e1cd7f5caa91d54731a4a1e3 100644 (file)
@@ -23,7 +23,7 @@ Authors:
 <html>
 <head>
 <title>File_moveTo</title>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
 <script type="text/javascript" src="support/filesystem_common.js"></script>
 </head>
 <body>
@@ -31,12 +31,12 @@ Authors:
 <script type="text/javascript">
 
 //==== TEST: File_moveTo
-//==== LABEL: Check if method moveTo of File works properly.
+//==== LABEL Check if method moveTo of File works properly.
 //==== SPEC: Tizen Web API:IO:Filesystem:File:moveTo M
 //==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html
 //==== TEST_CRITERIA MMINA MR
 
-var t = async_test("File_moveTo"), fsTestFileName, fsTestFile,
+var t = async_test(document.title), fsTestFileName, fsTestFile,
     resolveSuccess, resolveError, retVal;
 
 t.step(function () {
index 6a1cfecbb941b74668e0a44ed6f65c1184c29c2d..e73c291b420fe6bcd330c1ba29dd9368e2a1d73a 100644 (file)
@@ -33,7 +33,7 @@ Authors:
 <div id="log"></div>
 <script type="text/javascript">
 //==== TEST: File_moveTo_dir_samedir_samename_overwrite_false
-//==== LABEL check if error callback invoked when move a directory to the same location with the same name (overwrite is false).
+//==== LABEL Check if error callback invoked when move a directory to the same location with the same name (overwrite is false).
 //==== PRIORITY P2
 //==== SPEC Tizen Web API:IO:Filesystem:File:copyTo M
 //==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html
@@ -42,7 +42,7 @@ Authors:
 
 var resolveSuccess, resolveError, moveToSuccess, moveToError, fsTestDir1, fsTestDirName1, fsTestSubDir1,
     fsTestSubDirName1, expected = "IOError",
-    t = async_test("File_moveTo_dir_samedir_samename_overwrite_false");
+    t = async_test(document.title);
 
 t.step(function () {
     fsTestDirName1 = getDirName("filesystem1");
index 509147a452ee6bc5540f2a2dbed71e14d9cbac44..c3f67c8ae3e1c16203a11291e52bde6f0fa8de07 100644 (file)
@@ -33,7 +33,7 @@ Authors:
 <div id="log"></div>
 <script type="text/javascript">
 //==== TEST: File_moveTo_dir_samedir_samename_overwrite_true
-//==== LABEL check if error callback invoked when move a directory to the same location with the same name (overwrite is true).
+//==== LABEL Check if error callback invoked when move a directory to the same location with the same name (overwrite is true).
 //==== PRIORITY P2
 //==== SPEC Tizen Web API:IO:Filesystem:File:copyTo M
 //==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html
@@ -42,7 +42,7 @@ Authors:
 
 var resolveSuccess, resolveError, moveToSuccess, moveToError, fsTestDir1, fsTestDirName1, fsTestSubDir1,
     fsTestSubDirName1, expected = "IOError",
-    t = async_test("File_moveTo_dir_samedir_samename_overwrite_true");
+    t = async_test(document.title);
 
 t.step(function () {
     fsTestDirName1 = getDirName("filesystem1");
index b7d52776adcef9425aee5ce76503dc00378c8a0c..e48bec023f460dffb65a48714576bf633b88dea0 100644 (file)
@@ -24,7 +24,7 @@ Authors:
 <html>
 <head>
 <title>File_moveTo_empty_destination_source_and_destination_paths</title>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
 <script type="text/javascript" src="support/filesystem_common.js"></script>
 </head>
 <body>
@@ -32,12 +32,12 @@ Authors:
 <script type="text/javascript">
 
 //==== TEST: File_moveTo_empty_destination_source_and_destination_paths
-//==== LABEL check whether invoking 'moveTo' method with improper arguments calls error callback function properly
+//==== LABEL Check whether invoking 'moveTo' method with improper arguments calls error callback function properly
 //==== SPEC Tizen Web API:IO:Filesystem:File:moveTo M
 //==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html
 //==== TEST_CRITERIA MERRCB
 
-var t = async_test("File_moveTo_empty_destination_source_and_destination_paths"),
+var t = async_test(document.title),
     moveToSuccess, moveToError, resolveSuccess, resolveError;
 
 t.step(function () {
index 26f928cfa799b07860c06c2706318996f898da3d..793350574ff52c20fabb88723dc6874a1985d6c6 100644 (file)
@@ -27,7 +27,7 @@ EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 
 Authors:
         Kaiyu <kaiyux.li@intel.com>
-        Guan,JingX <jingx.guan@intel.com>
+        Guan, JingX <jingx.guan@intel.com>
         Beata Koziarek <b.koziarek@samsung.com>
 
 -->
@@ -35,7 +35,7 @@ Authors:
 <html>
 <head>
 <title>File_moveTo_exist</title>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
 <script type="text/javascript" src="support/filesystem_common.js"></script>
 </head>
 <body>
@@ -49,7 +49,7 @@ Authors:
 //==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html
 //==== TEST_CRITERIA ME
 
-var t = async_test("File_moveTo_exist"), resolveSuccess, resolveError;
+var t = async_test(document.title), resolveSuccess, resolveError;
 
 t.step(function () {
     resolveSuccess = t.step_func(function (dir) {
index cdc7e18f835d368aba0222f26f7c2a64792af5de..9c6cdedea152e1b9fb4179e80a64bb7e7cc1d3b8 100644 (file)
@@ -26,7 +26,7 @@ NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
 EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.  
 
 Authors:
-        Guan,JingX <jingx.guan@intel.com>
+        Guan, JingX <jingx.guan@intel.com>
         Mariusz Polasinski <m.polasinski@samsung.com>
 
 -->
@@ -34,21 +34,21 @@ Authors:
 <html>
 <head>
 <title>File_moveTo_file_samedir_samename_overwrite_false</title>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/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_file_samedir_samename_overwrite_false
-//==== LABEL check if error callback invoked when move a file to the same location with the same name (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
 //==== SPEC Tizen Web API:IO:Filesystem:File:moveTo M
 //==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html
 //==== TEST_CRITERIA MERRCB
 
 
-var t = async_test("File_moveTo_file_samedir_samename_overwrite_false"), resolveSuccess,
+var t = async_test(document.title), resolveSuccess,
     resolveError, moveToSuccess, moveToError, expectedError = "IOError",
     fsTestDirName1, fsTestDirName2, fsTestFileName, fsTestDir1, fsTestDir2, fsTestFile;
 
index 1f825e5bc4252156d5d1234ecce8fe87af22e013..e5a92d2be39771fb2ce2fe9f67b7cb853c6ed8df 100644 (file)
@@ -26,28 +26,28 @@ NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
 EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.  
 
 Authors:
-        Guan,JingX <jingx.guan@intel.com>
+        Guan, JingX <jingx.guan@intel.com>
 
 -->
 
 <html>
 <head>
 <title>File_moveTo_file_samedir_samename_overwrite_true</title>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/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_file_samedir_samename_overwrite_true
-//==== LABEL check if error callback invoked when move a file to the same location with the same name (overwrite is true)
+//==== LABEL Check if error callback invoked when move a file to the same location with the same name (overwrite is true)
 //==== PRIORITY P2
 //==== SPEC Tizen Web API:IO:Filesystem:File:moveTo M
 //==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html
 //==== TEST_CRITERIA MERRCB
 
 
-var t = async_test("File_moveTo_file_samedir_samename_overwrite_true"), resolveSuccess,
+var t = async_test(document.title), resolveSuccess,
     resolveError, moveToSuccess, moveToError, expectedError = "IOError",
     fsTestDirName1, fsTestDirName2, fsTestFileName, fsTestDir1,
     fsTestDir2, fsTestFile;
index c62d695aed7fc6f6ac8f1d4aeffab3b549954b70..ee6dff8a925c5d853dfede7b42a17f6f6392fcb0 100644 (file)
@@ -22,7 +22,7 @@ Authors:
 <html>
 <head>
 <title>File_moveTo_onerror_TypeMismatch</title>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
 <script type="text/javascript" src="support/filesystem_common.js"></script>
 </head>
 <body>
@@ -30,13 +30,13 @@ Authors:
 <script type="text/javascript">
 
 //==== TEST: File_moveTo_onerror_TypeMismatch
-//==== LABEL: Check argument onError conversions exception in moveTo method.
+//==== LABEL Check argument onError conversions exception in moveTo method.
 //==== PRIORITY: P2
 //==== SPEC: Tizen Web API:IO:Filesystem:File:moveTo M
 //==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html
 //==== TEST_CRITERIA MC
 
-var t = async_test("File_moveTo_onerror_TypeMismatch"),
+var t = async_test(document.title),
     resolveSuccess, resolveError, conversionTable, moveToError, i, moveToSuccess,
     exceptionName = "TypeMismatchError";
 
index d533afb303a667adc98d364f9ac5763248d97d54..29721c4229a89d3aa115ca04b958e76bccf0c1fd 100644 (file)
@@ -22,7 +22,7 @@ Authors:
 <html>
 <head>
 <title>File_moveTo_onerror_invalid_cb</title>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
 <script type="text/javascript" src="support/filesystem_common.js"></script>
 </head>
 <body>
@@ -30,13 +30,13 @@ Authors:
 <script type="text/javascript">
 
 //==== TEST: File_moveTo_onerror_invalid_cb
-//==== LABEL: Test whether the constructor of the interface is defined or not in moveTo method onError callback.
+//==== LABEL Test whether the constructor of the interface is defined or not in moveTo method onError callback.
 //==== PRIORITY: P2
 //==== SPEC: Tizen Web API:IO:Filesystem:File:moveTo M
 //==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html
 //==== TEST_CRITERIA MTCB
 
-var t = async_test("File_moveTo_onerror_invalid_cb"), fsTestFileName, fsTestFile,
+var t = async_test(document.title), fsTestFileName, fsTestFile,
     resolveSuccess, resolveError, moveToSuccess, exceptionName = "TypeMismatchError",
     moveToError;
 
@@ -54,7 +54,7 @@ t.step(function () {
 
     resolveSuccess = t.step_func(function (dir) {
         fsTestFile = dir.createFile(fsTestFileName);
-        assert_throws({name : exceptionName},
+        assert_throws({name: exceptionName},
             function () {
                 dir.moveTo(fsTestFile.fullPath, "images", true, moveToSuccess, moveToError);
             }, exceptionName + " should be thrown - given incorrect successCallback.");
index b510e035a67db9370dda264dd1f62c19579eadb7..4b894f242c763a42492a7116b7a680762a87234d 100644 (file)
@@ -23,7 +23,7 @@ Authors:
 <html>
 <head>
 <title>File_moveTo_onsuccess_TypeMismatch</title>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
 <script type="text/javascript" src="support/filesystem_common.js"></script>
 </head>
 <body>
@@ -31,13 +31,13 @@ Authors:
 <script type="text/javascript">
 
 //==== TEST: File_moveTo_onsuccess_TypeMismatch
-//==== LABEL: Check argument onSuccess conversions exception in moveTo method.
+//==== LABEL Check argument onSuccess conversions exception in moveTo method.
 //==== PRIORITY: P2
 //==== SPEC: Tizen Web API:IO:Filesystem:File:moveTo M
 //==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html
 //==== TEST_CRITERIA MC
 
-var t = async_test("File_moveTo_onsuccess_TypeMismatch"), moveToSuccess, fsTestFileName, fsTestFile,
+var t = async_test(document.title), moveToSuccess, fsTestFileName, fsTestFile,
     resolveSuccess, resolveError, conversionTable, i, exceptionName = "TypeMismatchError";
 
 t.step(function () {
@@ -50,7 +50,7 @@ t.step(function () {
             moveToSuccess = conversionTable[i][0];
             exceptionName = conversionTable[i][1];
 
-            assert_throws({name : exceptionName},
+            assert_throws({name: exceptionName},
                 function () {
                     dir.moveTo(fsTestFile.fullPath, "images", true, moveToSuccess);
                 }, exceptionName + " should be thrown - given incorrect success callback.");
index 835ebbbb4dbefec7cace496b5b593f4fddeea7da..4ae4c3103e2f5707bfde404b69024db147c6925a 100644 (file)
@@ -23,7 +23,7 @@ Authors:
 <html>
 <head>
 <title>File_moveTo_onsuccess_invalid_cb</title>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
 <script type="text/javascript" src="support/filesystem_common.js"></script>
 </head>
 <body>
@@ -31,13 +31,13 @@ Authors:
 <script type="text/javascript">
 
 //==== TEST: File_moveTo_onsuccess_invalid_cb
-//==== LABEL: check if an exception was thrown when a fake callback (onsuccess) was passed into moveTo method.
+//==== LABEL Check if an exception was thrown when a fake callback (onsuccess) was passed into moveTo method.
 //==== PRIORITY: P2
 //==== SPEC: Tizen Web API:IO:Filesystem:File:moveTo M
 //==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html
 //==== TEST_CRITERIA MTCB
 
-var t = async_test("File_moveTo_onsuccess_invalid_cb"), resolveSuccess, resolveError,
+var t = async_test(document.title), resolveSuccess, resolveError,
     moveToSuccess, exceptionName = "TypeMismatchError", fsTestFileName, fsTestFile;
 
 t.step(function () {
@@ -51,7 +51,7 @@ t.step(function () {
 
     resolveSuccess = t.step_func(function (dir) {
         fsTestFile = dir.createFile(fsTestFileName);
-        assert_throws({name : exceptionName},
+        assert_throws({name: exceptionName},
             function () {
                 dir.moveTo(fsTestFile.fullPath, "images", true, moveToSuccess);
             }, exceptionName + " should be thrown - given incorrect successCallback.");
index f9c00ed8ba6d020a5ef37b10eb8b584f9e890c37..cf0a921e87b2e561e778f5052292581200752bdf 100644 (file)
@@ -21,7 +21,7 @@ Authors:
 <head>
 <meta charset="utf-8" />
 <title>File_moveTo_with_additional_null_parameter</title>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
 <script type="text/javascript" src="support/filesystem_common.js"></script>
 </head>
 <body>
@@ -29,33 +29,33 @@ Authors:
 <script type="text/javascript">
 
 //==== TEST: File_moveTo_with_additional_null_parameter
-//==== LABEL check whether 'moveTo' method invoked with additional null parameter properly transfers a file
+//==== LABEL Check whether 'moveTo' method invoked with additional null parameter properly transfers a file
 //==== SPEC Tizen Web API:IO:Filesystem:File:moveTo M
 //==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html
 //==== TEST_CRITERIA MOA
 
-var this_test = async_test("File_moveTo_with_additional_null_parameter"), fsTestFileName2,
+var t = async_test(document.title), fsTestFileName2,
     resolveSuccess, resolveError, file, movedPath, fsTestFileName, moveToSuccess;
-this_test.step(function () {
+t.step(function () {
     fsTestFileName = getFileName("filesystem.txt");
     fsTestFileName2 = getFileName("filesystem2.txt");
 
-    moveToSuccess = this_test.step_func(function () {
-        this_test.done();
+    moveToSuccess = t.step_func(function () {
+        t.done();
     });
 
-    resolveSuccess = this_test.step_func(function (dir) {
+    resolveSuccess = t.step_func(function (dir) {
         file = dir.createFile(fsTestFileName);
         assert_true(isFileObject(file), "isFileObject(createdFile)");
         movedPath = dir.fullPath + "/" + fsTestFileName2;
         dir.moveTo(file.fullPath, movedPath, true, moveToSuccess, null, null);
     });
 
-    resolveError = this_test.step_func(function (error) {
+    resolveError = t.step_func(function (error) {
         assert_unreached("resolve() error callback invoked: name: " + error.name + ", msg: " + error.message);
     });
 
-    prepareForTesting(this_test, function () {
+    prepareForTesting(t, function () {
         tizen.filesystem.resolve(TEST_ROOT_LOCATION, resolveSuccess, resolveError, "rw");
     });
 });
index 9858ad4b70d136900d7a234868e7f7aeadaf7906..a1b7f07caabd3f290f629b5790b310d7fe05510a 100644 (file)
@@ -27,7 +27,7 @@ EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 
 Authors:
         Kaiyu <kaiyux.li@intel.com>
-        Guan,JingX <jingx.guan@intel.com>
+        Guan, JingX <jingx.guan@intel.com>
         Mariusz Polasinski <m.polasinski@samsung.com>
 
 -->
@@ -35,7 +35,7 @@ Authors:
 <html>
 <head>
 <title>File_moveTo_with_file_handle</title>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
 <script type="text/javascript" src="support/filesystem_common.js"></script>
 </head>
 <body>
@@ -43,7 +43,7 @@ Authors:
 <script type="text/javascript">
 
 //==== TEST: File_moveTo_with_file_handle
-//==== LABEL check if errorCallback will be invoked when moveTo will be used with file handle.
+//==== LABEL Check if errorCallback will be invoked when moveTo will be used with file handle.
 //==== PRIORITY P2
 //==== SPEC Tizen Web API:IO:Filesystem:File:moveTo M
 //==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html
@@ -52,7 +52,7 @@ Authors:
 
 var resolveSuccess, resolveError, moveToSuccess, moveToError, fsTestDirName1,
     fsTestDirName2, fsTestDir1, fsTestDir2, fsTestFileName, fsTestFile,
-    expectedError = "IOError", t = async_test("File_moveTo_with_file_handle");
+    expectedError = "IOError", t = async_test(document.title);
 
 t.step(function () {
     fsTestDirName1 = getFileName("filesystem");
index f24dcdffe0c20a6b4dc104d5221e86084b0331c5..6aaa4b3a54d3f2ec561981056fa8bacb76e5235f 100644 (file)
@@ -24,7 +24,7 @@ Authors:
 <html>
 <head>
 <title>File_moveTo_with_invalid_filePath</title>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
 <script type="text/javascript" src="support/filesystem_common.js"></script>
 </head>
 <body>
@@ -32,39 +32,39 @@ Authors:
 <script type="text/javascript">
 
 //==== TEST: File_moveTo_with_invalid_filePath
-//==== LABEL check whether invoking 'moveTo' method with improper argument calls error callback function properly
+//==== LABEL Check whether invoking 'moveTo' method with improper argument calls error callback function properly
 //==== PRIORITY P2
 //==== SPEC Tizen Web API:IO:Filesystem:File:moveTo M
 //==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html
 //==== TEST_CRITERIA MERRCB
 
-var this_test = async_test("File_moveTo_with_invalid_filePath"), param = ["aa"], fsTestFileName,
+var t = async_test(document.title), param = ["aa"], fsTestFileName,
     i = 0, resolveError, resolveSuccess, moveToSuccess, moveToError;
 
-this_test.step(function () {
+t.step(function () {
     fsTestFileName = getFileName("filesystem.txt");
 
-    moveToError = this_test.step_func(function (err) {
+    moveToError = t.step_func(function (err) {
         assert_equals(err.name, NOT_FOUND_ERR, "moveTo error[" + err.name + "]");
-        this_test.done();
+        t.done();
     });
 
-    moveToSuccess = this_test.step_func(function (files) {
+    moveToSuccess = t.step_func(function (files) {
         assert_unreached("Unexpected onMoveToSuccess");
     });
 
-    resolveSuccess = this_test.step_func(function (dir) {
+    resolveSuccess = t.step_func(function (dir) {
         for (i = 0; i < param.length; i++) {
             dir.moveTo(param[i], dir.fullPath + "/" + fsTestFileName, true,
             moveToSuccess, moveToError);
         }
     });
 
-    resolveError = this_test.step_func(function (error) {
+    resolveError = t.step_func(function (error) {
         assert_unreached("resolve() error callback invoked: name: " + error.name + ", msg: " + error.message);
     });
 
-    prepareForTesting(this_test, function () {
+    prepareForTesting(t, function () {
         tizen.filesystem.resolve("documents", resolveSuccess, resolveError, "rw");
     });
 
index aef2ff6b6a98d001750b003085ff2b9711f3cd17..785a5d9a47a4745a25a4ffb2e5eb7a223aaf79a4 100644 (file)
@@ -23,7 +23,7 @@ Authors:
 <html>
 <head>
 <title>File_moveTo_with_onerror</title>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
 <script type="text/javascript" src="support/filesystem_common.js"></script>
 </head>
 <body>
@@ -31,12 +31,12 @@ Authors:
 <script type="text/javascript">
 
 //==== TEST: File_moveTo_with_onerror
-//==== LABEL: Check if method moveTo wit onError optional argument works properly.
+//==== LABEL Check if method moveTo wit onError optional argument works properly.
 //==== SPEC: Tizen Web API:IO:Filesystem:File:moveTo M
 //==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html
 //==== TEST_CRITERIA MERRCB
 
-var t = async_test("File_moveTo_with_onerror"),
+var t = async_test(document.title),
     resolveSuccess, resolveError, moveToSuccess, moveToError, fsTestFileName;
 
 t.step(function () {
index f7c116715fe4716900f9cd0f85b9bc78bafdb140..de4414949badd78861e8d50141d8b525af4061e2 100644 (file)
@@ -24,7 +24,7 @@ Authors:
 <head>
 <title>File_moveTo_with_onsuccess</title>
 <meta charset="utf-8"/>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
 <script type="text/javascript" src="support/filesystem_common.js"></script>
 </head>
 <body>
@@ -32,12 +32,12 @@ Authors:
 <script type="text/javascript">
 
 //==== TEST: File_moveTo_with_onsuccess
-//==== LABEL: Check if method moveTo wit onSuccess optional argument works properly.
+//==== LABEL Check if method moveTo wit onSuccess optional argument works properly.
 //==== SPEC: Tizen Web API:IO:Filesystem:File:moveTo M
 //==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html
 //==== TEST_CRITERIA MAST MOA
 
-var t = async_test("File_moveTo_with_onsuccess"), listFilesError, resolveError,
+var t = async_test(document.title), listFilesError, resolveError,
     resolveSuccess, documentsDir, listFilesSuccess, moveToSuccess, i, fsTestFileName;
 t.step(function () {
     fsTestFileName = getFileName("filesystem.txt");
index c51a04d4912413d5e3f3044b00fccc01238dad5e..a6b41e2acc1b081f47dbe25ee9fd7d833e32641f 100644 (file)
@@ -27,7 +27,7 @@ EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 
 Authors:
         Kaiyu <kaiyux.li@intel.com>
-        Guan,JingX <jingx.guan@intel.com>
+        Guan, JingX <jingx.guan@intel.com>
 
 -->
 
@@ -35,7 +35,7 @@ Authors:
 <head>
 <title>File_moveTo_with_path_invalid</title>
 <meta charset="utf-8" />
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
 <script type="text/javascript" src="support/filesystem_common.js"></script>
 </head>
 <body>
@@ -43,14 +43,14 @@ Authors:
 <script type="text/javascript">
 
 //==== TEST: File_moveTo_with_path_invalid
-//==== LABEL check if throw an exception when move a file to an invalid path.
+//==== LABEL Check if throw an exception when move a file to an invalid path.
 //==== PRIORITY P2
 //==== SPEC Tizen Web API:IO:Filesystem:File:moveTo M
 //==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html
 //==== TEST_CRITERIA MERRCB
 
 
-var t = async_test("File_moveTo_with_path_invalid"), fsTestDirName, fsTestDir,
+var t = async_test(document.title), fsTestDirName, fsTestDir,
     expected = "NotFoundError", documentsDir, resolveSuccess, resolveError,
     moveToSuccess, moveToError;
 
index f5522f6e0c9c1c4b3b70da71000280cff9d56204..a85bdd9d80b824cbd0f4eef21d492918c8346b6f 100644 (file)
@@ -27,7 +27,7 @@ EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 
 Authors:
         Kaiyu <kaiyux.li@intel.com>
-        Guan,JingX <jingx.guan@intel.com>
+        Guan, JingX <jingx.guan@intel.com>
 
 -->
 
@@ -35,7 +35,7 @@ Authors:
 <head>
 <title>File_moveTo_writeFile_newName</title>
 <meta charset="utf-8" />
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
 <script type="text/javascript" src="support/filesystem_common.js"></script>
 </head>
 <body>
@@ -43,14 +43,14 @@ Authors:
 <script type="text/javascript">
 
 //==== TEST: File_moveTo_writeFile_newName
-//==== 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
+//==== 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
 //==== SPEC Tizen Web API:IO:Filesystem:File:moveTo M
 //==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html
 //==== TEST_CRITERIA MOA
 
 
 var resolveSuccess, resolveError, fsTestDirName, fsTestFileName, fsTestDir,
-    fsTestFile, fsTestFileName2, moveToSuccess, moveToError, t = async_test("File_moveTo_writeFile_newName"),
+    fsTestFile, fsTestFileName2, moveToSuccess, moveToError, t = async_test(document.title),
     openStreamSuccess, openStreamError;
 
 t.step(function () {
index 59962f23e39402c3e17941718cfdbbf2a6913d0d..ae4ef7015f41be4d454f6c966befe97ef82cea4d 100644 (file)
@@ -27,7 +27,7 @@ EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 
 Authors:
         Kaiyu <kaiyux.li@intel.com>
-        Guan,JingX <jingx.guan@intel.com>
+        Guan, JingX <jingx.guan@intel.com>
         Mariusz Polasinski <m.polasinski@samsung.com>
 
 -->
@@ -36,7 +36,7 @@ Authors:
 <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/unitcommon.js"></script>
 <script type="text/javascript" src="support/filesystem_common.js"></script>
 </head>
 <body>
@@ -44,13 +44,13 @@ Authors:
 <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 another location with same file name (overwrite false)
+//==== LABEL Check if create a new empty file and write content of the file and then move the file to another location with same file name (overwrite false)
 //==== SPEC Tizen Web API:IO:Filesystem:File:moveTo M
 //==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html
 //==== TEST_CRITERIA MERRCB
 
 
-var t = async_test("File_moveTo_writeFile_overwrite_false"),
+var t = async_test(document.title),
     resolveSuccess, resolveError, openStreamSuccess, openStreamError, moveToSuccess, mainDir,
     moveToError, fsTestFileName, fsTestFile, fsTestDirName, fsTestDir, expectedError = "IOError";
 
index 982e8e5dd5ccce012f124619d4e962adb9d91ad6..0a28fc7138a8c8286ccfdbc942bd76f8878c6cda 100644 (file)
@@ -27,7 +27,7 @@ EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 
 Authors:
         Kaiyu <kaiyux.li@intel.com>
-        Guan,JingX <jingx.guan@intel.com>
+        Guan, JingX <jingx.guan@intel.com>
 
 -->
 
@@ -35,7 +35,7 @@ Authors:
 <head>
 <title>File_moveTo_writeFile_subdir</title>
 <meta charset="utf-8" />
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
 <script type="text/javascript" src="support/filesystem_common.js"></script>
 </head>
 <body>
@@ -43,7 +43,7 @@ Authors:
 <script type="text/javascript">
 
 //==== TEST: File_moveTo_writeFile_subdir
-//==== LABEL check if create a new empty file and write content of the file and then move the file to subdirectory with same file name
+//==== LABEL Check if create a new empty file and write content of the file and then move the file to subdirectory with same file name
 //==== SPEC Tizen Web API:IO:Filesystem:File:moveTo M
 //==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html
 //==== TEST_CRITERIA MOA
@@ -51,7 +51,7 @@ Authors:
 
 var resolveSuccess, resolveError, openStreamSuccess, openStreamError, moveToSuccess,
     moveToError, fsTestDirName1, fsTestDirName2, fsTestFileName,
-    fsTestFile, fsTestDir1, fsTestDir2, t = async_test("File_moveTo_writeFile_subdir");
+    fsTestFile, fsTestDir1, fsTestDir2, t = async_test(document.title);
 
 t.step(function () {
     fsTestDirName1 = getFileName("filesystem");
index 8e374719a96dadf262e26fe185d0059b9def5c65..f35b906e33fa71c9ccad4a7a1cf30b9d5bb20417 100644 (file)
@@ -22,7 +22,7 @@ Authors:
 <head>
 <title>File_name_attribute</title>
 <meta charset="utf-8"/>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
 <script type="text/javascript" src="support/filesystem_common.js"></script>
 </head>
 <body>
@@ -30,12 +30,12 @@ Authors:
 <script type="text/javascript">
 
 //==== TEST: File_name_attribute
-//==== LABEL: Check if attribute name of File exists, has type DOMString and is readonly
+//==== LABEL Check if attribute name of File exists, has type DOMString and is readonly
 //==== SPEC: Tizen Web API:IO:Filesystem:File:name A
 //==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html
 //==== TEST_CRITERIA AE ARO AT
 
-var t = async_test("File_name_attribute"), fsTestFileName,
+var t = async_test(document.title), fsTestFileName,
     fsTestFile, resolveSuccess, resolveError;
 t.step(function () {
     fsTestFileName = getFileName("filesystem.txt");
index 98279b2e1b61ec16aca96f60d9f7d1113d2b65c8..918f7e2bdf356ee89a63cc135ddb985887b4c109 100644 (file)
@@ -22,21 +22,21 @@ Authors:
 <html>
 <head>
 <title>File_notexist</title>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
 </head>
 <body>
 <div id="log"></div>
 <script type="text/javascript">
 
 //==== TEST: File_notexist
-//==== LABEL: check if is possible to call File in new expresion
+//==== LABEL Check if is possible to call File in new expresion
 //==== PRIORITY: P3
 //==== SPEC Tizen Web API:IO:Filesystem:File:File U
 //==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html
 //==== TEST_CRITERIA NIO
 test(function () {
     check_no_interface_object("File");
-});
+}, document.title);
 
 </script>
 </body>
index 85717c7cf4d6a8132f27c06ba56453d22be9c089..d3f84a0edbee9e65591516630e72ee75da81a2b1 100644 (file)
@@ -24,7 +24,7 @@ Authors:
 <head>
 <meta charset="utf-8" />
 <title>File_openStream</title>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
 <script type="text/javascript" src="support/filesystem_common.js"></script>
 </head>
 <body>
@@ -32,12 +32,12 @@ Authors:
 <script type="text/javascript">
 
 //==== TEST: File_openStream
-//==== LABEL: Check if method openStream of File works properly.
+//==== LABEL Check if method openStream of File works properly.
 //==== SPEC: Tizen Web API:IO:Filesystem:File:openStream M
 //==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html
 //==== TEST_CRITERIA MMINA MR
 
-var t = async_test("File_openStream"), fsTestFileName, fsTestFile,
+var t = async_test(document.title), fsTestFileName, fsTestFile,
     resolveSuccess, resolveError, retVal = null;
 t.step(function () {
     fsTestFileName = getFileName("filesystem.txt");
index d5bd078abe3c8392eb21f6864cb4d9463a579f32..df118a3fd6db01f4e97183b1d822a8fc3c50dbe0 100644 (file)
@@ -27,7 +27,7 @@ EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 
 Authors:
         Kaiyu <kaiyux.li@intel.com>
-        Guan,JingX <jingx.guan@intel.com>
+        Guan, JingX <jingx.guan@intel.com>
         Mariusz Polasinski <m.polasinski@samsung.com>
 
 -->
@@ -36,7 +36,7 @@ Authors:
 <head>
 <meta charset="utf-8" />
 <title>File_openStream_encoding_invalid</title>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
 <script type="text/javascript" src="support/filesystem_common.js"></script>
 </head>
 <body>
@@ -44,14 +44,14 @@ Authors:
 <script type="text/javascript">
 
 //==== TEST: File_openStream_encoding_invalid
-//==== LABEL check if throw an exception when open the file in invalid encoding.
+//==== LABEL Check if throw an exception when open the file in invalid encoding.
 //==== PRIORITY P2
 //==== SPEC Tizen Web API:IO:Filesystem:File:openStream M
 //==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html
 //==== TEST_CRITERIA MC
 
 
-var t = async_test("File_openStream_encoding_invalid"),
+var t = async_test(document.title),
     resolveSuccess, resolveError, openStreamSuccess, openStreamError,
     fsTestFileName, fsTestFile, documentsDir;
 
@@ -70,9 +70,7 @@ t.step(function () {
     resolveSuccess = t.step_func(function (dir) {
         documentsDir = dir;
         fsTestFile = dir.createFile(fsTestFileName);
-        assert_throws({
-            "name": TYPE_MISMATCH_ERR
-        }, function () {
+        assert_throws(TYPE_MISMATCH_EXCEPTION, function () {
             fsTestFile.openStream("r", openStreamSuccess, openStreamError, "coding");
         });
         t.done();
index 3b91af55076a3e7f193f907d893e5d853a17d82d..5522cb74c5cb3463845405aaee2c7bbf72fcedaa 100644 (file)
@@ -27,7 +27,7 @@ EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 
 Authors:
         Kaiyu <kaiyux.li@intel.com>
-        Guan,JingX <jingx.guan@intel.com>
+        Guan, JingX <jingx.guan@intel.com>
         Beata Koziarek <b.koziarek@samsung.com>
 
 -->
@@ -35,7 +35,7 @@ Authors:
 <html>
 <head>
 <title>File_openStream_exist</title>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
 </head>
 <body>
 <div id="log"></div>
@@ -47,7 +47,7 @@ Authors:
 //==== SPEC Tizen Web API:IO:Filesystem:File:openStream M
 //==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html
 //==== TEST_CRITERIA ME
-var t = async_test("File_openStream_exist"), resolveSuccess, resolveError;
+var t = async_test(document.title), resolveSuccess, resolveError;
 
 t.step(function (){
     resolveSuccess = t.step_func(function (dir) {
index 04a93334ad4826b3114fe78778669371ad1e9bb1..e4ce25fe5e9bae70d1f9f96670b3858fc66aeba8 100644 (file)
@@ -22,7 +22,7 @@ Authors:
 <html>
 <head>
 <title>File_openStream_missarg</title>
-<script type="text/javascript" src="../resources/unitcommon.js"></script> 
+<script type="text/javascript" src="support/unitcommon.js"></script> 
 <script type="text/javascript" src="support/filesystem_common.js"></script>
 </head>
 <body>
@@ -31,21 +31,19 @@ Authors:
 
 //==== TEST: File_openStream_missarg
 //==== PRIORITY: P2
-//==== LABEL: Check if openStream of File with missing non-optional argument works
+//==== LABEL Check if openStream of File with missing non-optional argument works
 //==== SPEC: Tizen Web API:IO:Filesystem:File:openStream M
 //==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html
 //==== TEST_CRITERIA MMA
 
-var t = async_test("File_openStream_missarg"), fsTestFileName, fsTestFile,
+var t = async_test(document.title), fsTestFileName, fsTestFile,
     resolveSuccess, resolveError;
 t.step(function () {
     fsTestFileName = getFileName("filesystem.txt");
 
     resolveSuccess = t.step_func(function (dir) {
         fsTestFile = dir.createFile(fsTestFileName);
-        assert_throws({
-                name: "TypeMismatchError"
-            }, function () {
+        assert_throws(TYPE_MISMATCH_EXCEPTION, function () {
                 fsTestFile.openStream();
             });
         t.done();
index ce76b2c729d83e94aa32002aaa7fdaae7e8d9ea3..814b05bf312bff9a2cb264d4711d694bd87e71d1 100644 (file)
@@ -22,20 +22,20 @@ Authors:
 <html>
 <head>
 <title>File_openStream_mode_TypeMismatch</title>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
 </head>
 <body>
 <div id="log"></div>
 <script>
 
 //==== TEST: File_openStream_mode_TypeMismatch
-//==== LABEL: Check argument mode conversions exception.
+//==== LABEL Check argument mode conversions exception.
 //==== PRIORITY: P2
 //==== SPEC: Tizen Web API:IO:Filesystem:File:openStream M
 //==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html
 //==== TEST_CRITERIA MC
 
-var t = async_test("File_openStream_mode_TypeMismatch"),
+var t = async_test(document.title),
     resolveSuccess, resolveError, conversionTable, i, exceptionName = "TypeMismatchError",
     openStreamSuccess, mode;
 
@@ -51,7 +51,7 @@ t.step(function () {
             mode = conversionTable[i][0];
             exceptionName = conversionTable[i][1];
 
-            assert_throws({name : exceptionName},
+            assert_throws({name: exceptionName},
                 function () {
                     dir.openStream(mode, openStreamSuccess);
                 }, exceptionName + " should be thrown - given incorrect mode.");
index 7449b8a4200b1a4d6bf92b42ef566a757ee9ed4d..b6e6ec855170f10c4c7146e72841236b200dc80d 100644 (file)
@@ -27,7 +27,7 @@ EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 
 Authors:
         Kaiyu <kaiyux.li@intel.com>
-        Guan,JingX <jingx.guan@intel.com>
+        Guan, JingX <jingx.guan@intel.com>
 
 -->
 
@@ -35,7 +35,7 @@ Authors:
 <head>
 <meta charset="utf-8" />
 <title>File_openStream_mode_a</title>
-<script type="text/javascript" src="../resources/unitcommon.js"></script> 
+<script type="text/javascript" src="support/unitcommon.js"></script> 
 <script type="text/javascript" src="support/filesystem_common.js"></script>
 </head>
 <body>
@@ -43,7 +43,7 @@ Authors:
 <script type="text/javascript">
 
 //==== TEST: File_openStream_mode_a
-//==== LABEL check if open the file with mode a.
+//==== LABEL Check if open the file with mode a.
 //==== PRIORITY P2
 //==== SPEC Tizen Web API:IO:Filesystem:File:openStream M
 //==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html
@@ -51,7 +51,7 @@ Authors:
 
 
 var resolveSuccess, resolveError, openStreamSuccess, openStreamError, fsTestFileName,
-    fsTestFile, documentsDir, t = async_test("File_openStream_mode_a");
+    fsTestFile, documentsDir, t = async_test(document.title);
 
 t.step(function () {
     fsTestFileName = getFileName("filesystem.txt");
index 51e924813a120d4e2c637b9de5d1874c05244c1b..a35c13976cb2457219f5149f1f01d6222bca5d12 100644 (file)
@@ -27,7 +27,7 @@ EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 
 Authors:
         Kaiyu <kaiyux.li@intel.com>
-        Guan,JingX <jingx.guan@intel.com>
+        Guan, JingX <jingx.guan@intel.com>
         Mariusz Polasinski <m.polasinski@samsung.com>
 
 -->
@@ -36,7 +36,7 @@ Authors:
 <head>
 <meta charset="utf-8" />
 <title>File_openStream_mode_r</title>
-<script type="text/javascript" src="../resources/unitcommon.js"></script> 
+<script type="text/javascript" src="support/unitcommon.js"></script> 
 <script type="text/javascript" src="support/filesystem_common.js"></script>
 </head>
 <body>
@@ -44,7 +44,7 @@ Authors:
 <script type="text/javascript">
 
 //==== TEST: File_openStream_mode_r
-//==== LABEL check if open the file with mode r.
+//==== LABEL Check if open the file with mode r.
 //==== PRIORITY P2
 //==== SPEC Tizen Web API:IO:Filesystem:File:openStream M
 //==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html
@@ -52,7 +52,7 @@ Authors:
 
 
 var resolveSuccess, resolveError, openStreamSuccess, openStreamError, fsTestFileName,
-    fsTestFile, documentsDir, t = async_test("File_openStream_mode_r");
+    fsTestFile, documentsDir, t = async_test(document.title);
 
 t.step(function (){
     fsTestFileName = getFileName("filesystem.txt");
index da49f970dca960ebc8a5c1ced17abfd1dabc0001..67febe09774f80343e15e8070eb930d6750f3037 100644 (file)
@@ -27,7 +27,7 @@ EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 
 Authors:
         Kaiyu <kaiyux.li@intel.com>
-        Guan,JingX <jingx.guan@intel.com>
+        Guan, JingX <jingx.guan@intel.com>
 
 -->
 
@@ -35,7 +35,7 @@ Authors:
 <head>
 <meta charset="utf-8" />
 <title>File_openStream_mode_rw</title>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
 <script type="text/javascript" src="support/filesystem_common.js"></script>
 </head>
 <body>
@@ -43,7 +43,7 @@ Authors:
 <script type="text/javascript">
 
 //==== TEST: File_openStream_mode_rw
-//==== LABEL check if open the file with mode rw.
+//==== LABEL Check if open the file with mode rw.
 //==== PRIORITY P2
 //==== SPEC Tizen Web API:IO:Filesystem:File:openStream M
 //==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html
@@ -51,7 +51,7 @@ Authors:
 
 
 var resolveSuccess, resolveError, openStreamSuccess, openStreamError, fsTestFileName,
-    fsTestFile, documentsDir, t = async_test("File_openStream_mode_rw");
+    fsTestFile, documentsDir, t = async_test(document.title);
 
 t.step(function () {
     fsTestFileName = getFileName("filesystem.txt");
index 667f6792b6ade1bffeeba9abdf61586006377eb8..00de3bf9a85d283c98d7151a2aaaa94949b25dfa 100644 (file)
@@ -27,7 +27,7 @@ EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 
 Authors:
         Kaiyu <kaiyux.li@intel.com>
-        Guan,JingX <jingx.guan@intel.com>
+        Guan, JingX <jingx.guan@intel.com>
 
 -->
 
@@ -35,7 +35,7 @@ Authors:
 <head>
 <meta charset="utf-8" />
 <title>File_openStream_mode_w</title>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
 <script type="text/javascript" src="support/filesystem_common.js"></script>
 </head>
 <body>
@@ -43,7 +43,7 @@ Authors:
 <script type="text/javascript">
 
 //==== TEST: File_openStream_mode_w
-//==== LABEL check if open the file with mode w.
+//==== LABEL Check if open the file with mode w.
 //==== PRIORITY P2
 //==== SPEC Tizen Web API:IO:Filesystem:File:openStream M
 //==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html
@@ -51,7 +51,7 @@ Authors:
 
 
 var resolveSuccess, resolveError, openStreamSuccess, openStreamError, fsTestFileName,
-    fsTestFile, documentsDir, t = async_test("File_openStream_mode_w");
+    fsTestFile, documentsDir, t = async_test(document.title);
 
 t.step(function () {
     fsTestFileName = getFileName("filesystem.txt");
index 623e90f5e21d401db4fa2705ed6f61df69447b1f..e745f31ff4a9a0d8706a117d6d163e342bc34a7f 100644 (file)
@@ -23,20 +23,20 @@ Authors:
 <head>
 <title>File_openStream_onerror_TypeMismatch</title>
 <meta charset="utf-8"/>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
 </head>
 
 <body>
 <div id="log"></div>
 <script>
 //==== TEST: File_openStream_onerror_TypeMismatch
-//==== LABEL: Check argument onError conversions exception in openStream method.
+//==== LABEL Check argument onError conversions exception in openStream method.
 //==== PRIORITY: P2
 //==== SPEC: Tizen Web API:IO:Filesystem:File:openStream M
 //==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html
 //==== TEST_CRITERIA MC
 
-var t = async_test("File_openStream_onerror_TypeMismatch"),
+var t = async_test(document.title),
     resolveSuccess, resolveError, conversionTable, openStreamError, i, openStreamSuccess,
     exceptionName = "TypeMismatchError";
 t.step(function () {
@@ -50,7 +50,7 @@ t.step(function () {
             openStreamError = conversionTable[i][0];
             exceptionName = conversionTable[i][1];
 
-            assert_throws({name : exceptionName},
+            assert_throws({name: exceptionName},
                 function () {
                     dir.openStream("r", openStreamSuccess, openStreamError);
                 }, exceptionName + " should be thrown - given incorrect errorCallback.");
index 6c4b7101d8bf02257d65a6631e704d1fc3cf9bd4..55b21bf63153d361f47a63529325b91adcbbec1f 100644 (file)
@@ -23,19 +23,19 @@ Authors:
 <head>
 <title>File_openStream_onerror_invalid_cb</title>
 <meta charset="utf-8"/>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
 </head>
 <body>
 <div id="log"></div>
 <script>
 //==== TEST: File_openStream_onerror_invalid_cb
-//==== LABEL: Test whether the constructor of the interface is defined or not in openStream method onError callback.
+//==== LABEL Test whether the constructor of the interface is defined or not in openStream method onError callback.
 //==== PRIORITY: P2
 //==== SPEC: Tizen Web API:IO:Filesystem:File:openStream M
 //==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html
 //==== TEST_CRITERIA MTCB
 
-var t = async_test("File_openStream_onerror_invalid_cb"),
+var t = async_test(document.title),
     resolveSuccess, resolveError, openStreamSuccess, exceptionName = "TypeMismatchError",
     openStreamError;
 t.step(function () {
@@ -51,7 +51,7 @@ t.step(function () {
     });
 
     resolveSuccess = t.step_func(function (dir) {
-        assert_throws({name : exceptionName},
+        assert_throws({name: exceptionName},
             function () {
                 dir.openStream("r", openStreamSuccess, openStreamError);
             }, exceptionName + " should be thrown - given incorrect successCallback.");
index b86885b423d652330829009426ab392116f5a34c..a472ede511249a6bd7b7dce31a57eb9f11fac0cd 100644 (file)
@@ -23,7 +23,7 @@ Authors:
 <head>
 <meta charset="utf-8" />
 <title>File_openStream_onsuccess_TypeMismatch</title>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
 <script type="text/javascript" src="support/filesystem_common.js"></script>
 </head>
 <body>
@@ -31,13 +31,13 @@ Authors:
 <script type="text/javascript">
 
 //==== TEST: File_openStream_onsuccess_TypeMismatch
-//==== LABEL: Check argument onSuccess conversions exception in openStream method.
+//==== LABEL Check argument onSuccess conversions exception in openStream method.
 //==== PRIORITY: P2
 //==== SPEC: Tizen Web API:IO:Filesystem:File:openStream M
 //==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html
 //==== TEST_CRITERIA MC
 
-var t = async_test("File_openStream_onsuccess_TypeMismatch"), openStreamSuccess,
+var t = async_test(document.title), openStreamSuccess,
     resolveSuccess, resolveError, conversionTable, i, exceptionName = "TypeMismatchError",
     fsTestFileName, fsTestFile;
 t.step(function () {
@@ -50,7 +50,7 @@ t.step(function () {
             openStreamSuccess = conversionTable[i][0];
             exceptionName = conversionTable[i][1];
 
-            assert_throws({name : exceptionName},
+            assert_throws({name: exceptionName},
                 function () {
                     fsTestFile.openStream("r", openStreamSuccess);
                 }, exceptionName + " should be thrown - given incorrect successCallback.");
index e11c6af98a4e14af137150025038cb2419cd0abd..3e21e3543ab103e5c0b876db0f578d5dd283467d 100644 (file)
@@ -22,7 +22,7 @@ Authors:
 <html>
 <head>
 <title>File_openStream_onsuccess_invalid_cb</title>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
 <script type="text/javascript" src="support/filesystem_common.js"></script>
 </head>
 <body>
@@ -30,13 +30,13 @@ Authors:
 <script>
 
 //==== TEST: File_openStream_onsuccess_invalid_cb
-//==== LABEL: Test whether the constructor of the interface is defined or not in openStream method onSuccess callback.
+//==== LABEL Test whether the constructor of the interface is defined or not in openStream method onSuccess callback.
 //==== PRIORITY: P2
 //==== SPEC: Tizen Web API:IO:Filesystem:File:openStream M
 //==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html
 //==== TEST_CRITERIA MTCB
 
-var t = async_test("File_openStream_onsuccess_invalid_cb"),
+var t = async_test(document.title),
     resolveSuccess, resolveError, openStreamSuccess, exceptionName = "TypeMismatchError", fsTestFileName, fsTestFile;
 t.step(function (){
     fsTestFileName = getFileName("filesystem.txt");
@@ -49,7 +49,7 @@ t.step(function (){
 
     resolveSuccess = t.step_func(function (dir) {
         fsTestFile = dir.createFile(fsTestFileName);
-        assert_throws({name : exceptionName},
+        assert_throws({name: exceptionName},
             function () {
                 fsTestFile.openStream("r", openStreamSuccess);
             }, exceptionName + " should be thrown - given incorrect successCallback.");
index 34c21f44c999093c3d4043cc76783711463c90c6..d48a5d97f6564dd7a1fa0f31957b9cec5e6d5d83 100644 (file)
@@ -24,7 +24,7 @@ Authors:
 <head>
 <title>File_openStream_with_encoding</title>
 <meta charset="utf-8"/>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
 <script type="text/javascript" src="support/filesystem_common.js"></script>
 </head>
 <body>
@@ -32,12 +32,12 @@ Authors:
 <script type="text/javascript">
 
 //==== TEST: File_openStream_with_encoding
-//==== LABEL: Check if method openStream wit encoding optional argument works properly.
+//==== LABEL Check if method openStream wit encoding optional argument works properly.
 //==== SPEC: Tizen Web API:IO:Filesystem:File:openStream M
 //==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html
 //==== TEST_CRITERIA MAST MOA
 
-var t = async_test("File_openStream_with_encoding"), resolveSuccess, resolveError,
+var t = async_test(document.title), resolveSuccess, resolveError,
     openStreamSuccess, openStreamError, fsTestFileName, fsTestFile;
 
 t.step(function (){
index b3960ff7fdb06e8f0ced3df37791156060efb403..9c6051129f51f24e884d3e0732518ac4b637636e 100644 (file)
@@ -27,21 +27,21 @@ EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 
 Authors:
         Kaiyu <kaiyux.li@intel.com>
-        Ma,YueX <yuex.ma@intel.com>
+        Ma, YueX <yuex.ma@intel.com>
 
 -->
 
 <html>
 <head>
 <title>File_openStream_with_nonexist_file</title>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/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_openStream_with_nonexist_file
-//==== LABEL check if throw an exception when open the file which not exist.
+//==== LABEL Check if throw an exception when open the file which not exist.
 //==== PRIORITY P2
 //==== SPEC Tizen Web API:IO:Filesystem:File:openStream M
 //==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html
@@ -50,7 +50,7 @@ Authors:
 
 var fsTestFileName, fsTestFile, resolveSuccess, resolveError, deleteFileSuccess,
     deleteFileError, openStreamSuccess, openStreamError,
-    t = async_test("File_openStream_with_nonexist_file");
+    t = async_test(document.title);
 
 t.step(function () {
     fsTestFileName = getFileName("filesystem.txt");
index 8a62f3a0a77a481f0d5215587785e2b4d55afa6a..3cc1f2951f7ba14f747357a325b4626dbd205b43 100644 (file)
@@ -22,7 +22,7 @@ Authors:
 <html>
 <head>
 <title>File_openStream_with_onerror</title>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
 <script type="text/javascript" src="support/filesystem_common.js"></script>
 </head>
 <body>
@@ -30,12 +30,12 @@ Authors:
 <script>
 
 //==== TEST: File_openStream_with_onerror
-//==== LABEL: Check if method openStream wit onError optional argument works properly.
+//==== LABEL Check if method openStream wit onError optional argument works properly.
 //==== SPEC: Tizen Web API:IO:Filesystem:File:openStream M
 //==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html
 //==== TEST_CRITERIA MAST MOA
 
-var t = async_test("File_openStream_with_onerror"),
+var t = async_test(document.title),
     resolveSuccess, resolveError, openStreamSuccess, openStreamError;
 t.step(function (){
     openStreamError = t.step_func(function () {
index 9adc4dafc8df395665cbe58b885e197210672b48..1c71afbce549f12db1548fb390219920455028c4 100644 (file)
@@ -23,7 +23,7 @@ Authors:
 <html>
 <head>
 <title>File_parent_attribute</title>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
 <script type="text/javascript" src="support/filesystem_common.js"></script>
 </head>
 <body>
@@ -31,12 +31,12 @@ Authors:
 <script>
 
 //==== TEST: File_parent_attribute
-//==== LABEL: Check if attribute parent of File exists, has type File and is readonly
+//==== LABEL Check if attribute parent of File exists, has type File and is readonly
 //==== SPEC: Tizen Web API:IO:Filesystem:File:parent A
 //==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html
 //==== TEST_CRITERIA AE ARO AT
 
-var t = async_test("File_parent_attribute"), resolveSuccess, resolveError, fsTestFileName,
+var t = async_test(document.title), resolveSuccess, resolveError, fsTestFileName,
     fsTestFile, fsTestDir, fsTestDirName;
 
 t.step(function () {
index 52400b4616fc94c4fd16c18020d08c6cc12733e8..c4575bb10b5d60f55db5ac1e0779b475ac2ba8b2 100644 (file)
@@ -24,7 +24,7 @@ Authors:
 <head>
 <title>File_parent_attribute_notnull_using_resolve</title>
 <meta charset="utf-8"/>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
 <script type="text/javascript" src="support/filesystem_common.js"></script>
 </head>
 
@@ -33,13 +33,13 @@ Authors:
 <script type="text/javascript">
 
 //==== TEST: File_parent_attribute_notnull_using_resolve
-//==== LABEL: Check if attribute parent of File is not null when using resolve method
+//==== LABEL Check if attribute parent of File is not null when using resolve method
 //==== SPEC: Tizen Web API:IO:Filesystem:File:parent A
 //==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html
 //==== TEST_CRITERIA
 
 //Check if attribute parent of File is not null when using resolve method
-var t = async_test("File_parent_attribute_notnull_using_resolve"),
+var t = async_test(document.title),
     resolveSuccess, resolveError, resolveFileSuccess, fsTestFileName;
 
 t.step(function (){
index 4e5470f481d9d4cf529d626df67b0489034c7738..a79aebdba26946296bab03f6b96a3c7641dad230 100644 (file)
@@ -23,7 +23,7 @@ Authors:
 <head>
 <title>File_path_attribute</title>
 <meta charset="utf-8"/>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
 </head>
 
 <body>
@@ -31,12 +31,12 @@ Authors:
 <script type="text/javascript">
 
 //==== TEST: File_path_attribute
-//==== LABEL: Check if attribute path of File exists, has type DOMString and is readonly
+//==== LABEL Check if attribute path of File exists, has type DOMString and is readonly
 //==== SPEC: Tizen Web API:IO:Filesystem:File:path A
 //==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html
 //==== TEST_CRITERIA AE ARO AT
 
-var t = async_test("File_path_attribute"), resolveSuccess, resolveError;
+var t = async_test(document.title), resolveSuccess, resolveError;
 
 t.step(function () {
     resolveSuccess = t.step_func(function (dir) {
index 36586b6ee5c60bcaa3c956ced70bc76751e31792..9ce3d7317efc51d78246e2c40485f0e1ef927d73 100644 (file)
@@ -24,7 +24,7 @@ Authors:
 <head>
 <title>File_readAsText</title>
 <meta charset="utf-8"/>
-<script src="../resources/unitcommon.js"></script>
+<script src="support/unitcommon.js"></script>
 <script src="support/filesystem_common.js"></script>
 </head>
 
@@ -33,12 +33,12 @@ Authors:
 <script type="text/javascript">
 
 //==== TEST: File_readAsText
-//==== LABEL: Check if method readAsText of File works properly.
+//==== LABEL Check if method readAsText of File works properly.
 //==== SPEC: Tizen Web API:IO:Filesystem:File:readAsText M
 //==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html
 //==== TEST_CRITERIA MMINA MR
 
-var t = async_test("File_readAsText"), resolveSuccess, resolveError, stringInFile = "HelloWorld",
+var t = async_test(document.title), resolveSuccess, resolveError, stringInFile = "HelloWorld",
     readAsTextSuccess, file, fsTestFileName = getFileName("testReadAsTextAgain.txt"), retVal = null;
 
 t.step(function () {
index ad29412abdd6fcc986b712012ae14e8bc24fbc1b..4df0cca1de567d1f4c42a9ff0e90114f510abbb3 100644 (file)
@@ -27,7 +27,7 @@ EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 
 Authors:
         Kaiyu <kaiyux.li@intel.com>
-        Guan,JingX <jingx.guan@intel.com>
+        Guan, JingX <jingx.guan@intel.com>
 
 -->
 
@@ -35,7 +35,7 @@ Authors:
 <head>
 <meta charset="utf-8" />
 <title>File_readAsText_encoding_invalid</title>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
 <script type="text/javascript" src="support/filesystem_common.js"></script>
 </head>
 <body>
@@ -43,13 +43,13 @@ Authors:
 <script type="text/javascript">
 
 //==== TEST: File_readAsText_encoding_invalid
-//==== LABEL check if throw an exception when readAsText in invalid encoding.
+//==== LABEL Check if throw an exception when readAsText in invalid encoding.
 //==== PRIORITY P2
 //==== SPEC Tizen Web API:IO:Filesystem:File:readAsText M
 //==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html
 //==== TEST_CRITERIA
 
-var t = async_test("File_readAsText_encoding_invalid"), resolveSuccess, resolveError,
+var t = async_test(document.title), resolveSuccess, resolveError,
     readAsTextSuccess, documentsDir, expected = "TypeMismatchError", fsTestFileName,
     fsTestFile, readAsTextError;
 
index daa9c9085f4bc859167a981c4ff6a4e98f6b3af7..dff90ed91f0d4631f68c776732d0cfdedbd9460a 100644 (file)
@@ -27,7 +27,7 @@ EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 
 Authors:
         Kaiyu <kaiyux.li@intel.com>
-        Guan,JingX <jingx.guan@intel.com>
+        Guan, JingX <jingx.guan@intel.com>
         Beata Koziarek <b.koziarek@samsung.com>
 
 -->
@@ -35,7 +35,7 @@ Authors:
 <html>
 <head>
 <title>File_readAsText_exist</title>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
 </head>
 <body>
 <div id="log"></div>
@@ -47,7 +47,7 @@ Authors:
 //==== SPEC Tizen Web API:IO:Filesystem:File:readAsText M
 //==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html
 //==== TEST_CRITERIA ME
-var t = async_test("File_readAsText_exist"), resolveSuccess, resolveError;
+var t = async_test(document.title), resolveSuccess, resolveError;
 
 t.step(function (){
     resolveSuccess = t.step_func(function (dir) {
index 071539baf185106cef7f834a8d855f7cefca0848..d98ae30e9a991f008912d52ad0429a95e58d9ea9 100644 (file)
@@ -27,7 +27,7 @@ EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 
 Authors:
         Kaiyu <kaiyux.li@intel.com>
-        Guan,JingX <jingx.guan@intel.com>
+        Guan, JingX <jingx.guan@intel.com>
 
 -->
 
@@ -42,7 +42,7 @@ Authors:
 <div id="log"></div>
 <script type="text/javascript">
 //==== TEST: File_readAsText_listDocumentsFiles
-//==== LABEL check if list all files in documents and then read the content of the file as a DOMString
+//==== LABEL Check if list all files in documents and then read the content of the file as a DOMString
 //==== SPEC Tizen Web API:IO:Filesystem:File:readAsText M
 //==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html
 //==== TEST_CRITERIA MOA
@@ -50,7 +50,7 @@ Authors:
 var testFile, resolveSuccess, resolveError, readAsTextSuccess,
     readAsTextError, openStreamSuccess, openStreamError,
     listFilesSuccess, listFilesError, text = "test write method",
-    t = async_test("File_readAsText_listDocumentsFiles"),
+    t = async_test(document.title),
     fsTestFileName = getFileName("write01.txt");
 
 t.step(function (){
index 6053d8833f11511566d304e49cf3ae87d913c0c3..a84690fabcf96f27087f44bf5afd21b13a36a2d8 100644 (file)
@@ -27,7 +27,7 @@ EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 
 Authors:
         Kaiyu <kaiyux.li@intel.com>
-        Guan,JingX <jingx.guan@intel.com>
+        Guan, JingX <jingx.guan@intel.com>
 
 -->
 
@@ -42,12 +42,12 @@ Authors:
 <div id="log"></div>
 <script type="text/javascript">
 //==== TEST: File_readAsText_listDownloadsFiles
-//==== LABEL check if list all files in downloads and then read the content of the file as a DOMString
+//==== LABEL Check if list all files in downloads and then read the content of the file as a DOMString
 //==== SPEC Tizen Web API:IO:Filesystem:File:readAsText M
 //==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html
 //==== TEST_CRITERIA MOA
 
-var t = async_test("File_readAsText_listDownloadsFiles"),
+var t = async_test(document.title),
     text = "test write method", testFile, resolveSuccess, resolveError,
     listFilesSuccess, listFilesError, openStreamSuccess,
     openStreamError, readAsTextSuccess, readAsTextError,
index a29ed748b9f391fcfda478ac6738058d299f2115..2f3c7d3580d1860a9341d0d1d25e025f59c51c46 100644 (file)
@@ -27,7 +27,7 @@ EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 
 Authors:
         Kaiyu <kaiyux.li@intel.com>
-        Guan,JingX <jingx.guan@intel.com>
+        Guan, JingX <jingx.guan@intel.com>
 
 -->
 
@@ -42,12 +42,12 @@ Authors:
 <div id="log"></div>
 <script type="text/javascript">
 //==== TEST: File_readAsText_listImagesFiles
-//==== LABEL check if list all files in images and then read the content of the file as a DOMString
+//==== LABEL Check if list all files in images and then read the content of the file as a DOMString
 //==== SPEC Tizen Web API:IO:Filesystem:File:readAsText M
 //==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html
 //==== TEST_CRITERIA MOA
 
-var text = "test write method", t = async_test("File_readAsText_listImagesFiles"),
+var text = "test write method", t = async_test(document.title),
     testFile, resolveSuccess, resolveError, listFilesSuccess,
     listFilesError, openStreamSuccess, openStreamError,
     readAsTextSuccess, readAsTextError,
index 37cf2ba679d21eaea6492ddb94869e011c27d98a..b981b14fd4d0dc1733132c1b4161df7efd703458 100644 (file)
@@ -27,7 +27,7 @@ EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 
 Authors:
         Kaiyu <kaiyux.li@intel.com>
-        Guan,JingX <jingx.guan@intel.com>
+        Guan, JingX <jingx.guan@intel.com>
 
 -->
 
@@ -42,7 +42,7 @@ Authors:
 <div id="log"></div>
 <script type="text/javascript">
 //==== TEST: File_readAsText_listMusicFiles
-//==== LABEL check if list all files in music and then read the content of the file as a DOMString
+//==== LABEL Check if list all files in music and then read the content of the file as a DOMString
 //==== SPEC Tizen Web API:IO:Filesystem:File:readAsText M
 //==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html
 //==== TEST_CRITERIA MOA
@@ -50,7 +50,7 @@ Authors:
 var testFile, resolveSuccess, resolveError, listFilesSuccess,
     listFilesError, openStreamSuccess, openStreamError, readAsTextSuccess,
     readAsTextError, text = "test write method",
-    t = async_test("File_readAsText_listMusicFiles"),
+    t = async_test(document.title),
     fsTestFileName = getFileName("write01.txt");
 
 t.step(function (){
index 2d2a400017ee0a90f4c2d765f57efbddf45c2f48..a3a9285e2786369bb498239611bedca718479bd7 100644 (file)
@@ -27,7 +27,7 @@ EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 
 Authors:
         Kaiyu <kaiyux.li@intel.com>
-        Guan,JingX <jingx.guan@intel.com>
+        Guan, JingX <jingx.guan@intel.com>
 
 -->
 
@@ -42,12 +42,12 @@ Authors:
 <div id="log"></div>
 <script type="text/javascript">
 //==== TEST: File_readAsText_listVideosFiles
-//==== LABEL check if list all files in videos and then read the content of the file as a DOMString
+//==== LABEL Check if list all files in videos and then read the content of the file as a DOMString
 //==== SPEC Tizen Web API:IO:Filesystem:File:readAsText M
 //==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html
 //==== TEST_CRITERIA MOA
 
-var text = "test write method", t = async_test("File_readAsText_listVideosFiles"),
+var text = "test write method", t = async_test(document.title),
     testFile, resolveSuccess, resolveError, listFilesSuccess,
     listFilesError, openStreamSuccess, openStreamError,
     readAsTextSuccess, readAsTextError,
index 64859cf655422771b76d7f8f2f5286bd08576c53..dffb216816e341ce7b9285917f46d7b1a3bb2dd9 100644 (file)
@@ -24,7 +24,7 @@ Authors:
 <head>
 <title>File_readAsText_missarg</title>
 <meta charset="utf-8"/>
-<script src="../resources/unitcommon.js"></script>
+<script src="support/unitcommon.js"></script>
 <script src="support/filesystem_common.js"></script>
 </head>
 
@@ -34,12 +34,12 @@ Authors:
 
 //==== TEST: File_readAsText_missarg
 //==== PRIORITY: P2
-//==== LABEL: Check if readAsText of File with missing non-optional argument works
+//==== LABEL Check if readAsText of File with missing non-optional argument works
 //==== SPEC: Tizen Web API:IO:Filesystem:File:readAsText M
 //==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html
 //==== TEST_CRITERIA MMA
 
-var t = async_test("File_readAsText_missarg"),
+var t = async_test(document.title),
     resolveSuccess, resolveError, file,
     fsTestFileName = getFileName("testMissArg.txt");
 
@@ -50,7 +50,7 @@ t.step(function () {
             t.step_func(function (fs) {
                 fs.write("HelloWorld");
                 fs.close();
-                assert_throws({name: "TypeMismatchError"},
+                assert_throws(TYPE_MISMATCH_EXCEPTION,
                     function () {
                         file.readAsText();
                     });
index bb47ba89fbe308d7a68061d78786cb65d95e550f..f52b65ba32d27b7bbc484ee83bce38615808ddda 100644 (file)
@@ -23,20 +23,20 @@ Authors:
 <head>
 <title>File_readAsText_onerror_TypeMismatch</title>
 <meta charset="utf-8"/>
-<script src="../resources/unitcommon.js"></script>
+<script src="support/unitcommon.js"></script>
 </head>
 
 <body>
 <div id="log"></div>
 <script>
 //==== TEST: File_readAsText_onerror_TypeMismatch
-//==== LABEL: Check argument onError conversions exception in readAsText method.
+//==== LABEL Check argument onError conversions exception in readAsText method.
 //==== PRIORITY: P2
 //==== SPEC: Tizen Web API:IO:Filesystem:File:readAsText M
 //==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html
 //==== TEST_CRITERIA MC
 
-var t = async_test("File_readAsText_onerror_TypeMismatch"),
+var t = async_test(document.title),
     resolveSuccess, resolveError, conversionTable, readAsTextError, i,
     readAsTextSuccess, exceptionName = "TypeMismatchError";
 
@@ -50,7 +50,7 @@ t.step(function () {
             readAsTextError = conversionTable[i][0];
             exceptionName = conversionTable[i][1];
 
-            assert_throws({name : exceptionName},
+            assert_throws({name: exceptionName},
                 function () {
                     dir.readAsText(readAsTextSuccess, readAsTextError);
                 }, exceptionName + " should be thrown - given incorrect errorCallback.");
index 8dd4172690887bc2de8a10879b0629ccbbfd2a23..49850255d2a36e1a76793c3f45fb84c8fcdc5644 100644 (file)
@@ -23,20 +23,20 @@ Authors:
 <head>
 <title>File_readAsText_onerror_invalid_cb</title>
 <meta charset="utf-8"/>
-<script src="../resources/unitcommon.js"></script>
+<script src="support/unitcommon.js"></script>
 </head>
 
 <body>
 <div id="log"></div>
 <script>
 //==== TEST: File_readAsText_onerror_invalid_cb
-//==== LABEL: Test whether the constructor of the interface is defined or not in readAsText method onError callback.
+//==== LABEL Test whether the constructor of the interface is defined or not in readAsText method onError callback.
 //==== PRIORITY: P2
 //==== SPEC: Tizen Web API:IO:Filesystem:File:readAsText M
 //==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html
 //==== TEST_CRITERIA MTCB
 
-var t = async_test("File_readAsText_onerror_invalid_cb"),
+var t = async_test(document.title),
     resolveSuccess, resolveError, readAsTextSuccess, readAsTextError,
     exceptionName = "TypeMismatchError";
 
@@ -51,7 +51,7 @@ t.step(function () {
     });
 
     resolveSuccess = t.step_func(function (dir) {
-        assert_throws({name : exceptionName},
+        assert_throws({name: exceptionName},
             function () {
                 dir.readAsText(readAsTextSuccess, readAsTextError);
             }, exceptionName + " should be thrown - given incorrect successCallback.");
index ba83dcfb4064c9c9f279de1088b4aaa3964dd8d6..203c159e3e562469c46eab212921e1593966dba9 100644 (file)
@@ -23,7 +23,7 @@ Authors:
 <head>
 <title>File_readAsText_onsuccess_TypeMismatch</title>
 <meta charset="utf-8"/>
-<script src="../resources/unitcommon.js"></script>
+<script src="support/unitcommon.js"></script>
 <script src="support/filesystem_common.js"></script>
 </head>
 
@@ -31,13 +31,13 @@ Authors:
 <div id="log"></div>
 <script>
 //==== TEST: File_readAsText_onsuccess_TypeMismatch
-//==== LABEL: Check argument onSuccess conversions exception in readAsText method.
+//==== LABEL Check argument onSuccess conversions exception in readAsText method.
 //==== PRIORITY: P2
 //==== SPEC: Tizen Web API:IO:Filesystem:File:readAsText M
 //==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html
 //==== TEST_CRITERIA MC
 
-var t = async_test("File_readAsText_onsuccess_TypeMismatch"), readAsTextSuccess,
+var t = async_test(document.title), readAsTextSuccess,
     resolveSuccess, resolveError, conversionTable, i, file,
     exceptionName = "TypeMismatchError",
     fsTestFileName = getFileName("goodFile2.txt");
@@ -51,7 +51,7 @@ t.step(function (){
             readAsTextSuccess = conversionTable[i][0];
             exceptionName = conversionTable[i][1];
 
-            assert_throws({name : exceptionName},
+            assert_throws({name: exceptionName},
                 function () {
                     file.readAsText(readAsTextSuccess);
                 }, exceptionName + " should be thrown - given incorrect successCallback.");
index e037911aee792e2569cedae28c22c5e26dee8944..fd5b7e9146e77a08b9730fcd6c20f7870c39e277 100644 (file)
@@ -23,7 +23,7 @@ Authors:
 <head>
 <title>File_readAsText_onsuccess_invalid_cb</title>
 <meta charset="utf-8"/>
-<script src="../resources/unitcommon.js"></script>
+<script src="support/unitcommon.js"></script>
 <script src="support/filesystem_common.js"></script>
 </head>
 
@@ -31,13 +31,13 @@ Authors:
 <div id="log"></div>
 <script>
 //==== TEST: File_readAsText_onsuccess_invalid_cb
-//==== LABEL: Test whether the constructor of the interface is defined or not in readAsText method onSuccess callback.
+//==== LABEL Test whether the constructor of the interface is defined or not in readAsText method onSuccess callback.
 //==== PRIORITY: P2
 //==== SPEC: Tizen Web API:IO:Filesystem:File:readAsText M
 //==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html
 //==== TEST_CRITERIA MTCB
 
-var t = async_test("File_readAsText_onsuccess_invalid_cb"),
+var t = async_test(document.title),
     resolveSuccess, resolveError, readAsTextSuccess,
     exceptionName = "TypeMismatchError",
     fsTestFileName = getFileName("goodFile.txt"), file;
@@ -50,7 +50,7 @@ t.step(function (){
     };
     resolveSuccess = t.step_func(function (dir) {
         file = dir.createFile(fsTestFileName);
-        assert_throws({name : exceptionName},
+        assert_throws({name: exceptionName},
             function () {
                 file.readAsText(readAsTextSuccess);
             }, exceptionName + " should be thrown - given incorrect successCallback.");
index c8b44eacb2ee55bd6690b8e65b8eae0fc497f785..fe8b6108ce3349f807529990ab13af210dc44eec 100644 (file)
@@ -23,19 +23,19 @@ Authors:
 <head>
 <title>File_readAsText_with_encoding</title>
 <meta charset="utf-8"/>
-<script src="../resources/unitcommon.js"></script>
+<script src="support/unitcommon.js"></script>
 </head>
 
 <body>
 <div id="log"></div>
 <script>
 //==== TEST: File_readAsText_with_encoding
-//==== LABEL: Check if method readAsText wit encoding optional argument works properly.
+//==== LABEL Check if method readAsText wit encoding optional argument works properly.
 //==== SPEC: Tizen Web API:IO:Filesystem:File:readAsText M
 //==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html
 //==== TEST_CRITERIA MOA
 
-var t = async_test("File_readAsText_with_encoding"),
+var t = async_test(document.title),
     resolveSuccess, resolveError, listFilesSuccess, listFilesError,
     readAsTextSuccess, readAsTextError, i;
 
index ad92ac5973f7c55aec88a3dc88c841b5aa42553e..7ee47ae630944522f2a8a2e0d968690c6849c871 100644 (file)
@@ -24,19 +24,19 @@ Authors:
 <head>
 <title>File_readAsText_with_onerror</title>
 <meta charset="utf-8"/>
-<script src="../resources/unitcommon.js"></script>
+<script src="support/unitcommon.js"></script>
 </head>
 
 <body>
 <div id="log"></div>
 <script>
 //==== TEST: File_readAsText_with_onerror
-//==== LABEL: Check if method readAsText wit onError optional argument works properly.
+//==== LABEL Check if method readAsText wit onError optional argument works properly.
 //==== SPEC: Tizen Web API:IO:Filesystem:File:readAsText M
 //==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html
 //==== TEST_CRITERIA MERRCB
 
-var t = async_test("File_readAsText_with_onerror"),
+var t = async_test(document.title),
     resolveSuccess, resolveError, readAsTextSuccess, readAsTextError;
 
 t.step(function () {
index dda0b917e510b7e249a0303f672cf0e005dd716d..67cb7eb238ee52cbfb19564d93a7a4d2eb91ca2a 100644 (file)
@@ -23,19 +23,19 @@ Authors:
 <head>
 <title>File_readOnly_attribute</title>
 <meta charset="utf-8"/>
-<script src="../resources/unitcommon.js"></script>
+<script src="support/unitcommon.js"></script>
 </head>
 
 <body>
 <div id="log"></div>
 <script>
 //==== TEST: File_readOnly_attribute
-//==== LABEL: Check if attribute readOnly of File exists, has type Boolean and is readonly
+//==== LABEL Check if attribute readOnly of File exists, has type Boolean and is readonly
 //==== SPEC: Tizen Web API:IO:Filesystem:File:readOnly A
 //==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html
 //==== TEST_CRITERIA AE AT ARO
 
-var t = async_test("File_readOnly_attribute"),
+var t = async_test(document.title),
     onSuccess, onError;
 t.step(function () {
     onSuccess = t.step_func(function (dir) {
index d91c44747f098a5dcf37a95f7b021c8159cf63e1..695d5bbd7225b0f578421ee5e726dd54b71ac0e7 100644 (file)
@@ -23,7 +23,7 @@ Authors:
 <head>
 <title>File_resolve</title>
 <meta charset="utf-8"/>
-<script src="../resources/unitcommon.js"></script>
+<script src="support/unitcommon.js"></script>
 <script src="support/filesystem_common.js"></script>
 </head>
 
@@ -31,12 +31,12 @@ Authors:
 <div id="log"></div>
 <script>
 //==== TEST: File_resolve
-//==== LABEL: Check if method resolve of File works properly.
+//==== LABEL Check if method resolve of File works properly.
 //==== SPEC: Tizen Web API:IO:Filesystem:File:resolve M
 //==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html
 //==== TEST_CRITERIA MMINA MR
 
-var t = async_test("File_resolve"),
+var t = async_test(document.title),
     resolveSuccess, resolveError, listFilesSuccess, i, ds, file,
     fsTestFileName = getFileName("goodFile2.txt");
 t.step(function () {
index 9456038ae7b4a6cd1af7edf84b367addc6fe2ee6..651c8b4ffa5a83059daaef66d2cc6b0f57e03b04 100644 (file)
@@ -27,7 +27,7 @@ EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 
 Authors:
         Kaiyu <kaiyux.li@intel.com>
-        Guan,JingX <jingx.guan@intel.com>
+        Guan, JingX <jingx.guan@intel.com>
         Beata Koziarek <b.koziarek@samsung.com>
 
 -->
@@ -35,7 +35,7 @@ Authors:
 <html>
 <head>
 <title>File_resolve_exist</title>
-<script src="../resources/unitcommon.js"></script>
+<script src="support/unitcommon.js"></script>
 </head>
 <body>
 <div id="log"></div>
@@ -47,7 +47,7 @@ Authors:
 //==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html
 //==== TEST_CRITERIA ME
 
-var t = async_test("File_resolve_exist"),
+var t = async_test(document.title),
     onSuccess, onError;
 t.step(function (){
     onSuccess = t.step_func(function (dir) {
index 2e8483346e183dc76ff48819891178a587b21360..f889f48396a0c0508a2bccb419870968f9e835c4 100644 (file)
@@ -27,7 +27,7 @@ EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 
 Authors:
         Kaiyu <kaiyux.li@intel.com>
-        Guan,JingX <jingx.guan@intel.com>
+        Guan, JingX <jingx.guan@intel.com>
 
 -->
 
@@ -42,13 +42,13 @@ Authors:
 <div id="log"></div>
 <script type="text/javascript">
 //==== TEST: File_resolve_with_invalid_para
-//==== LABEL check if throw an exception when resolve a file with the incompatible input parameter.
+//==== LABEL Check if throw an exception when resolve a file with the incompatible input parameter.
 //==== PRIORITY P2
 //==== SPEC Tizen Web API:IO:Filesystem:File:resolve M
 //==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html
 //==== TEST_CRITERIA
 
-var t = async_test("File_resolve_with_invalid_para"),
+var t = async_test(document.title),
     expected = "InvalidValuesError", resolveSuccess, resolveError,
     fsTestFileName = getFileName("test77.txt");
 
index 07fb875ca00433fcc4f768cff5291b4e6f8b4b52..d173482a0c427abdabceaef6df326840194c876f 100644 (file)
@@ -27,7 +27,7 @@ EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 
 Authors:
         Kaiyu <kaiyux.li@intel.com>
-        Guan,JingX <jingx.guan@intel.com>
+        Guan, JingX <jingx.guan@intel.com>
         Mariusz Polasinski <m.polasinski@samsung.com>
 
 -->
@@ -45,14 +45,13 @@ Authors:
 <script type="text/javascript">
 
 //==== TEST: File_resolve_with_nonexist
-//==== LABEL check if throw an exception when resolve a file which not exist.
+//==== LABEL Check if throw an exception when resolve a file which not exist.
 //==== PRIORITY P2
 //==== SPEC Tizen Web API:IO:Filesystem:File:resolve M
 //==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html
 //==== TEST_CRITERIA
 
-var t = async_test("File_resolve_with_nonexist"),
-    resolveSuccess, resolveError, fsTestFileName;
+var t = async_test(document.title), resolveSuccess, resolveError, fsTestFileName, expected = "NotFoundError";
 
 t.step(function () {
     fsTestFileName = getFileName("noExistFile.txt");
@@ -61,7 +60,6 @@ t.step(function () {
         try{
             dir.resolve(fsTestFileName);
         }catch(error) {
-            var expected = "NotFoundError";
             assert_equals(error.name, expected, "expect throw an exception");
             t.done();
         }
index 7d716db239d0a2c3f312c2c3f4b39aae3123795b..bdc0ee54f6730d62e8316b95871a5fdad1214476 100644 (file)
@@ -27,7 +27,7 @@ Authors:
 <head>
 <title>File_toURI</title>
 <meta charset="utf-8"/>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
 <script type="text/javascript" src="support/filesystem_common.js"></script>
 </head>
 
@@ -36,12 +36,12 @@ Authors:
 <script type="text/javascript">
 
 //==== TEST: File_toURI
-//==== LABEL: Check if method toURI of File works properly.
+//==== LABEL Check if method toURI of File works properly.
 //==== SPEC: Tizen Web API:IO:Filesystem:File:toURI M
 //==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html
 //==== TEST_CRITERIA MNA MR
 
-var t = async_test("File_toURI"), resolveSuccess, resolveError, returnedValue, fsTestFileName, fsTestFile;
+var t = async_test(document.title), resolveSuccess, resolveError, returnedValue, fsTestFileName, fsTestFile;
 
 t.step(function () {
     fsTestFileName =  getFileName("filesystem.txt");
index 4f83f71b5e237d938515c58734656e954d098ace..183de1971c94e5e263b1ab89d06c9d29959a9620 100644 (file)
@@ -25,7 +25,7 @@ Authors:
 <head>
 <title>File_toURI_exist</title>
 <meta charset="utf-8"/>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
 </head>
 
 <body>
@@ -39,7 +39,7 @@ Authors:
 //==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html
 //==== TEST_CRITERIA ME
 
-var t = async_test("File_toURI_exist"), resolveSuccess, resolveError;
+var t = async_test(document.title), resolveSuccess, resolveError;
 
 t.step(function () {
     resolveSuccess = t.step_func(function (dir) {
index 55062ce4143f05bab910b92003608fb0a5a90444..575ee7c961c2569e6cb4d702849e614cb5daf0ba 100644 (file)
@@ -26,7 +26,7 @@ Authors:
 <head>
 <title>File_toURI_extra_argument</title>
 <meta charset="utf-8"/>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
 </head>
 
 <body>
@@ -34,12 +34,12 @@ Authors:
 <script type="text/javascript">
 
 //==== TEST: File_toURI_extra_argument
-//==== LABEL: Check if method toURI of File accepts extra argument
+//==== LABEL Check if method toURI of File accepts extra argument
 //==== SPEC: Tizen Web API:IO:Filesystem:File:toURI M
 //==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html
 //==== TEST_CRITERIA MNAEX
 
-var t = async_test("File_toURI_extra_argument"), resolveSuccess, resolveError;
+var t = async_test(document.title), resolveSuccess, resolveError;
 
 t.step(function (){
     resolveSuccess = t.step_func(function (dir) {
index aacef89442109eb8dce8ee2cc6fc7d8e720a6bf8..7190e1669791e3485c2996736a75393dfbc65cf1 100644 (file)
@@ -27,7 +27,7 @@ EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 
 Authors:
         Kaiyu <kaiyux.li@intel.com>
-        Ma,YueX <yuex.ma@intel.com>
+        Ma, YueX <yuex.ma@intel.com>
         Mariusz Polasinski <m.polasinski@samsung.com>
 
 -->
@@ -36,7 +36,7 @@ Authors:
 
 <head>
 <title>File_toURI_with_nonexist_file</title>
-<script type="text/javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="support/unitcommon.js"></script>
 <script type="text/javascript" src="support/filesystem_common.js"></script>
 </head>
 
@@ -44,14 +44,14 @@ Authors:
 <div id="log"></div>
 <script type="text/javascript">
 //==== TEST: File_toURI_with_nonexist_file
-//==== LABEL check if throw an exception when get a URI of nonexist file.
+//==== LABEL Check if throw an exception when get a URI of nonexist file.
 //==== PRIORITY P2
 //==== SPEC Tizen Web API:IO:Filesystem:File:toURI M
 //==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html
 //==== TEST_CRITERIA MNA
 
 
-var t = async_test("File_toURI_with_nonexist_file"),
+var t = async_test(document.title),
     resolveSuccess, resolveError, deleteFileSuccess, deleteFileError , fsTestFileName, fsTestFile, returnedValue;
 
 t.step(function () {
index 77787c33b607c33838f149b90a6fcef8cd18d691..8ebde480a12356a5923438b7243954b0a31dbdfa 100644 (file)
@@ -27,7 +27,7 @@ EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 
 Authors:
         Kaiyu <kaiyux.li@intel.com>
-        Guan,JingX <jingx.guan@intel.com>
+        Guan, JingX <jingx.guan@intel.com>
 
 -->
 
@@ -42,13 +42,13 @@ Authors:
 <div id="log"></div>
 <script type="text/javascript">
 //==== TEST: filesystem_FileStreamSuccessCallback_onsuccess
-//==== LABEL check if FileStreamSuccessCallback method: onsuccess is exist
+//==== LABEL Check if FileStreamSuccessCallback method: onsuccess is exist
 //==== SPEC Tizen Web API:IO:Filesystem:FileStreamSuccessCallback:onsuccess M
 //==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html
 //==== TEST_CRITERIA CBOA
 
 //  check if FileStreamSuccessCallback method: onSuccess is exist
-var t = async_test("filesystem_FileStreamSuccessCallback_onsuccess"),
+var t = async_test(document.title),
     resolveSuccess, resolveError, openStreamSuccess, openStreamError, file,
     fsTestFileName = getFileName("successFile.txt");
 
index 72106a26fdb5d6eace56cd4208de3528a9a58f76..7513e2f770a08e34b3818cb96cef22ab265b9611 100644 (file)
@@ -27,7 +27,7 @@ EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 
 Authors:
         Kaiyu <kaiyux.li@intel.com>
-        Guan,JingX <jingx.guan@intel.com>
+        Guan, JingX <jingx.guan@intel.com>
 
 -->
 
@@ -42,14 +42,14 @@ Authors:
 <div id="log"></div>
 <script type="text/javascript">
 //==== TEST: filesystem_File_copyTo
-//==== LABEL check if copy a file successfully
+//==== LABEL Check if copy a file successfully
 //==== PRIORITY P0
 //==== SPEC Tizen Web API:IO:Filesystem:File:copyTo M
 //==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html
 //==== TEST_CRITERIA MOA
 
 //  check if copy a file successfully
-var t = async_test("filesystem_File_copyTo"),
+var t = async_test(document.title),
     createFile, resolveSuccess, resolveError, copyToSuccess, copyToError,
     fsTestFileName = getFileName("copyFile.txt");
 
index c877761e39243073ad2cc9d8bea815b76055b7ce..2467a3c4fba624f86fc000b252176f3b8663acde 100644 (file)
@@ -27,7 +27,7 @@ EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 
 Authors:
         Kaiyu <kaiyux.li@intel.com>
-        Guan,JingX <jingx.guan@intel.com>
+        Guan, JingX <jingx.guan@intel.com>
 
 -->
 
@@ -42,13 +42,13 @@ Authors:
 <div id="log"></div>
 <script type="text/javascript">
 //==== TEST: filesystem_File_readAsText
-//==== LABEL check if reads the content of a file as a DOMString.
+//==== LABEL Check if reads the content of a file as a DOMString.
 //==== SPEC Tizen Web API:IO:Filesystem:File:readAsText M
 //==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html
 //==== TEST_CRITERIA MOA
 
 //  check if reads the content of a file as a DOMString.
-var t = async_test("filesystem_File_readAsText"), text = "test write method",
+var t = async_test(document.title), text = "test write method",
     testFile, resolveSuccess, resolveError, openStreamSuccess, openStreamError,
     readAsTextSuccess, readAsTextError,
     fsTestFileName = getFileName("write01.txt");
index ace94eb0cc4d52a7f1c27cadcae929b5fa157cd2..8c4ba8f0cf17807d56a62f15efb2ec3347808637 100644 (file)
@@ -27,7 +27,7 @@ EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 
 Authors:
         Kaiyu <kaiyux.li@intel.com>
-        Guan,JingX <jingx.guan@intel.com>
+        Guan, JingX <jingx.guan@intel.com>
 
 -->
 
@@ -42,13 +42,13 @@ Authors:
 <div id="log"></div>
 <script type="text/javascript">
 //==== TEST: filesystem_File_resolve
-//==== LABEL check if resolve a file and return a file handle
+//==== LABEL Check if resolve a file and return a file handle
 //==== SPEC Tizen Web API:IO:Filesystem:File:resolve M
 //==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/filesystem.html
 //==== TEST_CRITERIA MMINA
 
 //  check if resolves a file and returns a file handle.
-var t = async_test("filesystem_File_resolve"),
+var t = async_test(document.title),
     resolveSuccess, resolveError, expected = "object", handle,
     fsTestFileName = getFileName("resolve.doc");
 
diff --git a/tct-filesystem-tizen-tests/filesystem/support/unitcommon.js b/tct-filesystem-tizen-tests/filesystem/support/unitcommon.js
new file mode 100644 (file)
index 0000000..9f972c1
--- /dev/null
@@ -0,0 +1,559 @@
+/*
+
+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:
+
+ */
+
+
+MIN_BYTE = -128;
+MAX_BYTE = 127;
+MIN_OCTET = 0;
+MAX_OCTET = 255;
+MIN_SHORT = -32768;
+MAX_SHORT = 32767;
+MIN_UNSIGNED_SHORT = 0;
+MAX_UNSIGNED_SHORT = 65535;
+MIN_LONG = -2147483648;
+MAX_LONG = 2147483647;
+MIN_UNSIGNED_LONG = 0;
+MAX_UNSIGNED_LONG = 4294967295;
+MIN_LONG_LONG = -9223372036854775808;
+MAX_LONG_LONG = 9223372036854775807;
+MIN_UNSIGNED_LONG_LONG = 0;
+MAX_UNSIGNED_LONG_LONG = 18446744073709551615;
+
+TYPE_MISMATCH_EXCEPTION = {name: 'TypeMismatchError'};
+NOT_FOUND_EXCEPTION = {name: 'NotFoundError'};
+INVALID_VALUES_EXCEPTION = {name: 'InvalidValuesError'};
+IO_EXCEPTION = {name: 'IOError'};
+SECURITY_EXCEPTION = {name: 'SecurityError'};
+
+
+(function () {
+   var head_src = document.head.innerHTML;
+   if (head_src.search(/\/testharness.js\W/) === -1) {
+       document.write('<script language="javascript" src="../resources/testharness.js"></script>\n');
+   }
+   if (head_src.search(/\/testharnessreport.js\W/) === -1) {
+       document.write('<script language="javascript" src="../resources/testharnessreport.js"></script>\n');
+   }
+})();
+
+var _registered_types = {};
+
+function _resolve_registered_type(type) {
+    while (type in _registered_types) {
+        type = _registered_types[type];
+    }
+    return type;
+}
+
+/**
+ * Method checks extra argument for none argument method.
+ * The only check is that method will not throw an exception.
+ * Example usage:
+ * checkExtraArgument(tizen.notification, "removeAll");
+ *
+ * @param object object
+ * @param methodName string - name of the method
+ */
+function checkExtraArgument(object, methodName) {
+    var extraArgument = [
+        null,
+        undefined,
+        "Tizen",
+        1,
+        false,
+        ["one", "two"],
+        {argument: 1},
+        function () {}
+    ], i;
+
+    for (i = 0; i < extraArgument.length; i++) {
+        object[methodName](extraArgument[i]);
+    }
+}
+
+/**
+ * Method to validate conversion.
+ * Example usage:
+ *   conversionTable = getTypeConversionExceptions("functionObject", true);
+ *   for(i = 0; i < conversionTable.length; i++) {
+ *       errorCallback = conversionTable[i][0];
+ *       exceptionName = conversionTable[i][1];
+ *
+ *       assert_throws({name : exceptionName},
+ *       function () {
+ *           tizen.systemsetting.setProperty("HOME_SCREEN",
+ *               propertyValue, successCallback, errorCallback);
+ *       }, exceptionName + " should be thrown - given incorrect errorCallback.");
+ *   }
+ *
+ * @param conversionType
+ * @param isOptional
+ * @returns table of tables which contain value (index 0) and exceptionName (index 1)
+ *
+ */
+function getTypeConversionExceptions(conversionType, isOptional) {
+    var exceptionName = "TypeMismatchError",
+        conversionTable;
+    switch (conversionType) {
+        case "enum":
+            conversionTable = [
+                [undefined, exceptionName],
+                [null, exceptionName],
+                [0, exceptionName],
+                [true, exceptionName],
+                ["dummyInvalidEnumValue", exceptionName],
+                [{ }, exceptionName]
+            ];
+            break;
+        case "double":
+            conversionTable = [
+                [undefined, exceptionName],
+                [NaN, exceptionName],
+                [Number.POSITIVE_INFINITY, exceptionName],
+                [Number.NEGATIVE_INFINITY, exceptionName],
+                ["TIZEN", exceptionName],
+                [{ name : "TIZEN" }, exceptionName],
+                [function () { }, exceptionName]
+            ];
+            break;
+        case "object":
+            conversionTable = [
+                [true, exceptionName],
+                [false, exceptionName],
+                [NaN, exceptionName],
+                [0, exceptionName],
+                ["", exceptionName],
+                ["TIZEN", exceptionName],
+                [undefined, exceptionName]
+            ];
+            if (!isOptional) {
+                conversionTable.push([null, exceptionName]);
+            }
+            break;
+        case "functionObject":
+            conversionTable = [
+                [true, exceptionName],
+                [false, exceptionName],
+                [NaN, exceptionName],
+                [0, exceptionName],
+                ["", exceptionName],
+                ["TIZEN", exceptionName],
+                [[], exceptionName],
+                [{ }, exceptionName],
+                [undefined, exceptionName]
+            ];
+            if (!isOptional) {
+                conversionTable.push([null, exceptionName]);
+            }
+            break;
+        case "array":
+            conversionTable = [
+                [true, exceptionName],
+                [false, exceptionName],
+                [NaN, exceptionName],
+                [0, exceptionName],
+                ["", exceptionName],
+                ["TIZEN", exceptionName],
+                [{ }, exceptionName],
+                [function () { }, exceptionName],
+                [undefined, exceptionName]
+            ];
+            if (!isOptional) {
+                conversionTable.push([null, exceptionName]);
+            }
+            break;
+        case "dictionary":
+            conversionTable = [
+                [true, exceptionName],
+                [false, exceptionName],
+                [NaN, exceptionName],
+                [0, exceptionName],
+                ["", exceptionName],
+                ["TIZEN", exceptionName],
+                [undefined, exceptionName]
+            ];
+            if (!isOptional) {
+                conversionTable.push([null, exceptionName]);
+            }
+            break;
+        default:
+            assert_unreached("Fix your test. Wrong conversionType '" + conversionType + "'.");
+    };
+
+    return conversionTable;
+}
+
+
+function assert_type(obj, type, description) {
+    var org_type = type, prop_name, prop_type, prop_value;
+
+    type = _resolve_registered_type(type);
+
+    if (typeof (type) === 'string') {
+        type = type.toLowerCase();
+        switch (type) {
+            case 'object':
+            case 'string':
+            case 'number':
+            case 'function':
+            case 'boolean':
+            case 'undefined':
+            case 'xml':
+                assert_equals(typeof (obj), type, description);
+                break;
+            case 'null':
+                assert_true(obj === null, description);
+                break;
+            case 'array':
+                assert_true(Array.isArray(obj), description);
+                break;
+            case 'date':
+                assert_true(obj instanceof Date, description);
+                break;
+            case 'byte':
+                assert_equals(typeof (obj), 'number', description);
+                assert_greater_than_equal(obj, MIN_BYTE, description + " - value too low.");
+                assert_less_than_equal(obj, MAX_BYTE, description + " - value too high.");
+                assert_equals(Math.abs(obj % 1), 0, description + " - value is not an integer.");
+                break;
+            case 'octet':
+                assert_equals(typeof (obj), 'number', description);
+                assert_greater_than_equal(obj, MIN_OCTET, description + " - value too low.");
+                assert_less_than_equal(obj, MAX_OCTET, description + " - value too high.");
+                assert_equals(obj % 1, 0, description + " - value is not an integer.");
+                break;
+            case 'short':
+                assert_equals(typeof (obj), 'number', description);
+                assert_greater_than_equal(obj, MIN_SHORT, description + " - value too low.");
+                assert_less_than_equal(obj, MAX_SHORT, description + " - value too high.");
+                assert_equals(Math.abs(obj % 1), 0, description + " - value is not an integer.");
+                break;
+            case 'unsigned short':
+                assert_equals(typeof (obj), 'number', description);
+                assert_greater_than_equal(obj, MIN_UNSIGNED_SHORT, description + " - value too low.");
+                assert_less_than_equal(obj, MAX_UNSIGNED_SHORT, description + " - value too high.");
+                assert_equals(obj % 1, 0, description + " - value is not an integer.");
+                break;
+            case 'long':
+                assert_equals(typeof (obj), 'number', description);
+                assert_greater_than_equal(obj, MIN_LONG, description + " - value too low.");
+                assert_less_than_equal(obj, MAX_LONG, description + " - value too high.");
+                assert_equals(Math.abs(obj % 1), 0, description + " - value is not an integer.");
+                break;
+            case 'unsigned long':
+                assert_equals(typeof (obj), 'number', description);
+                assert_greater_than_equal(obj, MIN_UNSIGNED_LONG, description + " - value too low.");
+                assert_less_than_equal(obj, MAX_UNSIGNED_LONG, description + " - value too high.");
+                assert_equals(obj % 1, 0, description + " - value is not an integer.");
+                break;
+            case 'long long':
+                assert_equals(typeof (obj), 'number', description);
+                assert_greater_than_equal(obj, MIN_LONG_LONG, description + " - value too low.");
+                assert_less_than_equal(obj, MAX_LONG_LONG, description + " - value too high.");
+                assert_equals(Math.abs(obj % 1), 0, description + " - value is not an integer.");
+                break;
+            case 'unsigned long long':
+                assert_equals(typeof (obj), 'number', description);
+                assert_greater_than_equal(obj, MIN_UNSIGNED_LONG_LONG, description + " - value too low.");
+                assert_less_than_equal(obj, MAX_UNSIGNED_LONG_LONG, description + " - value too high.");
+                assert_equals(obj % 1, 0, description + " - value is not an integer.");
+                break;
+            default:
+                assert_unreached('Fix your test. Wrong type \'' + org_type + '\'');
+        }
+    } else if (typeof (type) === 'function') {
+        assert_true(obj instanceof type, description);
+    } else if (typeof (type) === 'object') {
+        for (prop_name in type) {
+            prop_type = type[prop_name];
+            if (prop_type === 'function') {
+                assert_inherits(obj, prop_name);
+                assert_equals(typeof obj[prop_name], prop_type, 'Object should have method ' + prop_name);
+            } else {
+                assert_own_property(obj, prop_name);
+            }
+        }
+    } else {
+        assert_unreached('Fix your test. Wrong type ' + org_type);
+    }
+}
+
+function register_type(alias, type_spec) {
+    _registered_types[alias] = type_spec;
+}
+
+/**
+ * Method to check if attribute is const.
+ * Example usage:
+ * check_const(tizen.bluetooth.deviceMinor, 'TOY_DOLL', 0x03, 'number', 0x29B);
+ *
+ * @param obj  object to test which  has const attribute
+ * @param attributeName attribute name.
+ * @param expectedValue expected value of provided attribute name
+ * @param expectedType expected type of provided attribute name
+ * @param valueToAssign value to assign in order to check if attribute value can be modified
+ */
+function check_const(obj, attributeName, expectedValue, expectedType, valueToAssign) {
+    var tmp;
+    if (expectedValue === valueToAssign) {
+        assert_unreached("Fix your test. The same values given for "  + attributeName +
+            " in 'value' and 'valueToSet' arguments.");
+    }
+    if (typeof (attributeName) === "string") {
+        assert_true(attributeName in obj, "Name " + attributeName + " doesn't exist in provided object.");
+        assert_equals(obj[attributeName], expectedValue, "Value of " + attributeName + " is diffrent.");
+        if (typeof (expectedType) !== "undefined") {
+            if (expectedValue === null) {
+                assert_type(obj[attributeName], "object", "Type of " + attributeName + " is different.");
+            } else {
+                assert_type(obj[attributeName], expectedType, "Type of " + attributeName + " is different.");
+            }
+        } else {
+            assert_unreached("Fix your test. Wrong type " + expectedType);
+        }
+        tmp = obj[attributeName];
+        obj[attributeName] = valueToAssign;
+        assert_equals(obj[attributeName], tmp, attributeName + " can be modified.");
+    } else {
+        assert_unreached("Fix your test. Wrong type of name " + typeof (attributeName));
+    }
+}
+
+/**
+ * Method to check if attribute is readonly.
+ * Example usage:
+ * check_readonly(statusNotification, "postedTime", null, 'object', new Date());
+ *
+ * @param obj  object to test which  has readonly attribute
+ * @param attributeName attribute name.
+ * @param expectedValue expected value of provided attribute name
+ * @param expectedType expected type of provided attribute name
+ * @param valueToAssign value to assign in order to check if attribute value can be modified
+ */
+function check_readonly(obj, attributeName, expectedValue, expectedType, valueToAssign) {
+    check_const(obj, attributeName, expectedValue, expectedType, valueToAssign);
+}
+
+/**
+ * Method to check if attribute can be set to null.
+ * Example usage:
+ * check_not_nullable(syncInfo, "mode");
+ *
+ * @param obj object to test which has not nullable attribute
+ * @param attributeName attribute name.
+ */
+function check_not_nullable(obj, attributeName)
+{   var old_value = obj[attributeName];
+    obj[attributeName] = null;
+    assert_not_equals(obj[attributeName], null, "Attribute " + attributeName + " can be set to null.");
+    obj[attributeName] = old_value;
+}
+
+/**
+ * Method to check NoInterfaceObject
+ * Example usage:
+ * check_no_interface_object("BluetoothAdapter")
+ *
+ * @param interfaceName interface name
+ */
+function check_no_interface_object(interfaceName) {
+    assert_throws({name: "TypeError"}, function () {
+        tizen[interfaceName]();
+    },"Wrong call as a function");
+    assert_throws({name: "TypeError"}, function () {
+        new tizen[interfaceName]();
+    },"Wrong call as a new function");
+    assert_throws({name: "TypeError"}, function () {
+        ({}) instanceof tizen[interfaceName];
+    },"instanceof exception");
+    assert_equals(tizen[interfaceName], undefined, interfaceName + " is not undefined.");
+}
+
+
+/**
+ * Method to check Constructors
+ * Example usage:
+ * check_constructor("BluetoothAdapter")
+ *
+ * @param constructorName constructor name
+ */
+
+function check_constructor(constructorName) {
+    assert_true(constructorName in tizen, "No " + constructorName + " in tizen.");
+    assert_false({} instanceof tizen[constructorName],"Custom object is not instance of " + constructorName);
+    assert_throws({
+        name: "TypeError"
+    }, function () {
+        tizen[constructorName]();
+    }, "Constructor called as function.");
+}
+
+/**
+ * Method to check if given method can be overridden in a given object - (TEMPORARY REMOVED).
+ * That method also checks if given method exists in a given object.
+ * Example usage:
+ * check_method_exists(tizen.notification, "get");
+ *
+ * @param obj object with method
+ * @param methodName name of the method to check.
+ */
+function check_method_exists(obj, methodName) {
+    assert_type(obj[methodName], 'function', "Method does not exist.");
+}
+
+/**
+ * Method to check extensibility of given object.
+ * Method checks if new attribute and method can be added.
+ * Example usage:
+ * check_extensibility(tizen.notification);
+ *
+ * @param obj object to check
+ */
+function check_extensibility(obj) {
+    var dummyAttribute = "dummyAttributeValue", dummyMethodResult = "dummyMethodResultValue";
+    obj.newDummyMethod = function() {
+        return dummyMethodResult;
+    }
+    assert_equals(obj.newDummyMethod(), dummyMethodResult, "Incorrect result from added method.");
+
+    obj.newDummyAttribute = dummyAttribute;
+    assert_equals(obj.newDummyAttribute, dummyAttribute, "Incorrect result from added attribute.");
+}
+
+/**
+ * Method to check if attribute can be modify.
+ * Example usage:
+ * check_attr(downloadRequest, "fileName", default_val, "string", "file_name.html");
+ *
+ * @param obj  object to test which has not readonly attribute
+ * @param attributeName attribute name.
+ * @param expectedValue expected value of provided attribute name
+ * @param expectedType expected type of provided attribute name
+ * @param valueToAssign value to assign in order to check if attribute value can be modified
+ */
+function check_attribute(obj, attributeName, expectedValue, expectedType, valueToAssign) {
+    if (expectedValue === valueToAssign) {
+        assert_unreached("Fix your test. The same values given for "  + attributeName +
+            " in 'value' and 'valueToSet' arguments.");
+    }
+    if (typeof (attributeName) === "string") {
+        assert_true(attributeName in obj, "Name " + attributeName + " doesn't exist in provided object.");
+        assert_equals(obj[attributeName], expectedValue, "Value of " + attributeName + " is diffrent.");
+        if (typeof (expectedType) !== "undefined") {
+            if (expectedValue === null) {
+                assert_type(obj[attributeName], "object", "Type of " + attributeName + " is different.");
+            } else {
+                assert_type(obj[attributeName], expectedType, "Type of " + attributeName + " is different.");
+            }
+        } else {
+            assert_unreached("Fix your test. Wrong type " + expectedType);
+        }
+        obj[attributeName] = valueToAssign;
+        assert_equals(obj[attributeName], valueToAssign, attributeName + " can be modified.");
+    } else {
+        assert_unreached("Fix your test. Wrong type of name " + typeof (attributeName));
+    }
+}
+
+/**
+ * Method to check if whole array can be overwritten with an invalid value.
+ * Sample usage:
+ * check_invalid_array_assignments(message, "to", false);
+ *
+ * @param obj object which has the array as its property
+ * @param array name of the array to check
+ * @param isNullable indicates if the array can be null
+ */
+function check_invalid_array_assignments(obj, array, isNullable) {
+    var args = [undefined, true, false, NaN, 0, "TIZEN", {}, function () {}],
+        val = obj[array], i;
+
+    if (!isNullable) {
+        obj[array] = null;
+        assert_not_equals(obj[array], null, "Non-nullable array was set to null");
+        assert_type(obj[array], "array", "Non-nullable array type changed after assigning null");
+        assert_equals(obj[array].toString(), val.toString(), "Non-nullable array contents changed after assigning null");
+    }
+
+    for (i = 0 ; i < args.length ; i++) {
+        obj[array] = args[i];
+        assert_type(obj[array], "array", "Array type changed after assigning an invalid value");
+        assert_equals(obj[array].toString(), val.toString(), "Array contents changed after assigning an invalid value");
+    }
+}
+
+/**
+ * Method to check if an object can be overwritten with an invalid value.
+ * Sample usage:
+ * check_invalid_object_assignments(message, "body", false);
+ *
+ * @param parentObj object which has the 'obj' object as its property
+ * @param obj name of the object to check
+ * @param isNullable indicates if the object can be null
+ */
+function check_invalid_obj_assignments(parentObj, obj, isNullable) {
+    var args = [undefined, true, false, NaN, 0, "TIZEN", function () {}],
+        val = parentObj[obj], i;
+
+    if (!isNullable) {
+        parentObj[obj] = null;
+        assert_equals(parentObj[obj], val, "Non-nullable obj was modified after assigning null");
+    }
+
+    for (i = 0 ; i < args.length ; i++) {
+        parentObj[obj] = args[i];
+        assert_equals(parentObj[obj], val, "The object was set to " + args[i]);
+    }
+}
+
+/**
+ * Method to validate conversion for listeners.
+ * Example usage:
+ * incorrectListeners = getListenerConversionExceptions(["oninstalled", "onupdated", "onuninstalled"]);
+ * for(i = 0; i < incorrectListeners.length; i++) {
+ *     packageInformationEventCallback  = incorrectListeners[i][0];
+ *     exceptionName = incorrectListeners[i][1];
+ *     assert_throws({name : exceptionName},
+ *        function () {
+ *             tizen.package.setPackageInfoEventListener(packageInformationEventCallback);
+ *         }, exceptionName + " should be thrown - given incorrect successCallback.");
+ * }
+ *
+ *
+ * @param callbackNames Array with names
+ * @returns {Array} table of tables which contain incorrect listener (index 0) and exceptionName (index 1)
+ *
+ */
+function getListenerConversionExceptions(callbackNames) {
+    var result = [], conversionTable, i, j, listenerName;
+    conversionTable = getTypeConversionExceptions("functionObject", false);
+
+    for (i = 0; i < callbackNames.length; i++) {
+        for (j = 0; j < conversionTable.length; j++) {
+            listenerName = {};
+            listenerName[callbackNames[i]] = conversionTable[j][0];
+            result.push([listenerName, conversionTable[j][1]]);
+        }
+    }
+
+    return result;
+}
diff --git a/tct-filesystem-tizen-tests/resources/unitcommon.js b/tct-filesystem-tizen-tests/resources/unitcommon.js
deleted file mode 100644 (file)
index 9f972c1..0000000
+++ /dev/null
@@ -1,559 +0,0 @@
-/*
-
-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:
-
- */
-
-
-MIN_BYTE = -128;
-MAX_BYTE = 127;
-MIN_OCTET = 0;
-MAX_OCTET = 255;
-MIN_SHORT = -32768;
-MAX_SHORT = 32767;
-MIN_UNSIGNED_SHORT = 0;
-MAX_UNSIGNED_SHORT = 65535;
-MIN_LONG = -2147483648;
-MAX_LONG = 2147483647;
-MIN_UNSIGNED_LONG = 0;
-MAX_UNSIGNED_LONG = 4294967295;
-MIN_LONG_LONG = -9223372036854775808;
-MAX_LONG_LONG = 9223372036854775807;
-MIN_UNSIGNED_LONG_LONG = 0;
-MAX_UNSIGNED_LONG_LONG = 18446744073709551615;
-
-TYPE_MISMATCH_EXCEPTION = {name: 'TypeMismatchError'};
-NOT_FOUND_EXCEPTION = {name: 'NotFoundError'};
-INVALID_VALUES_EXCEPTION = {name: 'InvalidValuesError'};
-IO_EXCEPTION = {name: 'IOError'};
-SECURITY_EXCEPTION = {name: 'SecurityError'};
-
-
-(function () {
-   var head_src = document.head.innerHTML;
-   if (head_src.search(/\/testharness.js\W/) === -1) {
-       document.write('<script language="javascript" src="../resources/testharness.js"></script>\n');
-   }
-   if (head_src.search(/\/testharnessreport.js\W/) === -1) {
-       document.write('<script language="javascript" src="../resources/testharnessreport.js"></script>\n');
-   }
-})();
-
-var _registered_types = {};
-
-function _resolve_registered_type(type) {
-    while (type in _registered_types) {
-        type = _registered_types[type];
-    }
-    return type;
-}
-
-/**
- * Method checks extra argument for none argument method.
- * The only check is that method will not throw an exception.
- * Example usage:
- * checkExtraArgument(tizen.notification, "removeAll");
- *
- * @param object object
- * @param methodName string - name of the method
- */
-function checkExtraArgument(object, methodName) {
-    var extraArgument = [
-        null,
-        undefined,
-        "Tizen",
-        1,
-        false,
-        ["one", "two"],
-        {argument: 1},
-        function () {}
-    ], i;
-
-    for (i = 0; i < extraArgument.length; i++) {
-        object[methodName](extraArgument[i]);
-    }
-}
-
-/**
- * Method to validate conversion.
- * Example usage:
- *   conversionTable = getTypeConversionExceptions("functionObject", true);
- *   for(i = 0; i < conversionTable.length; i++) {
- *       errorCallback = conversionTable[i][0];
- *       exceptionName = conversionTable[i][1];
- *
- *       assert_throws({name : exceptionName},
- *       function () {
- *           tizen.systemsetting.setProperty("HOME_SCREEN",
- *               propertyValue, successCallback, errorCallback);
- *       }, exceptionName + " should be thrown - given incorrect errorCallback.");
- *   }
- *
- * @param conversionType
- * @param isOptional
- * @returns table of tables which contain value (index 0) and exceptionName (index 1)
- *
- */
-function getTypeConversionExceptions(conversionType, isOptional) {
-    var exceptionName = "TypeMismatchError",
-        conversionTable;
-    switch (conversionType) {
-        case "enum":
-            conversionTable = [
-                [undefined, exceptionName],
-                [null, exceptionName],
-                [0, exceptionName],
-                [true, exceptionName],
-                ["dummyInvalidEnumValue", exceptionName],
-                [{ }, exceptionName]
-            ];
-            break;
-        case "double":
-            conversionTable = [
-                [undefined, exceptionName],
-                [NaN, exceptionName],
-                [Number.POSITIVE_INFINITY, exceptionName],
-                [Number.NEGATIVE_INFINITY, exceptionName],
-                ["TIZEN", exceptionName],
-                [{ name : "TIZEN" }, exceptionName],
-                [function () { }, exceptionName]
-            ];
-            break;
-        case "object":
-            conversionTable = [
-                [true, exceptionName],
-                [false, exceptionName],
-                [NaN, exceptionName],
-                [0, exceptionName],
-                ["", exceptionName],
-                ["TIZEN", exceptionName],
-                [undefined, exceptionName]
-            ];
-            if (!isOptional) {
-                conversionTable.push([null, exceptionName]);
-            }
-            break;
-        case "functionObject":
-            conversionTable = [
-                [true, exceptionName],
-                [false, exceptionName],
-                [NaN, exceptionName],
-                [0, exceptionName],
-                ["", exceptionName],
-                ["TIZEN", exceptionName],
-                [[], exceptionName],
-                [{ }, exceptionName],
-                [undefined, exceptionName]
-            ];
-            if (!isOptional) {
-                conversionTable.push([null, exceptionName]);
-            }
-            break;
-        case "array":
-            conversionTable = [
-                [true, exceptionName],
-                [false, exceptionName],
-                [NaN, exceptionName],
-                [0, exceptionName],
-                ["", exceptionName],
-                ["TIZEN", exceptionName],
-                [{ }, exceptionName],
-                [function () { }, exceptionName],
-                [undefined, exceptionName]
-            ];
-            if (!isOptional) {
-                conversionTable.push([null, exceptionName]);
-            }
-            break;
-        case "dictionary":
-            conversionTable = [
-                [true, exceptionName],
-                [false, exceptionName],
-                [NaN, exceptionName],
-                [0, exceptionName],
-                ["", exceptionName],
-                ["TIZEN", exceptionName],
-                [undefined, exceptionName]
-            ];
-            if (!isOptional) {
-                conversionTable.push([null, exceptionName]);
-            }
-            break;
-        default:
-            assert_unreached("Fix your test. Wrong conversionType '" + conversionType + "'.");
-    };
-
-    return conversionTable;
-}
-
-
-function assert_type(obj, type, description) {
-    var org_type = type, prop_name, prop_type, prop_value;
-
-    type = _resolve_registered_type(type);
-
-    if (typeof (type) === 'string') {
-        type = type.toLowerCase();
-        switch (type) {
-            case 'object':
-            case 'string':
-            case 'number':
-            case 'function':
-            case 'boolean':
-            case 'undefined':
-            case 'xml':
-                assert_equals(typeof (obj), type, description);
-                break;
-            case 'null':
-                assert_true(obj === null, description);
-                break;
-            case 'array':
-                assert_true(Array.isArray(obj), description);
-                break;
-            case 'date':
-                assert_true(obj instanceof Date, description);
-                break;
-            case 'byte':
-                assert_equals(typeof (obj), 'number', description);
-                assert_greater_than_equal(obj, MIN_BYTE, description + " - value too low.");
-                assert_less_than_equal(obj, MAX_BYTE, description + " - value too high.");
-                assert_equals(Math.abs(obj % 1), 0, description + " - value is not an integer.");
-                break;
-            case 'octet':
-                assert_equals(typeof (obj), 'number', description);
-                assert_greater_than_equal(obj, MIN_OCTET, description + " - value too low.");
-                assert_less_than_equal(obj, MAX_OCTET, description + " - value too high.");
-                assert_equals(obj % 1, 0, description + " - value is not an integer.");
-                break;
-            case 'short':
-                assert_equals(typeof (obj), 'number', description);
-                assert_greater_than_equal(obj, MIN_SHORT, description + " - value too low.");
-                assert_less_than_equal(obj, MAX_SHORT, description + " - value too high.");
-                assert_equals(Math.abs(obj % 1), 0, description + " - value is not an integer.");
-                break;
-            case 'unsigned short':
-                assert_equals(typeof (obj), 'number', description);
-                assert_greater_than_equal(obj, MIN_UNSIGNED_SHORT, description + " - value too low.");
-                assert_less_than_equal(obj, MAX_UNSIGNED_SHORT, description + " - value too high.");
-                assert_equals(obj % 1, 0, description + " - value is not an integer.");
-                break;
-            case 'long':
-                assert_equals(typeof (obj), 'number', description);
-                assert_greater_than_equal(obj, MIN_LONG, description + " - value too low.");
-                assert_less_than_equal(obj, MAX_LONG, description + " - value too high.");
-                assert_equals(Math.abs(obj % 1), 0, description + " - value is not an integer.");
-                break;
-            case 'unsigned long':
-                assert_equals(typeof (obj), 'number', description);
-                assert_greater_than_equal(obj, MIN_UNSIGNED_LONG, description + " - value too low.");
-                assert_less_than_equal(obj, MAX_UNSIGNED_LONG, description + " - value too high.");
-                assert_equals(obj % 1, 0, description + " - value is not an integer.");
-                break;
-            case 'long long':
-                assert_equals(typeof (obj), 'number', description);
-                assert_greater_than_equal(obj, MIN_LONG_LONG, description + " - value too low.");
-                assert_less_than_equal(obj, MAX_LONG_LONG, description + " - value too high.");
-                assert_equals(Math.abs(obj % 1), 0, description + " - value is not an integer.");
-                break;
-            case 'unsigned long long':
-                assert_equals(typeof (obj), 'number', description);
-                assert_greater_than_equal(obj, MIN_UNSIGNED_LONG_LONG, description + " - value too low.");
-                assert_less_than_equal(obj, MAX_UNSIGNED_LONG_LONG, description + " - value too high.");
-                assert_equals(obj % 1, 0, description + " - value is not an integer.");
-                break;
-            default:
-                assert_unreached('Fix your test. Wrong type \'' + org_type + '\'');
-        }
-    } else if (typeof (type) === 'function') {
-        assert_true(obj instanceof type, description);
-    } else if (typeof (type) === 'object') {
-        for (prop_name in type) {
-            prop_type = type[prop_name];
-            if (prop_type === 'function') {
-                assert_inherits(obj, prop_name);
-                assert_equals(typeof obj[prop_name], prop_type, 'Object should have method ' + prop_name);
-            } else {
-                assert_own_property(obj, prop_name);
-            }
-        }
-    } else {
-        assert_unreached('Fix your test. Wrong type ' + org_type);
-    }
-}
-
-function register_type(alias, type_spec) {
-    _registered_types[alias] = type_spec;
-}
-
-/**
- * Method to check if attribute is const.
- * Example usage:
- * check_const(tizen.bluetooth.deviceMinor, 'TOY_DOLL', 0x03, 'number', 0x29B);
- *
- * @param obj  object to test which  has const attribute
- * @param attributeName attribute name.
- * @param expectedValue expected value of provided attribute name
- * @param expectedType expected type of provided attribute name
- * @param valueToAssign value to assign in order to check if attribute value can be modified
- */
-function check_const(obj, attributeName, expectedValue, expectedType, valueToAssign) {
-    var tmp;
-    if (expectedValue === valueToAssign) {
-        assert_unreached("Fix your test. The same values given for "  + attributeName +
-            " in 'value' and 'valueToSet' arguments.");
-    }
-    if (typeof (attributeName) === "string") {
-        assert_true(attributeName in obj, "Name " + attributeName + " doesn't exist in provided object.");
-        assert_equals(obj[attributeName], expectedValue, "Value of " + attributeName + " is diffrent.");
-        if (typeof (expectedType) !== "undefined") {
-            if (expectedValue === null) {
-                assert_type(obj[attributeName], "object", "Type of " + attributeName + " is different.");
-            } else {
-                assert_type(obj[attributeName], expectedType, "Type of " + attributeName + " is different.");
-            }
-        } else {
-            assert_unreached("Fix your test. Wrong type " + expectedType);
-        }
-        tmp = obj[attributeName];
-        obj[attributeName] = valueToAssign;
-        assert_equals(obj[attributeName], tmp, attributeName + " can be modified.");
-    } else {
-        assert_unreached("Fix your test. Wrong type of name " + typeof (attributeName));
-    }
-}
-
-/**
- * Method to check if attribute is readonly.
- * Example usage:
- * check_readonly(statusNotification, "postedTime", null, 'object', new Date());
- *
- * @param obj  object to test which  has readonly attribute
- * @param attributeName attribute name.
- * @param expectedValue expected value of provided attribute name
- * @param expectedType expected type of provided attribute name
- * @param valueToAssign value to assign in order to check if attribute value can be modified
- */
-function check_readonly(obj, attributeName, expectedValue, expectedType, valueToAssign) {
-    check_const(obj, attributeName, expectedValue, expectedType, valueToAssign);
-}
-
-/**
- * Method to check if attribute can be set to null.
- * Example usage:
- * check_not_nullable(syncInfo, "mode");
- *
- * @param obj object to test which has not nullable attribute
- * @param attributeName attribute name.
- */
-function check_not_nullable(obj, attributeName)
-{   var old_value = obj[attributeName];
-    obj[attributeName] = null;
-    assert_not_equals(obj[attributeName], null, "Attribute " + attributeName + " can be set to null.");
-    obj[attributeName] = old_value;
-}
-
-/**
- * Method to check NoInterfaceObject
- * Example usage:
- * check_no_interface_object("BluetoothAdapter")
- *
- * @param interfaceName interface name
- */
-function check_no_interface_object(interfaceName) {
-    assert_throws({name: "TypeError"}, function () {
-        tizen[interfaceName]();
-    },"Wrong call as a function");
-    assert_throws({name: "TypeError"}, function () {
-        new tizen[interfaceName]();
-    },"Wrong call as a new function");
-    assert_throws({name: "TypeError"}, function () {
-        ({}) instanceof tizen[interfaceName];
-    },"instanceof exception");
-    assert_equals(tizen[interfaceName], undefined, interfaceName + " is not undefined.");
-}
-
-
-/**
- * Method to check Constructors
- * Example usage:
- * check_constructor("BluetoothAdapter")
- *
- * @param constructorName constructor name
- */
-
-function check_constructor(constructorName) {
-    assert_true(constructorName in tizen, "No " + constructorName + " in tizen.");
-    assert_false({} instanceof tizen[constructorName],"Custom object is not instance of " + constructorName);
-    assert_throws({
-        name: "TypeError"
-    }, function () {
-        tizen[constructorName]();
-    }, "Constructor called as function.");
-}
-
-/**
- * Method to check if given method can be overridden in a given object - (TEMPORARY REMOVED).
- * That method also checks if given method exists in a given object.
- * Example usage:
- * check_method_exists(tizen.notification, "get");
- *
- * @param obj object with method
- * @param methodName name of the method to check.
- */
-function check_method_exists(obj, methodName) {
-    assert_type(obj[methodName], 'function', "Method does not exist.");
-}
-
-/**
- * Method to check extensibility of given object.
- * Method checks if new attribute and method can be added.
- * Example usage:
- * check_extensibility(tizen.notification);
- *
- * @param obj object to check
- */
-function check_extensibility(obj) {
-    var dummyAttribute = "dummyAttributeValue", dummyMethodResult = "dummyMethodResultValue";
-    obj.newDummyMethod = function() {
-        return dummyMethodResult;
-    }
-    assert_equals(obj.newDummyMethod(), dummyMethodResult, "Incorrect result from added method.");
-
-    obj.newDummyAttribute = dummyAttribute;
-    assert_equals(obj.newDummyAttribute, dummyAttribute, "Incorrect result from added attribute.");
-}
-
-/**
- * Method to check if attribute can be modify.
- * Example usage:
- * check_attr(downloadRequest, "fileName", default_val, "string", "file_name.html");
- *
- * @param obj  object to test which has not readonly attribute
- * @param attributeName attribute name.
- * @param expectedValue expected value of provided attribute name
- * @param expectedType expected type of provided attribute name
- * @param valueToAssign value to assign in order to check if attribute value can be modified
- */
-function check_attribute(obj, attributeName, expectedValue, expectedType, valueToAssign) {
-    if (expectedValue === valueToAssign) {
-        assert_unreached("Fix your test. The same values given for "  + attributeName +
-            " in 'value' and 'valueToSet' arguments.");
-    }
-    if (typeof (attributeName) === "string") {
-        assert_true(attributeName in obj, "Name " + attributeName + " doesn't exist in provided object.");
-        assert_equals(obj[attributeName], expectedValue, "Value of " + attributeName + " is diffrent.");
-        if (typeof (expectedType) !== "undefined") {
-            if (expectedValue === null) {
-                assert_type(obj[attributeName], "object", "Type of " + attributeName + " is different.");
-            } else {
-                assert_type(obj[attributeName], expectedType, "Type of " + attributeName + " is different.");
-            }
-        } else {
-            assert_unreached("Fix your test. Wrong type " + expectedType);
-        }
-        obj[attributeName] = valueToAssign;
-        assert_equals(obj[attributeName], valueToAssign, attributeName + " can be modified.");
-    } else {
-        assert_unreached("Fix your test. Wrong type of name " + typeof (attributeName));
-    }
-}
-
-/**
- * Method to check if whole array can be overwritten with an invalid value.
- * Sample usage:
- * check_invalid_array_assignments(message, "to", false);
- *
- * @param obj object which has the array as its property
- * @param array name of the array to check
- * @param isNullable indicates if the array can be null
- */
-function check_invalid_array_assignments(obj, array, isNullable) {
-    var args = [undefined, true, false, NaN, 0, "TIZEN", {}, function () {}],
-        val = obj[array], i;
-
-    if (!isNullable) {
-        obj[array] = null;
-        assert_not_equals(obj[array], null, "Non-nullable array was set to null");
-        assert_type(obj[array], "array", "Non-nullable array type changed after assigning null");
-        assert_equals(obj[array].toString(), val.toString(), "Non-nullable array contents changed after assigning null");
-    }
-
-    for (i = 0 ; i < args.length ; i++) {
-        obj[array] = args[i];
-        assert_type(obj[array], "array", "Array type changed after assigning an invalid value");
-        assert_equals(obj[array].toString(), val.toString(), "Array contents changed after assigning an invalid value");
-    }
-}
-
-/**
- * Method to check if an object can be overwritten with an invalid value.
- * Sample usage:
- * check_invalid_object_assignments(message, "body", false);
- *
- * @param parentObj object which has the 'obj' object as its property
- * @param obj name of the object to check
- * @param isNullable indicates if the object can be null
- */
-function check_invalid_obj_assignments(parentObj, obj, isNullable) {
-    var args = [undefined, true, false, NaN, 0, "TIZEN", function () {}],
-        val = parentObj[obj], i;
-
-    if (!isNullable) {
-        parentObj[obj] = null;
-        assert_equals(parentObj[obj], val, "Non-nullable obj was modified after assigning null");
-    }
-
-    for (i = 0 ; i < args.length ; i++) {
-        parentObj[obj] = args[i];
-        assert_equals(parentObj[obj], val, "The object was set to " + args[i]);
-    }
-}
-
-/**
- * Method to validate conversion for listeners.
- * Example usage:
- * incorrectListeners = getListenerConversionExceptions(["oninstalled", "onupdated", "onuninstalled"]);
- * for(i = 0; i < incorrectListeners.length; i++) {
- *     packageInformationEventCallback  = incorrectListeners[i][0];
- *     exceptionName = incorrectListeners[i][1];
- *     assert_throws({name : exceptionName},
- *        function () {
- *             tizen.package.setPackageInfoEventListener(packageInformationEventCallback);
- *         }, exceptionName + " should be thrown - given incorrect successCallback.");
- * }
- *
- *
- * @param callbackNames Array with names
- * @returns {Array} table of tables which contain incorrect listener (index 0) and exceptionName (index 1)
- *
- */
-function getListenerConversionExceptions(callbackNames) {
-    var result = [], conversionTable, i, j, listenerName;
-    conversionTable = getTypeConversionExceptions("functionObject", false);
-
-    for (i = 0; i < callbackNames.length; i++) {
-        for (j = 0; j < conversionTable.length; j++) {
-            listenerName = {};
-            listenerName[callbackNames[i]] = conversionTable[j][0];
-            result.push([listenerName, conversionTable[j][1]]);
-        }
-    }
-
-    return result;
-}
index 570e475cd03fbd4052ccc58aab3ee7d02efb6147..63465f11e1e4af3050dd015afde4856a547f94c4 100644 (file)
@@ -3,7 +3,7 @@
 <test_definition>
   <suite name="tct-filesystem-tizen-tests" launcher="WRTLauncher" category="Tizen Web Device APIs">
     <set name="Filesystem">
-      <testcase purpose="check if is possible to call FileArraySuccessCallback in new expresion" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P3" id="FileArraySuccessCallback_notexist">
+      <testcase purpose="Check if is possible to call FileArraySuccessCallback in new expresion" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P3" id="FileArraySuccessCallback_notexist">
         <description>
           <test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/FileArraySuccessCallback_notexist.html</test_script_entry>
         </description>
@@ -27,7 +27,7 @@
           </spec>
         </specs>
       </testcase>
-      <testcase purpose="check if is possible to call FileStreamSuccessCallback in new expresion" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P3" id="FileStreamSuccessCallback_notexist">
+      <testcase purpose="Check if is possible to call FileStreamSuccessCallback in new expresion" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P3" id="FileStreamSuccessCallback_notexist">
         <description>
           <test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/FileStreamSuccessCallback_notexist.html</test_script_entry>
         </description>
           </spec>
         </specs>
       </testcase>
-      <testcase purpose="test whether the FileStream object can have new attribute added" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P3" id="FileStream_extend">
+      <testcase purpose="Test whether the FileStream object can have new attribute added" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P3" id="FileStream_extend">
         <description>
           <test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/FileStream_extend.html</test_script_entry>
         </description>
           </spec>
         </specs>
       </testcase>
-      <testcase purpose="check if is possible to call FileStream in new expresion" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P3" id="FileStream_notexist">
+      <testcase purpose="Check if is possible to call FileStream in new expresion" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P3" id="FileStream_notexist">
         <description>
           <test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/FileStream_notexist.html</test_script_entry>
         </description>
           </spec>
         </specs>
       </testcase>
-      <testcase purpose="check if throw an exception when readBase64 from a file with invalid value." type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" id="FileStream_readBase64_with_invalid_value">
+      <testcase purpose="Check if throw an exception when readBase64 from a file with invalid value." type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" 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>
           </spec>
         </specs>
       </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." type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" id="FileStream_readBase64_without_r_permission">
+      <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." type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" 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>
           </spec>
         </specs>
       </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" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P3" id="FileStream_readBase64_writeFile">
+      <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" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P3" id="FileStream_readBase64_writeFile">
         <description>
           <test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/FileStream_readBase64_writeFile.html</test_script_entry>
         </description>
           </spec>
         </specs>
       </testcase>
-      <testcase purpose="check if throw an exception when readBytes from a file with invalid value." type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" id="FileStream_readBytes_with_invalid_value">
+      <testcase purpose="Check if throw an exception when readBytes from a file with invalid value." type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" 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>
           </spec>
         </specs>
       </testcase>
-      <testcase purpose="check if throw an exception when read the specified number of bytes from a file without r permission." type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" id="FileStream_readBytes_without_r_permission">
+      <testcase purpose="Check if throw an exception when read the specified number of bytes from a file without r permission." type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" 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>
           </spec>
         </specs>
       </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" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P3" id="FileStream_readBytes_writeFile">
+      <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" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P3" id="FileStream_readBytes_writeFile">
         <description>
           <test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/FileStream_readBytes_writeFile.html</test_script_entry>
         </description>
           </spec>
         </specs>
       </testcase>
-      <testcase purpose="check if throw an exception when read a file with invalid value." type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" id="FileStream_read_with_invalid_value">
+      <testcase purpose="Check if throw an exception when read a file with invalid value." type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" 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>
           </spec>
         </specs>
       </testcase>
-      <testcase purpose="check if throw an exception when read a file without r permission." type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" id="FileStream_read_without_r_permission">
+      <testcase purpose="Check if throw an exception when read a file without r permission." type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" 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>
           </spec>
         </specs>
       </testcase>
-      <testcase purpose="check if create a new empty file and write content of the file and then read the content of the file" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P3" id="FileStream_read_writeFile">
+      <testcase purpose="Check if create a new empty file and write content of the file and then read the content of the file" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P3" id="FileStream_read_writeFile">
         <description>
           <test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/FileStream_read_writeFile.html</test_script_entry>
         </description>
           </spec>
         </specs>
       </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." type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" id="FileStream_writeBase64_without_w_permission">
+      <testcase purpose="Check if throw an exception when write the specified bytes to a file without w permission and encoding the result in base64." type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" 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>
           </spec>
         </specs>
       </testcase>
-      <testcase purpose="check whether 'writeBytes' method properly writes the specified bytes to FileStream" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P1" id="FileStream_writeBytes_with_additional_null_parameter">
+      <testcase purpose="Check whether 'writeBytes' method properly writes the specified bytes to FileStream" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P1" 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>
           </spec>
         </specs>
       </testcase>
-      <testcase purpose="check if throw an exception when write the specified bytes to a file without w permission." type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" id="FileStream_writeBytes_without_w_permission">
+      <testcase purpose="Check if throw an exception when write the specified bytes to a file without w permission." type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" 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>
           </spec>
         </specs>
       </testcase>
-      <testcase purpose="check if throw an exception when write a file without w permission." type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" id="FileStream_write_without_w_permission">
+      <testcase purpose="Check if throw an exception when write a file without w permission." type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" 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>
           </spec>
         </specs>
       </testcase>
-      <testcase purpose="check if is possible to call FileStringSuccessCallback in new expresion" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P3" id="FileStringSuccessCallback_notexist">
+      <testcase purpose="Check if is possible to call FileStringSuccessCallback in new expresion" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P3" id="FileStringSuccessCallback_notexist">
         <description>
           <test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/FileStringSuccessCallback_notexist.html</test_script_entry>
         </description>
           </spec>
         </specs>
       </testcase>
-      <testcase purpose="check if is possible to call FileSuccessCallback in new expresion" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P3" id="FileSuccessCallback_notexist">
+      <testcase purpose="Check if is possible to call FileSuccessCallback in new expresion" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P3" id="FileSuccessCallback_notexist">
         <description>
           <test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/FileSuccessCallback_notexist.html</test_script_entry>
         </description>
           </spec>
         </specs>
       </testcase>
-      <testcase purpose="check if FileSystemManagerObject not exist" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P3" id="FileSystemManagerObject_notexist">
+      <testcase purpose="Check if FileSystemManagerObject not exist" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P3" id="FileSystemManagerObject_notexist">
         <description>
           <test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/FileSystemManagerObject_notexist.html</test_script_entry>
         </description>
           </spec>
         </specs>
       </testcase>
-      <testcase purpose="check whether invoking 'addStorageStateChangeListener' method without any argument throws exception properly" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" id="FileSystemManager_addStorageStateChangeListener_without_arguments">
+      <testcase purpose="Check whether invoking 'addStorageStateChangeListener' method without any argument throws exception properly" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" id="FileSystemManager_addStorageStateChangeListener_without_arguments">
         <description>
           <test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/FileSystemManager_addStorageStateChangeListener_without_arguments.html</test_script_entry>
         </description>
           </spec>
         </specs>
       </testcase>
-      <testcase purpose="check if throw an exception when get information about a storage based on nonexist label." type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" id="FileSystemManager_getStorage_with_nonexist_label">
+      <testcase purpose="Check if throw an exception when get information about a storage based on nonexist label." type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" 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>
           </spec>
         </specs>
       </testcase>
-      <testcase purpose="check whether 'listStorages' method properly retrieves the available storages on the device" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P1" id="FileSystemManager_listStorages_storages_retrieve">
+      <testcase purpose="Check whether 'listStorages' method properly retrieves the available storages on the device" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P1" id="FileSystemManager_listStorages_storages_retrieve">
         <description>
           <test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/FileSystemManager_listStorages_storages_retrieve.html</test_script_entry>
         </description>
           </spec>
         </specs>
       </testcase>
-      <testcase purpose="check whether invoking 'listStorages' method with improper argument throws exception properly" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" id="FileSystemManager_listStorages_with_invalid_error_callbacks">
+      <testcase purpose="Check whether invoking 'listStorages' method with improper argument throws exception properly" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" 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>
           </spec>
         </specs>
       </testcase>
-      <testcase purpose="check whether invoking 'listStorages' method without any argument throws exception properly" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P1" id="FileSystemManager_listStorages_without_arguments">
+      <testcase purpose="Check whether invoking 'listStorages' method without any argument throws exception properly" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P1" id="FileSystemManager_listStorages_without_arguments">
         <description>
           <test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/FileSystemManager_listStorages_without_arguments.html</test_script_entry>
         </description>
           </spec>
         </specs>
       </testcase>
-      <testcase purpose="check whether 'listStorages' method returns the available storages on the device" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P1" id="FileSystemManager_listStorages_works_correctly">
+      <testcase purpose="Check whether 'listStorages' method returns the available storages on the device" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P1" id="FileSystemManager_listStorages_works_correctly">
         <description>
           <test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/FileSystemManager_listStorages_works_correctly.html</test_script_entry>
         </description>
           </spec>
         </specs>
       </testcase>
-      <testcase purpose="check if throw an exception when removeStorageStateChangeListener with an invalid input parameter." type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" id="FileSystemManager_removeStorageStateChangeListener_with_para_invalid">
+      <testcase purpose="Check if throw an exception when removeStorageStateChangeListener with an invalid input parameter." type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" 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>
           </spec>
         </specs>
       </testcase>
-      <testcase purpose="check whether 'removeStorageStateChangeListener' method properly deregisters subscription to receive notifications about a storage state changes" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P1" id="FileSystemManager_removeStorageStateChangeListener_works_correctly">
+      <testcase purpose="Check whether 'removeStorageStateChangeListener' method properly deregisters subscription to receive notifications about a storage state changes" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P1" id="FileSystemManager_removeStorageStateChangeListener_works_correctly">
         <description>
           <test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/FileSystemManager_removeStorageStateChangeListener_works_correctly.html</test_script_entry>
         </description>
           </spec>
         </specs>
       </testcase>
-      <testcase purpose="check if resolve documents to a file handle." type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" id="FileSystemManager_resolve_documents">
+      <testcase purpose="Check if resolve documents to a file handle." type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" id="FileSystemManager_resolve_documents">
         <description>
           <test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/FileSystemManager_resolve_documents.html</test_script_entry>
         </description>
           </spec>
         </specs>
       </testcase>
-      <testcase purpose="check if resolve downloads to a file handle." type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" id="FileSystemManager_resolve_downloads">
+      <testcase purpose="Check if resolve downloads to a file handle." type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" id="FileSystemManager_resolve_downloads">
         <description>
           <test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/FileSystemManager_resolve_downloads.html</test_script_entry>
         </description>
           </spec>
         </specs>
       </testcase>
-      <testcase purpose="check with error callback invoked" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" id="FileSystemManager_resolve_error_invoked">
+      <testcase purpose="Check with error callback invoked" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" id="FileSystemManager_resolve_error_invoked">
         <description>
           <test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/FileSystemManager_resolve_error_invoked.html</test_script_entry>
         </description>
           </spec>
         </specs>
       </testcase>
-      <testcase purpose="check if throw an exception when resolve an invalid location." type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" id="FileSystemManager_resolve_invalid_location">
+      <testcase purpose="Check if throw an exception when resolve an invalid location." type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" id="FileSystemManager_resolve_invalid_location">
         <description>
           <test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/FileSystemManager_resolve_invalid_location.html</test_script_entry>
         </description>
           </spec>
         </specs>
       </testcase>
-      <testcase purpose="check if resolve a location with mode a." type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" id="FileSystemManager_resolve_mode_a">
+      <testcase purpose="Check if resolve a location with mode a." type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" id="FileSystemManager_resolve_mode_a">
         <description>
           <test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/FileSystemManager_resolve_mode_a.html</test_script_entry>
         </description>
           </spec>
         </specs>
       </testcase>
-      <testcase purpose="check if resolve a location with mode r." type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" id="FileSystemManager_resolve_mode_r">
+      <testcase purpose="Check if resolve a location with mode r." type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" id="FileSystemManager_resolve_mode_r">
         <description>
           <test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/FileSystemManager_resolve_mode_r.html</test_script_entry>
         </description>
           </spec>
         </specs>
       </testcase>
-      <testcase purpose="check if resolve a location with mode w." type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" id="FileSystemManager_resolve_mode_w">
+      <testcase purpose="Check if resolve a location with mode w." type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" id="FileSystemManager_resolve_mode_w">
         <description>
           <test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/FileSystemManager_resolve_mode_w.html</test_script_entry>
         </description>
           </spec>
         </specs>
       </testcase>
-      <testcase purpose="check if resolve music to a file handle." type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" id="FileSystemManager_resolve_music">
+      <testcase purpose="Check if resolve music to a file handle." type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" id="FileSystemManager_resolve_music">
         <description>
           <test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/FileSystemManager_resolve_music.html</test_script_entry>
         </description>
           </spec>
         </specs>
       </testcase>
-      <testcase purpose="check if InvalidValuesError will be reported when the ringtones directory is resolved with mode a" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" id="FileSystemManager_resolve_ringtones_invalid_mode_a">
+      <testcase purpose="Check if InvalidValuesError will be reported when the ringtones directory is resolved with mode a" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" 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>
           </spec>
         </specs>
       </testcase>
-      <testcase purpose="check if InvalidValuesError will be reported when the rightones directory is resolved with mode rw" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" id="FileSystemManager_resolve_ringtones_invalid_mode_rw">
+      <testcase purpose="Check if InvalidValuesError will be reported when the rightones directory is resolved with mode rw" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" 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>
           </spec>
         </specs>
       </testcase>
-      <testcase purpose="check if InvalidValuesError will be reported when the ringtones directory is resolved with mode w" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" id="FileSystemManager_resolve_ringtones_invalid_mode_w">
+      <testcase purpose="Check if InvalidValuesError will be reported when the ringtones directory is resolved with mode w" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" 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>
           </spec>
         </specs>
       </testcase>
-      <testcase purpose="check if resolve videos to a file handle." type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" id="FileSystemManager_resolve_videos">
+      <testcase purpose="Check if resolve videos to a file handle." type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" id="FileSystemManager_resolve_videos">
         <description>
           <test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/FileSystemManager_resolve_videos.html</test_script_entry>
         </description>
           </spec>
         </specs>
       </testcase>
-      <testcase purpose="check if InvalidValuesError will be reported when the wgt-package directory is resolved with mode a" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" id="FileSystemManager_resolve_wgt-package_invalid_mode_a">
+      <testcase purpose="Check if InvalidValuesError will be reported when the wgt-package directory is resolved with mode a" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" 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>
           </spec>
         </specs>
       </testcase>
-      <testcase purpose="check if InvalidValuesError will be reported when the wgt-package directory is resolved with mode rw" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" id="FileSystemManager_resolve_wgt-package_invalid_mode_rw">
+      <testcase purpose="Check if InvalidValuesError will be reported when the wgt-package directory is resolved with mode rw" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" 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>
           </spec>
         </specs>
       </testcase>
-      <testcase purpose="check if InvalidValuesError will be reported when the wgt-package directory is resolved with mode w" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" id="FileSystemManager_resolve_wgt-package_invalid_mode_w">
+      <testcase purpose="Check if InvalidValuesError will be reported when the wgt-package directory is resolved with mode w" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" 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>
           </spec>
         </specs>
       </testcase>
-      <testcase purpose="check whether invoking tizen.filesystem.resolve() method the given location is successfully resolved" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P1" id="FileSystemManager_resolve_works_correctly">
+      <testcase purpose="Check whether invoking tizen.filesystem.resolve() method the given location is successfully resolved" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P1" id="FileSystemManager_resolve_works_correctly">
         <description>
           <test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/FileSystemManager_resolve_works_correctly.html</test_script_entry>
         </description>
           </spec>
         </specs>
       </testcase>
-      <testcase purpose="check if is possible to call FileSystemStorageArraySuccessCallback in new expresion" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P3" id="FileSystemStorageArraySuccessCallback_notexist">
+      <testcase purpose="Check if is possible to call FileSystemStorageArraySuccessCallback in new expresion" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P3" id="FileSystemStorageArraySuccessCallback_notexist">
         <description>
           <test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/FileSystemStorageArraySuccessCallback_notexist.html</test_script_entry>
         </description>
           </spec>
         </specs>
       </testcase>
-      <testcase purpose="check if is possible to call FileSystemStorageSuccessCallback in new expresion" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P3" id="FileSystemStorageSuccessCallback_notexist">
+      <testcase purpose="Check if is possible to call FileSystemStorageSuccessCallback in new expresion" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P3" id="FileSystemStorageSuccessCallback_notexist">
         <description>
           <test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/FileSystemStorageSuccessCallback_notexist.html</test_script_entry>
         </description>
           </spec>
         </specs>
       </testcase>
-      <testcase purpose="test whether the FileSystemStorage object can have new attribute added" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P3" id="FileSystemStorage_extend">
+      <testcase purpose="Test whether the FileSystemStorage object can have new attribute added" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P3" id="FileSystemStorage_extend">
         <description>
           <test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/FileSystemStorage_extend.html</test_script_entry>
         </description>
           </spec>
         </specs>
       </testcase>
-      <testcase purpose="check if is possible to call FileSystemStorage in new expresion" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P3" id="FileSystemStorage_notexist">
+      <testcase purpose="Check if is possible to call FileSystemStorage in new expresion" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P3" id="FileSystemStorage_notexist">
         <description>
           <test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/FileSystemStorage_notexist.html</test_script_entry>
         </description>
           </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">
+      <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>
           <test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/File_copyTo_dir_overwrite_false.html</test_script_entry>
         </description>
           </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">
+      <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>
           <test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/File_copyTo_dir_overwrite_true.html</test_script_entry>
         </description>
           </spec>
         </specs>
       </testcase>
-      <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">
+      <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>
           <test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/File_copyTo_dir_samedir_samename_overwrite_false.html</test_script_entry>
         </description>
           </spec>
         </specs>
       </testcase>
-      <testcase purpose="check if error callback invoked when copy a directory to the same location with the same name (overwrite is true)." type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" id="File_copyTo_dir_samedir_samename_overwrite_true">
+      <testcase purpose="Check if error callback invoked when copy a directory to the same location with the same name (overwrite is true)." type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" 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>
           </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">
+      <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>
           <test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/File_copyTo_file_overwrite_false.html</test_script_entry>
         </description>
           </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">
+      <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>
           <test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/File_copyTo_file_overwrite_true.html</test_script_entry>
         </description>
           </spec>
         </specs>
       </testcase>
-      <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">
+      <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>
           <test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/File_copyTo_file_samedir_samename_overwrite_false.html</test_script_entry>
         </description>
           </spec>
         </specs>
       </testcase>
-      <testcase purpose="check if error callback invoked when copy a file to the same location with the same name (overwrite is true)" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" id="File_copyTo_file_samedir_samename_overwrite_true">
+      <testcase purpose="Check if error callback invoked when copy a file to the same location with the same name (overwrite is true)" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" id="File_copyTo_file_samedir_samename_overwrite_true">
         <description>
           <test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/File_copyTo_file_samedir_samename_overwrite_true.html</test_script_entry>
         </description>
           </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">
+      <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>
           <test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/File_copyTo_with_destination_invalid.html</test_script_entry>
         </description>
           </spec>
         </specs>
       </testcase>
-      <testcase purpose="check if throw an exception when copyTo with file handle." type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" id="File_copyTo_with_file_handle">
+      <testcase purpose="Check if throw an exception when copyTo with file handle." type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" 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>
           </spec>
         </specs>
       </testcase>
-      <testcase purpose="check whether invoking 'copyTo' method with invalid filepath param calls error callback function properly" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" id="File_copyTo_with_invalid_filepath">
+      <testcase purpose="Check whether invoking 'copyTo' method with invalid filepath param calls error callback function properly" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" 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>
           </spec>
         </specs>
       </testcase>
-      <testcase purpose="check whether invoking 'copyTo' method with invalid virtual file path params calls error callback function properly" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" id="File_copyTo_with_invalid_virtual_file">
+      <testcase purpose="Check whether invoking 'copyTo' method with invalid virtual file path params calls error callback function properly" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" 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>
           </spec>
         </specs>
       </testcase>
-      <testcase purpose="check whether 'copyTo' method properly copies file in case success and error callbacks are undefined" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P1" id="File_copyTo_with_null_success_and_error_callbacks">
+      <testcase purpose="Check whether 'copyTo' method properly copies file in case success and error callbacks are undefined" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P1" 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>
           </spec>
         </specs>
       </testcase>
-      <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">
+      <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>
           <test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/File_copyTo_with_para_invalid.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 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_newName">
+      <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_newName">
         <description>
           <test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/File_copyTo_writeFile_newName.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 copy the file to another 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">
+      <testcase purpose="Check if create a new empty file and write content of the file and then copy the file to another 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>
           <test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/File_copyTo_writeFile_overwrite_false.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 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">
+      <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>
           <test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/File_copyTo_writeFile_subdir.html</test_script_entry>
         </description>
           </spec>
         </specs>
       </testcase>
-      <testcase purpose="check if create directory of two levels." type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" id="File_createDirectory_level2">
+      <testcase purpose="Check if create directory of two levels." type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" id="File_createDirectory_level2">
         <description>
           <test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/File_createDirectory_level2.html</test_script_entry>
         </description>
           </spec>
         </specs>
       </testcase>
-      <testcase purpose="create existing file" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" id="File_createFile_existing_file">
+      <testcase purpose="Create existing file" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" id="File_createFile_existing_file">
         <description>
           <test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/File_createFile_existing_file.html</test_script_entry>
         </description>
           </spec>
         </specs>
       </testcase>
-      <testcase purpose="check if throw an exception when create file with invalid file name." type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" id="File_createFile_with_invalid_name">
+      <testcase purpose="Check if throw an exception when create file with invalid file name." type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" 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>
           </spec>
         </specs>
       </testcase>
-      <testcase purpose="check if create a new directory in documents and then delete the directory" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P1" id="File_deleteDirectory_createDir_documents">
+      <testcase purpose="Check if create a new directory in documents and then delete the directory" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P1" id="File_deleteDirectory_createDir_documents">
         <description>
           <test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/File_deleteDirectory_createDir_documents.html</test_script_entry>
         </description>
           </spec>
         </specs>
       </testcase>
-      <testcase purpose="check if create a new directory in downloads and then delete the directory" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P1" id="File_deleteDirectory_createDir_downloads">
+      <testcase purpose="Check if create a new directory in downloads and then delete the directory" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P1" id="File_deleteDirectory_createDir_downloads">
         <description>
           <test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/File_deleteDirectory_createDir_downloads.html</test_script_entry>
         </description>
           </spec>
         </specs>
       </testcase>
-      <testcase purpose="check if create a new directory in images and then delete the directory" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P1" id="File_deleteDirectory_createDir_images">
+      <testcase purpose="Check if create a new directory in images and then delete the directory" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P1" id="File_deleteDirectory_createDir_images">
         <description>
           <test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/File_deleteDirectory_createDir_images.html</test_script_entry>
         </description>
           </spec>
         </specs>
       </testcase>
-      <testcase purpose="check if create a new directory in music and then delete the directory" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P1" id="File_deleteDirectory_createDir_music">
+      <testcase purpose="Check if create a new directory in music and then delete the directory" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P1" id="File_deleteDirectory_createDir_music">
         <description>
           <test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/File_deleteDirectory_createDir_music.html</test_script_entry>
         </description>
           </spec>
         </specs>
       </testcase>
-      <testcase purpose="check if create a new directory in videos and then delete the directory" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P1" id="File_deleteDirectory_createDir_videos">
+      <testcase purpose="Check if create a new directory in videos and then delete the directory" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P1" id="File_deleteDirectory_createDir_videos">
         <description>
           <test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/File_deleteDirectory_createDir_videos.html</test_script_entry>
         </description>
           </spec>
         </specs>
       </testcase>
-      <testcase purpose="check whether invoking 'deleteDirectory' method with improper virtual path to the directory argument throws exception properly" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P1" id="File_deleteDirectory_with_empty_path">
+      <testcase purpose="Check whether invoking 'deleteDirectory' method with improper virtual path to the directory argument throws exception properly" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P1" 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>
           </spec>
         </specs>
       </testcase>
-      <testcase purpose="check if throw an exception when delete a dir with file handle." type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" id="File_deleteDirectory_with_file_handle">
+      <testcase purpose="Check if throw an exception when delete a dir with file handle." type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" 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>
           </spec>
         </specs>
       </testcase>
-      <testcase purpose="check whether 'deleteDirectory' method properly removes a specified directory" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P1" id="File_deleteDirectory_with_null_callbacks">
+      <testcase purpose="Check whether 'deleteDirectory' method properly removes a specified directory" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P1" 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>
           </spec>
         </specs>
       </testcase>
-      <testcase purpose="check if create a new file in downloads and copy the file to another location and then delete the file" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P1" id="File_deleteFile_copyFile_downloads">
+      <testcase purpose="Check if create a new file in downloads and copy the file to another location and then delete the file" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P1" id="File_deleteFile_copyFile_downloads">
         <description>
           <test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/File_deleteFile_copyFile_downloads.html</test_script_entry>
         </description>
           </spec>
         </specs>
       </testcase>
-      <testcase purpose="check if create a new file in images and copy the file to another location and then delete the file" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P1" id="File_deleteFile_copyFile_images">
+      <testcase purpose="Check if create a new file in images and copy the file to another location and then delete the file" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P1" id="File_deleteFile_copyFile_images">
         <description>
           <test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/File_deleteFile_copyFile_images.html</test_script_entry>
         </description>
           </spec>
         </specs>
       </testcase>
-      <testcase purpose="check if create a new file in music and copy the file to another location and then delete the file" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P1" id="File_deleteFile_copyFile_music">
+      <testcase purpose="Check if create a new file in music and copy the file to another location and then delete the file" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P1" id="File_deleteFile_copyFile_music">
         <description>
           <test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/File_deleteFile_copyFile_music.html</test_script_entry>
         </description>
           </spec>
         </specs>
       </testcase>
-      <testcase purpose="check if create a new file in videos and copy the file to another location and then delete the file" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P1" id="File_deleteFile_copyFile_videos">
+      <testcase purpose="Check if create a new file in videos and copy the file to another location and then delete the file" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P1" id="File_deleteFile_copyFile_videos">
         <description>
           <test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/File_deleteFile_copyFile_videos.html</test_script_entry>
         </description>
           </spec>
         </specs>
       </testcase>
-      <testcase purpose="check if create a new file and then delete the file" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P1" id="File_deleteFile_createFile">
+      <testcase purpose="Check if create a new file and then delete the file" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P1" id="File_deleteFile_createFile">
         <description>
           <test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/File_deleteFile_createFile.html</test_script_entry>
         </description>
           </spec>
         </specs>
       </testcase>
-      <testcase purpose="check if delete the list of all files in documents" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P1" id="File_deleteFile_listDocumentsFiles">
+      <testcase purpose="Check if delete the list of all files in documents" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P1" id="File_deleteFile_listDocumentsFiles">
         <description>
           <test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/File_deleteFile_listDocumentsFiles.html</test_script_entry>
         </description>
           </spec>
         </specs>
       </testcase>
-      <testcase purpose="check if delete the list of all files in downloads" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P1" id="File_deleteFile_listDownloadsFiles">
+      <testcase purpose="Check if delete the list of all files in downloads" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P1" id="File_deleteFile_listDownloadsFiles">
         <description>
           <test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/File_deleteFile_listDownloadsFiles.html</test_script_entry>
         </description>
           </spec>
         </specs>
       </testcase>
-      <testcase purpose="check if delete the list of all files in images" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P1" id="File_deleteFile_listImagsFiles">
+      <testcase purpose="Check if delete the list of all files in images" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P1" id="File_deleteFile_listImagsFiles">
         <description>
           <test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/File_deleteFile_listImagsFiles.html</test_script_entry>
         </description>
           </spec>
         </specs>
       </testcase>
-      <testcase purpose="check if delete the list of all files in music" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P1" id="File_deleteFile_listMusicFiles">
+      <testcase purpose="Check if delete the list of all files in music" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P1" id="File_deleteFile_listMusicFiles">
         <description>
           <test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/File_deleteFile_listMusicFiles.html</test_script_entry>
         </description>
           </spec>
         </specs>
       </testcase>
-      <testcase purpose="check if delete the list of all files in videos" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P1" id="File_deleteFile_listVideosfiles">
+      <testcase purpose="Check if delete the list of all files in videos" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P1" id="File_deleteFile_listVideosfiles">
         <description>
           <test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/File_deleteFile_listVideosfiles.html</test_script_entry>
         </description>
           </spec>
         </specs>
       </testcase>
-      <testcase purpose="check if throw an exception when delete a file with dir handle." type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" id="File_deleteFile_with_dir_handle">
+      <testcase purpose="Check if throw an exception when delete a file with dir handle." type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" 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>
           </spec>
         </specs>
       </testcase>
-      <testcase purpose="check if throw an exception when delete a file which not exist." type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" id="File_deleteFile_with_nonexist">
+      <testcase purpose="Check if throw an exception when delete a file which not exist." type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" id="File_deleteFile_with_nonexist">
         <description>
           <test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/File_deleteFile_with_nonexist.html</test_script_entry>
         </description>
           </spec>
         </specs>
       </testcase>
-      <testcase purpose="check whether 'deleteFile' method properly removes a specified file" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P1" id="File_deleteFile_with_vaild_callbacks">
+      <testcase purpose="Check whether 'deleteFile' method properly removes a specified file" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P1" 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>
           </spec>
         </specs>
       </testcase>
-      <testcase purpose="check whether 'deleteFile' method works properly removing a specified file" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P1" id="File_deleteFile_with_valid_filePath">
+      <testcase purpose="Check whether 'deleteFile' method works properly removing a specified file" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P1" 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>
           </spec>
         </specs>
       </testcase>
-      <testcase purpose="test whether the File object can have new attribute added" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P3" id="File_extend">
+      <testcase purpose="Test whether the File object can have new attribute added" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P3" id="File_extend">
         <description>
           <test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/File_extend.html</test_script_entry>
         </description>
           </spec>
         </specs>
       </testcase>
-      <testcase purpose="check if create a new directory and then list all files in this directory" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P1" id="File_listFiles_createFiles">
+      <testcase purpose="Check if create a new directory and then list all files in this directory" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P1" id="File_listFiles_createFiles">
         <description>
           <test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/File_listFiles_createFiles.html</test_script_entry>
         </description>
           </spec>
         </specs>
       </testcase>
-      <testcase purpose="check with empty FileFilter argument of listFiles" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" id="File_listFiles_filter_empty">
+      <testcase purpose="Check with empty FileFilter argument of listFiles" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" id="File_listFiles_filter_empty">
         <description>
           <test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/File_listFiles_filter_empty.html</test_script_entry>
         </description>
           </spec>
         </specs>
       </testcase>
-      <testcase purpose="check if throw an exception when listFiles with a file handle." type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" id="File_listFiles_with_file_handle">
+      <testcase purpose="Check if throw an exception when listFiles with a file handle." type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" 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>
           </spec>
         </specs>
       </testcase>
-      <testcase purpose="check if list files in documents directory with filter." type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P1" id="File_listFiles_with_filter">
+      <testcase purpose="Check if list files in documents directory with filter." type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P1" id="File_listFiles_with_filter">
         <description>
           <test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/File_listFiles_with_filter.html</test_script_entry>
         </description>
           </spec>
         </specs>
       </testcase>
-      <testcase purpose="check whether 'listFiles' method properly retrieves the list of files in directory" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P1" id="File_listFiles_with_valid_successCallback">
+      <testcase purpose="Check whether 'listFiles' method properly retrieves the list of files in directory" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P1" 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>
           </spec>
         </specs>
       </testcase>
-      <testcase purpose="check if error callback invoked when move 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_moveTo_dir_samedir_samename_overwrite_false">
+      <testcase purpose="Check if error callback invoked when move 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_moveTo_dir_samedir_samename_overwrite_false">
         <description>
           <test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/File_moveTo_dir_samedir_samename_overwrite_false.html</test_script_entry>
         </description>
           </spec>
         </specs>
       </testcase>
-      <testcase purpose="check if error callback invoked when move a directory to the same location with the same name (overwrite is true)." type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" id="File_moveTo_dir_samedir_samename_overwrite_true">
+      <testcase purpose="Check if error callback invoked when move a directory to the same location with the same name (overwrite is true)." type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" id="File_moveTo_dir_samedir_samename_overwrite_true">
         <description>
           <test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/File_moveTo_dir_samedir_samename_overwrite_true.html</test_script_entry>
         </description>
           </spec>
         </specs>
       </testcase>
-      <testcase purpose="check whether invoking 'moveTo' method with improper arguments calls error callback function properly" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P1" id="File_moveTo_empty_destination_source_and_destination_paths">
+      <testcase purpose="Check whether invoking 'moveTo' method with improper arguments calls error callback function properly" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P1" 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>
           </spec>
         </specs>
       </testcase>
-      <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">
+      <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>
           <test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/File_moveTo_file_samedir_samename_overwrite_false.html</test_script_entry>
         </description>
           </spec>
         </specs>
       </testcase>
-      <testcase purpose="check if error callback invoked when move a file to the same location with the same name (overwrite is true)" 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 error callback invoked when move a file to the same location with the same name (overwrite is true)" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" 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>
           </spec>
         </specs>
       </testcase>
-      <testcase purpose="check if an exception was thrown when a fake callback (onsuccess) was passed into moveTo method." 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 (onsuccess) 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 whether 'moveTo' method invoked with additional null parameter properly transfers a file" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P1" id="File_moveTo_with_additional_null_parameter">
+      <testcase purpose="Check whether 'moveTo' method invoked with additional null parameter properly transfers a file" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P1" 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>
           </spec>
         </specs>
       </testcase>
-      <testcase purpose="check if errorCallback will be invoked when moveTo will be used with file handle." type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" id="File_moveTo_with_file_handle">
+      <testcase purpose="Check if errorCallback will be invoked when moveTo will be used with file handle." type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" 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>
           </spec>
         </specs>
       </testcase>
-      <testcase purpose="check whether invoking 'moveTo' method with improper argument calls error callback function properly" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" id="File_moveTo_with_invalid_filePath">
+      <testcase purpose="Check whether invoking 'moveTo' method with improper argument calls error callback function properly" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" 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>
           </spec>
         </specs>
       </testcase>
-      <testcase purpose="check if throw an exception when move a file to an invalid path." type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" id="File_moveTo_with_path_invalid">
+      <testcase purpose="Check if throw an exception when move a file to an invalid path." type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" 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>
           </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_newName">
+      <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_newName">
         <description>
           <test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/File_moveTo_writeFile_newName.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 another 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">
+      <testcase purpose="Check if create a new empty file and write content of the file and then move the file to another 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>
           <test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/File_moveTo_writeFile_overwrite_false.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 subdirectory with same file name" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P1" id="File_moveTo_writeFile_subdir">
+      <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>
           <test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/File_moveTo_writeFile_subdir.html</test_script_entry>
         </description>
           </spec>
         </specs>
       </testcase>
-      <testcase purpose="check if is possible to call File in new expresion" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P3" id="File_notexist">
+      <testcase purpose="Check if is possible to call File in new expresion" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P3" id="File_notexist">
         <description>
           <test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/File_notexist.html</test_script_entry>
         </description>
           </spec>
         </specs>
       </testcase>
-      <testcase purpose="check if throw an exception when open the file in invalid encoding." type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" id="File_openStream_encoding_invalid">
+      <testcase purpose="Check if throw an exception when open the file in invalid encoding." type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" id="File_openStream_encoding_invalid">
         <description>
           <test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/File_openStream_encoding_invalid.html</test_script_entry>
         </description>
           </spec>
         </specs>
       </testcase>
-      <testcase purpose="check if open the file with mode a." type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" id="File_openStream_mode_a">
+      <testcase purpose="Check if open the file with mode a." type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" id="File_openStream_mode_a">
         <description>
           <test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/File_openStream_mode_a.html</test_script_entry>
         </description>
           </spec>
         </specs>
       </testcase>
-      <testcase purpose="check if open the file with mode r." type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" id="File_openStream_mode_r">
+      <testcase purpose="Check if open the file with mode r." type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" id="File_openStream_mode_r">
         <description>
           <test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/File_openStream_mode_r.html</test_script_entry>
         </description>
           </spec>
         </specs>
       </testcase>
-      <testcase purpose="check if open the file with mode rw." type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" id="File_openStream_mode_rw">
+      <testcase purpose="Check if open the file with mode rw." type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" id="File_openStream_mode_rw">
         <description>
           <test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/File_openStream_mode_rw.html</test_script_entry>
         </description>
           </spec>
         </specs>
       </testcase>
-      <testcase purpose="check if open the file with mode w." type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" id="File_openStream_mode_w">
+      <testcase purpose="Check if open the file with mode w." type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" id="File_openStream_mode_w">
         <description>
           <test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/File_openStream_mode_w.html</test_script_entry>
         </description>
           </spec>
         </specs>
       </testcase>
-      <testcase purpose="check if throw an exception when open the file which not exist." type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" id="File_openStream_with_nonexist_file">
+      <testcase purpose="Check if throw an exception when open the file which not exist." type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" 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>
           </spec>
         </specs>
       </testcase>
-      <testcase purpose="check if throw an exception when readAsText in invalid encoding." type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" id="File_readAsText_encoding_invalid">
+      <testcase purpose="Check if throw an exception when readAsText in invalid encoding." type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" id="File_readAsText_encoding_invalid">
         <description>
           <test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/File_readAsText_encoding_invalid.html</test_script_entry>
         </description>
           </spec>
         </specs>
       </testcase>
-      <testcase purpose="check if list all files in documents and then read the content of the file as a DOMString" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P1" id="File_readAsText_listDocumentsFiles">
+      <testcase purpose="Check if list all files in documents and then read the content of the file as a DOMString" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P1" id="File_readAsText_listDocumentsFiles">
         <description>
           <test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/File_readAsText_listDocumentsFiles.html</test_script_entry>
         </description>
           </spec>
         </specs>
       </testcase>
-      <testcase purpose="check if list all files in downloads and then read the content of the file as a DOMString" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P1" id="File_readAsText_listDownloadsFiles">
+      <testcase purpose="Check if list all files in downloads and then read the content of the file as a DOMString" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P1" id="File_readAsText_listDownloadsFiles">
         <description>
           <test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/File_readAsText_listDownloadsFiles.html</test_script_entry>
         </description>
           </spec>
         </specs>
       </testcase>
-      <testcase purpose="check if list all files in images and then read the content of the file as a DOMString" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P1" id="File_readAsText_listImagesFiles">
+      <testcase purpose="Check if list all files in images and then read the content of the file as a DOMString" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P1" id="File_readAsText_listImagesFiles">
         <description>
           <test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/File_readAsText_listImagesFiles.html</test_script_entry>
         </description>
           </spec>
         </specs>
       </testcase>
-      <testcase purpose="check if list all files in music and then read the content of the file as a DOMString" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P1" id="File_readAsText_listMusicFiles">
+      <testcase purpose="Check if list all files in music and then read the content of the file as a DOMString" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P1" id="File_readAsText_listMusicFiles">
         <description>
           <test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/File_readAsText_listMusicFiles.html</test_script_entry>
         </description>
           </spec>
         </specs>
       </testcase>
-      <testcase purpose="check if list all files in videos and then read the content of the file as a DOMString" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P1" id="File_readAsText_listVideosFiles">
+      <testcase purpose="Check if list all files in videos and then read the content of the file as a DOMString" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P1" id="File_readAsText_listVideosFiles">
         <description>
           <test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/File_readAsText_listVideosFiles.html</test_script_entry>
         </description>
           </spec>
         </specs>
       </testcase>
-      <testcase purpose="check if throw an exception when resolve a file with the incompatible input parameter." type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" id="File_resolve_with_invalid_para">
+      <testcase purpose="Check if throw an exception when resolve a file with the incompatible input parameter." type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" 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>
           </spec>
         </specs>
       </testcase>
-      <testcase purpose="check if throw an exception when resolve a file which not exist." type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" id="File_resolve_with_nonexist">
+      <testcase purpose="Check if throw an exception when resolve a file which not exist." type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" id="File_resolve_with_nonexist">
         <description>
           <test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/File_resolve_with_nonexist.html</test_script_entry>
         </description>
           </spec>
         </specs>
       </testcase>
-      <testcase purpose="check if throw an exception when get a URI of nonexist file." type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" id="File_toURI_with_nonexist_file">
+      <testcase purpose="Check if throw an exception when get a URI of nonexist file." type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P2" 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>
           </spec>
         </specs>
       </testcase>
-      <testcase purpose="check if FileStreamSuccessCallback method: onsuccess is exist" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P1" id="filesystem_FileStreamSuccessCallback_onsuccess">
+      <testcase purpose="Check if FileStreamSuccessCallback method: onsuccess is exist" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P1" id="filesystem_FileStreamSuccessCallback_onsuccess">
         <description>
           <test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/filesystem_FileStreamSuccessCallback_onsuccess.html</test_script_entry>
         </description>
           </spec>
         </specs>
       </testcase>
-      <testcase purpose="check if copy a file successfully" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P0" id="filesystem_File_copyTo">
+      <testcase purpose="Check if copy a file successfully" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P0" id="filesystem_File_copyTo">
         <description>
           <test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/filesystem_File_copyTo.html</test_script_entry>
         </description>
           </spec>
         </specs>
       </testcase>
-      <testcase purpose="check if reads the content of a file as a DOMString." type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P1" id="filesystem_File_readAsText">
+      <testcase purpose="Check if reads the content of a file as a DOMString." type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P1" id="filesystem_File_readAsText">
         <description>
           <test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/filesystem_File_readAsText.html</test_script_entry>
         </description>
           </spec>
         </specs>
       </testcase>
-      <testcase purpose="check if resolve a file and return a file handle" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P1" id="filesystem_File_resolve">
+      <testcase purpose="Check if resolve a file and return a file handle" type="compliance" status="approved" component="TizenAPI/IO/Filesystem" execution_type="auto" priority="P1" id="filesystem_File_resolve">
         <description>
           <test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/filesystem_File_resolve.html</test_script_entry>
         </description>
index b5c421f6c8c9a14ea74edf13ce96c4013d431d55..5571da32c3ef373e1a687d46459f275c879f03d9 100644 (file)
@@ -3,7 +3,7 @@
 <test_definition>
   <suite name="tct-filesystem-tizen-tests" launcher="WRTLauncher" category="Tizen Web Device APIs">
     <set name="Filesystem">
-      <testcase purpose="check if is possible to call FileArraySuccessCallback in new expresion" component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileArraySuccessCallback_notexist">
+      <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>
@@ -13,7 +13,7 @@
           <test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/FileArraySuccessCallback_onsuccess.html</test_script_entry>
         </description>
       </testcase>
-      <testcase purpose="check if is possible to call FileStreamSuccessCallback in new expresion" component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileStreamSuccessCallback_notexist">
+      <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>
           <test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/FileStream_eof_attribute.html</test_script_entry>
         </description>
       </testcase>
-      <testcase purpose="test whether the FileStream object can have new attribute added" component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileStream_extend">
+      <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 purpose="check if is possible to call FileStream in new expresion" component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileStream_notexist">
+      <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>
           <test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/FileStream_readBase64_exist.html</test_script_entry>
         </description>
       </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">
+      <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 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">
+      <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 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">
+      <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>
           <test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/FileStream_readBytes_exist.html</test_script_entry>
         </description>
       </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">
+      <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 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">
+      <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 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">
+      <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>
           <test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/FileStream_read_exist.html</test_script_entry>
         </description>
       </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">
+      <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 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">
+      <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 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">
+      <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>
           <test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/FileStream_writeBase64_exist.html</test_script_entry>
         </description>
       </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">
+      <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>
           <test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/FileStream_writeBytes_missarg.html</test_script_entry>
         </description>
       </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">
+      <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 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">
+      <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>
           <test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/FileStream_write_exist.html</test_script_entry>
         </description>
       </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">
+      <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 purpose="check if is possible to call FileStringSuccessCallback in new expresion" component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileStringSuccessCallback_notexist">
+      <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>
           <test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/FileStringSuccessCallback_onsuccess.html</test_script_entry>
         </description>
       </testcase>
-      <testcase purpose="check if is possible to call FileSuccessCallback in new expresion" component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileSuccessCallback_notexist">
+      <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>
           <test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/FileSuccessCallback_onsuccess.html</test_script_entry>
         </description>
       </testcase>
-      <testcase purpose="check if FileSystemManagerObject not exist" component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileSystemManagerObject_notexist">
+      <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>
           <test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/FileSystemManager_addStorageStateChangeListener_with_onerror.html</test_script_entry>
         </description>
       </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">
+      <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>
           <test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/FileSystemManager_getStorage_onsuccess_invalid_cb.html</test_script_entry>
         </description>
       </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">
+      <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>
           <test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/FileSystemManager_listStorages_onsuccess_invalid_cb.html</test_script_entry>
         </description>
       </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">
+      <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 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">
+      <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>
           <test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/FileSystemManager_listStorages_with_onerror.html</test_script_entry>
         </description>
       </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">
+      <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 purpose="check whether 'listStorages' method returns the available storages on the device" component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileSystemManager_listStorages_works_correctly">
+      <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>
           <test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/FileSystemManager_removeStorageStateChangeListener_exist.html</test_script_entry>
         </description>
       </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">
+      <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 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">
+      <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>
           <test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/FileSystemManager_resolve.html</test_script_entry>
         </description>
       </testcase>
-      <testcase purpose="check if resolve documents to a file handle." component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileSystemManager_resolve_documents">
+      <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 purpose="check if resolve downloads to a file handle." component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileSystemManager_resolve_downloads">
+      <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 purpose="check with error callback invoked" component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileSystemManager_resolve_error_invoked">
+      <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>
           <test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/FileSystemManager_resolve_images.html</test_script_entry>
         </description>
       </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">
+      <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>
           <test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/FileSystemManager_resolve_mode_TypeMismatch.html</test_script_entry>
         </description>
       </testcase>
-      <testcase purpose="check if resolve a location with mode a." component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileSystemManager_resolve_mode_a">
+      <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 purpose="check if resolve a location with mode r." component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileSystemManager_resolve_mode_r">
+      <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 purpose="check if resolve a location with mode w." component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileSystemManager_resolve_mode_w">
+      <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 purpose="check if resolve music to a file handle." component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileSystemManager_resolve_music">
+      <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>
           <test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/FileSystemManager_resolve_ringtones.html</test_script_entry>
         </description>
       </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">
+      <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 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">
+      <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 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">
+      <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 purpose="check if resolve videos to a file handle." component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileSystemManager_resolve_videos">
+      <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 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">
+      <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 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">
+      <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 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">
+      <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>
           <test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/FileSystemManager_resolve_with_onerror.html</test_script_entry>
         </description>
       </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">
+      <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 purpose="check if is possible to call FileSystemStorageArraySuccessCallback in new expresion" component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileSystemStorageArraySuccessCallback_notexist">
+      <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>
           <test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/FileSystemStorageArraySuccessCallback_onsuccess.html</test_script_entry>
         </description>
       </testcase>
-      <testcase purpose="check if is possible to call FileSystemStorageSuccessCallback in new expresion" component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileSystemStorageSuccessCallback_notexist">
+      <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>
           <test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/FileSystemStorageSuccessCallback_onsuccess.html</test_script_entry>
         </description>
       </testcase>
-      <testcase purpose="test whether the FileSystemStorage object can have new attribute added" component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileSystemStorage_extend">
+      <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>
           <test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/FileSystemStorage_label_attribute.html</test_script_entry>
         </description>
       </testcase>
-      <testcase purpose="check if is possible to call FileSystemStorage in new expresion" component="TizenAPI/IO/Filesystem" execution_type="auto" id="FileSystemStorage_notexist">
+      <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>
           <test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/File_copyTo.html</test_script_entry>
         </description>
       </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">
+      <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">
+      <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 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">
+      <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 purpose="check if error callback invoked when copy a directory to the same location with the same name (overwrite is true)." component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_copyTo_dir_samedir_samename_overwrite_true">
+      <testcase purpose="Check if error callback invoked when copy a directory to the same location with the same name (overwrite is true)." 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>
           <test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/File_copyTo_exist.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">
+      <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">
+      <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 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">
+      <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 purpose="check if error callback invoked when copy a file to the same location with the same name (overwrite is true)" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_copyTo_file_samedir_samename_overwrite_true">
+      <testcase purpose="Check if error callback invoked when copy a file to the same location with the same name (overwrite is true)" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_copyTo_file_samedir_samename_overwrite_true">
         <description>
           <test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/File_copyTo_file_samedir_samename_overwrite_true.html</test_script_entry>
         </description>
           <test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/File_copyTo_onsuccess_invalid_cb.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">
+      <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 throw an exception when copyTo with file handle." component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_copyTo_with_file_handle">
+      <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 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">
+      <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 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">
+      <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 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">
+      <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>
           <test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/File_copyTo_with_onsuccess.html</test_script_entry>
         </description>
       </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">
+      <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 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_newName">
+      <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_newName">
         <description>
           <test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/File_copyTo_writeFile_newName.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 another location with same file name (overwrite false)" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_copyTo_writeFile_overwrite_false">
+      <testcase purpose="Check if create a new empty file and write content of the file and then copy the file to another 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 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">
+      <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>
           <test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/File_createDirectory_exist.html</test_script_entry>
         </description>
       </testcase>
-      <testcase purpose="check if create directory of two levels." component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_createDirectory_level2">
+      <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>
           <test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/File_createFile_exist.html</test_script_entry>
         </description>
       </testcase>
-      <testcase purpose="create existing file" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_createFile_existing_file">
+      <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 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">
+      <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>
           <test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/File_deleteDirectory.html</test_script_entry>
         </description>
       </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">
+      <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 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">
+      <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 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">
+      <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 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">
+      <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 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">
+      <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>
           <test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/File_deleteDirectory_onsuccess_invalid_cb.html</test_script_entry>
         </description>
       </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">
+      <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 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">
+      <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 purpose="check whether 'deleteDirectory' method properly removes a specified directory" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_deleteDirectory_with_null_callbacks">
+      <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>
           <test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/File_deleteFile.html</test_script_entry>
         </description>
       </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">
+      <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 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">
+      <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 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">
+      <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 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">
+      <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 purpose="check if create a new file and then delete the file" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_deleteFile_createFile">
+      <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>
           <test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/File_deleteFile_exist.html</test_script_entry>
         </description>
       </testcase>
-      <testcase purpose="check if delete the list of all files in documents" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_deleteFile_listDocumentsFiles">
+      <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 purpose="check if delete the list of all files in downloads" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_deleteFile_listDownloadsFiles">
+      <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 purpose="check if delete the list of all files in images" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_deleteFile_listImagsFiles">
+      <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 purpose="check if delete the list of all files in music" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_deleteFile_listMusicFiles">
+      <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 purpose="check if delete the list of all files in videos" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_deleteFile_listVideosfiles">
+      <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>
           <test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/File_deleteFile_onsuccess_invalid_cb.html</test_script_entry>
         </description>
       </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">
+      <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 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">
+      <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>
           <test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/File_deleteFile_with_onsuccess.html</test_script_entry>
         </description>
       </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">
+      <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 purpose="check whether 'deleteFile' method works properly removing a specified file" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_deleteFile_with_valid_filePath">
+      <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 purpose="test whether the File object can have new attribute added" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_extend">
+      <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>
           <test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/File_listFiles.html</test_script_entry>
         </description>
       </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">
+      <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>
           <test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/File_listFiles_filter_TypeMismatch.html</test_script_entry>
         </description>
       </testcase>
-      <testcase purpose="check with empty FileFilter argument of listFiles" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_listFiles_filter_empty">
+      <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>
           <test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/File_listFiles_onsuccess_invalid_cb.html</test_script_entry>
         </description>
       </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">
+      <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 purpose="check if list files in documents directory with filter." component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_listFiles_with_filter">
+      <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>
           <test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/File_listFiles_with_onerror.html</test_script_entry>
         </description>
       </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">
+      <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>
           <test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/File_moveTo.html</test_script_entry>
         </description>
       </testcase>
-      <testcase purpose="check if error callback invoked when move a directory to the same location with the same name (overwrite is false)." component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_moveTo_dir_samedir_samename_overwrite_false">
+      <testcase purpose="Check if error callback invoked when move a directory to the same location with the same name (overwrite is false)." component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_moveTo_dir_samedir_samename_overwrite_false">
         <description>
           <test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/File_moveTo_dir_samedir_samename_overwrite_false.html</test_script_entry>
         </description>
       </testcase>
-      <testcase purpose="check if error callback invoked when move a directory to the same location with the same name (overwrite is true)." component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_moveTo_dir_samedir_samename_overwrite_true">
+      <testcase purpose="Check if error callback invoked when move a directory to the same location with the same name (overwrite is true)." component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_moveTo_dir_samedir_samename_overwrite_true">
         <description>
           <test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/File_moveTo_dir_samedir_samename_overwrite_true.html</test_script_entry>
         </description>
       </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">
+      <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>
           <test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/File_moveTo_exist.html</test_script_entry>
         </description>
       </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">
+      <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 purpose="check if error callback invoked when move a file to the same location with the same name (overwrite is true)" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_moveTo_file_samedir_samename_overwrite_true">
+      <testcase purpose="Check if error callback invoked when move a file to the same location with the same name (overwrite is true)" 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>
           <test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/File_moveTo_onsuccess_TypeMismatch.html</test_script_entry>
         </description>
       </testcase>
-      <testcase purpose="check if an exception was thrown when a fake callback (onsuccess) was passed into moveTo method." component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_moveTo_onsuccess_invalid_cb">
+      <testcase purpose="Check if an exception was thrown when a fake callback (onsuccess) 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 purpose="check whether 'moveTo' method invoked with additional null parameter properly transfers a file" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_moveTo_with_additional_null_parameter">
+      <testcase purpose="Check whether 'moveTo' method invoked with additional null parameter 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 purpose="check if errorCallback will be invoked when moveTo will be used with file handle." component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_moveTo_with_file_handle">
+      <testcase purpose="Check if errorCallback will be invoked when moveTo will be used 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 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">
+      <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>
           <test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/File_moveTo_with_onsuccess.html</test_script_entry>
         </description>
       </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">
+      <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 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_newName">
+      <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_newName">
         <description>
           <test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/File_moveTo_writeFile_newName.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 another location with same file name (overwrite false)" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_moveTo_writeFile_overwrite_false">
+      <testcase purpose="Check if create a new empty file and write content of the file and then move the file to another 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 move the file to subdirectory with same file name" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_moveTo_writeFile_subdir">
+      <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>
           <test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/File_name_attribute.html</test_script_entry>
         </description>
       </testcase>
-      <testcase purpose="check if is possible to call File in new expresion" component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_notexist">
+      <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>
           <test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/File_openStream.html</test_script_entry>
         </description>
       </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">
+      <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>
           <test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/File_openStream_mode_TypeMismatch.html</test_script_entry>
         </description>
       </testcase>
-      <testcase purpose="check if open the file with mode a." component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_openStream_mode_a">
+      <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 purpose="check if open the file with mode r." component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_openStream_mode_r">
+      <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 purpose="check if open the file with mode rw." component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_openStream_mode_rw">
+      <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 purpose="check if open the file with mode w." component="TizenAPI/IO/Filesystem" execution_type="auto" id="File_openStream_mode_w">
+      <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>
           <test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/File_openStream_with_encoding.html</test_script_entry>
         </description>
       </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">
+      <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>
           <test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/File_readAsText.html</test_script_entry>
         </description>
       </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">
+      <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>
           <test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/File_readAsText_exist.html</test_script_entry>
         </description>
       </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">
+      <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 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">
+      <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 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">
+      <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 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">
+      <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 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">
+      <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>
           <test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/File_resolve_exist.html</test_script_entry>
         </description>
       </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">
+      <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 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">
+      <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>
           <test_script_entry>/opt/tct-filesystem-tizen-tests/filesystem/File_toURI_extra_argument.html</test_script_entry>
         </description>
       </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">
+      <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 purpose="check if FileStreamSuccessCallback method: onsuccess is exist" component="TizenAPI/IO/Filesystem" execution_type="auto" id="filesystem_FileStreamSuccessCallback_onsuccess">
+      <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 purpose="check if copy a file successfully" component="TizenAPI/IO/Filesystem" execution_type="auto" id="filesystem_File_copyTo">
+      <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 purpose="check if reads the content of a file as a DOMString." component="TizenAPI/IO/Filesystem" execution_type="auto" id="filesystem_File_readAsText">
+      <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 purpose="check if resolve a file and return a file handle" component="TizenAPI/IO/Filesystem" execution_type="auto" id="filesystem_File_resolve">
+      <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>